@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700;800;900&display=swap');

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

:root {
  --background: hsl(280, 60%, 12%);
  --foreground: hsl(0, 0%, 100%);
  --muted: hsl(280, 40%, 20%);
  --muted-foreground: hsl(300, 30%, 70%);
  --border: hsl(300, 50%, 40%);
  --casino-gold: hsl(45, 100%, 50%);
  --casino-gold-light: hsl(45, 100%, 55%);
  --casino-gold-hover: hsl(45, 100%, 70%);
  --casino-magenta: hsl(300, 100%, 50%);
  --casino-magenta-light: hsl(300, 100%, 60%);
  --casino-magenta-dark: hsl(300, 80%, 35%);
}

body {
  font-family: 'Oswald', sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

/* Casino Link */
.casino-link {
  color: var(--casino-gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.casino-link:hover { color: var(--casino-gold-hover); }

/* Casino Button */
.casino-btn {
  display: inline-block;
  cursor: pointer;
  background: linear-gradient(180deg, var(--casino-magenta-light) 0%, var(--casino-magenta-dark) 100%);
  border: 3px solid var(--casino-gold);
  border-radius: 8px;
  padding: 16px 48px;
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(0, 0%, 100%);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  box-shadow: 0 0 20px hsla(300, 100%, 50%, 0.5), inset 0 1px 0 hsla(300, 100%, 70%, 0.4), 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}
.casino-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px hsla(300, 100%, 50%, 0.7), inset 0 1px 0 hsla(300, 100%, 70%, 0.4), 0 6px 20px rgba(0,0,0,0.4);
}
.casino-btn:active { transform: scale(0.98); }
.casino-btn--sm { padding: 8px 24px; font-size: 0.875rem; }

/* Hero */
.hero { position: relative; min-height: 100vh; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 1.2s cubic-bezier(0.25,0.1,0.25,1) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsla(280,60%,12%,0.3), transparent 50%, hsla(280,60%,12%,0.6));
}

.hero__nav {
  position: relative; z-index: 20;
  display: flex; justify-content: flex-end;
  padding: 16px 24px;
  animation: fadeDown 0.5s 0.2s both;
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.lang-switch {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid hsla(300,50%,40%,0.5);
  background: hsla(280,40%,20%,0.5);
  backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 500; color: var(--foreground);
}
.lang-switch svg { width: 16px; height: 16px; }

.hero__chicken {
  position: absolute; bottom: 160px; right: 0; z-index: 10;
  height: 192px; object-fit: contain; pointer-events: none;
  animation: slideIn 0.7s 0.8s cubic-bezier(0.25,0.1,0.25,1) both;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }

.hero__content {
  position: relative; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px 16px 128px;
}

.hero__title {
  font-weight: 900; text-transform: uppercase; color: #fff;
  text-shadow: 0 3px 6px rgba(0,0,0,0.5), 0 0 40px hsla(300,100%,50%,0.3);
  font-size: 1.875rem; line-height: 1.2;
  animation: fadeUp 0.5s 0.3s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero__amount {
  font-weight: 900; text-transform: uppercase;
  color: var(--casino-gold);
  text-shadow: 0 3px 8px rgba(0,0,0,0.6), 0 0 30px hsla(45,100%,50%,0.4);
  font-size: 3rem; line-height: 1; margin-top: 8px;
  animation: popIn 0.6s 0.5s both;
}
.hero__spins {
  font-weight: 900; text-transform: uppercase;
  color: var(--casino-gold);
  text-shadow: 0 3px 8px rgba(0,0,0,0.6), 0 0 30px hsla(45,100%,50%,0.4);
  font-size: 2.5rem; line-height: 1; margin-top: 4px;
  animation: popIn 0.6s 0.65s both;
}
@keyframes popIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

.hero__cta { margin-top: 32px; animation: fadeUp 0.5s 0.85s both; }
.hero__terms { margin-top: 16px; animation: fadeIn 0.4s 1s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Footer */
footer {
  position: relative; z-index: 20;
  border-top: 1px solid hsla(300,50%,40%,0.2);
  background: hsla(280,60%,12%,0.9);
  backdrop-filter: blur(4px);
}
.footer__responsible {
  border-bottom: 1px solid hsla(300,50%,40%,0.2);
  padding: 16px 24px;
}
.footer__responsible-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 16px; font-size: 0.875rem; color: var(--muted-foreground);
}
.footer__18 { font-size: 1.125rem; font-weight: 600; color: var(--foreground); }

.footer__main { max-width: 72rem; margin: 0 auto; padding: 32px 24px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer__col h3 {
  color: var(--foreground); font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}
.footer__col p, .footer__col li { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; }
.footer__col ul { list-style: none; padding: 0; }
.footer__col ul li { margin-bottom: 8px; }
.footer__col h4 { color: var(--foreground); font-weight: 600; font-size: 0.875rem; margin: 8px 0; }
.footer__payments { color: var(--muted-foreground); font-size: 0.75rem; }

.footer__bottom {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid hsla(300,50%,40%,0.2);
  text-align: center;
}
.footer__bottom p { color: var(--muted-foreground); font-size: 0.75rem; line-height: 1.6; margin-bottom: 8px; }

/* Legal pages */
.legal-page { min-height: 100vh; padding: 64px 24px; }
.legal-page__inner { max-width: 48rem; margin: 0 auto; }
.legal-page h1 { font-size: 1.875rem; font-weight: 700; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.25rem; font-weight: 600; color: var(--foreground); margin-top: 32px; margin-bottom: 8px; }
.legal-page p, .legal-page li { color: var(--muted-foreground); line-height: 1.6; margin-bottom: 8px; }
.legal-page ul { list-style: disc; padding-left: 24px; }
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--foreground); }
.legal-page__back { margin-top: 48px; }
.legal-page .highlight-box {
  margin-top: 32px; padding: 24px; border-radius: 8px;
  background: hsla(280,40%,20%,0.3); border: 1px solid hsla(300,50%,40%,0.3);
}
.highlight-box p:first-child { color: var(--foreground); font-weight: 600; font-size: 1.125rem; }
.highlight-box p:last-child { margin-top: 8px; }

/* Cookie consent */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  padding: 16px; background: hsla(280,40%,20%,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid hsla(300,50%,40%,0.3);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner__inner {
  max-width: 56rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-size: 0.875rem; color: var(--muted-foreground);
}

/* Responsive */
@media (min-width: 640px) {
  .cookie-banner__inner { flex-direction: row; }
}
@media (min-width: 768px) {
  .hero__title { font-size: 3rem; }
  .hero__amount { font-size: 4.5rem; }
  .hero__spins { font-size: 3.75rem; }
  .hero__content { padding-top: 32px; }
  .hero__chicken { bottom: 16px; right: 16px; height: 50%; }
  .hero__cta { margin-top: 48px; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 3.75rem; }
  .hero__amount { font-size: 8rem; }
  .hero__spins { font-size: 6rem; }
}
