/* ============================================================
   tai789bet — Deep Luxury Dark Theme
   Prefix: ef  |  Naming: BEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&family=Ubuntu:wght@400;500;700&display=swap');

/* ────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
   ──────────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --ef-accent: #63e398;
  --ef-accent-rgb: 99, 227, 152;
  --ef-bg: #0c1210;
  --ef-ink: #eff0f0;
  --ef-muted: #88af9d;
  --ef-surface: #17211c;
  --ef-btn-ink: #203227;
  --ef-line: #263830;
  --ef-radius: 8px;

  /* Button gradients */
  --ef-grad-dl: linear-gradient(135deg, #a949e9, #a1a4f2);
  --ef-grad-login: linear-gradient(135deg, #17ab90, #3deb40);
  --ef-grad-reg: linear-gradient(135deg, #e283cd, #dd556b);

  /* Typography */
  --ef-font: 'Roboto', 'Ubuntu', system-ui, sans-serif;
  --ef-font-heading: 'Ubuntu', 'Roboto', system-ui, sans-serif;
  --ef-mono: 'Ubuntu Mono', 'Courier New', monospace;

  /* Layout */
  --ef-max-w: 1200px;
  --ef-gutter: clamp(16px, 4vw, 32px);

  /* Fluid type */
  --ef-fs-hero: clamp(2rem, 5vw + 0.5rem, 3.5rem);
  --ef-fs-section: clamp(1.5rem, 3vw + 0.3rem, 2.25rem);
  --ef-fs-body: clamp(0.938rem, 1vw + 0.5rem, 1.063rem);
}

/* ────────────────────────────────────────────────────────────
   2. KEYFRAME ANIMATIONS (5+ groups)
   ──────────────────────────────────────────────────────────── */
@keyframes ef-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ef-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(var(--ef-accent-rgb), .22); }
  50%      { box-shadow: 0 8px 40px rgba(var(--ef-accent-rgb), .5); }
}

@keyframes ef-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

@keyframes ef-shimmer {
  from { background-position: -200px 0; }
  to   { background-position: 200px 0; }
}

@keyframes ef-drip {
  from { background-position: 0 0; }
  to   { background-position: 0 78px; }
}

@keyframes ef-confetti-fall {
  0%   { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

@keyframes ef-confetti-sway {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(15px); }
  75%      { transform: translateX(-15px); }
}

@keyframes ef-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes ef-scale-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes ef-slide-left {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ────────────────────────────────────────────────────────────
   3. REDUCED MOTION
   ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ────────────────────────────────────────────────────────────
   4. RESET & BASE
   ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body,
.ef-body {
  font-family: var(--ef-font);
  font-size: var(--ef-fs-body);
  line-height: 1.65;
  color: var(--ef-ink);
  background:
    radial-gradient(1100px 560px at 82% -12%, rgba(var(--ef-accent-rgb), .08), transparent 60%),
    radial-gradient(880px 520px at -8% 18%, rgba(var(--ef-accent-rgb), .05), transparent 55%),
    radial-gradient(600px 600px at 50% 100%, rgba(169, 73, 233, .04), transparent 60%),
    var(--ef-bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--ef-accent); text-decoration: none; transition: color .2s; }
a:hover { color: #8cefb6; }

/* ────────────────────────────────────────────────────────────
   5. ACCESSIBILITY: SKIP LINK & FOCUS
   ──────────────────────────────────────────────────────────── */
.ef-skip {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--ef-accent);
  color: var(--ef-btn-ink);
  font-weight: 700;
  border-radius: var(--ef-radius);
  transition: top .2s;
}
.ef-skip:focus {
  top: 16px;
}

*:focus-visible {
  outline: 2px solid var(--ef-accent);
  outline-offset: 2px;
}

/* ────────────────────────────────────────────────────────────
   6. LAYOUT UTILITIES
   ──────────────────────────────────────────────────────────── */
.ef-wrap {
  width: 100%;
  max-width: var(--ef-max-w);
  margin-inline: auto;
  padding-inline: var(--ef-gutter);
}

/* ────────────────────────────────────────────────────────────
   7. HEADER (sticky)
   ──────────────────────────────────────────────────────────── */
.ef-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background:
    linear-gradient(180deg, rgba(12, 18, 16, .95), rgba(12, 18, 16, .85));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--ef-accent), transparent) 1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  transition: box-shadow .3s;
}

.ef-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ef-max-w);
  margin-inline: auto;
  padding: 12px var(--ef-gutter);
  gap: 16px;
}

/* Logo */
.ef-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ef-font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--ef-ink);
  text-decoration: none;
  white-space: nowrap;
}
.ef-logo img {
  height: 38px;
  width: auto;
}
.ef-logo:hover {
  color: var(--ef-accent);
}

/* Nav toggle (mobile) */
.ef-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  color: var(--ef-ink);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background .2s, border-color .2s;
}
.ef-nav-toggle:hover {
  background: color-mix(in srgb, var(--ef-accent) 14%, transparent);
  border-color: var(--ef-accent);
}

/* Nav */
.ef-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ef-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.ef-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--ef-radius);
  font-size: .875rem;
  font-weight: 500;
  color: var(--ef-muted);
  text-decoration: none;
  transition: color .2s, background .2s, box-shadow .2s;
}
.ef-nav-link:hover {
  color: var(--ef-ink);
  background: color-mix(in srgb, var(--ef-accent) 14%, transparent);
}
.ef-nav-link[aria-current="page"] {
  color: var(--ef-accent);
  box-shadow: inset 0 -2px 0 var(--ef-accent);
}

@media (max-width: 768px) {
  .ef-nav-toggle { display: block; }
  .ef-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(12, 18, 16, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ef-line);
    padding: 12px var(--ef-gutter);
    gap: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  }
  .ef-nav-menu--open { display: flex; }
  .ef-nav-link {
    width: 100%;
    padding: 12px 14px;
  }
}

/* ────────────────────────────────────────────────────────────
   8. BUTTONS (shared base + 3 gradient variants)
   ──────────────────────────────────────────────────────────── */
.ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--ef-radius);
  font-family: var(--ef-font);
  font-weight: 700;
  font-size: .938rem;
  color: var(--ef-btn-ink);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s, filter .18s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .32);
  position: relative;
  overflow: hidden;
}
.ef-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent 60%);
  pointer-events: none;
}
.ef-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px color-mix(in srgb, var(--ef-accent) 22%, rgba(0, 0, 0, .32));
  filter: brightness(1.05);
}
.ef-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .32);
}

/* Download */
.ef-btn--dl {
  background: var(--ef-grad-dl);
  animation: ef-pulse 2.5s ease-in-out infinite;
}
.ef-btn--dl:hover {
  box-shadow: 0 9px 24px color-mix(in srgb, #a949e9 30%, rgba(0, 0, 0, .35));
}

/* Login */
.ef-btn--login {
  background: var(--ef-grad-login);
}
.ef-btn--login:hover {
  box-shadow: 0 9px 24px color-mix(in srgb, #17ab90 30%, rgba(0, 0, 0, .35));
}

/* Register */
.ef-btn--reg {
  background: var(--ef-grad-reg);
}
.ef-btn--reg:hover {
  box-shadow: 0 9px 24px color-mix(in srgb, #e283cd 30%, rgba(0, 0, 0, .35));
}

/* Ghost / outline variant */
.ef-btn--ghost {
  background: transparent;
  border: 1px solid var(--ef-accent);
  color: var(--ef-accent);
  box-shadow: none;
}
.ef-btn--ghost:hover {
  background: color-mix(in srgb, var(--ef-accent) 12%, transparent);
  box-shadow: 0 6px 16px rgba(var(--ef-accent-rgb), .15);
}

/* Small variant */
.ef-btn--sm {
  padding: 8px 16px;
  font-size: .813rem;
}

/* ────────────────────────────────────────────────────────────
   9. HERO
   ──────────────────────────────────────────────────────────── */
.ef-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 70% 10%, rgba(var(--ef-accent-rgb), .12), transparent 55%),
    radial-gradient(700px 400px at 20% 80%, rgba(169, 73, 233, .08), transparent 50%),
    radial-gradient(500px 500px at 50% 50%, rgba(var(--ef-accent-rgb), .04), transparent 60%),
    linear-gradient(180deg, var(--ef-bg), rgba(23, 33, 28, .6));
  border-bottom: 1px solid var(--ef-line);
}

.ef-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--ef-max-w);
  margin-inline: auto;
  padding: 80px var(--ef-gutter) 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.ef-hero__title {
  font-family: var(--ef-font-heading);
  font-size: var(--ef-fs-hero);
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff 20%, var(--ef-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ef-rise .7s ease-out both;
}

.ef-hero__sub {
  font-size: clamp(1rem, 1.5vw + 0.3rem, 1.2rem);
  color: var(--ef-muted);
  margin-top: 16px;
  max-width: 540px;
  animation: ef-rise .7s ease-out .15s both;
}

.ef-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  animation: ef-rise .7s ease-out .25s both;
}
.ef-hero__perks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--ef-radius);
  background: color-mix(in srgb, var(--ef-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--ef-accent) 20%, transparent);
  color: var(--ef-accent);
  font-size: .8rem;
  font-weight: 600;
}

.ef-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: ef-rise .7s ease-out .35s both;
}

@media (max-width: 768px) {
  .ef-hero { min-height: auto; }
  .ef-hero__inner {
    grid-template-columns: 1fr;
    padding: 60px var(--ef-gutter) 40px;
    text-align: center;
  }
  .ef-hero__perks { justify-content: center; }
  .ef-hero__cta { justify-content: center; }
}

/* ────────────────────────────────────────────────────────────
   10. CONFETTI PARTICLES (Hero effect)
   ──────────────────────────────────────────────────────────── */
.ef-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.ef-particles__dot {
  position: absolute;
  width: var(--size, 10px);
  height: var(--size, 10px);
  border-radius: 2px;
  opacity: .7;
  animation:
    ef-confetti-fall var(--dur, 6s) linear infinite,
    ef-confetti-sway var(--sway, 3s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
/* colour variations set via inline style or nth-child */
.ef-particles__dot:nth-child(4n+1) {
  background: radial-gradient(circle at 30% 30%, #63e398, #2aa86a);
  box-shadow: 0 0 6px rgba(var(--ef-accent-rgb), .4);
}
.ef-particles__dot:nth-child(4n+2) {
  background: radial-gradient(circle at 30% 30%, #a949e9, #7a30b8);
  box-shadow: 0 0 6px rgba(169, 73, 233, .4);
}
.ef-particles__dot:nth-child(4n+3) {
  background: radial-gradient(circle at 30% 30%, #e283cd, #c75aaa);
  box-shadow: 0 0 6px rgba(226, 131, 205, .4);
}
.ef-particles__dot:nth-child(4n) {
  background: radial-gradient(circle at 30% 30%, #a1a4f2, #7678d4);
  box-shadow: 0 0 6px rgba(161, 164, 242, .4);
}

/* ────────────────────────────────────────────────────────────
   11. CAROUSEL (Hero screenshots)
   ──────────────────────────────────────────────────────────── */
.ef-carousel {
  position: relative;
  border-radius: calc(var(--ef-radius) * 1.6);
  overflow: hidden;
  border: 1px solid var(--ef-line);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .42);
  animation: ef-scale-in .6s ease-out .3s both;
}
.ef-carousel__track {
  display: flex;
  transition: transform .45s ease;
}
.ef-carousel__slide {
  min-width: 100%;
  position: relative;
}
.ef-carousel__slide img {
  width: 100%;
  display: block;
}
.ef-carousel__slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--ef-bg) 0%, transparent 100%);
  pointer-events: none;
}
.ef-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.ef-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.ef-carousel__dot:hover {
  background: rgba(255, 255, 255, .6);
  transform: scale(1.2);
}
.ef-carousel__dot--active {
  background: var(--ef-accent);
  box-shadow: 0 0 8px rgba(var(--ef-accent-rgb), .5);
}

/* ────────────────────────────────────────────────────────────
   12. SECTIONS (generic band)
   ──────────────────────────────────────────────────────────── */
.ef-section {
  padding: clamp(48px, 8vw, 80px) 0;
  position: relative;
}
.ef-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(23, 33, 28, .55), transparent);
}
.ef-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ef-line), transparent);
}

.ef-section__title {
  font-family: var(--ef-font-heading);
  font-size: var(--ef-fs-section);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 0%, var(--ef-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ef-section__subtitle {
  text-align: center;
  color: var(--ef-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: .95rem;
}

/* Accent decorative line below title */
.ef-section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ef-accent), transparent);
}

/* ────────────────────────────────────────────────────────────
   13. CARDS (generic)
   ──────────────────────────────────────────────────────────── */
.ef-card {
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .32);
}
.ef-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ef-accent) 15%, transparent);
  border-color: color-mix(in srgb, var(--ef-accent) 30%, var(--ef-line));
}

.ef-card__img {
  position: relative;
  overflow: hidden;
}
.ef-card__img img {
  width: 100%;
  display: block;
  transition: transform .3s, filter .3s;
}
.ef-card__img:hover img {
  transform: scale(1.03);
  filter: brightness(1.08);
}
.ef-card__img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--ef-surface) 0%, transparent 100%);
  pointer-events: none;
}

.ef-card__body {
  padding: 20px;
}

.ef-card__title {
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ef-ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ef-card__desc {
  color: var(--ef-muted);
  font-size: .875rem;
  line-height: 1.6;
}

.ef-card__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--ef-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Card grid */
.ef-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .ef-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ────────────────────────────────────────────────────────────
   14. PERKS
   ──────────────────────────────────────────────────────────── */
.ef-perks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.ef-perks__card {
  background:
    radial-gradient(300px 200px at 80% 0%, rgba(var(--ef-accent-rgb), .06), transparent),
    var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  padding: 28px 24px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
  animation: ef-rise .5s ease-out both;
}
.ef-perks__card:nth-child(2) { animation-delay: .08s; }
.ef-perks__card:nth-child(3) { animation-delay: .16s; }
.ef-perks__card:nth-child(4) { animation-delay: .24s; }

.ef-perks__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ef-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--ef-accent) 25%, var(--ef-line));
}

.ef-perks__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: calc(var(--ef-radius) * 1.2);
  background: color-mix(in srgb, var(--ef-accent) 14%, transparent);
  color: var(--ef-accent);
  font-size: 1.4rem;
  margin-bottom: 16px;
  box-shadow: 0 0 12px rgba(var(--ef-accent-rgb), .15);
}

.ef-perks__card h3 {
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.ef-perks__card p {
  color: var(--ef-muted);
  font-size: .875rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .ef-perks { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────
   15. ARTICLES
   ──────────────────────────────────────────────────────────── */
.ef-article-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
  text-decoration: none;
  color: inherit;
}
.ef-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ef-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--ef-accent) 25%, var(--ef-line));
  color: inherit;
}
.ef-article-card__thumb {
  position: relative;
  overflow: hidden;
}
.ef-article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.ef-article-card:hover .ef-article-card__thumb img {
  transform: scale(1.05);
}
.ef-article-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ef-article-card__title {
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.35;
}
.ef-article-card__meta {
  font-size: .75rem;
  color: var(--ef-muted);
}

@media (max-width: 600px) {
  .ef-article-card {
    grid-template-columns: 1fr;
  }
  .ef-article-card__thumb {
    height: 160px;
  }
}

/* ────────────────────────────────────────────────────────────
   16. QUICK START / STEPS
   ──────────────────────────────────────────────────────────── */
.ef-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: ef-step;
}

.ef-steps__item {
  counter-increment: ef-step;
  position: relative;
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  padding: 32px 24px 24px;
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.ef-steps__item::before {
  content: counter(ef-step);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ef-grad-login);
  color: var(--ef-btn-ink);
  font-weight: 800;
  font-size: .85rem;
  box-shadow: 0 4px 14px color-mix(in srgb, #17ab90 30%, rgba(0, 0, 0, .3));
}
.ef-steps__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ef-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--ef-accent) 25%, var(--ef-line));
}
.ef-steps__item h3 {
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.ef-steps__item p {
  color: var(--ef-muted);
  font-size: .85rem;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .ef-steps { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────
   17. GAME GRID / GAME CARD
   ──────────────────────────────────────────────────────────── */
.ef-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.ef-game-card {
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  overflow: hidden;
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  text-decoration: none;
  color: inherit;
}
.ef-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ef-accent) 15%, transparent);
  border-color: var(--ef-accent);
  color: inherit;
}
.ef-game-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ef-game-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s, filter .3s;
}
.ef-game-card:hover .ef-game-card__img img {
  transform: scale(1.06);
  filter: brightness(1.1);
}
.ef-game-card__img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, var(--ef-surface) 0%, transparent 100%);
}
.ef-game-card__name {
  padding: 12px 14px;
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: .9rem;
}
.ef-game-card__badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--ef-radius);
  background: rgba(12, 18, 16, .8);
  border: 1px solid var(--ef-accent);
  color: var(--ef-accent);
  font-size: .69rem;
  font-weight: 700;
  font-family: var(--ef-mono);
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .ef-game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ────────────────────────────────────────────────────────────
   18. COMPARE TABLE
   ──────────────────────────────────────────────────────────── */
.ef-compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--ef-radius);
  border: 1px solid var(--ef-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

.ef-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 580px;
}
.ef-compare__table th,
.ef-compare__table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ef-line);
}
.ef-compare__table thead th {
  background:
    linear-gradient(180deg, rgba(var(--ef-accent-rgb), .08), transparent);
  font-family: var(--ef-font-heading);
  font-weight: 700;
  color: var(--ef-accent);
  position: sticky;
  top: 0;
}
.ef-compare__table tbody tr {
  transition: background .2s;
}
.ef-compare__table tbody tr:nth-child(even) {
  background: rgba(23, 33, 28, .35);
}
.ef-compare__table tbody tr:hover {
  background: color-mix(in srgb, var(--ef-accent) 8%, transparent);
}
.ef-compare__table td:first-child {
  font-weight: 600;
  color: var(--ef-ink);
}

/* ────────────────────────────────────────────────────────────
   19. CODE TABS
   ──────────────────────────────────────────────────────────── */
.ef-code-tabs {
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

.ef-code-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--ef-line);
  overflow-x: auto;
  background: linear-gradient(180deg, rgba(12, 18, 16, .6), transparent);
}

.ef-code-tab {
  padding: 10px 20px;
  border: none;
  background: none;
  color: var(--ef-muted);
  font-family: var(--ef-mono);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, background .2s, box-shadow .2s;
  border-bottom: 2px solid transparent;
}
.ef-code-tab:hover {
  color: var(--ef-ink);
  background: color-mix(in srgb, var(--ef-accent) 8%, transparent);
}
.ef-code-tab--active,
.ef-code-tab[aria-selected="true"] {
  color: var(--ef-accent);
  border-bottom-color: var(--ef-accent);
  background: color-mix(in srgb, var(--ef-accent) 6%, transparent);
}

.ef-code-panel {
  display: none;
  padding: 0;
  position: relative;
}
.ef-code-panel--active,
.ef-code-panel[aria-hidden="false"] {
  display: block;
}

.ef-code-panel pre {
  margin: 0;
  padding: 20px 24px;
  overflow-x: auto;
  font-family: var(--ef-mono);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ef-ink);
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(255, 255, 255, .02) 27px,
      rgba(255, 255, 255, .02) 28px
    );
  animation: ef-drip 4s linear infinite;
}

.ef-copy-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 5px 12px;
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  background: rgba(12, 18, 16, .8);
  color: var(--ef-muted);
  font-family: var(--ef-mono);
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.ef-copy-btn:hover {
  color: var(--ef-accent);
  border-color: var(--ef-accent);
  background: color-mix(in srgb, var(--ef-accent) 10%, rgba(12, 18, 16, .9));
}

/* ────────────────────────────────────────────────────────────
   20. FORUM
   ──────────────────────────────────────────────────────────── */
.ef-forum {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ef-forum__post {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  text-decoration: none;
  color: inherit;
}
.ef-forum__post:hover {
  border-color: var(--ef-accent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ef-accent) 10%, transparent);
  transform: translateY(-2px);
  color: inherit;
}

.ef-forum__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ef-line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: border-color .2s;
}
.ef-forum__post:hover .ef-forum__avatar {
  border-color: var(--ef-accent);
}

.ef-forum__title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 4px;
}
.ef-forum__meta {
  font-size: .75rem;
  color: var(--ef-muted);
}
.ef-forum__replies {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--ef-radius);
  background: color-mix(in srgb, var(--ef-accent) 10%, transparent);
  color: var(--ef-accent);
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--ef-mono);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .ef-forum__post {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .ef-forum__replies {
    grid-column: 2;
    justify-self: start;
  }
}

/* ────────────────────────────────────────────────────────────
   21. SCREENSHOTS / GALLERY
   ──────────────────────────────────────────────────────────── */
.ef-screenshots {
  position: relative;
}

.ef-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ef-gallery__item {
  position: relative;
  border-radius: calc(var(--ef-radius) * 1.5);
  overflow: hidden;
  border: 1px solid var(--ef-line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.ef-gallery__item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--ef-accent) 15%, rgba(0, 0, 0, .35));
}
.ef-gallery__item img {
  width: 100%;
  display: block;
  transition: transform .35s, filter .35s;
}
.ef-gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}
.ef-gallery__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(12, 18, 16, .8) 0%, transparent 100%);
  pointer-events: none;
}
.ef-gallery__caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  z-index: 2;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ef-ink);
}

@media (max-width: 600px) {
  .ef-gallery {
    grid-template-columns: 1fr;
  }
}

/* ────────────────────────────────────────────────────────────
   22. FOOTER
   ──────────────────────────────────────────────────────────── */
.ef-footer {
  position: relative;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(var(--ef-accent-rgb), .05), transparent),
    var(--ef-bg);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--ef-accent), transparent) 1;
  padding: clamp(40px, 6vw, 64px) 0 24px;
  margin-top: 40px;
}

.ef-footer__inner {
  max-width: var(--ef-max-w);
  margin-inline: auto;
  padding-inline: var(--ef-gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.ef-footer__brand {
  font-family: var(--ef-font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--ef-ink);
  margin-bottom: 8px;
}
.ef-footer__brand a {
  color: inherit;
  text-decoration: none;
}
.ef-footer__brand a:hover { color: var(--ef-accent); }

.ef-footer h4 {
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ef-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ef-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ef-footer a {
  color: var(--ef-muted);
  font-size: .85rem;
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.ef-footer a:hover {
  color: var(--ef-accent);
  padding-left: 4px;
}

.ef-footer__bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  margin-top: 16px;
  border-top: 1px solid var(--ef-line);
  text-align: center;
  color: var(--ef-muted);
  font-size: .78rem;
}

/* ────────────────────────────────────────────────────────────
   23. MOBILE BANNER (fixed bottom)
   ──────────────────────────────────────────────────────────── */
.ef-mobile-banner {
  display: none;
}

@media (max-width: 768px) {
  .ef-mobile-banner {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    padding: 10px var(--ef-gutter);
    background:
      linear-gradient(180deg, rgba(12, 18, 16, .92), rgba(12, 18, 16, .98));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--ef-line);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .4);
    gap: 8px;
    align-items: center;
    justify-content: center;
  }
  .ef-mobile-banner .ef-btn {
    flex: 1;
    justify-content: center;
    font-size: .82rem;
    padding: 10px 14px;
  }

  /* add safe-area padding for notch devices */
  body {
    padding-bottom: 70px;
  }
}

/* ────────────────────────────────────────────────────────────
   24. BREADCRUMB
   ──────────────────────────────────────────────────────────── */
.ef-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0;
  font-size: .8rem;
  color: var(--ef-muted);
}
.ef-breadcrumb a {
  color: var(--ef-muted);
  text-decoration: none;
  transition: color .2s;
}
.ef-breadcrumb a:hover {
  color: var(--ef-accent);
}
.ef-breadcrumb__sep {
  opacity: .4;
}
.ef-breadcrumb__current {
  color: var(--ef-ink);
  font-weight: 600;
}

/* ────────────────────────────────────────────────────────────
   25. CHANNEL HERO (sub-page hero)
   ──────────────────────────────────────────────────────────── */
.ef-ch-hero {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0;
  background:
    radial-gradient(800px 400px at 60% 20%, rgba(var(--ef-accent-rgb), .1), transparent 55%),
    radial-gradient(500px 300px at 10% 80%, rgba(169, 73, 233, .06), transparent),
    linear-gradient(180deg, var(--ef-bg), rgba(23, 33, 28, .5));
  border-bottom: 1px solid var(--ef-line);
}
.ef-ch-hero__inner {
  max-width: var(--ef-max-w);
  margin-inline: auto;
  padding-inline: var(--ef-gutter);
}
.ef-ch-hero__title {
  font-family: var(--ef-font-heading);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  background: linear-gradient(180deg, #fff 20%, var(--ef-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.ef-ch-hero__desc {
  color: var(--ef-muted);
  max-width: 600px;
}

/* ────────────────────────────────────────────────────────────
   26. TOC (Table of Contents)
   ──────────────────────────────────────────────────────────── */
.ef-toc {
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.ef-toc__title {
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ef-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ef-toc ol {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ef-toc a {
  color: var(--ef-muted);
  font-size: .85rem;
  text-decoration: none;
  transition: color .2s;
}
.ef-toc a:hover { color: var(--ef-accent); }

/* ────────────────────────────────────────────────────────────
   27. FAQ (details/summary)
   ──────────────────────────────────────────────────────────── */
.ef-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin-inline: auto;
}

.ef-faq-item {
  background: var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.ef-faq-item:hover {
  border-color: color-mix(in srgb, var(--ef-accent) 30%, var(--ef-line));
}
.ef-faq-item[open] {
  border-color: var(--ef-accent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--ef-accent) 10%, transparent);
}

.ef-faq-item summary {
  padding: 16px 20px;
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color .2s, background .2s;
  color: var(--ef-ink);
}
.ef-faq-item summary::-webkit-details-marker { display: none; }
.ef-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ef-accent);
  transition: transform .25s;
  flex-shrink: 0;
}
.ef-faq-item[open] summary::after {
  transform: rotate(45deg);
}
.ef-faq-item summary:hover {
  background: color-mix(in srgb, var(--ef-accent) 6%, transparent);
}

.ef-faq-item__answer {
  padding: 0 20px 16px;
  color: var(--ef-muted);
  font-size: .875rem;
  line-height: 1.65;
  border-top: 1px solid var(--ef-line);
}

/* ────────────────────────────────────────────────────────────
   28. GUIDE CARD
   ──────────────────────────────────────────────────────────── */
.ef-guide-card {
  background:
    radial-gradient(250px 150px at 90% 10%, rgba(var(--ef-accent-rgb), .05), transparent),
    var(--ef-surface);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  padding: 24px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
  text-decoration: none;
  color: inherit;
  display: block;
}
.ef-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ef-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--ef-accent) 25%, var(--ef-line));
  color: inherit;
}
.ef-guide-card__title {
  font-family: var(--ef-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.ef-guide-card__desc {
  color: var(--ef-muted);
  font-size: .85rem;
  line-height: 1.55;
}

/* ────────────────────────────────────────────────────────────
   29. SEARCH
   ──────────────────────────────────────────────────────────── */
.ef-search-input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2388af9d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M12.5 12.5 16 16'/%3E%3C/svg%3E") 14px center no-repeat,
    var(--ef-surface);
  color: var(--ef-ink);
  font-family: var(--ef-font);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.ef-search-input::placeholder {
  color: var(--ef-muted);
  opacity: .7;
}
.ef-search-input:focus {
  border-color: var(--ef-accent);
  box-shadow: 0 0 0 3px rgba(var(--ef-accent-rgb), .15);
  outline: none;
}

.ef-search-results {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ────────────────────────────────────────────────────────────
   30. HELP SECTION
   ──────────────────────────────────────────────────────────── */
.ef-help-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.ef-help-section aside {
  position: sticky;
  top: 80px;
}

@media (max-width: 768px) {
  .ef-help-section {
    grid-template-columns: 1fr;
  }
}

/* ────────────────────────────────────────────────────────────
   31. BYLINE / META
   ──────────────────────────────────────────────────────────── */
.ef-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: .82rem;
  color: var(--ef-muted);
}
.ef-byline img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ef-line);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.ef-byline__name {
  font-weight: 700;
  color: var(--ef-ink);
}

/* ────────────────────────────────────────────────────────────
   32. SOURCE BOX (code snippet inline)
   ──────────────────────────────────────────────────────────── */
.ef-src-box {
  background: rgba(12, 18, 16, .7);
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  padding: 18px 22px;
  overflow-x: auto;
  font-family: var(--ef-mono);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--ef-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.ef-src-box code {
  font-family: inherit;
  color: inherit;
}

/* Inline code */
code:not([class]) {
  background: rgba(var(--ef-accent-rgb), .1);
  color: var(--ef-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--ef-mono);
  font-size: .85em;
}

/* ────────────────────────────────────────────────────────────
   33. STORY IMAGES (article inline images)
   ──────────────────────────────────────────────────────────── */
.ef-story-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.ef-story-images figure {
  margin: 0;
  border-radius: calc(var(--ef-radius) * 1.5);
  overflow: hidden;
  border: 1px solid var(--ef-line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .25s, box-shadow .25s;
}
.ef-story-images figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ef-accent) 12%, transparent);
}
.ef-story-images img {
  width: 100%;
  display: block;
}
.ef-story-images figcaption {
  padding: 10px 14px;
  font-size: .78rem;
  color: var(--ef-muted);
  background: var(--ef-surface);
}

/* ────────────────────────────────────────────────────────────
   34. BADGES / TAGS
   ──────────────────────────────────────────────────────────── */
.ef-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--ef-radius);
  background: rgba(12, 18, 16, .8);
  border: 1px solid var(--ef-accent);
  color: var(--ef-accent);
  font-size: .69rem;
  font-weight: 700;
  font-family: var(--ef-mono);
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}
.ef-badge:hover {
  background: color-mix(in srgb, var(--ef-accent) 14%, transparent);
  box-shadow: 0 0 8px rgba(var(--ef-accent-rgb), .2);
}

.ef-badge--hot {
  border-color: #dd556b;
  color: #dd556b;
}
.ef-badge--new {
  border-color: #a949e9;
  color: #a949e9;
}

/* ────────────────────────────────────────────────────────────
   35. DECORATIVE DIVIDERS
   ──────────────────────────────────────────��───────────────── */
.ef-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, var(--ef-line), transparent);
  margin: 32px 0;
}
.ef-divider--accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ef-accent), transparent);
}
.ef-divider--center {
  background: linear-gradient(90deg, transparent, var(--ef-line), transparent);
}

/* ────────────────────────────────────────────────────────────
   36. SHIMMER LOADING PLACEHOLDER
   ──────────────────────────────────────────────────────────── */
.ef-shimmer {
  background:
    linear-gradient(
      90deg,
      var(--ef-surface) 25%,
      color-mix(in srgb, var(--ef-accent) 8%, var(--ef-surface)) 37%,
      var(--ef-surface) 63%
    );
  background-size: 400px 100%;
  animation: ef-shimmer 1.4s ease infinite;
  border-radius: var(--ef-radius);
}

/* ────────────────────────────────────────────────────────────
   37. FLOATING / BOB ELEMENTS
   ──────────────────────────────────────────────────────────── */
.ef-float {
  animation: ef-bob 3s ease-in-out infinite;
}

/* ────────────────────────────────────────────────────────────
   38. GRADIENT TEXT UTILITY
   ──────────────────────────────────────────────────────────── */
.ef-text-gradient {
  background: linear-gradient(180deg, #ffffff 0%, var(--ef-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ef-text-gradient--purple {
  background: linear-gradient(135deg, #a949e9, #a1a4f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ef-text-gradient--warm {
  background: linear-gradient(135deg, #e283cd, #dd556b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ────────────────────────────────────────────────────────────
   39. PROSE (article body content)
   ──────────────────────────────────────────────────────────── */
.ef-prose {
  max-width: 720px;
}
.ef-prose h2 {
  font-family: var(--ef-font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin: 40px 0 12px;
  color: var(--ef-ink);
}
.ef-prose h3 {
  font-family: var(--ef-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--ef-ink);
}
.ef-prose p {
  margin-bottom: 16px;
  color: var(--ef-ink);
  line-height: 1.75;
}
.ef-prose ul, .ef-prose ol {
  margin: 12px 0 20px 24px;
  color: var(--ef-ink);
}
.ef-prose li {
  margin-bottom: 6px;
  line-height: 1.65;
}
.ef-prose a {
  color: var(--ef-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.ef-prose a:hover {
  color: #8cefb6;
}
.ef-prose blockquote {
  border-left: 3px solid var(--ef-accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: color-mix(in srgb, var(--ef-accent) 5%, transparent);
  border-radius: 0 var(--ef-radius) var(--ef-radius) 0;
  color: var(--ef-muted);
  font-style: italic;
}
.ef-prose img {
  border-radius: var(--ef-radius);
  margin: 20px 0;
}
.ef-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .875rem;
}
.ef-prose th, .ef-prose td {
  padding: 10px 14px;
  border: 1px solid var(--ef-line);
  text-align: left;
}
.ef-prose th {
  background: color-mix(in srgb, var(--ef-accent) 8%, var(--ef-surface));
  font-weight: 700;
}

/* ────────────────────────────────────────────────────────────
   40. RESPONSIVE TABLE WRAPPER
   ──────────────────────────────────────────────────────────── */
.ef-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.ef-table-wrap table {
  min-width: 540px;
}

/* ────────────────────────────────────────────────────────────
   41. ANIMATIONS: RISE ON SCROLL (via JS class toggle)
   ──────────────────────────────────────────────────────────── */
.ef-anim-rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.ef-anim-rise--visible {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children */
.ef-anim-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
}
.ef-anim-stagger--visible > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: none; }
.ef-anim-stagger--visible > *:nth-child(2) { transition-delay: .1s;  opacity: 1; transform: none; }
.ef-anim-stagger--visible > *:nth-child(3) { transition-delay: .15s; opacity: 1; transform: none; }
.ef-anim-stagger--visible > *:nth-child(4) { transition-delay: .2s;  opacity: 1; transform: none; }
.ef-anim-stagger--visible > *:nth-child(5) { transition-delay: .25s; opacity: 1; transform: none; }
.ef-anim-stagger--visible > *:nth-child(6) { transition-delay: .3s;  opacity: 1; transform: none; }
.ef-anim-stagger--visible > *:nth-child(n+7) { transition-delay: .35s; opacity: 1; transform: none; }

/* ────────────────────────────────────────────────────────────
   42. ACCENT BACKGROUNDS
   ──────────────────────────────────────────────────────────── */
.ef-accent-bg {
  background: color-mix(in srgb, var(--ef-accent) 14%, transparent);
}
.ef-accent-bg--subtle {
  background: color-mix(in srgb, var(--ef-accent) 6%, transparent);
}

/* ────────────────────────────────────────────────────────────
   43. ALERT / NOTICE
   ──────────────────────────────────────────────────────────── */
.ef-alert {
  padding: 14px 20px;
  border-radius: var(--ef-radius);
  border: 1px solid;
  font-size: .875rem;
  line-height: 1.5;
}
.ef-alert--info {
  background: color-mix(in srgb, var(--ef-accent) 8%, transparent);
  border-color: color-mix(in srgb, var(--ef-accent) 30%, transparent);
  color: var(--ef-accent);
}
.ef-alert--warn {
  background: color-mix(in srgb, #e2a843 8%, transparent);
  border-color: color-mix(in srgb, #e2a843 30%, transparent);
  color: #e2a843;
}
.ef-alert--error {
  background: color-mix(in srgb, #dd556b 8%, transparent);
  border-color: color-mix(in srgb, #dd556b 30%, transparent);
  color: #dd556b;
}

/* ────────────────────────────────────────────────────────────
   44. SELECTION
   ──────────────────────────────────────────────────────────── */
::selection {
  background: color-mix(in srgb, var(--ef-accent) 30%, transparent);
  color: #fff;
}

/* ────────────────────────────────────────────────────────────
   45. SCROLLBAR (WebKit)
   ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--ef-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--ef-line);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--ef-accent) 40%, var(--ef-line));
}

/* ────────────────────────────────────────────────────────────
   46. PRINT
   ──────────────────────────────────────────────────────────── */
@media print {
  body { background: #fff; color: #000; }
  .ef-header, .ef-footer, .ef-mobile-banner, .ef-particles { display: none; }
  .ef-card, .ef-game-card, .ef-faq-item {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}