@charset "utf-8";
/* CSS Document */

/* ─── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0a0d0a;
  --bg-surface:   #0f1410;
  --bg-card:      #111814;
  --bg-card-h:    #141f16;
  --green:        #22ff6e;
  --green-dim:    #16c952;
  --green-muted:  #0e7a32;
  --green-glow:   rgba(34, 255, 110, 0.18);
  --green-glow-h: rgba(34, 255, 110, 0.42);
  --border:       rgba(34, 255, 110, 0.12);
  --border-h:     rgba(34, 255, 110, 0.5);
  --text-primary: #e8f5ec;
  --text-secondary: #7aaa88;
  --text-muted:   #3d6147;
  --font-display: 'Orbitron', monospace;
  --font-body:    'DM Mono', monospace;
  --radius:       6px;
  --transition:   0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body.dragonlings-page {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCANLINE OVERLAY ───────────────────────────────────────────── */
body.dragonlings-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.06) 2px,
    rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ─── LAYOUT WRAPPER ─────────────────────────────────────────────── */
.dl-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.dl-hero {
  position: relative;
  text-align: center;
  padding: 2rem 2rem 4rem;
  margin-top: 63px;
}

.dl-hero__banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 2.5rem;
  filter: brightness(0.9) saturate(1.05);
  box-shadow: 0 0 60px rgba(34,255,110,0.08), 0 0 120px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeIn 0.9s 0.1s forwards;
}

.dl-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green-dim);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s 0.3s forwards;
}

.dl-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
  text-shadow:
    0 0 30px rgba(34,255,110,0.55),
    0 0 80px rgba(34,255,110,0.2);
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.dl-hero__sub {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}

.dl-hero__cta-group {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.dl-btn--primary {
  background: var(--green);
  color: #0a0d0a;
  box-shadow: 0 0 20px rgba(34,255,110,0.35);
}

.dl-btn--primary:hover {
  background: #4fff8a;
  box-shadow: 0 0 36px rgba(34,255,110,0.65), 0 0 70px rgba(34,255,110,0.2);
  transform: translateY(-2px);
  color: #0a0d0a;
  text-decoration: none;
}

.dl-btn--outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--border-h);
  box-shadow: 0 0 12px rgba(34,255,110,0.1);
}

.dl-btn--outline:hover {
  background: var(--green-glow);
  box-shadow: 0 0 24px rgba(34,255,110,0.3);
  transform: translateY(-2px);
  color: var(--green);
  text-decoration: none;
}

/* ─── DIVIDER ────────────────────────────────────────────────────── */
.dl-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-muted), transparent);
  margin: 3.5rem 0;
}

/* ─── SECTION LABELS ─────────────────────────────────────────────── */
.dl-section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-dim);
  margin-bottom: 0.5rem;
}

.dl-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 0 20px rgba(34,255,110,0.3);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.dl-section-body {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* ─── LIST STYLING ───────────────────────────────────────────────── */
.dl-list {
  margin-top: 0.9rem;
  padding-left: 1rem;
  list-style: none;
  border-left: 2px solid var(--green-muted);
}

.dl-list li {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 1.2rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  list-style: none;
}

.dl-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green-dim);
  font-size: 0.75rem;
  top: 0.15em;
}

/* ─── FEATURE ROWS ───────────────────────────────────────────────── */
.dl-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  opacity: 0;
  animation: cardReveal 0.6s both;
}

.dl-feature:nth-child(1) { animation-delay: 0.3s; }
.dl-feature:nth-child(2) { animation-delay: 0.45s; }
.dl-feature:nth-child(3) { animation-delay: 0.6s; }
.dl-feature:nth-child(4) { animation-delay: 0.75s; }
.dl-feature:nth-child(5) { animation-delay: 0.9s; }

.dl-feature--reverse .dl-feature__img { order: 2; }
.dl-feature--reverse .dl-feature__text { order: 1; }

.dl-feature__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.dl-feature__img img {
  width: 100%;
  display: block;
  filter: brightness(0.9) saturate(1.05);
  transition: filter var(--transition), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dl-feature__img:hover img {
  filter: brightness(1) saturate(1.15);
  transform: scale(1.02);
}

.dl-feature__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,13,10,0.65) 100%);
  pointer-events: none;
}

/* ─── STAT CHIPS ─────────────────────────────────────────────────── */
.dl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.dl-stat {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px 10px;
  background: rgba(34,255,110,0.05);
}

/* ─── VIDEO SECTION ──────────────────────────────────────────────── */
.dl-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.dl-video-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  animation: cardReveal 0.6s both;
}

.dl-video-block:nth-child(1) { animation-delay: 0.3s; }
.dl-video-block:nth-child(2) { animation-delay: 0.45s; }

.dl-video-block__embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg-surface);
}

.dl-video-block__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.dl-video-block__label {
  padding: 1rem 1.2rem;
}

.dl-video-block__label h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
  text-shadow: 0 0 10px rgba(34,255,110,0.3);
}

/* ─── CTA BANNER ─────────────────────────────────────────────────── */
.dl-cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 3.5rem 2rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: cardReveal 0.6s 0.4s both;
}

.dl-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(34,255,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.dl-cta-banner__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green-dim);
  margin-bottom: 0.8rem;
}

.dl-cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 0 30px rgba(34,255,110,0.45);
  margin-bottom: 0.5rem;
}

.dl-cta-banner__sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}

/* ─── RULES CALLOUT ──────────────────────────────────────────────── */
.dl-callout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-dim);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin-bottom: 4rem;
  opacity: 0;
  animation: cardReveal 0.6s 0.5s both;
}

.dl-callout__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.dl-callout__body h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.dl-callout__body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.dl-callout__body a {
  color: var(--green-dim);
  text-decoration: none;
}

.dl-callout__body a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.dl-footer {
  text-align: center;
  padding: 2rem 2rem 4rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  border-top: 1px solid var(--border);
}

/* ─── KEYFRAMES ──────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .dl-feature,
  .dl-feature--reverse .dl-feature__img,
  .dl-feature--reverse .dl-feature__text {
    grid-template-columns: 1fr;
    order: unset !important;
  }

  .dl-video-grid {
    grid-template-columns: 1fr;
  }

  .dl-hero {
    padding: 3rem 1rem 2.5rem;
  }

  .dl-wrap {
    padding: 0 1rem;
  }

  .dl-hero__cta-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .dl-hero__banner { max-height: 200px; }
}