* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #D0F2DC;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
}

.header {
  background-color: #263440;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}
.logo {
    display: flex;
    justify-content: flex-end;
}
.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #D0F2DC;
  text-decoration: none;
  display: flex;
  align-items: center;
  text-wrap: nowrap;
}
.logo img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}
.nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}
.nav ul li a {
  font-size: 1rem;
  color: #D0F2DC;
  text-decoration: none;
  transition: color 0.3s;
}
.nav ul li a:hover {
  color: #D9B64E;
}
.menu-toggle {
  display: none;
}
.burger {
  display: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: #D0F2DC;
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 768px) {
  .header {
    grid-template-columns: 1fr auto;
  }
  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    height: calc(100% - 70px);
    background-color: #263440;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  .nav ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .nav ul li a {
    font-size: 1.2rem;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
  }
  .nav ul li a:hover {
    background-color: #D9B64E;
    border-color: #A65E1F;
    color: #fff;
  }
  .burger {
    display: block;
  }
  .menu-toggle:checked ~ .nav {
    transform: translateX(0);
  }
  .menu-toggle:checked ~ .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked ~ .burger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.banner {
  width: 100%;
  height: 40vh;
  background: url("/assets/img/baner-main.webp") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(38, 52, 64, 0.6);
  z-index: 1;
}
.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(38,52,64,0) 0%, #D0F2DC 100%);
  z-index: 1;
}
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #D0F2DC;
}
.banner-content span {
  font-size: 2.5rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
  .banner {
    height: 50vh;
  }
  .banner-content span {
    font-size: 2rem;
  }
}
.casino-review {
  display: flex;
  justify-content: center;
  padding: 30px;
  background-color: #D0F2DC;
}
.casino-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background-color: #A2A694;
  border: 2px solid #263440;
  border-radius: 12px;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  color: #263440;
}
.logo-col img {
  width: 100px;
  height: auto;
  border-radius: 6px;
}
.info-col {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.casino-name {
  display: flex;
  align-items: center;  
  font-size: 1.8rem;
  margin: 0;
}
.casino-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-badge {
  background-color: #D9B64E;
  color: #263440;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
}
.stars {
  color: #D9B64E;
  font-size: 1.2rem;
}
.casino-bonus {
  display: flex;
  align-items: center;  
  font-size: 1rem;
  font-weight: 500;
  color: #A65E1F;
}
.casino-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #263440;
}
.casino-features li::before {
  content: "✔";
  color: #D9B64E;
  margin-right: 8px;
}
.actions-col {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s;
  color: #fff;
}
.btn-play {
  background-color: #A65E1F;
}
.btn-play:hover {
  background-color: #8B4C17;
}
.btn-review {
  background-color: #D9B64E;
  color: #263440;
}
.btn-review:hover {
  background-color: #C1A239;
}
@media (max-width: 600px) {
  .casino-card {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }
  .logo-col {
    justify-self: center;
  }
  .info-col {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .actions-col {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
}
.site-content {
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px;
  background-color: #A2A694;
  border: 2px solid #263440;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color: #263440;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}
.site-content img:first-of-type {
    width: 512px;
    height: 512px;
}
.site-content img:last-of-type {
    width: 512px;
    height: 512px;
}
.site-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #D9B64E;
  padding-bottom: 10px;
}
.site-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  text-align: center;
  border-bottom: 1px solid #A65E1F;
  padding-bottom: 8px;
}
.site-content p {
  margin-bottom: 1rem;
  text-align: justify;
}
.site-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border: 2px solid #263440;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.site-content ul {
  margin: 1rem 0;
  padding-left: 20px;
}
.site-content li {
  margin-bottom: 0.5rem;
}
.site-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #D0F2DC;
}
.site-content td {
  border: 2px solid #263440;
  padding: 12px 16px;
  vertical-align: top;
  color: #263440;
}
.site-content tr:nth-child(even) {
  background-color: #A2A694;
}
.site-content tr:nth-child(odd) {
  background-color: #D0F2DC;
}

.site-content reviews-block {
  display: block;
  margin-top: 40px;
  padding: 20px;
  background-color: #A2A694;
  border: 2px solid #263440;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color: #263440;
  font-family: "Inter", sans-serif;
}
.site-content reviews-block h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 1px solid #A65E1F;
  padding-bottom: 8px;
}
.site-content reviews-block > div {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #D0F2DC;
  border-radius: 6px;
}
.site-content reviews-block > div p:first-of-type {
  margin: 0;
  font-weight: bold;
  color: #D9B64E;
}
.site-content reviews-block > div p + p {
  margin-top: 8px;
  color: #263440;
  text-align: justify;
}
.site-content reviews-block > div:last-child {
  margin-bottom: 0;
  text-align: center;
  background-color: transparent;
  padding: 0;
}
.site-content reviews-block > div:last-child a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #A65E1F;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.site-content reviews-block > div:last-child a:hover {
  background-color: #8B4C17;
}
.site-content faq-section {
  display: block;
  margin-top: 40px;
  padding: 20px;
  background-color: #D0F2DC;
  border: 2px solid #263440;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #263440;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.site-content faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: #263440;
  border-bottom: 2px solid #D9B64E;
  padding-bottom: 10px;
}

.site-content faq-section details {
  background-color: #A2A694;
  border: 1px solid #263440;
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.site-content faq-section details[open] {
  background-color: #D9B64E;
}

.site-content faq-section details summary {
  background-color: #263440;
  color: #D0F2DC;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  border-radius: 6px;
}

.site-content faq-section details summary::-webkit-details-marker {
  display: none;
}

.site-content faq-section details summary::after {
  content: "▼";
  position: absolute;
  right: 15px;
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: #D0F2DC;
}

.site-content faq-section details[open] summary::after {
  transform: rotate(-180deg);
}

.site-content faq-section details p {
  margin: 0;
  padding: 10px 15px;
  color: #263440;
  background-color: #D0F2DC;
}

.site-content nav {
  text-align: center;
  margin-top: 40px;
  padding: 10px 0;
}

.site-content nav h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #263440;
}

.site-content nav h2 ~ a {
  display: inline-block;
  margin: 5px 10px;
  padding: 8px 15px;
  background-color: #D0F2DC;
  border: 1px solid #263440;
  border-radius: 20px;
  color: #263440;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s, color 0.3s;
}

.site-content nav h2 ~ a:hover {
  background-color: #D9B64E;
  color: #fff;
}

.site-content .tags-cloud h2 ~ a:hover {
  background-color: #D9B64E;
  color: #fff;
}
.site-footer {
  background-color: #263440;
  color: #D0F2DC;
  padding: 30px 20px;
  font-family: "Inter", sans-serif;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.footer-logo img {
  width: 60px;
  height: auto;
  border-radius: 6px;
}
.footer-info {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #D0F2DC;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #D9B64E;
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-info {
    margin: 10px 0;
  }

  .site-content faq-section details summary::after {
    display: none;
  }

  .logo {
    justify-content: flex-start;
  }

  .site-content img:first-of-type {
    width: 100%;
    height: auto;
}
  .site-content img:last-of-type {
    width: 100%;
    height: auto;
}
}