/* =========================================================
   Apogee Studios — Playful & Colorful Landing Page
   ========================================================= */

:root {
  --bg: #0b0e1a;
  --bg-2: #111527;
  --bg-3: #1a2038;
  --bg-4: #232947;
  --line: #232947;
  --text: #e6e9f5;
  --text-dim: #8a90ad;
  --accent: #ff5a28;
  --accent-2: #ff9028;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
  --purple: #a855f7;
  --gold: #facc15;

  /* Per-game colors */
  --game-skyward: #ff5a28;
  --game-thermal: #a855f7;
  --game-contrail: #ef4444;
  --game-apogeehot5: #facc15;
  --game-safariapogee: #f97316;
  --game-foxyapogee: #fb923c;
  --game-hormuz: #3b82f6;
  --game-apex: #22c55e;
  --game-fastkeno: #0ea5e9;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1400px 800px at 50% -200px, #1a1330 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 600px, #201028 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a { cursor: pointer; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 36px;
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.nav-brand:hover { color: var(--text); }
.nav-brand .mark {
  color: var(--accent);
  font-size: 28px;
  filter: drop-shadow(0 0 14px var(--accent));
  transform: rotate(30deg);
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 14px var(--accent)); }
  50% { filter: drop-shadow(0 0 24px var(--accent)) drop-shadow(0 0 40px rgba(255,90,40,0.3)); }
}
.nav-brand .name { font-size: 16px; letter-spacing: 0.18em; line-height: 1; }
.nav-brand .sub { font-size: 9px; color: var(--text-dim); letter-spacing: 0.14em; margin-top: 2px; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  border-radius: 2px;
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-ctas {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-cta {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(255, 90, 40, 0.35);
  transition: filter 0.15s, transform 0.15s;
}
.nav-cta:hover { filter: brightness(1.15); color: #fff; transform: translateY(-1px); }
.nav-ctas .nav-cta:nth-child(2) {
  background: linear-gradient(135deg, #6d28d9, #a855f7);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.3);
}
.nav-ctas .nav-cta:nth-child(3) {
  background: linear-gradient(135deg, #d97706, #facc15);
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.3);
}
.nav-ctas .nav-cta:nth-child(4) {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.3);
}
.nav-ctas .nav-cta:nth-child(5) {
  background: linear-gradient(135deg, #059669, #22c55e);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.3);
}

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(11, 14, 26, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border-left: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a { font-size: 18px; }
  .nav-links a::after { display: none; }
  .nav-open .nav-links { right: 0; }
  .nav-ctas { display: none; }
}
@media (max-width: 820px) {
  .nav-ctas .nav-cta:nth-child(n+3) { display: none; }
}

/* Mobile nav overlay backdrop */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 49;
}
.nav-open .nav-overlay { display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 120px 36px 140px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(255, 90, 40, 0.10), transparent 60%),
    radial-gradient(600px 300px at 20% 80%, rgba(168, 85, 247, 0.08), transparent 60%),
    radial-gradient(500px 300px at 80% 20%, rgba(14, 165, 233, 0.08), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 60px);
  pointer-events: none;
  animation: heroGrid 40s linear infinite;
}
@keyframes heroGrid {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 0 0, 0 0, 0 0, 600px 0, 0 600px; }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles .dot {
  position: absolute;
  border-radius: 50%;
  animation: floatDot linear infinite;
  opacity: 0;
}
@keyframes floatDot {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-400px) scale(1.2); }
}

.hero-content {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  animation: heroIn 0.8s ease-out;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,90,40,0.12), rgba(168,85,247,0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 28px;
  animation: badgeGlow 3s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,90,40,0.1); }
  50% { box-shadow: 0 0 30px rgba(168,85,247,0.2), 0 0 60px rgba(255,90,40,0.1); }
}
.hero h1 {
  font-size: clamp(46px, 7.5vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.03;
  margin: 0 0 24px;
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #ff5a28, #a855f7, #0ea5e9, #22c55e, #ff5a28);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-tag {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 42px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn-primary, .btn-secondary {
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 6px 28px rgba(255, 90, 40, 0.4);
}
.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 90, 40, 0.5);
  color: #fff;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--text);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-stats > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 14px;
  text-align: center;
  transition: all 0.3s;
}
.hero-stats > div:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.hero-stats b {
  display: block;
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
/* Colorful stat values */
.hero-stats > div:nth-child(1) b { color: var(--gold); }
.hero-stats > div:nth-child(2) b { color: var(--accent); }
.hero-stats > div:nth-child(3) b { color: var(--purple); }
.hero-stats > div:nth-child(4) b { color: var(--green); }
.hero-stats > div:nth-child(5) b { color: var(--blue); }
.hero-stats span {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========================================================
   Scroll Reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Staggered children in grids */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger > .reveal:nth-child(9) { transition-delay: 0.64s; }

/* =========================================================
   Sections (shared)
   ========================================================= */
.section {
  padding: 110px 36px;
  max-width: 1240px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #fff 30%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto;
}

/* =========================================================
   Games grid — compact horizontal cards
   ========================================================= */
.games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* Featured first card spans full width */
.game-card.featured { grid-column: 1 / -1; }

.game-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}
.game-card:hover {
  transform: translateY(-3px);
  color: var(--text);
}

/* Per-game colored left accent + hover glow */
.game-card[data-game-id="skyward"]  { border-left: 3px solid var(--game-skyward); }
.game-card[data-game-id="thermal"]  { border-left: 3px solid var(--game-thermal); }
.game-card[data-game-id="contrail"] { border-left: 3px solid var(--game-contrail); }
.game-card[data-game-id="apogeehot5"]    { border-left: 3px solid var(--game-apogeehot5); }
.game-card[data-game-id="safariapogee"]  { border-left: 3px solid var(--game-safariapogee); }
.game-card[data-game-id="foxyapogee"]    { border-left: 3px solid var(--game-foxyapogee); }
.game-card[data-game-id="hormuz"]  { border-left: 3px solid var(--game-hormuz); }
.game-card[data-game-id="apex"]    { border-left: 3px solid var(--game-apex); }
.game-card[data-game-id="fastkeno"]{ border-left: 3px solid var(--game-fastkeno); }

.game-card[data-game-id="skyward"]:hover  { border-color: var(--game-skyward); box-shadow: 0 12px 40px rgba(255,90,40,0.2); }
.game-card[data-game-id="thermal"]:hover  { border-color: var(--game-thermal); box-shadow: 0 12px 40px rgba(168,85,247,0.2); }
.game-card[data-game-id="contrail"]:hover { border-color: var(--game-contrail); box-shadow: 0 12px 40px rgba(239,68,68,0.2); }
.game-card[data-game-id="apogeehot5"]:hover    { border-color: var(--game-apogeehot5); box-shadow: 0 12px 40px rgba(250,204,21,0.2); }
.game-card[data-game-id="safariapogee"]:hover  { border-color: var(--game-safariapogee); box-shadow: 0 12px 40px rgba(249,115,22,0.2); }
.game-card[data-game-id="foxyapogee"]:hover    { border-color: var(--game-foxyapogee); box-shadow: 0 12px 40px rgba(251,146,60,0.2); }
.game-card[data-game-id="hormuz"]:hover  { border-color: var(--game-hormuz); box-shadow: 0 12px 40px rgba(59,130,246,0.2); }
.game-card[data-game-id="apex"]:hover    { border-color: var(--game-apex); box-shadow: 0 12px 40px rgba(34,197,94,0.2); }
.game-card[data-game-id="fastkeno"]:hover{ border-color: var(--game-fastkeno); box-shadow: 0 12px 40px rgba(14,165,233,0.2); }

/* Inner layout — horizontal row */
.game-card-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
}
.game-card.featured .game-card-inner {
  padding: 28px 30px;
  gap: 24px;
}

/* Emoji icon circle */
.game-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: rgba(255,255,255,0.05);
  transition: transform 0.25s;
}
.game-card.featured .game-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 38px;
}
.game-card:hover .game-icon {
  transform: scale(1.1) rotate(-4deg);
}

/* Per-game icon background tints */
.game-card[data-game-id="skyward"]  .game-icon { background: rgba(255,90,40,0.15); }
.game-card[data-game-id="thermal"]  .game-icon { background: rgba(168,85,247,0.15); }
.game-card[data-game-id="contrail"] .game-icon { background: rgba(239,68,68,0.15); }
.game-card[data-game-id="apogeehot5"]    .game-icon { background: rgba(250,204,21,0.15); }
.game-card[data-game-id="safariapogee"]  .game-icon { background: rgba(249,115,22,0.15); }
.game-card[data-game-id="foxyapogee"]    .game-icon { background: rgba(251,146,60,0.15); }
.game-card[data-game-id="hormuz"]  .game-icon { background: rgba(59,130,246,0.15); }
.game-card[data-game-id="apex"]    .game-icon { background: rgba(34,197,94,0.15); }
.game-card[data-game-id="fastkeno"] .game-icon { background: rgba(14,165,233,0.15); }

/* Info column — takes remaining space */
.game-info {
  flex: 1;
  min-width: 0;
}
.game-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.game-info h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.game-card.featured .game-info h3 {
  font-size: 24px;
}
.game-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--tag-color) 18%, transparent);
  color: var(--tag-color);
  border: 1px solid color-mix(in srgb, var(--tag-color) 30%, transparent);
  white-space: nowrap;
}
.game-stats {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.game-info p {
  color: #a0a4be;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card.featured .game-info p {
  -webkit-line-clamp: 3;
}

/* Right-side action buttons */
.game-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.game-play-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--btn-color);
  color: #fff;
  white-space: nowrap;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--btn-color) 35%, transparent);
}
.game-card:hover .game-play-btn {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--btn-color) 45%, transparent);
}
.game-demo-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.15s;
  cursor: pointer;
}
.game-demo-link:hover { color: var(--green); }

/* ---- Mode toggle (Demo / Production) ---- */
.mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}
.mode-btn {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.25s;
}
.mode-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}
.mode-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 90, 40, 0.35);
}
.mode-hint {
  margin-left: 14px;
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
}

/* =========================================================
   Features / Why Apogee
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 26px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feat::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feat:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}
.feat:hover::before { opacity: 1; }

/* Per-feature colored glow */
.feat:nth-child(1)::before { background: radial-gradient(circle, rgba(250,204,21,0.15), transparent 70%); }
.feat:nth-child(2)::before { background: radial-gradient(circle, rgba(14,165,233,0.15), transparent 70%); }
.feat:nth-child(3)::before { background: radial-gradient(circle, rgba(34,197,94,0.15), transparent 70%); }
.feat:nth-child(4)::before { background: radial-gradient(circle, rgba(168,85,247,0.15), transparent 70%); }
.feat:nth-child(5)::before { background: radial-gradient(circle, rgba(255,90,40,0.15), transparent 70%); }
.feat:nth-child(6)::before { background: radial-gradient(circle, rgba(239,68,68,0.15), transparent 70%); }

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 26px;
}
/* Per-feature icon backgrounds */
.feat:nth-child(1) .feat-icon-wrap { background: rgba(250,204,21,0.12); }
.feat:nth-child(2) .feat-icon-wrap { background: rgba(14,165,233,0.12); }
.feat:nth-child(3) .feat-icon-wrap { background: rgba(34,197,94,0.12); }
.feat:nth-child(4) .feat-icon-wrap { background: rgba(168,85,247,0.12); }
.feat:nth-child(5) .feat-icon-wrap { background: rgba(255,90,40,0.12); }
.feat:nth-child(6) .feat-icon-wrap { background: rgba(239,68,68,0.12); }

/* Legacy .feat-icon (no wrapper) — keep for compat */
.feat-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.feat h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
}
.feat p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   Integration
   ========================================================= */
.integration-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
}
/* Connecting line between steps */
.integration-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(33.33% - 10px);
  right: calc(33.33% - 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple), var(--blue));
  border-radius: 2px;
  opacity: 0.3;
}
.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
}
.step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}
.step-num {
  position: absolute;
  top: -14px;
  left: 26px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.step:nth-child(1) .step-num { background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 4px 16px rgba(255,90,40,0.4); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, #c084fc, var(--purple)); box-shadow: 0 4px 16px rgba(168,85,247,0.4); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, #60a5fa, var(--blue)); box-shadow: 0 4px 16px rgba(59,130,246,0.4); }

.step h3 {
  font-size: 18px;
  margin: 10px 0 10px;
  font-weight: 800;
}
.step p {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0;
  line-height: 1.65;
}
.step code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 11px;
  color: var(--accent-2);
}

.code-preview {
  background: #05070f;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 28px;
  overflow: hidden;
}
.code-head {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.code-preview pre {
  margin: 0;
  padding: 24px 26px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #d1d5db;
}
.code-preview .tok-str { color: #86efac; }

.doc-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.doc-links a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.doc-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.doc-downloads {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.btn-download {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--purple) 100%);
  background-size: 200% 100%;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(255, 90, 40, 0.3);
  animation: downloadShift 4s ease-in-out infinite;
}
@keyframes downloadShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-download:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 90, 40, 0.4);
}
.btn-download:disabled {
  cursor: progress;
  filter: brightness(0.75);
  transform: none;
}
.doc-downloads-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  text-align: center;
  line-height: 1.5;
}
.doc-downloads-hint code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   Contact
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.contact-form label .req { color: var(--accent); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 40, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.form-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: normal;
}
.contact-result {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
}
.contact-result.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}
.contact-result.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ci-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.2s;
}
.ci-block:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.ci-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 4px;
}
.ci-block a {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--accent-2);
  word-break: break-all;
}
.ci-note {
  background: rgba(250, 204, 21, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
}
.ci-note b { color: var(--gold); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 64px 36px 32px;
  margin-top: 80px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--purple), var(--blue), transparent);
  opacity: 0.4;
}
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand .mark {
  color: var(--accent);
  font-size: 32px;
  filter: drop-shadow(0 0 12px var(--accent));
  transform: rotate(30deg);
}
.footer-brand .name { font-size: 18px; font-weight: 900; letter-spacing: 0.18em; }
.footer-brand .sub { font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-cols h4 {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  font-weight: 800;
}
.footer-cols a {
  display: block;
  color: var(--text);
  font-size: 13px;
  padding: 3px 0;
  transition: color 0.15s, padding-left 0.2s;
}
.footer-cols a:hover { color: var(--accent-2); padding-left: 4px; }
.footer-bot {
  max-width: 1240px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .nav { padding: 12px 18px; gap: 14px; }
  .hero { padding: 70px 20px 90px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 20px; }
  .games-grid { grid-template-columns: 1fr; }
  .game-card.featured { grid-column: 1; }
  .features { grid-template-columns: 1fr; }
  .integration-steps { grid-template-columns: 1fr; }
  .integration-steps::before { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer { padding: 40px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bot { flex-direction: column; gap: 8px; }
  .doc-links { gap: 8px; }
  .doc-links a { padding: 8px 14px; font-size: 12px; }
  .code-preview pre { font-size: 11px; }
}
@media (max-width: 520px) {
  .nav { padding: 10px 14px; gap: 10px; }
  .nav-brand .sub { display: none; }
  .nav-brand .name { font-size: 14px; }
  .nav-brand .mark { font-size: 22px; }
  .hero { padding: 48px 16px 60px; }
  .hero h1 { font-size: 36px; line-height: 1.08; }
  .hero-tag { font-size: 15px; }
  .hero-badge { font-size: 10px; padding: 7px 12px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stats b { font-size: 22px; }
  .hero-actions { flex-direction: column; gap: 10px; width: 100%; }
  .hero-actions a { width: 100%; text-align: center; padding: 14px 18px; }
  .section { padding: 50px 16px; }
  .section-head h2 { font-size: 28px; }
  .section-head .section-sub { font-size: 14px; }
  .games-grid { grid-template-columns: 1fr; gap: 12px; }
  .game-card-inner { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .game-card.featured .game-card-inner { padding: 20px; }
  .game-actions { flex-direction: row; width: 100%; }
  .game-play-btn { flex: 1; text-align: center; }
  .game-demo-link { padding: 10px 16px; }
  .contact-form { padding: 22px 16px; }
  .footer-cols { grid-template-columns: 1fr; }
  .doc-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .doc-links a {
    padding: 11px 14px;
    font-size: 13px;
    text-align: left;
    border-radius: 8px;
  }
  .doc-downloads { margin-top: 22px; }
  .doc-downloads .btn-download { width: 100%; padding: 14px 18px; }
  .doc-downloads-hint { font-size: 11px; padding: 0 8px; }
  .code-preview pre {
    font-size: 10.5px;
    line-height: 1.4;
    white-space: pre;
  }
  .code-head { font-size: 11px; }
}
@media (max-width: 360px) {
  .nav-brand .name { font-size: 13px; }
  .hero h1 { font-size: 28px; }
  .hero-stats b { font-size: 18px; }
  .section-head h2 { font-size: 22px; }
  .game-card h3 { font-size: 18px; }
  .doc-links a { font-size: 12px; padding: 10px 12px; }
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-4); }

/* ============================================================
   PROMOTIONAL FEATURES & ENHANCED GAME DETAILS
   ============================================================ */

/* ---- Live ticker ---- */
.live-ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px;
  width: fit-content;
}
.ticker-item { display: flex; align-items: baseline; gap: 6px; }
.ticker-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}
.ticker-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.ticker-sep { color: var(--text-dim); opacity: 0.4; }
@keyframes tickerPulse {
  0%, 100% { color: var(--accent-2); }
  50% { color: var(--accent); }
}
#tickerBets { animation: tickerPulse 3s ease-in-out infinite; }

@media (max-width: 620px) {
  .live-ticker { gap: 10px; padding: 8px 14px; flex-wrap: wrap; justify-content: center; }
  .ticker-val { font-size: 13px; }
  .ticker-sep { display: none; }
}

/* ---- Promo strip ---- */
.promo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 40px 0;
  max-width: 1400px;
  margin: 0 auto;
}
.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--promo-color) 18%, var(--bg-2)),
    color-mix(in srgb, var(--promo-color) 8%, var(--bg-3))
  );
  border: 1px solid color-mix(in srgb, var(--promo-color) 30%, transparent);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 80% 20%, color-mix(in srgb, var(--promo-color) 15%, transparent), transparent);
  pointer-events: none;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--promo-color) 25%, transparent);
  color: var(--text);
}
.promo-icon { font-size: 28px; line-height: 1; }
.promo-headline {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  color: color-mix(in srgb, var(--promo-color) 80%, var(--text));
}
.promo-sub { font-size: 12px; color: var(--text-dim); line-height: 1.4; flex: 1; }
.promo-cta {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--promo-color) 25%, transparent);
  border: 1px solid color-mix(in srgb, var(--promo-color) 50%, transparent);
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--promo-color) 90%, white);
  width: fit-content;
  transition: background 0.15s;
}
.promo-card:hover .promo-cta {
  background: color-mix(in srgb, var(--promo-color) 40%, transparent);
}
@media (max-width: 1100px) { .promo-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .promo-strip {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 16px 20px 0;
  }
  .promo-card { min-width: 260px; scroll-snap-align: start; flex-shrink: 0; }
}

/* ---- Volatility badge ---- */
.vol-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vol-low    { background: rgba(34,197,94,0.15);  color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.vol-medium { background: rgba(250,204,21,0.12); color: #facc15; border: 1px solid rgba(250,204,21,0.3); }
.vol-high   { background: rgba(239,68,68,0.15);  color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

/* ---- Feature tags ---- */
.game-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0 4px;
}
.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.feat-tags span {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255,255,255,0.07);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}
[data-game-id="skyward"]      .feat-tags span { color: color-mix(in srgb, var(--game-skyward) 60%, var(--text-dim));      border-color: color-mix(in srgb, var(--game-skyward) 20%, transparent); }
[data-game-id="thermal"]      .feat-tags span { color: color-mix(in srgb, var(--game-thermal) 60%, var(--text-dim));      border-color: color-mix(in srgb, var(--game-thermal) 20%, transparent); }
[data-game-id="contrail"]     .feat-tags span { color: color-mix(in srgb, var(--game-contrail) 60%, var(--text-dim));     border-color: color-mix(in srgb, var(--game-contrail) 20%, transparent); }
[data-game-id="apogeehot5"]   .feat-tags span { color: color-mix(in srgb, var(--game-apogeehot5) 60%, var(--text-dim));   border-color: color-mix(in srgb, var(--game-apogeehot5) 20%, transparent); }
[data-game-id="safariapogee"] .feat-tags span { color: color-mix(in srgb, var(--game-safariapogee) 60%, var(--text-dim)); border-color: color-mix(in srgb, var(--game-safariapogee) 20%, transparent); }
[data-game-id="foxyapogee"]   .feat-tags span { color: color-mix(in srgb, var(--game-foxyapogee) 60%, var(--text-dim));   border-color: color-mix(in srgb, var(--game-foxyapogee) 20%, transparent); }
[data-game-id="hormuz"]       .feat-tags span { color: color-mix(in srgb, var(--game-hormuz) 60%, var(--text-dim));       border-color: color-mix(in srgb, var(--game-hormuz) 20%, transparent); }
[data-game-id="apex"]         .feat-tags span { color: color-mix(in srgb, var(--game-apex) 60%, var(--text-dim));         border-color: color-mix(in srgb, var(--game-apex) 20%, transparent); }
[data-game-id="fastkeno"]     .feat-tags span { color: color-mix(in srgb, var(--game-fastkeno) 60%, var(--text-dim));     border-color: color-mix(in srgb, var(--game-fastkeno) 20%, transparent); }

/* ---- NEW badge ---- */
.new-badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #ff5a28, #a855f7);
  color: #fff;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
  animation: newBadgePulse 2.5s ease-in-out infinite;
}
@keyframes newBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,90,40,0); }
  50% { box-shadow: 0 0 8px 2px rgba(255,90,40,0.4); }
}

/* ---- Trust section ---- */
.trust-section { padding-bottom: 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.trust-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.trust-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.15); }
.trust-icon { font-size: 28px; }
.trust-card h3 { margin: 0; font-size: 15px; font-weight: 800; }
.trust-card p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.trust-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(34,197,94,0.12);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
  width: fit-content;
  margin-top: auto;
}
.trust-tag-pending {
  background: rgba(250,204,21,0.1);
  color: var(--gold);
  border-color: rgba(250,204,21,0.25);
}
.trust-stats {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.trust-stats > div { display: flex; flex-direction: column; align-items: center; }
.trust-stats b { font-size: 20px; font-weight: 900; color: var(--accent-2); }
.trust-stats span { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---- Social proof strip ---- */
.social-strip {
  padding: 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.social-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.social-flags {
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 32px;
}
.social-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.social-quote {
  margin: 0;
  padding: 22px 22px 18px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-quote p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}
.social-quote cite {
  font-size: 11px;
  color: var(--text-dim);
  font-style: normal;
}
@media (max-width: 820px) { .social-quotes { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .social-strip { padding: 32px 20px; } }
