:root {
  --bg-deep: #04060d;
  --bg-card: rgba(12, 16, 30, 0.94);
  --gold: #f0d060;
  --gold-dim: #c9a227;
  --accent: #ff4d6d;
  --accent-2: #7c3aed;
  --text: #f4f6fb;
  --text-muted: #c4ccda;
  --border: rgba(232, 197, 71, 0.25);
  --radius: 18px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Scrim: balance background vs text contrast */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 6, 13, 0.62) 0%,
    rgba(4, 6, 13, 0.52) 45%,
    rgba(4, 6, 13, 0.58) 100%
  );
  pointer-events: none;
}

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

.redirect-banner {
  z-index: 102;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.96), rgba(255, 77, 109, 0.9));
  color: #fff;
  text-align: center;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: clamp(0.85rem, 2.5vw, 0.98rem);
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.redirect-banner-inner {
  max-width: 100%;
}

/* Animated mesh + grid background */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(124, 58, 237, 0.22), transparent 50%),
    radial-gradient(ellipse 100% 60% at 100% 30%, rgba(255, 77, 109, 0.18), transparent 45%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(232, 197, 71, 0.12), transparent 50%),
    var(--bg-deep);
}

.bg-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 197, 71, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 197, 71, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 24s linear infinite;
  opacity: 0.6;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(48px, 48px); }
}

.bg-photo {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: center/cover no-repeat url("images/dragonmani.jpg");
  opacity: 0.16;
  mix-blend-mode: luminosity;
  animation: kenburns 28s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, 1%); }
}

.floating-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  animation: floatOrb 18s var(--ease) infinite;
}

.orb:nth-child(1) {
  width: 320px;
  height: 320px;
  background: var(--accent-2);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.orb:nth-child(2) {
  width: 280px;
  height: 280px;
  background: var(--accent);
  bottom: 15%;
  right: -8%;
  animation-delay: -6s;
}

.orb:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 45%;
  left: 40%;
  opacity: 0.2;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(4, 6, 13, 0.94);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.35);
}

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

.nav a {
  color: #dde4f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: #1a0a00;
  box-shadow: 0 4px 28px rgba(232, 197, 71, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(232, 197, 71, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

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

/* Hero */
.hero {
  padding: clamp(3rem, 10vw, 6rem) 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 4px 24px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  color: #e2e8f5;
  font-size: 1.1rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: #fff6d4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.stat span {
  font-size: 0.75rem;
  color: #b8c4d8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.5);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(5, 8, 16, 0.85));
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

/* Sections */
section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.section-head p {
  color: #d0d8e8;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* about cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.about-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 197, 71, 0.45);
}

.about-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--gold);
}

.about-card p {
  margin: 0;
  color: #d0d8ea;
  font-size: 0.97rem;
  line-height: 1.72;
}

/* Slot cards */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.slot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f1525;
  aspect-ratio: 4 / 5;
  perspective: 1000px;
  transition: box-shadow 0.4s var(--ease);
}

.slot-card:hover {
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25), 0 0 0 1px rgba(232, 197, 71, 0.2);
}

.slot-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease);
  transform-style: preserve-3d;
}

.slot-card:hover .slot-card-inner {
  transform: rotateX(4deg) rotateY(-4deg) scale(1.02);
}

.slot-thumb {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.slot-card:hover .slot-thumb img {
  transform: scale(1.08);
}

.slot-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 16, 0.95) 0%, transparent 55%);
  pointer-events: none;
}

.slot-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.1rem 1.15rem;
  z-index: 1;
}

.slot-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.slot-body p {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: #e4eaf5;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.slot-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.slot-link:hover {
  text-decoration: underline;
}

.slot-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(232, 197, 71, 0.08), transparent 40%);
  animation: spinGlow 8s linear infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.slot-card:hover .slot-glow {
  opacity: 1;
}

@keyframes spinGlow {
  to { transform: rotate(360deg); }
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #f1f4fb;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

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

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: #d4dce8;
  font-size: 0.98rem;
  line-height: 1.78;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  margin-top: 0;
}

.faq-answer p {
  margin: 0 0 0.85rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA band */
.cta-band {
  margin: 2rem 0;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(255, 77, 109, 0.12)),
    var(--bg-card);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, transparent, rgba(232, 197, 71, 0.15), transparent);
  animation: ctaSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaSweep {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.cta-band h2 {
  position: relative;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.cta-band p {
  position: relative;
  color: #e2e8f4;
  margin: 0 0 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn {
  position: relative;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 1.5rem;
}

.site-footer h4 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.disclaimer {
  font-size: 0.82rem;
  color: #c5cedd;
  opacity: 1;
  max-width: 720px;
  line-height: 1.65;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Particles canvas below scrim */
#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
