html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --forest-deep: #0d3b2e;
  --forest-dark: #134737;
  --forest-mid: #1f6f4a;
  --forest-leaf: #3ea66a;
  --forest-moss: #7bdc77;
  --wood-bark: #7a3f12;
  --wood-log: #a55a2a;
  --wood-plank: #d28b52;
  --wood-sawdust: #f0c082;
  --reel-bg: #b11d1d;
  --gold: #ffd166;
  --amber: #f39c38;
  --orange: #e67e22;
  --highlight: #fff08a;
  --cream: #fff4dd;
  --ink: #1a120d;
  --white: #ffffff;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  background: linear-gradient(180deg, #0d3b2e 0%, #1f6f4a 100%);
  color: var(--cream);
  overflow-x: hidden;
}

.navbar {
  background: rgba(26, 18, 13, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--wood-log);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: "Bungee Shade", system-ui, sans-serif;
  font-size: 2rem;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 3px 3px 0 var(--wood-bark), 0 0 20px rgba(255, 209, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: brightness(1.2);
}

.age-badge {
  background: linear-gradient(180deg, var(--highlight) 0%, var(--gold) 100%);
  color: var(--ink);
  font-family: "Changa One", system-ui, sans-serif;
  font-size: 1.2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50%;
  border: 3px solid var(--wood-bark);
  box-shadow: 0 4px 0 var(--wood-log);
  font-weight: bold;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  color: var(--gold);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-toggle:hover {
  color: var(--highlight);
  transform: scale(1.1);
}

.mobile-menu-toggle .close-icon {
  display: none !important;
}

.mobile-menu-toggle.active .hamburger-icon {
  display: none !important;
}

.mobile-menu-toggle.active .close-icon {
  display: block !important;
}

.nav-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.18s;
  position: relative;
}

.nav-link:hover {
  color: var(--highlight);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transform: scale(1.05);
}

.btn-nav-play {
  background: linear-gradient(
    180deg,
    var(--highlight) 0%,
    var(--gold) 55%,
    var(--amber) 100%
  );
  color: var(--ink);
  padding: 0.8rem 1.8rem;
  border-radius: 28% / 36%;
  border: 3px solid var(--wood-bark);
  box-shadow: 0 8px 0 var(--wood-log);
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.18s;
  cursor: pointer;
}

.btn-nav-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 0 var(--wood-log);
}

.btn-nav-play:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--wood-log);
}

.btn-nav-play.active {
  background: linear-gradient(180deg, var(--gold) 0%, var(--amber) 100%);
  color: var(--ink);
  transform: scale(1.05);
  box-shadow: 0 12px 0 var(--wood-log);
}

.hero-section {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--forest-deep) 0%,
    var(--forest-dark) 50%,
    var(--forest-mid) 100%
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 59, 46, 0.7) 0%,
    rgba(19, 71, 55, 0.6) 50%,
    rgba(31, 111, 74, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Bangers", system-ui, sans-serif;
  font-size: 3.5rem;
  color: var(--gold);
  text-shadow: 4px 4px 0 var(--wood-bark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(
    180deg,
    var(--highlight) 0%,
    var(--gold) 55%,
    var(--amber) 100%
  );
  color: var(--ink);
  padding: 1.2rem 2.5rem;
  border-radius: 28% / 36%;
  border: 4px solid var(--wood-bark);
  box-shadow: 0 10px 0 var(--wood-log);
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 0 var(--wood-log);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 var(--wood-log);
}

.content-card {
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  border: 5px solid var(--wood-bark);
  border-radius: 12% / 19%;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(13, 59, 46, 0.7);
  margin-bottom: 2rem;
}

.hero-card {
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  border: 5px solid var(--wood-bark);
  border-radius: 22% / 30%;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(13, 59, 46, 0.6);
  transform: rotate(2deg);
  transition: all 0.3s;
  overflow: hidden;
}

.hero-game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18% / 25%;
}

/* Скрыть мобильную картинку на десктопе */
.hero-image-mobile {
  display: none;
}

/* Age Verification Popup */
.age-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.age-popup-overlay.show {
  display: flex;
}

.age-popup-content {
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  border: 5px solid var(--wood-bark);
  border-radius: 12% / 19%;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(13, 59, 46, 0.8);
  position: relative;
  animation: popupSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupSlideIn {
  0% {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.age-popup-header {
  margin-bottom: 2rem;
  position: relative;
}

.age-popup-header h2 {
  font-family: "Bangers", system-ui, sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--wood-bark);
  margin-bottom: 1rem;
}

.age-badge-large {
  position: static;
  display: inline-block;
  background: linear-gradient(180deg, var(--highlight) 0%, var(--gold) 100%);
  color: var(--ink);
  font-family: "Changa One", system-ui, sans-serif;
  font-size: 2.5rem;
  padding: 1rem 1.5rem;
  border-radius: 50%;
  border: 5px solid var(--wood-bark);
  box-shadow: 0 8px 0 var(--wood-log);
  font-weight: bold;
  animation: pulse 2s ease-in-out infinite;
  margin-top: 1rem;
}

.age-popup-body {
  margin-bottom: 2rem;
}

.age-popup-body p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: 1rem;
}

.age-popup-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 150px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.age-btn-accept {
  background: linear-gradient(180deg, var(--gold) 0%, var(--amber) 100%);
  color: var(--ink);
  border: 3px solid var(--wood-bark);
  box-shadow: 0 6px 0 var(--wood-log);
}

.age-btn-accept:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 9px 0 var(--wood-log);
}

.age-btn-decline {
  background: linear-gradient(180deg, #dc3545 0%, #c82333 100%);
  color: var(--white);
  border: 3px solid #a71e2a;
  box-shadow: 0 6px 0 #8b1a24;
}

.age-btn-decline:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 9px 0 #8b1a24;
}

.hero-card:hover {
  transform: rotate(-2deg) scale(1.05);
}

.card-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
}

.magic-symbol {
  font-size: 5rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 209, 102, 0.5));
}

.magic-symbol:nth-child(2) {
  animation-delay: 0.5s;
}

.magic-symbol:nth-child(3) {
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: "Bangers", system-ui, sans-serif;
  font-size: 3rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 3px 3px 0 var(--wood-bark);
}

.about-section {
  background: linear-gradient(
    135deg,
    var(--forest-mid) 0%,
    var(--forest-dark) 100%
  );
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  border: 4px solid var(--wood-bark);
  border-radius: 18% / 24%;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(13, 59, 46, 0.4);
  transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
  transform: translateY(-8px) rotate(-2deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(13, 59, 46, 0.6);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.3));
}

.feature-card h3 {
  font-family: "Baloo 2", system-ui, sans-serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--cream);
  font-size: 1rem;
}

.game-zone-section {
  background: linear-gradient(
    135deg,
    var(--forest-deep) 0%,
    var(--forest-mid) 100%
  );
}

.game-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.game-preview {
  position: relative;
}

.game-frame {
  background: var(--reel-bg);
  border: 8px solid var(--wood-plank);
  border-radius: 18% / 24%;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(13, 59, 46, 0.7),
    inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.reel-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.symbol {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid var(--gold);
  border-radius: 12px;
  padding: 2rem;
  font-size: 4rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 209, 102, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.symbol:nth-child(2) {
  animation-delay: 0.3s;
}

.symbol:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.game-badge {
  position: absolute;
  font-family: "Changa One", system-ui, sans-serif;
  font-size: 1.2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--wood-bark);
  font-weight: bold;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.wild-badge {
  background: var(--orange);
  color: var(--white);
  top: -20px;
  right: 20%;
}

.scatter-badge {
  background: var(--gold);
  color: var(--wood-bark);
  bottom: -20px;
  left: 20%;
}

.game-info h3 {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.game-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--cream);
}

.game-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-chip {
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  border: 3px solid var(--wood-bark);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 0 var(--wood-bark);
  transition: all 0.18s;
}

.feature-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--wood-bark);
}

.chip-icon {
  font-size: 1.5rem;
}

.feature-chip span:last-child {
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
}

.why-choose-section {
  background: linear-gradient(
    135deg,
    var(--forest-dark) 0%,
    var(--forest-deep) 100%
  );
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: linear-gradient(
    180deg,
    var(--forest-mid) 0%,
    var(--forest-dark) 100%
  );
  border: 4px solid var(--wood-log);
  border-radius: 18% / 24%;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(13, 59, 46, 0.5);
  transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(13, 59, 46, 0.7);
  border-color: var(--gold);
}

.benefit-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(255, 209, 102, 0.4));
}

.benefit-card h3 {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cream);
}

.faq-section {
  background: linear-gradient(
    135deg,
    var(--forest-mid) 0%,
    var(--forest-dark) 100%
  );
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  border: 4px solid var(--wood-bark);
  border-radius: 18% / 24%;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(13, 59, 46, 0.4);
  transition: all 0.24s;
}

.faq-item:hover {
  transform: translateX(10px);
  box-shadow: 0 12px 24px rgba(13, 59, 46, 0.6);
}

.faq-question {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.faq-answer {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream);
}

.footer {
  background: var(--ink);
  border-top: 5px solid var(--wood-bark);
  padding: 4rem 0 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-logo {
  font-family: "Bungee Shade", system-ui, sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--wood-bark);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.1rem;
  color: var(--wood-sawdust);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-column h4 {
  font-family: "Baloo 2", system-ui, sans-serif;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.7rem;
}

.footer-column a {
  color: var(--cream);
  text-decoration: none;
  transition: all 0.18s;
}

.footer-column a:hover {
  color: var(--gold);
  transform: translateX(5px);
  display: inline-block;
}

.disclaimer-section {
  background: rgba(26, 18, 13, 0.5);
  border: 3px solid var(--wood-bark);
  border-radius: 18% / 24%;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.age-restriction-large {
  position: absolute;
  top: -30px;
  right: 30px;
  background: linear-gradient(180deg, var(--highlight) 0%, var(--gold) 100%);
  color: var(--ink);
  font-family: "Changa One", system-ui, sans-serif;
  font-size: 3rem;
  padding: 1rem 1.5rem;
  border-radius: 50%;
  border: 5px solid var(--wood-bark);
  box-shadow: 0 8px 0 var(--wood-log);
  font-weight: bold;
  animation: pulse 2s ease-in-out infinite;
}

.disclaimer-section h3 {
  font-family: "Baloo 2", system-ui, sans-serif;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.disclaimer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--wood-sawdust);
  margin-bottom: 0.8rem;
}

.support-organizations {
  margin-bottom: 2rem;
}

.support-organizations h4 {
  font-family: "Baloo 2", system-ui, sans-serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.org-logos,
.help-logos {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.org-link,
.help-logo-link {
  text-decoration: none;
  transition: all 0.18s;
}

.org-link:hover,
.help-logo-link:hover {
  transform: translateY(-5px);
}

.org-badge {
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  color: var(--cream);
  border: 3px solid var(--wood-bark);
  border-radius: 18% / 24%;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 0 var(--wood-bark);
  text-align: center;
  min-width: 200px;
}

.help-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0.9);
  transition: all 0.18s;
  background: linear-gradient(
    180deg,
    var(--wood-plank) 0%,
    var(--wood-log) 100%
  );
  border: 3px solid var(--wood-bark);
  border-radius: 12% / 19%;
  padding: 0.8rem;
  box-shadow: 0 6px 0 var(--wood-bark);
}

.help-logo-link:hover .help-logo {
  filter: brightness(1.1);
  transform: scale(1.05);
  box-shadow: 0 9px 0 var(--wood-bark);
}

.footer-bottom {
  border-top: 2px solid var(--wood-bark);
  padding-top: 2rem;
  text-align: center;
  color: var(--wood-sawdust);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  /* На мобильных: скрыть десктопную картинку, показать мобильную */
  .hero-image {
    display: none;
  }

  .hero-image-mobile {
    display: block;
    order: 2;
  }

  .about-content,
  .game-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    position: relative;
  }

  .age-badge {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 350px;
    background: linear-gradient(
      180deg,
      var(--wood-plank) 0%,
      var(--wood-log) 100%
    );
    border-left: 5px solid var(--wood-bark);
    box-shadow: -10px 0 30px rgba(13, 59, 46, 0.8);
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 1rem;
    text-align: center;
    font-size: 1.3rem;
    background: rgba(13, 59, 46, 0.3);
    border: 3px solid var(--forest-mid);
    border-radius: 12px;
    transition: all 0.24s;
    width: 100%;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
  }

  .nav-menu .nav-link:hover {
    background: rgba(13, 59, 46, 0.6);
    transform: translateX(5px);
    color: var(--highlight);
  }

  .btn-nav-play {
    display: block;
    padding: 1rem;
    text-align: center;
    font-size: 1.3rem;
    background: rgba(13, 59, 46, 0.3);
    border: 3px solid var(--forest-mid);
    border-radius: 12px;
    transition: all 0.24s;
    width: 100%;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
  }

  .btn-nav-play:hover {
    background: rgba(13, 59, 46, 0.6);
    transform: translateX(5px);
    color: var(--highlight);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .game-features {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 3rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0 var(--wood-bark);
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
  }

  .hero-card {
    padding: 0.5rem;
    transform: rotate(0deg);
  }

  .hero-game-image {
    border-radius: 15% / 20%;
  }

  .hero-card:hover {
    transform: rotate(0deg) scale(1.02);
  }

  .magic-symbol {
    font-size: 3rem;
  }

  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .game-frame {
    border-width: 5px;
    padding: 1rem;
  }

  .reel-preview {
    gap: 0.5rem;
  }

  .symbol {
    padding: 1rem;
    font-size: 2.5rem;
    border-width: 2px;
  }

  .game-badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .wild-badge {
    top: -15px;
    right: 10%;
  }

  .scatter-badge {
    bottom: -15px;
    left: 10%;
  }

  .game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .game-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .age-restriction-large {
    top: -42px;
    right: 10px;
    font-size: 2rem;
    padding: 0.5rem 1rem;
  }

  .org-logos,
  .help-logos {
    flex-direction: column;
    align-items: center;
  }

  .help-logo {
    height: 50px;
    padding: 0.6rem;
    max-width: 180px;
  }

  .age-popup-content {
    padding: 2rem;
    max-width: 400px;
  }

  .age-popup-header h2 {
    font-size: 2rem;
  }

  .age-badge-large {
    font-size: 2rem;
    padding: 0.8rem 1.2rem;
    margin-top: 0.5rem;
  }

  .age-popup-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .age-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
