/* =========================================================
   Visual system inspired by duel-rewards.com
   Deep navy + orange-gold glow, soft pills, bold Poppins.
   Site structure unchanged.
   ========================================================= */

body.duel-app {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(245, 158, 11, 0.12), transparent 55%),
    radial-gradient(700px 480px at 100% 40%, rgba(59, 130, 246, 0.06), transparent 50%),
    #050816;
  font-family: var(--font);
}

body.duel-app::before {
  display: none;
}

/* ---- Type ---- */
.duel-app h1,
.duel-app h2,
.duel-app h3,
.duel-app .hero-title,
.duel-app .originals-title,
.duel-app .promo-code-big {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.duel-app .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f59e0b;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.duel-app .hero-title {
  max-width: 18ch;
  line-height: 1.05;
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.duel-app .hero-text {
  max-width: 34rem;
  color: #94a3b8;
  border: 0;
  padding: 0;
  font-size: 1.05rem;
}

.duel-app .hero-chip {
  clip-path: none;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  padding: 0.55rem 0.95rem;
}

.duel-app .hero-chip strong {
  color: #fbbf24;
}

.duel-app .hero-chip:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

/* Hero */
.duel-app .hero {
  border-radius: 0 0 24px 24px !important;
  margin: 0.5rem 0.75rem 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.1) !important;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45) !important;
}

.duel-app .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 8, 22, 0.82) 0%, rgba(5, 8, 22, 0.45) 55%, rgba(5, 8, 22, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.duel-app .hero::after {
  content: "";
  position: absolute;
  inset: auto 10% -40px 10%;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.28), transparent 70%);
  filter: blur(18px);
  z-index: 1;
  pointer-events: none;
}

.duel-app .hero-content,
.duel-app .hero-particles {
  position: relative;
  z-index: 2;
}

/* ---- Buttons: orange glow pills like duel-rewards ---- */
.duel-app .btn {
  border-radius: 999px !important;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  font-size: 0.95rem !important;
}

.duel-app .btn-primary,
.duel-app .btn-register {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 55%, #ea580c 100%) !important;
  border: 0 !important;
  color: #1a1205 !important;
  box-shadow:
    0 0 0 1px rgba(255, 220, 150, 0.25),
    0 10px 30px rgba(245, 158, 11, 0.45),
    0 0 40px rgba(245, 158, 11, 0.25) !important;
}

.duel-app .btn-primary:hover,
.duel-app .btn-register:hover {
  background: linear-gradient(180deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 220, 150, 0.35),
    0 14px 36px rgba(245, 158, 11, 0.55),
    0 0 50px rgba(245, 158, 11, 0.32) !important;
  transform: translateY(-2px) scale(1.01);
}

.duel-app .btn-login,
.duel-app .btn-ghost {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.duel-app .btn-login:hover,
.duel-app .btn-ghost:hover {
  border-color: rgba(245, 158, 11, 0.45) !important;
  background: rgba(245, 158, 11, 0.08) !important;
  color: #fff !important;
}

.duel-app .btn-lg {
  padding: 0.95rem 1.6rem !important;
  font-size: 1rem !important;
}

/* ---- Sections ---- */
.duel-app .section-alt {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(245, 158, 11, 0.05), transparent 60%),
    rgba(255, 255, 255, 0.015);
  border-block: 1px solid rgba(148, 163, 184, 0.08);
}

.duel-app .rail-head h2::after,
.duel-app .originals-title::after {
  display: none;
}

.duel-app .originals-sub,
.duel-app .lead {
  color: #94a3b8;
}

.duel-app .rail-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.8);
}

.duel-app .rail-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
}

/* ---- Live rail ---- */
.duel-app .live-rail {
  margin: 0.85rem 0.75rem 0;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(10, 16, 32, 0.9);
  font-family: var(--font);
}

.duel-app .live-rail-head {
  color: #fbbf24;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font);
}

.duel-app .live-rail-head .pulse {
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  animation: live-pulse-orange 1.6s ease-out infinite;
}

@keyframes live-pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.duel-app .live-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.85);
  font-size: 0.82rem;
}

.duel-app .live-pill em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 700;
}

/* ---- Filters ---- */
.duel-app .qf {
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.7);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.duel-app .qf.is-active {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.55);
  color: #ffe8b8;
}

/* ---- Cards ---- */
.duel-app .orig-card,
.duel-app .game-card,
.duel-app .overlay-card {
  border-radius: 18px !important;
  clip-path: none !important;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, #121a30, #0b1222);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.duel-app .orig-card:hover,
.duel-app .game-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.12);
}

.duel-app .rtp-badge {
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1205;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.duel-app .play-pulse {
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1205;
  font-weight: 800;
}

.duel-app .viz-card,
.duel-app .promo-card,
.duel-app .bento-card,
.duel-app .wallet-demo,
.duel-app .cta-banner,
.duel-app .step {
  border-radius: 20px !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(245, 158, 11, 0.08), transparent 55%),
    linear-gradient(160deg, rgba(18, 26, 48, 0.95), rgba(10, 16, 32, 0.98)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35) !important;
}

.duel-app .viz-card:hover,
.duel-app .promo-card:hover,
.duel-app .bento-card:hover {
  border-color: rgba(245, 158, 11, 0.35) !important;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(245, 158, 11, 0.12) !important;
  transform: translateY(-4px) !important;
}

.duel-app .viz-card h2::after,
.duel-app .viz-card h1::after {
  background: linear-gradient(90deg, #f59e0b, transparent) !important;
  height: 3px !important;
  border-radius: 999px !important;
}

.duel-app .bento-kicker,
.duel-app .pill,
.duel-app .promo-badge {
  border-radius: 999px !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3);
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
}

.duel-app .bento-card:hover .bento-kicker {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #ffe08a !important;
  border-color: rgba(245, 158, 11, 0.45);
}

.duel-app .info-tile {
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-left: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.8);
}

.duel-app .info-tile:hover {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.06);
}

.duel-app .info-tile strong {
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: -0.01em;
}

/* ---- Promo ---- */
.duel-app .promo-hero {
  border-radius: 24px !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(245, 158, 11, 0.16), transparent 55%),
    linear-gradient(145deg, #121a30, #0a1020) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(245, 158, 11, 0.08) !important;
}

.duel-app .promo-code-big {
  color: #fbbf24;
  letter-spacing: 0.08em;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.duel-app .copy-btn {
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.duel-app .copy-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.25);
}

.duel-app .copy-btn.copied {
  border-color: rgba(34, 197, 94, 0.5);
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
}

/* ---- Tables ---- */
.duel-app .table-wrap {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(10, 16, 32, 0.9);
}

.duel-app .compare-table th,
.duel-app .info-table th {
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}

.duel-app .compare-table tr:hover td {
  background: rgba(245, 158, 11, 0.05);
}

/* ---- Header / sidebar ---- */
.duel-app .site-header {
  background: rgba(5, 8, 22, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(14px);
}

.duel-app .nav a {
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.duel-app .nav a:hover,
.duel-app .nav a.active {
  background: rgba(245, 158, 11, 0.12);
  color: #ffe8b8;
  text-decoration: none;
  box-shadow: none;
}

.duel-app .duel-sidebar {
  background: linear-gradient(180deg, #0a1020 0%, #050816 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.1);
}

.duel-app .side-link {
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.duel-app .side-link.active {
  background: rgba(245, 158, 11, 0.14);
  box-shadow: inset 3px 0 0 #f59e0b;
  color: #ffe8b8;
}

.duel-app .side-link:hover {
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.duel-app .sidebar-promo {
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(245, 158, 11, 0.2), transparent 60%),
    rgba(15, 23, 42, 0.95);
}

.duel-app .sidebar-promo-title {
  color: #fbbf24;
  font-family: var(--font-display);
  font-weight: 800;
}

.duel-app .sidebar-collapse {
  border-radius: 12px;
}

/* ---- FAQ / footer ---- */
.duel-app .faq details {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.85);
}

.duel-app .faq details[open] {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.duel-app .faq details[open] summary {
  background: rgba(245, 158, 11, 0.08);
}

.duel-app .faq summary::after {
  color: #f59e0b;
}

.duel-app .site-footer {
  background: linear-gradient(180deg, #0a1020, #050816);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.duel-app .footer-col h4 {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: #fbbf24;
  font-weight: 700;
}

.duel-app .socials a {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.duel-app .socials a:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
}

.duel-app .age-badge {
  border-radius: 999px;
  background: #f59e0b;
  color: #1a1205;
  font-weight: 800;
}

.duel-app .step-num {
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1205;
}

.duel-app .coin-chip {
  border-radius: 999px;
}

.duel-app .coin-chip.is-active {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  color: #ffe8b8;
}

.duel-app .media-frame,
.duel-app .media-frame--shot {
  border-radius: 16px;
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.scroll-popup-card {
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background:
    radial-gradient(360px 160px at 100% 0%, rgba(245, 158, 11, 0.2), transparent 55%),
    #0f1628;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 158, 11, 0.12);
}

.scroll-popup-kicker {
  color: #fbbf24;
  letter-spacing: 0.06em;
}

.duel-app .back-top {
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: #0f1628;
}

.duel-app .back-top:hover {
  background: #f59e0b;
  color: #1a1205;
}

.duel-app .sticky-cta {
  background: rgba(5, 8, 22, 0.94);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

/* Spotlight / glow → orange */
.duel-app .viz-card::before,
.duel-app .promo-card::before,
.duel-app .bento-card::before,
.duel-app .info-tile::before {
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(245, 158, 11, 0.16),
    transparent 55%
  ) !important;
}

.cursor-glow {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14), transparent 68%) !important;
}

.organic-bg::before {
  background: rgba(245, 158, 11, 0.14) !important;
}

.organic-bg::after {
  background: rgba(59, 130, 246, 0.08) !important;
}

.duel-app .feature-list li:hover {
  background: rgba(245, 158, 11, 0.07);
  border-color: rgba(245, 158, 11, 0.25);
}

.duel-app .cta-banner::after {
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 220, 150, 0.12) 48%,
    transparent 62%
  );
}

@media (max-width: 980px) {
  .duel-app .viz-card:hover,
  .duel-app .bento-card:hover,
  .duel-app .promo-card:hover {
    transform: none !important;
  }

  .duel-app .hero {
    margin-inline: 0.5rem !important;
    border-radius: 0 0 18px 18px !important;
    height: auto !important;
  }

  .duel-app .hero-title {
    max-width: none;
  }

  .duel-app .hero-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #cbd5e1;
    z-index: 3;
  }

  .duel-app .sticky-cta .btn {
    font-size: 0.8rem !important;
    white-space: nowrap;
  }

  .duel-app .compare-table {
    table-layout: fixed;
  }

  .duel-app .compare-table th,
  .duel-app .compare-table td {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .duel-app .compare-table th:nth-child(1),
  .duel-app .compare-table td:nth-child(1),
  .duel-app .compare-table th:nth-child(3),
  .duel-app .compare-table td:nth-child(3) {
    overflow-wrap: normal;
    white-space: nowrap;
  }
}

/* Promo comparison: readable mobile cards, desktop table unchanged. */
@media (max-width: 700px) {
  .duel-app.page-promo-code .table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .duel-app.page-promo-code .compare-table,
  .duel-app.page-promo-code .compare-table tbody { display: block; width: 100%; table-layout: auto; border: 0; background: transparent; overflow: visible; }
  .duel-app.page-promo-code .compare-table thead { display: none; }
  .duel-app.page-promo-code .compare-table tbody tr { display: block; width: 100%; margin: 0 0 12px; padding: 10px 14px; border: 1px solid rgba(148,163,184,.2); border-radius: 14px; background: #111827; }
  .duel-app.page-promo-code .compare-table tbody td,
  .duel-app.page-promo-code .compare-table tbody td:nth-child(n) { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); gap: 10px; align-items: start; box-sizing: border-box; width: 100% !important; min-width: 0; max-width: 100%; padding: 9px 0; white-space: normal !important; overflow-wrap: anywhere; word-break: normal; font-size: .82rem; line-height: 1.5; border-bottom: 1px solid rgba(148,163,184,.13); }
  .duel-app.page-promo-code .compare-table tbody td:last-child { border-bottom: 0; }
  .duel-app.page-promo-code .compare-table tbody td::before { content: attr(data-label); font-weight: 700; color: #fde68a; overflow-wrap: normal; }
  .duel-app.page-promo-code .compare-table tbody td:first-child { font-weight: 700; color: #fff; }
}
