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

:root {
  --bg-primary: #0b0e22;
  --bg-secondary: #1e2440;
  --bg-card: #161b33;
  --accent-gold: #ffb300;
  --accent-orange: #ff6b35;
  --accent-violet: #3b0ca8;
  --accent-blue: #2979ff;
  --accent-pink: #ff4f81;
  --accent-aqua: #00d4ff;
  --text-primary: #ffffff;
  --text-muted: #9ca3af;
  --border-color: #2d3559;
}

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

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top center, #1a1f35 0%, #0b0e22 80%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-width: 100%;
  position: relative;
}

/* Responsible Gaming Banner */
.responsible-gaming-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #ff6b35 0%, #ffb300 100%);
  color: #0b0e22;
  padding: 0.75rem 0;
  z-index: 10001;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.responsible-gaming-banner .container {
  padding: 0 2rem;
}

.banner-text {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: #0b0e22;
}

.banner-text a {
  color: #0b0e22;
  text-decoration: underline;
  font-weight: 700;
}

.banner-text a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .banner-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .responsible-gaming-banner {
    padding: 0.6rem 0;
  }

  .responsible-gaming-banner .container {
    padding: 0 1rem;
  }
}

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

.age-verification-overlay.hidden {
  display: none;
}

.age-verification-popup {
  background: linear-gradient(135deg, #1e2440 0%, #161b33 100%);
  border-radius: 24px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 100px rgba(255, 179, 0, 0.3);
  animation: popupFadeIn 0.4s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.age-popup-icon {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  width: 104px;
  height: 104px;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0e22;
  background: radial-gradient(
    circle at 30% 30%,
    #ffe08a,
    #ffb300 60%,
    #ff6b35 100%
  );
  border: 3px solid rgba(255, 179, 0, 0.6);
  box-shadow: 0 12px 28px rgba(255, 179, 0, 0.35),
    inset 0 2px 8px rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: drop-shadow(0 0 14px rgba(255, 179, 0, 0.35));
}

.age-popup-title {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.age-popup-text {
  font-size: 1.1rem;
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.age-popup-buttons .btn {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
}

@media (max-width: 640px) {
  .age-verification-popup {
    padding: 2rem 1.5rem;
  }

  .age-popup-icon {
    font-size: 4rem;
  }

  .age-popup-title {
    font-size: 1.5rem;
  }

  .age-popup-text {
    font-size: 1rem;
  }
}

/* Cookie Policy Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  background: linear-gradient(135deg, #1e2440 0%, #161b33 100%);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 179, 0, 0.2);
  border: 2px solid var(--accent-gold);
  z-index: 9999;
  animation: cookieSlideUp 0.4s ease-out;
}

.cookie-popup.hidden {
  display: none;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.cookie-popup-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-popup-text {
  color: #e5e7eb;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-policy-link {
  color: var(--accent-gold);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-policy-link:hover {
  color: var(--accent-orange);
}

.cookie-popup-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.cookie-popup-buttons .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  min-width: 100px;
}

@media (max-width: 640px) {
  .cookie-popup {
    bottom: 10px;
    padding: 1.25rem;
  }

  .cookie-popup-text {
    font-size: 0.85rem;
  }

  .cookie-popup-buttons {
    flex-direction: column;
  }

  .cookie-popup-buttons .btn {
    width: 100%;
  }
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.header {
  position: sticky;
  top: 40px;
  height: 90px;
  background: rgba(15, 20, 40, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .header {
    top: 36px;
    margin-top: 56px;
    min-height: 80px;
    overflow: visible;
  }

  .header-content {
    min-width: 0;
    flex-wrap: nowrap;
  }

  .logo {
    min-width: 0;
    flex-shrink: 1;
  }

  .logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  cursor: pointer;
}

.logo-text {
  font-family: "Luckiest Guy", cursive;
  font-size: 2rem;
  background: linear-gradient(135deg, #ffb300 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 179, 0, 0.5);
  letter-spacing: 2px;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-links {
  display: contents;
  gap: 2rem;
}

.nav-contact-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  margin-left: 1rem;
  white-space: nowrap;
}

.nav-contact-btn::after {
  display: none;
}

.mobile-menu-footer {
  display: none;
}

.age-badge-menu {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  padding: 6rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/bg-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: pulse 8s ease-in-out infinite;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 14, 34, 0.85) 0%,
    rgba(30, 36, 64, 0.75) 50%,
    rgba(11, 14, 34, 0.85) 100%
  );
  z-index: 1;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.hero-text {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-image-mobile {
  display: none;
}

.hero-image-desktop {
  display: block;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffd54f 0%, #ffb300 50%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero-description {
  font-size: 1.1rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffb300 0%, #ff6b35 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd54f 0%, #ff8f00 100%);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.45);
  transform: translateY(-2px);
}

.btn-glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.8),
      0 0 40px rgba(255, 179, 0, 0.4);
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: rgba(255, 179, 0, 0.2);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

.hero-slot-frame {
  background: linear-gradient(135deg, #1e2440 0%, #161b33 100%);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 179, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  width: 100%;
}

.hero-slot-frame::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--accent-gold),
    var(--accent-orange),
    var(--accent-pink),
    var(--accent-blue)
  );
  border-radius: 24px;
  z-index: -1;
  animation: rotate 4s linear infinite;
}

.hero-slot-image {
  width: 100%;
  height: auto;
  min-height: 310px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

@keyframes rotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.slot-symbol {
  font-size: 6rem;
  animation: bounce 2s ease-in-out infinite;
}

.slot-symbol:nth-child(1) {
  animation-delay: 0s;
}
.slot-symbol:nth-child(2) {
  animation-delay: 0.2s;
}
.slot-symbol:nth-child(3) {
  animation-delay: 0.4s;
}

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

.about {
  padding: 6rem 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(30, 36, 64, 0.3) 100%
  );
}

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

.about-card {
  background: none;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 2px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

/* Ensure inner wrapper fills the card so the image can cover */
.about-card .card-icon {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.about-card .card-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  filter: none;
}

.card-icon {
  font-size: 8rem;
  filter: drop-shadow(0 0 20px rgba(255, 179, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-img {
  display: block;
  max-width: 200px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 179, 0, 0.5));
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.about-description {
  font-size: 1.1rem;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.game-zone {
  padding: 6rem 0;
  background: radial-gradient(
    circle at center,
    rgba(59, 12, 168, 0.1) 0%,
    transparent 70%
  );
}

.game-zone-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.game-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

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

.game-frame {
  background: linear-gradient(135deg, #1e2440 0%, #161b33 100%);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 179, 0, 0.1);
  border: 3px solid var(--accent-gold);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 179, 0, 0.2);
}

.game-preview-content {
  background: #0b0e22;
  border-radius: 16px;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.game-preview-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.game-frame:hover .game-preview-image {
  transform: scale(1.03);
}

.game-reel {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 5rem;
}

.reel-symbol {
  animation: spin 3s ease-in-out infinite;
}

.reel-symbol:nth-child(1) {
  animation-delay: 0s;
}
.reel-symbol:nth-child(2) {
  animation-delay: 0.3s;
}
.reel-symbol:nth-child(3) {
  animation-delay: 0.6s;
}
.reel-symbol:nth-child(4) {
  animation-delay: 0.9s;
}

@keyframes spin {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

.age-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 179, 0, 0.9);
  color: #0b0e22;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(255, 179, 0, 0.4);
  font-family: "Poppins", sans-serif;
}

.game-info {
  text-align: left;
  padding: 1rem;
}

.game-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.25rem;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.game-description {
  font-size: 1.15rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.game-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.features {
  padding: 6rem 0;
  background: linear-gradient(
    180deg,
    rgba(30, 36, 64, 0.3) 0%,
    transparent 100%
  );
}

.features .section-title,
.features .section-subtitle {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: linear-gradient(135deg, #1e2440 0%, #161b33 100%);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 179, 0, 0.3);
  border-color: var(--accent-gold);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(255, 179, 0, 0.5));
}

.feature-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.feature-description {
  color: #e5e7eb;
  line-height: 1.8;
}

.faq {
  padding: 6rem 0;
}

.faq .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, #1e2440 0%, #161b33 100%);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-gold);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem 2rem;
  color: #e5e7eb;
  line-height: 1.8;
}

.footer {
  background: #0e1329;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  border-top: 2px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  width: 100%;
}

.footer-title {
  font-family: "Luckiest Guy", cursive;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.age-badge-footer {
  display: inline-block;
  background: var(--accent-gold);
  color: #0b0e22;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-contact a {
  color: var(--accent-gold);
  text-decoration: none;
}

.support-logos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.support-link:hover {
  color: var(--accent-gold);
}

.footer-disclaimer {
  background: rgba(30, 36, 64, 0.5);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.disclaimer-title {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.disclaimer-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Help logos (support organizations) */
.help-logos {
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.help-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 179, 0, 0.2);
  background: rgba(30, 36, 64, 0.4);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.help-logo-link:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--accent-gold);
  background: rgba(30, 36, 64, 0.6);
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.3);
}

.help-logo {
  display: block;
  max-height: 48px;
  width: auto;
  filter: none;
  transition: filter 0.3s ease;
}

.help-logo-link:hover .help-logo {
  filter: brightness(1.1);
}

/* Special filter for GambleAware logo */
.help-logo-link[href*="gambleaware"] .help-logo {
  filter: invert(1);
}

.help-logo-link[href*="gambleaware"]:hover .help-logo {
  filter: invert(1) brightness(1.1);
}

.about-image {
  display: none;
}
.about-image-mobile {
  display: none;
}

/* Home page hero adjustments */
.home-hero .hero-content {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.home-hero .hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}
.home-hero .hero-mark {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 0.5rem;
}

@media (max-width: 968px) {
  .home-hero .hero-mark {
    width: 120px;
  }
}

@media (max-width: 968px) {
  .header {
    height: 80px;
  }

  .header-content {
    padding: 0 1rem;
  }

  .logo-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .logo-tagline {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .nav {
    position: fixed;
    top: 116px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 116px);
    background: rgba(15, 20, 40, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    padding-bottom: 2rem;
    gap: 1rem;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
  }

  .mobile-menu-footer {
    display: block !important;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
  }

  .age-badge-menu {
    display: inline-block !important;
    background: var(--accent-gold);
    color: #0b0e22;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
  }

  .nav.active {
    left: 0;
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 116px;
    left: 0;
    width: 100%;
    height: calc(100vh - 116px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    text-align: left;
  }

  .nav-contact-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 4rem 0;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image-mobile {
    display: block;
    margin: 1.5rem 0;
  }

  .hero-image-desktop {
    display: none;
  }

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

  .about-content {
    grid-template-columns: 1fr;
  }

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

  .game-reel {
    gap: 1rem;
    font-size: 3rem;
  }

  .game-preview {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .game-info {
    text-align: center;
  }

  .game-cta {
    justify-content: center;
  }

  .footer {
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-title {
    font-size: 1.3rem;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .footer-disclaimer {
    padding: 1.5rem;
  }

  .disclaimer-title {
    font-size: 1.1rem;
  }

  .disclaimer-text {
    font-size: 0.85rem;
  }

  .help-logos {
    gap: 0.75rem;
  }
  .help-logo-link {
    padding: 0.5rem 0.75rem;
  }
  .help-logo {
    max-height: 40px;
  }
  .about-image {
    display: none;
  }
  .about-image-mobile {
    display: block;
    margin: 0.75rem 0 1.25rem;
  }
  .about-image-mobile .about-card {
    height: 240px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }

  .game-frame {
    padding: 1rem;
  }

  .header {
    height: 70px;
    top: 36px;
    margin-top: 56px;
    min-height: 70px;
    overflow: visible;
  }

  .header-content {
    padding: 0 0.75rem;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .logo {
    min-width: 0;
    flex-shrink: 1;
    gap: 0.05rem;
  }

  .logo-text {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
  }

  .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }

  .nav {
    top: 70px;
    height: calc(100vh - 125px);
    padding: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .mobile-menu-overlay {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .mobile-menu-footer {
    display: block !important;
    padding-top: 1.5rem;
    flex-shrink: 0;
  }

  .age-badge-menu {
    display: inline-block !important;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .mobile-menu-btn {
    padding: 8px;
  }

  .mobile-menu-btn span {
    width: 22px;
    height: 2.5px;
  }

  .hero {
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-buttons,
  .game-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .hero-slot-frame {
    padding: 1.5rem 0.75rem;
    min-height: 300px;
    border-radius: 16px;
  }

  .hero-slot-image {
    min-height: 225px;
    border-radius: 16px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-image-mobile {
    display: block;
    margin: 1rem 0;
  }

  .hero-image-desktop {
    display: none;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  html,
  body {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100vw;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  .slot-symbol {
    font-size: 3.5rem;
  }

  .game-reel {
    font-size: 2rem;
    gap: 0.5rem;
  }

  .footer {
    padding: 2.5rem 0 1rem;
    margin-top: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-section {
    text-align: center;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .footer-heading {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .footer-contact {
    font-size: 0.9rem;
  }

  .support-logos {
    align-items: center;
  }

  .support-link {
    text-align: center;
  }

  .footer-disclaimer {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .disclaimer-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.85rem;
  }

  .age-badge-footer {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
  .about-image-mobile .about-card {
    height: 200px;
  }
}

/* Desktop explicit height to prevent layout issues */
@media (min-width: 969px) {
  .about-content {
    grid-template-columns: 1.35fr 1.65fr; /* exactly two columns */
    grid-template-areas: "text image";
    gap: 5rem;
    align-items: center;
  }

  .about-image {
    display: block;
    grid-area: image;
  }

  .about-text {
    grid-area: text;
  }

  .about-image .about-card {
    height: 400px;
    border-radius: 24px;
    border: 3px solid rgba(255, 179, 0, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 179, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .about-image .about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 179, 0, 0.15);
    border-color: rgba(255, 179, 0, 0.25);
  }

  .about-text .section-title {
    font-size: 2.75rem;
    margin-bottom: 2rem;
    line-height: 1.1;
  }

  .about-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(229, 231, 235, 0.95);
  }

  /* Game preview: 2-column grid on desktop */
  .game-preview {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .game-info {
    text-align: left;
  }

  .game-cta {
    justify-content: flex-start;
  }
}
