@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: #fff;
  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) both;
}
@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) 0%, transparent 50%, hsla(280,60%,12%,0.6) 100%);
}

/* Nav */
.hero__nav {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 16px 24px;
  animation: fadeDown 0.5s 0.2s cubic-bezier(0.25,0.1,0.25,1) 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(8px);
  border-radius: 6px; padding: 6px 12px;
  font-size: 0.875rem; font-weight: 500;
}
.lang-switch svg { width: 16px; height: 16px; }

/* Tower Rush Logo */
.hero__tower-logo {
  position: relative; z-index: 20;
  display: block; margin: 8px auto 0; height: 96px;
  object-fit: contain;
  animation: dropIn 0.7s 0.4s cubic-bezier(0.25,0.1,0.25,1) both;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: translateY(0); } }

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

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

.hero__amount {
  font-family: 'Oswald', sans-serif;
  font-weight: 900; font-size: 3.125rem;
  text-transform: uppercase; line-height: 1;
  margin-top: 8px;
  color: var(--casino-gold);
  text-shadow: 0 3px 8px rgba(0,0,0,0.6), 0 0 30px hsla(45,100%,50%,0.4);
  animation: popIn 0.6s 0.5s cubic-bezier(0.25,0.1,0.25,1) both;
}
@keyframes popIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

.hero__spins {
  font-family: 'Oswald', sans-serif;
  font-weight: 900; font-size: 2.5rem;
  text-transform: uppercase; line-height: 1;
  margin-top: 4px;
  color: var(--casino-gold);
  text-shadow: 0 3px 8px rgba(0,0,0,0.6), 0 0 30px hsla(45,100%,50%,0.4);
  animation: popIn 0.6s 0.65s cubic-bezier(0.25,0.1,0.25,1) both;
}

.hero__cta {
  margin-top: 32px;
  animation: fadeUp 0.5s 0.85s cubic-bezier(0.25,0.1,0.25,1) both;
}

/* Cookie Banner */
.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(12px);
  border-top: 1px solid hsla(300,50%,40%,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 56rem; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  font-size: 0.875rem; color: var(--muted-foreground);
}

/* Responsive */
@media (max-width: 639px) {
  .cookie-banner__inner { flex-direction: column; }
}

@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: 16px; }
  .hero__tower-logo { height: 144px; }
  .hero__cta { margin-top: 48px; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 3.75rem; }
  .hero__amount { font-size: 8rem; }
  .hero__spins { font-size: 6rem; }
  .hero__tower-logo { height: 176px; }
}
