/* =============================================
   DOWNGRADER.LOL — v4 Stylesheet
   Wide layout · Real skin images · Red/Black/White
   ============================================= */

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

:root {
  --black:      #0a0a0a;
  --black-2:    #111;
  --black-3:    #161616;
  --black-4:    #1e1e1e;
  --red:        #e02020;
  --red-dk:     #b51818;
  --red-glow:   rgba(224,32,32,0.28);
  --white:      #ffffff;
  --white-80:   rgba(255,255,255,0.8);
  --white-50:   rgba(255,255,255,0.5);
  --white-20:   rgba(255,255,255,0.2);
  --white-08:   rgba(255,255,255,0.06);
  --border:     rgba(255,255,255,0.07);
  --border-red: rgba(224,32,32,0.22);

  --ff-display: 'Barlow Condensed', sans-serif;
  --ff-body:    'Inter', sans-serif;

  --nav-h: 62px;
  --r:     10px;
  --r-lg:  14px;
  --ease:  cubic-bezier(0.4,0,0.2,1);
  --t:     0.22s var(--ease);
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #222 var(--black); }
::-webkit-scrollbar       { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-dk); }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Wide container — fills screen with breathing room */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.text-red { color: var(--red); }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), border-color var(--t);
}
.navbar.scrolled { background: rgba(10,10,10,0.98); }

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo__img { height: 30px; width: auto; display: block; }
.nav-logo__img--sm { height: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.nav-link {
  color: var(--white-50);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: color var(--t), background var(--t);
}
.nav-link:hover { color: var(--white); background: var(--white-08); }

.nav-cta {
  margin-left: 6px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: 7px;
  letter-spacing: 0.025em;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dk); box-shadow: 0 0 20px var(--red-glow); transform: translateY(-1px); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-credit {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white-50);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  transition: color var(--t), border-color var(--t), background var(--t);
  white-space: nowrap;
}
.nav-credit:hover { color: var(--white-80); border-color: rgba(114,137,218,0.35); background: rgba(114,137,218,0.06); }
.nav-credit strong { color: var(--white); font-weight: 600; }
.dc-icon { width: 14px; height: 14px; color: #7289da; flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--t), opacity var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 10px 48px 14px;
  border-top: 1px solid var(--border);
  background: var(--black);
  gap: 2px;
}
.mobile-menu.open { display: flex; }

@media (max-width: 900px) {
  .nav-links    { display: none; }
  .nav-hamburger{ display: flex; }
}
@media (max-width: 520px) {
  .nav-credit span { display: none; }
  .container, .nav-inner { padding: 0 20px; }
  .mobile-menu { padding: 10px 20px 14px; }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 80px) 48px 120px;
  text-align: center;
  position: relative;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(10,10,10,0) 30%, rgba(10,10,10,0.92) 100%),
    radial-gradient(ellipse 50% 40% at 50% 55%, rgba(224,32,32,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title .text-red { text-shadow: 0 0 60px rgba(224,32,32,0.5); }

.hero-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--white-50);
  margin-bottom: 52px;
  line-height: 1.8;
}
.hero-desc strong { color: var(--white-80); font-weight: 500; }

/* ── Swap widget ─────────────────────────────── */
.swap-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 44px;
  max-width: 600px;
}

.swap-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px 20px;
  width: 200px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), opacity var(--t);
}
.swap-card:hover { transform: translateY(-4px); }
.swap-card--good { border-color: rgba(224,32,32,0.2); }
.swap-card--good:hover { border-color: rgba(224,32,32,0.4); box-shadow: 0 10px 40px rgba(224,32,32,0.1); }
.swap-card--trash { opacity: 0.55; }

.swap-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.swap-card__bar--red  { background: linear-gradient(90deg, #eb4b4b, #ff8484); box-shadow: 0 0 10px rgba(235,75,75,0.8); }
.swap-card__bar--grey { background: #2a2a2a; }

/* Skin image in swap card */
.swap-card__img-wrap {
  position: relative;
  width: 100px;
  height: 80px;
  margin: 0 auto 14px;
}
.swap-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity var(--t);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}
.swap-card__img[src=""] { display: none; }
.swap-card__img-ghost {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border-radius: 8px;
  animation: shimmer 1.5s ease-in-out infinite;
}
.swap-card__img.ready ~ .swap-card__img-ghost { display: none; }

@keyframes shimmer {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 0.2; }
}

.swap-card__name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 7px;
  line-height: 1.3;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.swap-card__rarity {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.swap-card__rarity--covert { background: rgba(235,75,75,0.12); color: #eb4b4b; }
.swap-card__rarity--common { background: rgba(255,255,255,0.05); color: #555; }

.swap-card__price { font-size: 0.95rem; font-weight: 700; }
.swap-card__price--pos { color: #4ddb80; }
.swap-card__price--neg { color: #444; }

.swap-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.swap-arrow {
  width: 28px; height: 60px;
  filter: drop-shadow(0 0 10px rgba(224,32,32,0.7));
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }
.swap-label {
  font-family: var(--ff-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
}

/* ── Hero buttons ──────────────────────────── */
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--r);
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background var(--t), box-shadow var(--t), transform var(--t), color var(--t);
}
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 2px 16px rgba(224,32,32,0.22); }
.btn--primary:hover { background: var(--red-dk); box-shadow: 0 4px 28px rgba(224,32,32,0.4); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white-50); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--white-08); color: var(--white-80); transform: translateY(-2px); }
.btn--lg { padding: 15px 36px; font-size: 0.95rem; }

/* ── Ticker ────────────────────────────────── */
.ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: var(--black-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 2;
}
.ticker__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  height: 100%;
  border-right: 1px solid var(--border);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  background: rgba(224,32,32,0.04);
  user-select: none;
}
.ticker__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px var(--red); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.ticker__viewport { overflow: hidden; flex: 1; }
.ticker__track { display: flex; white-space: nowrap; animation: scroll-left 44s linear infinite; }
@keyframes scroll-left { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item { padding: 0 52px; font-size: 0.76rem; color: #444; flex-shrink: 0; }
.ticker-item .u { color: var(--white-80); font-weight: 600; }
.ticker-item .g { color: #4ddb80; }
.ticker-item .r { color: var(--red); font-weight: 600; }
.ticker-item .sep { margin: 0 8px; color: #2a2a2a; }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section { padding: 100px 0; }
.section--alt { background: var(--black-2); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 8px;
}
.section-sub { font-size: 0.88rem; color: #444; }

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  margin-bottom: 48px;
}

.step {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  min-width: 0;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.step:hover { border-color: var(--border-red); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }

.step__num {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(224,32,32,0.07);
  line-height: 1;
  user-select: none;
}
.step__icon { width: 44px; height: 44px; margin-bottom: 20px; }
.step__icon svg { width: 100%; height: 100%; }
.step h3 { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.step p { font-size: 0.87rem; color: #555; line-height: 1.7; }

.step__connector { display: flex; align-items: center; justify-content: center; padding: 0 8px; padding-top: 72px; }
.step__connector svg { width: 100%; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,165,0,0.03);
  border: 1px solid rgba(255,165,0,0.12);
  border-radius: var(--r);
  padding: 16px 20px;
  max-width: 700px;
  margin: 0 auto;
}
.notice svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,165,0,0.6); }
.notice p { font-size: 0.82rem; color: #555; line-height: 1.7; }
.notice strong { color: var(--white-50); }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step__connector { padding: 0; justify-self: center; }
  .step__connector svg { width: 40px; transform: rotate(90deg); }
}

/* ═══════════════════════════════════════════
   HALL OF SHAME
   ═══════════════════════════════════════════ */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.trade-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.trade-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.6); }

.trade-card__rank {
  position: absolute;
  top: 14px; right: 16px;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(224,32,32,0.12);
  line-height: 1;
}

.trade-card__player {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.trade-card__avatar-wrap {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--black-4);
}
.trade-card__avatar { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.trade-card__avatar-fb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white-50);
  background: var(--black-4);
}

.trade-card__name { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.trade-card__loss {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.02em;
}

/* Skin comparison row */
.trade-card__skins {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trade-item {
  flex: 1;
  background: var(--black-4);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.trade-item--sent { border-color: rgba(224,32,32,0.14); }
.trade-item--got  { opacity: 0.6; }

.trade-item__label {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 8px;
}

/* Skin image + text row inside trade item */
.trade-item__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trade-item__img-wrap {
  width: 48px;
  height: 36px;
  flex-shrink: 0;
  position: relative;
}
.trade-item__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}
.trade-item__img[src=""],
.trade-item__img:not([src]) { display: none; }

.trade-item__skin {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--white-80);
  line-height: 1.3;
  margin-bottom: 4px;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trade-item__rarity {
  display: inline-block;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 3px;
}
.trade-item__rarity--covert { background: rgba(235,75,75,0.1); color: #eb4b4b; }
.trade-item__rarity--common { background: rgba(255,255,255,0.04); color: #444; }

.trade-item__arrow { flex-shrink: 0; display: flex; align-items: center; }

/* ═══════════════════════════════════════════
   SPONSORS
   ═══════════════════════════════════════════ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 100%;
  margin: 0 auto;
}

.sponsor-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.sponsor-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.6); }

.sponsor-card__img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--black-4);
}
.sponsor-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.sponsor-card:hover .sponsor-card__img { filter: grayscale(0%) contrast(1.1); transform: scale(1.04); }

.sponsor-card__body { padding: 18px 18px 20px; flex: 1; }
.sponsor-card__name { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 2px; }
.sponsor-card__title { font-size: 0.7rem; color: #555; margin-bottom: 12px; }
.sponsor-card__quote { font-size: 0.8rem; color: var(--white-50); line-height: 1.65; font-style: italic; padding-left: 12px; border-left: 2px solid var(--border-red); }

@media (max-width: 1100px) { .sponsors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .sponsors-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px)  { .trades-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta-block {
  position: relative;
  background: var(--black-3);
  border: 1px solid var(--border-red);
  border-radius: var(--r-lg);
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.cta-block__glow {
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(224,32,32,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block__topline {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--red), transparent);
  opacity: 0.6;
}
.cta-block__content { position: relative; z-index: 1; }

.cta-label { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.cta-title { font-family: var(--ff-display); font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin-bottom: 14px; }
.cta-desc { font-size: 1rem; color: var(--white-50); margin-bottom: 36px; line-height: 1.8; }
.cta-desc strong { color: var(--white-80); font-weight: 500; }
.cta-fine { margin-top: 18px; font-size: 0.7rem; color: #333; }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }

.faq-item { background: var(--black-3); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color var(--t); }
.faq-item.active { border-color: var(--border-red); }

.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: none; border: none; cursor: pointer; font-family: var(--ff-body); font-size: 0.9rem; font-weight: 600; color: var(--white-50); text-align: left; transition: color var(--t); }
.faq-q:hover { color: var(--white-80); }
.faq-item.active .faq-q { color: var(--white); }

.faq-chevron { flex-shrink: 0; color: #333; transition: transform var(--t), color var(--t); }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--red); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; padding: 0 22px; }
.faq-a.open { max-height: 160px; padding-bottom: 18px; }
.faq-a p { font-size: 0.87rem; color: #555; line-height: 1.75; border-top: 1px solid var(--border); padding-top: 14px; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer { background: var(--black); border-top: 1px solid var(--border); padding: 40px 0 28px; }

.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.footer-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.footer-nav a { color: #3a3a3a; text-decoration: none; font-size: 0.82rem; padding: 6px 12px; border-radius: 6px; transition: color var(--t), background var(--t); }
.footer-nav a:hover { color: var(--white-50); background: var(--white-08); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-legal { font-size: 0.73rem; color: #2e2e2e; line-height: 1.6; max-width: 520px; }
.footer-credit { display: inline-flex; align-items: center; gap: 6px; color: #3a3a3a; text-decoration: none; font-size: 0.78rem; font-weight: 500; transition: color var(--t); }
.footer-credit:hover { color: #7289da; }
.footer-credit svg { color: #7289da; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease calc(var(--d, 0s)), transform 0.5s ease calc(var(--d, 0s)); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 700px) {
  .swap-widget { gap: 12px; }
  .swap-card { width: 160px; padding: 20px 14px 16px; }
  .swap-card__img-wrap { width: 80px; height: 64px; }
  .cta-block { padding: 52px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { padding: calc(var(--nav-h) + 60px) 20px 100px; }
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
}
