/* =========================
   DURGS — styles.css (cleaned)
   ========================= */

/* =========================
   Base layout + theme
   ========================= */

html {
  scroll-behavior: smooth;
}

html,
body {
  background: #050505;
  color: #f5f5f5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Radial theme helper (used on body via Tailwind class) */
.bg-radial {
  background: radial-gradient(circle at top, #aa1b1b 0, #050505 55%, #000 100%);
}

/* Parallax background texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* FIX: removed leading slash so relative deployments work */
  background: url("images/durgs-parallax.png") center/120% no-repeat;
  opacity: 0.07;
  transform: translateY(var(--scroll-depth, 0px));
  pointer-events: none;
  z-index: 0;
}

/* Depth layers: grain + vignette */
.bg-layers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-layers::before,
.bg-layers::after {
  content: "";
  position: absolute;
  inset: 0;
}

.bg-layers::before {
  opacity: 0.13;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08) 0, transparent 52%),
    radial-gradient(circle at 100% 0, rgba(255, 0, 0, 0.06) 0, transparent 58%),
    radial-gradient(circle at 0 100%, rgba(255, 255, 255, 0.04) 0, transparent 55%);
  background-size: 190px 190px, 240px 240px, 260px 260px;
  animation: grainDrift 26s linear infinite alternate;
}

.bg-layers::after {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 43, 43, 0.08), transparent 65%),
    radial-gradient(circle at 50% 120%, rgba(0, 0, 0, 0.9), transparent 55%),
    radial-gradient(circle at 15% 20%, rgba(255, 75, 75, 0.06), transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(255, 43, 43, 0.05), transparent 65%);
  opacity: 0.72;
}

@keyframes grainDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-12px, 8px, 0);
  }

  100% {
    transform: translate3d(10px, -14px, 0);
  }
}

/* =========================
   Layout shell
   ========================= */

.layout-shell {
  position: relative;
  z-index: 5;
}

/* Anchor offset for sticky header */
:target {
  scroll-margin-top: 90px;
}

/* =========================
   Common UI primitives
   ========================= */

.hidden {
  display: none !important;
}

.mono {
  font-family:
    "SF Mono",
    ui-monospace,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.accent-red {
  color: #ff2b2b;
}

.accent-bg-red {
  background: #ff2b2b;
}

/* Global focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(248, 113, 113, 0.95);
  outline-offset: 3px;
}

@media (max-width: 480px) {

  a:focus-visible,
  button:focus-visible {
    outline-offset: 2px;
  }
}

/* =========================
   Card styling
   ========================= */

.card {
  position: relative;
  background: rgba(10, 10, 10, 0.85);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.95),
    0 0 24px rgba(255, 43, 43, 0.18);
  border-color: rgba(255, 43, 43, 0.35);
}

/* =========================
   Header (sticky pill)
   ========================= */

.top-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: radial-gradient(circle at top, rgba(139, 0, 0, 0.25), rgba(0, 0, 0, 0.9));
  border-bottom: 1px solid rgba(248, 113, 113, 0.18);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 18px 40px rgba(0, 0, 0, 0.85);
}

.top-header-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.2), #020617);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.95),
    0 0 14px rgba(248, 113, 113, 0.35);
}

/* Left side */
.header-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.header-logo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.9);
  flex-shrink: 0;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 0 12px rgba(248, 113, 113, 0.75));
}

.header-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.header-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex-wrap: nowrap;
}

.header-token {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header-tag {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-subline {
  font-size: 0.6rem;
  color: #9ca3af;
}

/* Right side */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  justify-content: center;
}

.nav-pill {
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  white-space: nowrap;
  border-color: rgba(148, 163, 184, 0.45);
}

.nav-pill-primary {
  box-shadow: 0 0 16px rgba(255, 43, 43, 0.55);
}

/* FIX: single canonical definition (you had it twice, conflicting) */
.nav-icon-pill {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.18), rgba(15, 23, 42, 0.96));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.95;
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out,
    background 0.16s ease-out,
    opacity 0.16s ease-out;
}

.nav-icon-pill:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(248, 113, 113, 0.9);
  box-shadow:
    0 0 18px rgba(248, 113, 113, 0.7),
    0 14px 32px rgba(0, 0, 0, 1);
}

.hide-mobile {
  display: inline-flex;
}

/* Mini scroll bar below sticky header */
.header-scroll-track {
  max-width: 1100px;
  margin: 0.2rem auto 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.header-scroll-thumb {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0.02);
  background: linear-gradient(90deg, #fecaca, #f97373, #fb923c);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.6);
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 640px) {
  .layout-shell {
    padding-top: 1.4rem;
    padding-bottom: 2.4rem;
  }

  .top-header {
    position: static;
    padding-bottom: 0.4rem;
  }

  .top-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
  }

  .header-left {
    gap: 0.6rem;
  }

  .header-logo {
    width: 2.15rem;
    height: 2.15rem;
  }

  .header-tag,
  .header-subline {
    display: none;
  }

  .header-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .nav-pill {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }

  .card {
    border-radius: 1rem;
  }
}

@media (max-width: 480px) {
  .hide-mobile {
    display: none;
  }

  .nav-pill {
    padding-inline: 0.7rem;
  }

  .header-subline {
    font-size: 0.58rem;
  }
}

/* =========================
   Buttons hover
   ========================= */

.btn-ghost {
  transition:
    background 0.18s ease-out,
    border-color 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 43, 43, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255, 43, 43, 0.38);
}

.btn-primary {
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    filter 0.18s ease-out;
  box-shadow: 0 0 18px rgba(255, 43, 43, 0.6);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(255, 43, 43, 0.8);
}

/* Active section pill in header (scrollspy-ready) */
.nav-pill-active {
  border-color: rgba(248, 113, 113, 0.9);
  box-shadow:
    0 0 16px rgba(248, 113, 113, 0.7),
    0 12px 30px rgba(0, 0, 0, 0.9);
  background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.32), #020617);
  color: #f9fafb;
}

/* =========================
   Animated headings / accents
   ========================= */

.drip-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.65rem;
}

.drip-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5252 0%, #a40000 90%);
  animation: dripBar 2.6s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 82, 82, 0.8);
}

@keyframes dripBar {
  0% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }

  35% {
    transform: translate(-50%, 4px);
    opacity: 1;
  }

  70% {
    transform: translate(-50%, 10px);
    opacity: 0.3;
  }

  100% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
}

.section-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-title::after {
  content: "";
  height: 2px;
  width: 54px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2b2b, rgba(255, 43, 43, 0));
  opacity: 0;
  transform: scaleX(0.4) translateX(0);
  transform-origin: left center;
  transition: opacity 0.3s ease-out;
}

.section-title.is-active::after {
  opacity: 0.9;
  animation: titleUnderline 0.7s ease-out forwards;
}

@keyframes titleUnderline {
  0% {
    transform: scaleX(0.2) translateX(-16px);
    opacity: 0;
  }

  60% {
    transform: scaleX(1.05) translateX(0);
    opacity: 1;
  }

  100% {
    transform: scaleX(0.95) translateX(0);
    opacity: 0.9;
  }
}

/* Contract pill shimmer */
.contract-pill {
  position: relative;
  overflow: hidden;
}

.contract-pill::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 40%,
      rgba(255, 255, 255, 0) 70%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: contractShimmer 10s ease-in-out infinite;
}

@keyframes contractShimmer {

  0%,
  40% {
    transform: translateX(-120%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  60% {
    transform: translateX(40%);
    opacity: 0;
  }

  100% {
    transform: translateX(40%);
    opacity: 0;
  }
}

/* Kinetic slogan highlight */
.slogan-highlight {
  position: relative;
  background-image: linear-gradient(90deg,
      rgba(255, 43, 43, 0.12),
      rgba(255, 43, 43, 0.35),
      rgba(255, 43, 43, 0.12));
  background-size: 260% 100%;
  background-position: 0% 50%;
  padding: 0 0.18rem;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 43, 43, 0.3);
}

.slogan-highlight.is-active {
  animation: sloganSweep 1.4s ease-out forwards;
}

@keyframes sloganSweep {
  0% {
    background-position: 0% 50%;
    box-shadow: 0 0 4px rgba(255, 43, 43, 0.4);
  }

  60% {
    background-position: 100% 50%;
    box-shadow: 0 0 14px rgba(255, 43, 43, 0.8);
  }

  100% {
    background-position: 80% 50%;
    box-shadow: 0 0 8px rgba(255, 43, 43, 0.5);
  }
}

/* PSA sticker */
.psa-sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background: rgba(10, 10, 10, 0.9);
  padding: 0.35rem 0.7rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f97373;
  margin-top: 0.35rem;
}

.psa-sticker span {
  font-size: 12px;
}

/* =========================
   Hero glow
   ========================= */

.hero-shell {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  animation: heroGlow 4.2s ease-in-out infinite;
  transform-style: preserve-3d;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out;
}

.hero-shell:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 45px rgba(255, 0, 0, 0.45),
    0 26px 70px rgba(0, 0, 0, 1);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% 0, rgba(255, 39, 39, 0.35), transparent 60%);
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
  animation: heroGlowPulse 5.2s ease-in-out infinite;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.32) 20%,
      rgba(255, 255, 255, 0) 40%);
  transform: translateX(-140%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: heroSweep 15s ease-in-out infinite;
}

.hero-psa-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 0, 0, 0.18);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: psaFlash 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes heroGlow {

  0%,
  100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    filter: brightness(1);
  }

  40% {
    box-shadow:
      0 0 40px rgba(255, 0, 0, 0.35),
      0 20px 70px rgba(0, 0, 0, 1);
    filter: brightness(1.05);
  }

  70% {
    box-shadow:
      0 0 25px rgba(255, 0, 0, 0.2),
      0 20px 60px rgba(0, 0, 0, 0.95);
    filter: brightness(1.02);
  }
}

@keyframes heroGlowPulse {

  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }

  40% {
    opacity: 0.55;
    transform: translateY(4px);
  }

  70% {
    opacity: 0.35;
    transform: translateY(2px);
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-140%);
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  20% {
    transform: translateX(40%);
    opacity: 0;
  }

  100% {
    transform: translateX(40%);
    opacity: 0;
  }
}

@keyframes psaFlash {

  0%,
  70%,
  100% {
    opacity: 0.1;
  }

  25% {
    opacity: 0.35;
  }

  30% {
    opacity: 0.6;
  }

  40% {
    opacity: 0.2;
  }
}

/* =========================
   Warning banner
   ========================= */

.warning-banner {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: radial-gradient(circle at 0 0, #7f1d1d, #111827);
  box-shadow:
    0 0 14px rgba(248, 113, 113, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: warningPulse 4.2s ease-in-out infinite;
}

@keyframes warningPulse {

  0%,
  100% {
    box-shadow:
      0 0 10px rgba(248, 113, 113, 0.26),
      0 18px 40px rgba(0, 0, 0, 0.85);
    transform: translateY(0);
  }

  50% {
    box-shadow:
      0 0 24px rgba(248, 113, 113, 0.55),
      0 24px 50px rgba(0, 0, 0, 0.95);
    transform: translateY(-1px);
  }
}

/* =========================
   Live stat pulse (marketcap/price/etc)
   ========================= */

.stat-pulse {
  animation: statPulse 520ms ease-out;
}

@keyframes statPulse {
  0% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
    box-shadow: none;
  }

  35% {
    transform: translateY(-1px) scale(1.01);
    filter: brightness(1.08);
    box-shadow: 0 0 22px rgba(255, 43, 43, 0.22);
  }

  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
    box-shadow: none;
  }
}

.stat-up {
  color: #4ade80 !important;
}

.stat-down {
  color: #f97373 !important;
}

/* =========================
   Section divider pills
   ========================= */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.section-pill {
  position: relative;
  padding: 0.45rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: radial-gradient(circle at 50% 0, rgba(248, 113, 113, 0.32), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 0 16px rgba(248, 113, 113, 0.45),
    0 14px 40px rgba(0, 0, 0, 0.9);
}

.section-pill::before,
.section-pill::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 84px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(248, 113, 113, 0), rgba(248, 113, 113, 0.5));
  opacity: 0.6;
}

.section-pill::before {
  right: 100%;
  transform: translateY(-50%);
}

.section-pill::after {
  left: 100%;
  transform: translateY(-50%) scaleX(-1);
}

.section-pill-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fecaca;
}

/* =========================
   How to Buy steps
   ========================= */

.how-step {
  padding: 0.85rem 0.85rem 0.9rem;
  border-radius: 1rem;
  background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.16), #020617);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.95);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.how-step:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(248, 113, 113, 0.45),
    0 20px 55px rgba(0, 0, 0, 0.98);
  border-color: rgba(248, 113, 113, 0.7);
}

.how-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 16px rgba(248, 113, 113, 0.3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fecaca;
  position: relative;
  overflow: hidden;
}

.how-step-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(248, 250, 252, 0.5) 40%,
      transparent 70%);
  transform: translateX(-120%);
  opacity: 0;
}

.how-step:hover .how-step-badge::after {
  animation: stepShine 0.9s ease-out forwards;
}

@keyframes stepShine {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    transform: translateX(80%);
    opacity: 0;
  }
}

.how-step-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fee2e2, #ef4444);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.8);
}

.how-step-label {
  font-weight: 600;
}

/* =========================
   FAQ accordion
   ========================= */

.faq-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background:
    radial-gradient(circle at top, rgba(248, 113, 113, 0.08), transparent),
    radial-gradient(circle at bottom, rgba(15, 23, 42, 0.9), #020617);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  padding: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.06), rgba(15, 23, 42, 0.95));
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(248, 113, 113, 0.8);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
}

.faq-trigger {
  width: 100%;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-size: 0.85rem;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq-badge {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(248, 113, 113, 0.85);
  background: radial-gradient(circle at top, rgba(248, 113, 113, 0.35), rgba(15, 23, 42, 1));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f9fafb;
}

.faq-item.is-open .faq-badge {
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.7);
}

.faq-icon {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(248, 113, 113, 0.2), rgba(15, 23, 42, 1));
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 0.7rem;
  height: 1px;
  background: rgba(248, 250, 252, 0.9);
  transform: translate(-50%, -50%);
  border-radius: 9999px;
}

.faq-icon::after {
  width: 1px;
  height: 0.7rem;
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  padding: 0 1rem 0;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.95);
  transition:
    max-height 0.26s ease,
    opacity 0.26s ease,
    padding 0.26s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 260px;
  opacity: 1;
  padding: 0 1rem 0.8rem;
}

.faq-answer p {
  margin-top: 0.15rem;
  line-height: 1.6;
}

/* =========================
   Meme preview hover
   ========================= */

.meme-preview-inner {
  transition: transform 0.35s ease-out;
}

.meme-preview-image {
  transition: transform 0.35s ease-out, filter 0.35s ease-out;
}

.meme-preview-wrap:hover .meme-preview-inner {
  transform: scale(1.02);
}

.meme-preview-wrap:hover .meme-preview-image {
  transform: scale(1.04);
  filter: brightness(1.04);
}

/* =========================
   Risk strip
   ========================= */

.risk-strip {
  border-color: rgba(248, 181, 0, 0.6);
  background: radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.12), #020617);
}

/* =========================
   Footer dots
   ========================= */

.footer-pill-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fee2e2, #f97373);
}

/* =========================
   Toast
   ========================= */

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fecaca;
  font-size: 11px;
  box-shadow:
    0 0 16px rgba(248, 113, 113, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.9);
  z-index: 50;
  display: flex;
  align-items: center;
}

.toast.hidden {
  display: none;
}

/* =========================
   Reveal / scroll effects
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

/* =========================
   DURGS Studio badge
   ========================= */

.gpt-card {
  position: relative;
}

.gpt-badge-wrap {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .gpt-badge-wrap {
    justify-content: flex-start;
  }
}

.gpt-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.7);
  background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.25), rgba(0, 0, 0, 0.95));
  box-shadow:
    0 0 18px rgba(248, 113, 113, 0.5),
    0 12px 28px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  animation: gptBadgePulse 3.2s ease-in-out infinite;
}

.gpt-badge::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg,
      rgba(248, 113, 113, 0),
      rgba(248, 113, 113, 0.45),
      rgba(248, 113, 113, 0));
  opacity: 0;
  mix-blend-mode: screen;
  animation: gptBadgeSweep 6s linear infinite;
}

.gpt-badge-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fed7d7;
  opacity: 0.9;
}

.gpt-badge-main {
  font-size: 11px;
  font-weight: 600;
  color: #fee2e2;
  white-space: nowrap;
}

@keyframes gptBadgePulse {

  0%,
  100% {
    transform: translateY(0);
    box-shadow:
      0 0 14px rgba(248, 113, 113, 0.45),
      0 12px 28px rgba(0, 0, 0, 0.9);
  }

  50% {
    transform: translateY(-1px);
    box-shadow:
      0 0 22px rgba(248, 113, 113, 0.7),
      0 16px 34px rgba(0, 0, 0, 1);
  }
}

@keyframes gptBadgeSweep {
  0% {
    transform: rotate(0deg);
    opacity: 0;
  }

  30% {
    opacity: 0.9;
  }

  60% {
    opacity: 0;
  }

  100% {
    transform: rotate(360deg);
    opacity: 0;
  }
}

.gpt-card .btn-ghost {
  font-size: 11px;
}

.gpt-card .gpt-copy-btn {
  cursor: pointer;
}

/* =========================
   Floating DURGS pill particles
   ========================= */

.pill-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.pill-particle {
  position: absolute;
  width: 36px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(252, 165, 165, 0.9);
  background: linear-gradient(90deg, #111827 0%, #b91c1c 52%, #f97373 100%);
  box-shadow:
    0 0 14px rgba(248, 113, 113, 0.65),
    0 10px 24px rgba(0, 0, 0, 0.9);
  opacity: 0.3;
  transform-origin: center;
  filter: blur(0.2px);
}

.pill-particle-1 {
  top: 12%;
  left: 8%;
  animation: pillFloat1 26s ease-in-out infinite;
}

.pill-particle-2 {
  top: 24%;
  right: 14%;
  animation: pillFloat2 32s ease-in-out infinite;
}

.pill-particle-3 {
  top: 58%;
  left: 18%;
  animation: pillFloat3 30s ease-in-out infinite;
}

.pill-particle-4 {
  bottom: 18%;
  right: 20%;
  animation: pillFloat4 28s ease-in-out infinite;
}

.pill-particle-5 {
  bottom: 6%;
  left: 45%;
  animation: pillFloat5 34s ease-in-out infinite;
}

@keyframes pillFloat1 {
  0% {
    transform: translate3d(0, 0, 0) rotate(8deg);
    opacity: 0;
  }

  10% {
    opacity: 0.35;
  }

  50% {
    transform: translate3d(35px, 40px, 0) rotate(26deg);
    opacity: 0.5;
  }

  100% {
    transform: translate3d(-20px, 80px, 0) rotate(0deg);
    opacity: 0;
  }
}

@keyframes pillFloat2 {
  0% {
    transform: translate3d(0, 0, 0) rotate(-10deg);
    opacity: 0;
  }

  15% {
    opacity: 0.35;
  }

  55% {
    transform: translate3d(-40px, 50px, 0) rotate(-30deg);
    opacity: 0.55;
  }

  100% {
    transform: translate3d(15px, 90px, 0) rotate(-5deg);
    opacity: 0;
  }
}

@keyframes pillFloat3 {
  0% {
    transform: translate3d(0, 0, 0) rotate(18deg);
    opacity: 0;
  }

  20% {
    opacity: 0.35;
  }

  60% {
    transform: translate3d(20px, -40px, 0) rotate(32deg);
    opacity: 0.5;
  }

  100% {
    transform: translate3d(-10px, -80px, 0) rotate(10deg);
    opacity: 0;
  }
}

@keyframes pillFloat4 {
  0% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
    opacity: 0;
  }

  18% {
    opacity: 0.3;
  }

  55% {
    transform: translate3d(-30px, -30px, 0) rotate(-24deg);
    opacity: 0.5;
  }

  100% {
    transform: translate3d(15px, -70px, 0) rotate(-6deg);
    opacity: 0;
  }
}

@keyframes pillFloat5 {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }

  20% {
    opacity: 0.35;
  }

  50% {
    transform: translate3d(0px, -40px, 0) rotate(14deg);
    opacity: 0.45;
  }

  100% {
    transform: translate3d(-10px, -90px, 0) rotate(0deg);
    opacity: 0;
  }
}

/* =========================
   Overlays (Token Stats / Quick Links) — MOBILE SCROLL FIX (iOS-safe)
   ========================= */

.overlay-panel {
  position: fixed;
  inset: 0;
  z-index: 45;

  /* IMPORTANT: the panel itself must NOT scroll */
  overflow: hidden;

  /* Center the sheet; allow safe top padding */
  display: flex;
  align-items: flex-start;
  justify-content: center;

  padding: 4.5rem 1.25rem 2rem;

  /* Prevent scroll chaining to the page behind */
  overscroll-behavior: contain;

  /* KEY FIX:
     Do NOT disable touch on the overlay container.
     touch-action:none can block scrolling inside child elements on mobile Safari. */
  touch-action: auto;
}

.overlay-panel.hidden {
  display: none !important;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(0, 0, 0, 0.95));
  backdrop-filter: blur(14px);
  opacity: 0.96;
}

/* The ONLY scrollable area */
.overlay-sheet {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 460px;

  border-radius: 1.5rem;

  /* IMPORTANT: sheet scroll */
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  /* Prevent scroll chaining to body (supported browsers) */
  overscroll-behavior: contain;

  /* Allow vertical panning gestures inside the sheet */
  touch-action: pan-y;

  /* iOS/Safari flex-child scroll fix */
  min-height: 0;

  /* Optional: reduces accidental page scroll “leak” on iOS */
  contain: content;
}

.overlay-sheet.links-sheet {
  max-width: 540px;
}

@media (max-width: 480px) {
  .overlay-panel {
    padding-top: 4rem;
    padding-inline: 0.9rem;
  }

  .overlay-sheet {
    max-height: calc(100vh - 5.5rem);
  }
}

/* Quick link rows inside sheet */
.quick-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(30, 64, 175, 0.4);
  background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.36), rgba(15, 23, 42, 0.98));
  font-size: 0.78rem;
  color: #e5e7eb;
  box-shadow:
    0 0 12px rgba(30, 64, 175, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.95);
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out,
    background 0.16s ease-out;
  text-decoration: none;
}

.quick-link-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-link-row .ql-icon,
.quick-link-row .ql-icon-alt,
.quick-link-row .ql-icon-purple {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.quick-link-row .ql-icon {
  background: radial-gradient(circle at 30% 30%, #bbf7d0, #22c55e);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.quick-link-row .ql-icon-alt {
  background: radial-gradient(circle at 30% 30%, #fee2e2, #f97373);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.7);
}

.quick-link-row .ql-icon-purple {
  background: radial-gradient(circle at 30% 30%, #ede9fe, #a855f7);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.7);
}

.quick-link-row:hover {
  transform: translateY(-1px);
  border-color: rgba(248, 113, 113, 0.9);
  box-shadow:
    0 0 18px rgba(248, 113, 113, 0.65),
    0 16px 36px rgba(0, 0, 0, 1);
  background: radial-gradient(circle at 0 0, rgba(248, 113, 113, 0.45), rgba(15, 23, 42, 0.98));
}

/* contract pill in quick-links sheet */
.quick-contract-pill {
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.98);
  padding: 0.45rem 0.7rem;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

/* Token stats blocks inside overlay */
.stat-block {
  padding: 0.65rem 0.7rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 0 0, rgba(252, 165, 165, 0.12), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* =========================
   Studio filters
   ========================= */

.studio-filter-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.studio-filter-active {
  border-color: rgba(248, 113, 113, 0.95);
  background: radial-gradient(circle at top, rgba(248, 113, 113, 0.18), transparent);
}

/* =========================
   Unified glossy surface override (kept, but de-conflicted)
   ========================= */

/* Note: kept your intent (unify surfaces) but removed content-killing pseudo overrides */
.card,
.faq-card,
.faq-item,
.how-step,
.overlay-sheet,
.stat-block {
  background: #0b0b0b;
  background-image: none;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Keep quick link rows as rows but closer to glossy look */
.quick-link-row {
  background: rgba(0, 0, 0, 0.82);
  background-image: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
}

/* =========================
   Page transition (fade)
   ========================= */

.page-fade {
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.page-ready {
  opacity: 1;
}

.page-leave {
  opacity: 0;
}

.toast-show {
  opacity: 1;
  transform: translateY(0);
}