/* FunCoins Lounge — neon_night + children_playful_ui */



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

:root {
  --bg: #05060a;
  --surface: #0e1020;
  --text: #ede9fe;
  --muted: #a1a1aa;
  --primary: #22d3ee;
  --secondary: #a3e635;
  --accent: #f472b6;
  --border: rgba(237, 233, 254, 0.12);
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Fredoka', 'Nunito', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', 'Fredoka', 'Trebuchet MS', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--ease-soft);
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* —— Top warning —— */
.warning-banner {
  background: linear-gradient(90deg, #f472b6, #22d3ee);
  color: #05060a;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.45;
  position: relative;
  z-index: 100;
}

/* —— Navbar —— */
.navbar {
  background: rgba(14, 16, 32, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 90;
}

.navbar__inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar__logo img {
  height: 48px;
  width: auto;
}

.navbar__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.navbar__brand span {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 999px;
  width: 48px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 99px;
  transition: transform 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-menu a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.nav-menu a:hover {
  background: rgba(34, 211, 238, 0.15);
  color: var(--primary);
  transform: translateY(-2px);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.75rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.25s;
}

.btn:active {
  transform: scale(0.96);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #67e8f9);
  color: #05060a;
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.45);
  color: #05060a;
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
}

.btn--secondary {
  background: linear-gradient(135deg, var(--secondary), #bef264);
  color: #05060a;
  box-shadow: 0 8px 28px rgba(163, 230, 53, 0.3);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(244, 114, 182, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 70%, rgba(34, 211, 238, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(163, 230, 53, 0.12), transparent 45%),
    var(--bg);
}

.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: bob 5s ease-in-out infinite;
}

.blob--1 {
  width: 180px;
  height: 180px;
  background: rgba(34, 211, 238, 0.2);
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.blob--2 {
  width: 120px;
  height: 120px;
  background: rgba(244, 114, 182, 0.25);
  top: 55%;
  right: 12%;
  animation-delay: 1.2s;
}

.blob--3 {
  width: 90px;
  height: 90px;
  background: rgba(163, 230, 53, 0.2);
  bottom: 18%;
  left: 28%;
  animation-delay: 2s;
}

.hero__art {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: min(380px, 42vw);
  height: auto;
  opacity: 0.95;
  animation: floaty 4.5s ease-in-out infinite;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
  max-width: 640px;
}

.hero__brand {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pop-in 0.7s var(--ease) both;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 28ch;
  animation: pop-in 0.7s 0.1s var(--ease) both;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38ch;
  margin-bottom: 1.75rem;
  animation: pop-in 0.7s 0.2s var(--ease) both;
}

.hero .btn {
  animation: pop-in 0.7s 0.3s var(--ease) both;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(14, 16, 32, 0.85), transparent);
}

.section__eyebrow {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.rules-block {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.15rem;
  position: relative;
  overflow: hidden;
}

.rules-block::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
}

.rules-block p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.rules-block p:last-child {
  margin-bottom: 0;
}

.rules-block strong {
  color: var(--text);
}

.rules-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.rules-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  background: rgba(34, 211, 238, 0.1);
  border: 2px solid var(--border);
  border-radius: 1.1rem;
  animation: wiggle 3s ease-in-out infinite;
}

.rules-icons span:nth-child(2) {
  animation-delay: 0.3s;
  background: rgba(244, 114, 182, 0.12);
}

.rules-icons span:nth-child(3) {
  animation-delay: 0.6s;
  background: rgba(163, 230, 53, 0.12);
}

.rules-icons span:nth-child(4) {
  animation-delay: 0.9s;
}

.rules-icons span:nth-child(5) {
  animation-delay: 1.2s;
  background: rgba(244, 114, 182, 0.12);
}

.rules-icons span:nth-child(6) {
  animation-delay: 1.5s;
  background: rgba(163, 230, 53, 0.12);
}

/* —— Game —— */
.game-section {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--bg);
}

.game-panel {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 2rem;
  padding: 2.25rem 1.75rem 2.5rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.game-panel::after {
  content: '✨';
  position: absolute;
  top: -12px;
  right: 24px;
  font-size: 1.8rem;
  animation: bob 2.8s ease-in-out infinite;
}

.slot-machine {
  margin-top: 1.5rem;
}

.slot-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: rgba(5, 6, 10, 0.55);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.4rem;
  min-width: 120px;
}

.stat-box__label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--display);
}

.stat-box__value {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
}

.reels {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, #16182e, #0a0b14);
  border-radius: 1.5rem;
  border: 3px solid rgba(34, 211, 238, 0.35);
  box-shadow: inset 0 0 40px rgba(34, 211, 238, 0.08);
}

.reel {
  width: 88px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  background: var(--surface);
  border-radius: 1.15rem;
  border: 2px solid var(--border);
  transition: transform 0.15s;
}

.reel.spinning {
  animation: reel-spin 0.12s linear infinite;
}

.slot-result {
  min-height: 1.6em;
  margin-bottom: 1.15rem;
  font-weight: 700;
  font-family: var(--display);
  color: var(--muted);
}

.slot-result.win {
  color: var(--secondary);
  animation: pop-in 0.4s var(--ease);
}

.slot-result.lose {
  color: var(--accent);
}

.paytable {
  margin-top: 1.75rem;
  text-align: left;
  background: rgba(5, 6, 10, 0.4);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border);
}

.paytable h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--primary);
}

.paytable ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.paytable li {
  font-size: 0.92rem;
  color: var(--muted);
}

/* —— FAQ —— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 720px;
}

.faq-item {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.3s var(--ease);
}

.faq-item:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-2px);
}

.faq-item summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item p {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  font-size: 1rem;
}

/* —— Footer —— */
.footer {
  background: var(--surface);
  border-top: 2px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer__logo img {
  height: 44px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer__brandtext {
  color: var(--muted);
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  max-width: 480px;
}

.footer__links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer__badges img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
  transition: transform 0.3s var(--ease);
}

.footer__badges a:hover img {
  transform: scale(1.08);
}

.footer__disclaimer {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.footer__contact {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.footer__copy {
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* —— Age gate —— */
.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 6, 10, 0.88);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.age-gate.active {
  display: flex;
}

.age-gate__box {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 2rem;
  padding: 2.25rem 1.75rem;
  max-width: 420px;
  text-align: center;
  animation: pop-in 0.45s var(--ease);
  box-shadow: 0 24px 80px rgba(34, 211, 238, 0.15);
}

.age-gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #05060a;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  animation: bob 2.5s ease-in-out infinite;
}

.age-gate__box h2 {
  font-family: var(--display);
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.age-gate__box p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.age-gate__note {
  margin-top: 1rem !important;
  font-size: 0.82rem !important;
}

/* —— Cookie banner —— */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: min(640px, 94vw);
}

.cookie-banner.active {
  display: block;
  animation: slide-up 0.4s var(--ease-soft);
}

.cookie-banner__inner {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.cookie-banner__text {
  flex: 1 1 240px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* —— Animations —— */
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reel-spin {
  0% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(4px);
  }
  100% {
    transform: translateY(-4px);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(6deg);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Responsive —— */
@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero__art {
    opacity: 0.35;
    width: min(260px, 55vw);
    right: -4%;
    bottom: 4%;
  }

  .hero__inner {
    padding: 3rem 0 4rem;
  }

  .paytable ul {
    grid-template-columns: 1fr;
  }

  .reel {
    width: 72px;
    height: 80px;
    font-size: 2.2rem;
  }

  .footer__top {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .warning-banner {
    font-size: 0.78rem;
    padding: 0.65rem 0.85rem;
  }

  .navbar__brand {
    font-size: 1.1rem;
  }

  .stat-box {
    min-width: 100px;
    padding: 0.6rem 1rem;
  }

  .reels {
    gap: 0.45rem;
    padding: 0.9rem;
  }

  .reel {
    width: 64px;
    height: 72px;
    font-size: 1.9rem;
  }
}
