/* BrudiSlots – polished + animated */
:root {
  --bg: #050810;
  --surface: #0c1220;
  --text: #f4f7ff;
  --muted: #93a4c3;
  --line: rgba(130, 170, 255, 0.12);
  --blue: #38bdf8;
  --violet: #818cf8;
  --pink: #e879f9;
  --font: "DM Sans", system-ui, sans-serif;
  --display: Sora, system-ui, sans-serif;
  --max: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Particles canvas */
.fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* Background */
.bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orb-drift 14s ease-in-out infinite alternate;
}
.bg__orb--a {
  width: 480px; height: 480px;
  top: -140px; left: 50%;
  transform: translateX(-65%);
  background: rgba(56, 189, 248, 0.18);
}
.bg__orb--b {
  width: 400px; height: 400px;
  top: 35%; right: -100px;
  background: rgba(129, 140, 248, 0.16);
  animation-delay: -5s;
}
.bg__orb--c {
  width: 320px; height: 320px;
  bottom: 5%; left: 10%;
  background: rgba(232, 121, 249, 0.1);
  animation-delay: -9s;
}
.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  animation: grid-pulse 8s ease-in-out infinite;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 24px) scale(1.08); }
}
@keyframes grid-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.header, main, .footer { position: relative; z-index: 1; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(5, 8, 16, 0.72);
  border-bottom: 1px solid var(--line);
  animation: header-in 0.6s ease both;
}
@keyframes header-in {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.logo img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.logo:hover img { transform: scale(1.08) rotate(-4deg); }
.logo__ring {
  position: absolute;
  left: -4px;
  top: 50%;
  width: calc(2.35rem + 8px);
  height: calc(2.35rem + 8px);
  margin-top: calc(-1.175rem - 4px);
  border-radius: 50%;
  border: 1px solid transparent;
  background: conic-gradient(from 0deg, var(--blue), var(--violet), var(--pink), var(--blue)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  animation: spin 6s linear infinite;
  opacity: 0.7;
}
.logo strong { color: var(--blue); font-weight: 800; }
.header__nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.header__nav a {
  position: relative;
  transition: color 0.2s;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  transition: width 0.25s ease;
}
.header__nav a:hover { color: var(--text); }
.header__nav a:hover::after { width: 100%; }
@media (min-width: 720px) {
  .header__nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  border-radius: 999px;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.25s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--primary {
  padding: 0.85rem 1.35rem;
  background: linear-gradient(115deg, var(--blue), var(--violet) 55%, var(--pink));
  background-size: 180% 180%;
  animation: gradient-shift 4s ease infinite;
  color: #061018;
  box-shadow: 0 10px 30px -8px rgba(56, 189, 248, 0.45);
}
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost {
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.3);
}
.btn--block {
  width: 100%;
  border-radius: 0.9rem;
  padding: 1.05rem 1.25rem;
  font-size: 1rem;
}
.btn--glow {
  animation: gradient-shift 4s ease infinite, btn-pulse 2.4s ease-in-out infinite;
}
.btn--shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep 3.2s ease-in-out infinite;
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(56, 189, 248, 0.4); }
  50% { box-shadow: 0 14px 40px -4px rgba(129, 140, 248, 0.65), 0 0 24px rgba(56, 189, 248, 0.25); }
}
@keyframes shine-sweep {
  0%, 55% { left: -60%; opacity: 0; }
  60% { opacity: 1; }
  85% { left: 120%; opacity: 0.5; }
  100% { left: 120%; opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Age gate */
body.age-locked { overflow: hidden; }
body.age-locked .header,
body.age-locked main,
body.age-locked .footer,
body.age-locked .bg,
body.age-locked .fx { filter: blur(8px); pointer-events: none; }

.age {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}
.age[hidden] { display: none !important; }
.age__card {
  width: min(100%, 22rem);
  text-align: center;
  padding: 1.75rem 1.4rem;
  border-radius: 1.35rem;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(56, 189, 248, 0.08);
}
.anim-pop { animation: pop-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(20px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.age__logo {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  margin: 0 auto 0.85rem;
  animation: float 4s ease-in-out infinite;
}
.badge {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--blue), var(--violet));
  color: #061018;
  margin-bottom: 0.75rem;
}
.pulse-badge {
  animation: badge-pulse 1.8s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
}
.age__card h1 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
}
.age__card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
}
.age__card strong { color: var(--blue); }
.age__card .btn { width: 100%; margin-bottom: 0.5rem; }

/* Hero */
.hero {
  padding: 2.25rem 0 2.5rem;
  text-align: center;
}
.hero__brand {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 11rem;
  height: 11rem;
  margin: 0 auto 1.1rem;
}
.hero__halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 68%);
  animation: halo-breathe 3s ease-in-out infinite;
}
.hero__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(56, 189, 248, 0.75) 12%,
    transparent 28%,
    transparent 50%,
    rgba(232, 121, 249, 0.55) 62%,
    transparent 80%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 8s linear infinite;
}
.hero__logo {
  position: relative;
  z-index: 2;
  width: 7.25rem;
  height: 7.25rem;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(56, 189, 248, 0.35));
  animation: float 5s ease-in-out infinite, logo-glow 3s ease-in-out infinite;
}
.hero__shine {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}
.hero__shine::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -50%;
  width: 40%;
  height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-18deg);
  animation: shine-sweep 3.8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 14px 32px rgba(56, 189, 248, 0.3)); }
  50% { filter: drop-shadow(0 18px 48px rgba(129, 140, 248, 0.55)); }
}
@keyframes halo-breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.45; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: live-ping 1.6s ease infinite;
}
@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.title-line { display: block; }
.grad {
  background: linear-gradient(115deg, var(--blue), var(--violet), var(--pink), var(--blue));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shine 4s linear infinite;
}
@keyframes text-shine {
  to { background-position: 200% center; }
}
.hero__sub {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

/* Staggered entrance */
.anim-in {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.34s; }
.d5 { animation-delay: 0.48s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Card */
.card {
  position: relative;
  text-align: left;
  background: linear-gradient(165deg, rgba(56, 189, 248, 0.1), var(--surface) 42%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 1.35rem;
  padding: 1.4rem 1.35rem 1.25rem;
  box-shadow: 0 20px 50px -18px rgba(56, 189, 248, 0.22);
  margin-bottom: 1.15rem;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 28px 60px -16px rgba(56, 189, 248, 0.35);
}
.card__border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 40%, var(--blue), var(--pink), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 4s linear infinite;
  pointer-events: none;
  opacity: 0.85;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes border-spin {
  to { --angle: 360deg; }
}
.card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  position: relative;
}
.card__logo-wrap {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.95rem;
  background: #0a0e18;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  animation: logo-bob 3.5s ease-in-out infinite;
}
.card__logo-wrap img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}
@keyframes logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.15rem;
  animation: tag-flicker 2.5s ease-in-out infinite;
}
@keyframes tag-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.card__head h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
}
.card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
  position: relative;
}
.card__value {
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(115deg, var(--blue), var(--violet), var(--pink), var(--blue));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  position: relative;
  animation: text-shine 5s linear infinite;
}
.card__fs {
  display: block;
  font-size: 0.9em;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin-bottom: 1.15rem;
  position: relative;
}
.card__meta li {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--blue);
  border: 1px solid rgba(56, 189, 248, 0.22);
  animation: tag-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.5s + var(--i) * 0.08s);
}
@keyframes tag-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
.card__hint {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  position: relative;
}
.hero__links { display: flex; justify-content: center; }

/* Sections + reveal */
.section { padding: 2rem 0 2.5rem; }
.section__title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.1rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 40px -20px rgba(56, 189, 248, 0.3);
}
.tile__icon {
  font-size: 1.6rem;
  margin-bottom: 0.55rem;
  display: inline-block;
  animation: icon-wiggle 5s ease-in-out infinite;
  animation-delay: calc(var(--d, 0) * 0.4s);
}
@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-8deg) scale(1.05); }
  75% { transform: rotate(8deg) scale(1.05); }
}
.tile h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.tile p {
  font-size: 0.88rem;
  color: var(--muted);
}

.section--steps { text-align: center; padding-bottom: 3rem; }
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 22rem;
  margin: 0 auto 1.35rem;
  text-align: left;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.steps li:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.3);
}
.steps strong {
  color: var(--blue);
  margin-right: 0.35rem;
  font-family: var(--display);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 0.1s);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.footer__logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}
.footer p {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 28rem;
}
.footer a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pink);
  transition: color 0.2s;
}
.footer a:hover { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .anim-in, .reveal { opacity: 1; transform: none; }
}
