/* JUICY TWEAKS — matches optimizer EXE UI */
:root {
  --bg: #0c0c0e;
  --bg-elevated: #141416;
  --bg-card: #1a1a1e;
  --bg-sidebar: #121214;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(45, 212, 191, 0.45);
  --text: #f4f4f5;
  --text-muted: #9ca3af;
  --accent: #2dd4bf;
  --accent-bright: #5eead4;
  --accent-dim: rgba(45, 212, 191, 0.14);
  --accent-glow: rgba(45, 212, 191, 0.35);
  --purple: #134e4a;
  --gradient: linear-gradient(135deg, #5eead4 0%, #2dd4bf 50%, #14b8a6 100%);
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-fade: 0;
  --scroll-fade-top: 0;
  --scroll-fade-bottom: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  opacity: 0.08;
  top: -200px;
  right: -100px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  opacity: 0.06;
  bottom: 20%;
  left: -150px;
}

/* Scroll direction fades (matches your screenshot effect):
   - scrolling down: top fades
   - scrolling up: bottom fades */
.scroll-fade {
  position: fixed;
  left: 0;
  right: 0;
  height: 240px;
  pointer-events: none;
  z-index: 90; /* below header (100) so nav stays crisp */
  opacity: 0;
  will-change: opacity;
}

.scroll-fade--top {
  top: 0;
  opacity: var(--scroll-fade-top);
  backdrop-filter: blur(calc(3.5px * var(--scroll-fade-top)));
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.55) 78%,
    rgba(0, 0, 0, 0.2) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.55) 78%,
    rgba(0, 0, 0, 0.2) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(12, 12, 14, 0.72) 0%,
    rgba(12, 12, 14, 0.42) 22%,
    rgba(12, 12, 14, 0.2) 48%,
    rgba(12, 12, 14, 0.08) 72%,
    rgba(12, 12, 14, 0) 100%
  );
}

.scroll-fade--bottom {
  bottom: 0;
  opacity: var(--scroll-fade-bottom);
  backdrop-filter: blur(calc(3.5px * var(--scroll-fade-bottom)));
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.55) 78%,
    rgba(0, 0, 0, 0.2) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.55) 78%,
    rgba(0, 0, 0, 0.2) 92%,
    rgba(0, 0, 0, 0) 100%
  );
  background: linear-gradient(
    to top,
    rgba(12, 12, 14, 0.72) 0%,
    rgba(12, 12, 14, 0.42) 22%,
    rgba(12, 12, 14, 0.2) 48%,
    rgba(12, 12, 14, 0.08) 72%,
    rgba(12, 12, 14, 0) 100%
  );
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.container-narrow {
  width: min(720px, 92vw);
}

/* Typography */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition:
    background var(--transition),
    backdrop-filter var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);

  /* Smooth top fade on scroll (controlled by --header-fade) */
  background: rgba(0, 0, 0, calc(0.92 * var(--header-fade)));
  backdrop-filter: blur(calc(16px * var(--header-fade)));
  border-bottom: 1px solid rgba(255, 255, 255, calc(0.07 * var(--header-fade)));
  box-shadow: 0 10px 45px rgba(0, 0, 0, calc(0.35 * var(--header-fade)));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.logo-img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.logo-accent {
  color: var(--accent);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gradient);
  color: #042f2e;
  font-weight: 700;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--accent-dim);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Game benchmarks (hero) */
.game-bench-panel {
  padding: 1.35rem 1.35rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(45, 212, 191, 0.08),
    0 0 60px rgba(45, 212, 191, 0.06);
}

.game-bench-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.game-bench-lead {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.45;
}

.game-bench-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.game-bench-card {
  padding: 0.85rem 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.game-bench-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 20px var(--accent-dim);
}

.game-bench-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.game-bench-card-head h3 {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  min-width: 0;
}

.game-bench-logo {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.game-bench-badge {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 6px;
  font-family: var(--mono);
}

.game-bench-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.72rem;
}

.game-bench-row--after {
  margin-bottom: 0.15rem;
}

.game-bench-row--after span {
  color: var(--text-muted);
}

.game-bench-row--after strong {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-bright);
}

.game-bench-row--before span {
  color: var(--text-muted);
  opacity: 0.85;
}

.game-bench-row--before strong {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.game-bench-rig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  line-height: 1.4;
}

.game-bench-rig-icon {
  flex-shrink: 0;
  opacity: 0.7;
  color: var(--accent);
}

/* App modules grid */
.app-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.app-module {
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.app-module:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.app-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 10px;
  font-size: 1rem;
}

.app-module h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.app-module p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.app-showcase-cta {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Works with — infinite logo marquee */
.trust {
  padding: 2.5rem 0 2.75rem;
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  overflow: hidden;
}

.trust .container {
  text-align: center;
  margin-bottom: 1.35rem;
}

.trust-heading {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.trust-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  --trust-gap: clamp(3rem, 7vw, 5rem);
  gap: 0;
  will-change: transform;
  animation: marquee 28s linear infinite;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.trust-marquee:hover .trust-track {
  animation-play-state: paused;
}

/* Keep each set grouped so CSS marquee loops smoothly. */
.trust-set {
  display: flex;
  align-items: center;
  gap: var(--trust-gap);
  flex-shrink: 0;
}

.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.5rem;
}

.trust-logo img {
  display: block;
  width: auto;
  height: clamp(24px, 3.2vw, 30px);
  max-width: min(160px, 24vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.trust-logo--apex img {
  height: clamp(28px, 3.8vw, 34px);
  max-width: 34px;
}

.trust-apex-name {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.trust-more-label {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  margin-right: var(--trust-gap);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-elevated);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
}

.currency-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--accent);
  opacity: 0.85;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  opacity: 0.85;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-dim);
  transform: scale(1.02);
}

.pricing .price-card > .btn {
  margin-top: auto;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #000000;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.pricing .price-card {
  padding: 1.5rem;
}

.pricing .price-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing .price-card-head h3 {
  min-height: 2.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.pricing .price-card-head .price-desc {
  min-height: 2.8rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 0;
  text-align: center;
  width: 100%;
}

.pricing .price {
  margin: 1rem 0 1.5rem;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.pricing .price-value {
  text-align: center;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.45;
}

.price {
  margin-bottom: 1.5rem;
}

.price-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price.price-loading .price-value,
.discord-package-price.price-loading {
  opacity: 0.35;
}

.price-zar-hint {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--mono);
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: top;
  color: var(--text-muted);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* legacy — prices now use .price-value */
.price .amount {
  font-size: inherit;
}

.period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}

.price-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* YouTube videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.video-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-inline: auto;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-embed {
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  position: relative;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: #ffffff;
  text-decoration: none;
}

.video-play-trigger {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-play-trigger img,
.video-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback:hover .video-fallback-play {
  transform: scale(1.06);
}

.video-fallback-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.video-fallback-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.1rem;
  border-color: transparent transparent transparent #ffffff;
}

.video-fallback-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
}

.video-embed--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.video-embed-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 14rem;
  line-height: 1.45;
}

.video-embed-hint code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text);
}

.video-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
}

.video-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.video-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.video-channel-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.video-channel-cta .btn {
  gap: 0.55rem;
}

.youtube-icon {
  flex-shrink: 0;
}

/* Tweet reviews wall */
.tweet-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: start;
  overflow-x: visible;
  padding: 0.15rem 0.15rem 0.25rem;
}

.tweet-wall::-webkit-scrollbar {
  height: 8px;
}

.tweet-wall::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}

.tweet-card {
  flex: 0 1 calc((100% - 2rem) / 3);
  min-width: 220px;
  max-width: 320px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

.tweet-card .twitter-tweet {
  margin: 0 !important;
  width: 100% !important;
}

.tweet-card .twitter-tweet-rendered {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(45, 212, 191, 0.14);
  overflow: hidden;
}

.tweet-card iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.tweet-card .twitter-tweet-rendered:hover {
  border-color: rgba(94, 234, 212, 0.58);
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(94, 234, 212, 0.2);
}

.tweet-fallback-link {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tweet-empty {
  margin-top: 0.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-right: 2rem;
}

/* CTA / Contact */
.cta {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: var(--text-muted);
}

.cta-discord .cta-content p {
  margin-bottom: 1.25rem;
}

.discord-steps {
  list-style: none;
  counter-reset: discord-step;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.discord-steps li {
  counter-increment: discord-step;
  padding-left: 2rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.discord-steps li::before {
  content: counter(discord-step);
  position: absolute;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 50%;
}

.discord-panel {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.discord-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.discord-icon {
  color: #5865f2;
  flex-shrink: 0;
}

.discord-server-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.discord-server-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.discord-packages {
  list-style: none;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.discord-packages li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.discord-packages li:last-child {
  border-bottom: none;
}

.discord-package-price {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.btn-discord {
  background: #5865f2;
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 8px 32px rgba(88, 101, 242, 0.45);
}

.discord-invite-link {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
}

.discord-invite-link a {
  color: var(--text-muted);
  font-family: var(--mono);
}

.discord-invite-link a:hover {
  color: var(--accent);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .app-modules {
    grid-template-columns: 1fr 1fr;
  }

  .pricing,
  .pricing-two {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }

  .tweet-wall {
    justify-content: center;
  }

  .tweet-card {
    flex-basis: calc((100% - 1rem) / 2);
    min-width: 240px;
    max-width: 360px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .app-modules {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat-divider {
    display: none;
  }

  .game-bench-grid {
    grid-template-columns: 1fr;
  }

  .game-bench-rig {
    font-size: 0.62rem;
  }

  .tweet-wall {
    justify-content: center;
  }

  .tweet-card {
    flex-basis: 100%;
    min-width: 0;
    max-width: 460px;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Highlight any card that has a badge (same as .featured) */
.price-card:has(.badge) {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-dim);
}