/* ===========================================================================
 *  ModCraftia — styles.css   (Essential.gg-inspired · blue edition v2)
 *  Near-black canvas, electric-blue accents, 3D display type, heavy motion.
 *  v2: Emote animations, comments, modpacks, launcher, theme toggle, skeletons
 * ========================================================================= */

:root {
  --bg:          #06070b;
  --bg-2:        #0a0c12;
  --bg-3:        #0f121b;
  --surface:     #11141d;
  --surface-2:   #161a26;
  --border:      #1d2230;
  --border-2:    #2a3144;
  --text:        #eef2fb;
  --text-dim:    #9aa6bf;
  --text-faint:  #626d85;
  --accent:      #3b82f6;
  --accent-2:    #60a5fa;
  --accent-3:    #93c5fd;
  --accent-deep: #1d4ed8;
  --accent-soft: rgba(59, 130, 246, 0.13);
  --green:       #34d399;
  --cyan:        #22d3ee;
  --pink:        #f472b6;
  --gold:        #fbbf24;
  --danger:      #f87171;
  --orange:      #fb923c;
  --purple:      #a78bfa;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 20px 55px rgba(0, 0, 0, 0.6);
  --shadow-sm:   0 6px 18px rgba(0, 0, 0, 0.45);
  --glow:        0 0 0 1px rgba(59,130,246,.45), 0 14px 44px rgba(59,130,246,.3);
  --header-h:    66px;
  --maxw:        1520px;
  --font:        'Inter', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-head:   'Oxanium', var(--font);
  --font-pixel:  'Press Start 2P', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 560px at 50% -10%, rgba(37,99,235,.16), transparent 70%),
    radial-gradient(900px 500px at 100% 8%, rgba(34,211,238,.07), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); letter-spacing: -0.2px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }
svg.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #38415c; }

/* ---------- helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.row { display: flex; align-items: center; }
.gap-sm { gap: 8px; } .gap { gap: 14px; } .gap-lg { gap: 22px; }
.spacer { flex: 1; }
.hidden { display: none !important; }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.center { text-align: center; }
.accent { color: var(--accent-2); }

/* 3D display text */
.t3d {
  text-shadow:
    0 1px 0 #1b2740, 0 2px 0 #16203a, 0 3px 0 #111a30,
    0 4px 0 #0d1426, 0 5px 0 #0a1020, 0 8px 18px rgba(0,0,0,.6);
}
.grad {
  background: linear-gradient(110deg, var(--accent-3), var(--accent), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* skeleton loading */
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 22px; width: 60%; margin-bottom: 12px; }
.skeleton-card { height: 260px; }

/* =====================================================================
 *  Header
 * ===================================================================== */
header.site {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
}
header.site .inner { display: flex; align-items: center; gap: 10px; height: 100%; flex-wrap: nowrap; }

/* Online pill sağa yaslansın ama fazla boşluk olmasın */
.online-pill { margin-left: 10px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .logo-cube { filter: drop-shadow(0 4px 12px rgba(59,130,246,.55)); transition: transform .35s; }
.brand:hover .logo-cube { transform: translateY(-2px) rotate(-6deg); }
.brand .wordmark { font-family: var(--font-pixel); font-size: 15px; color: var(--text); line-height: 1; padding-top: 2px; white-space: nowrap; }
.brand .wordmark b { color: var(--accent-2); font-weight: 400; }

nav.main { display: flex; align-items: center; gap: 3px; flex: 0 1 auto; justify-content: flex-start; min-width: 0; }
nav.main a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-dim); transition: .15s; position: relative; text-transform: uppercase; letter-spacing: .35px; white-space: nowrap; flex-shrink: 0; }
nav.main a:hover { color: var(--text); background: var(--surface); }
nav.main a.active { color: var(--accent-2); }
nav.main a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 2px; }

/* nav dropdown - IMPROVED HOVER with bigger target */
nav.main .dropdown { position: relative; }
nav.main .dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
nav.main .dropdown > a::after { 
  content: ""; 
  position: absolute; 
  left: -10px; 
  right: -10px; 
  bottom: -16px; 
  height: 20px; 
  background: transparent;
}
nav.main .dropdown-menu { 
  display: none; 
  position: absolute; 
  top: calc(100% + 4px); 
  left: -10px; 
  background: var(--surface); 
  border: 1px solid var(--border-2); 
  border-radius: var(--radius-sm); 
  padding: 8px; 
  min-width: 220px; 
  box-shadow: var(--shadow); 
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  transform: translateY(-8px);
}
/* Show dropdown on hover with smooth transition */
nav.main .dropdown:hover .dropdown-menu { 
  display: block; 
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
nav.main .dropdown-menu a { 
  display: block; 
  padding: 12px 16px; 
  border-radius: 7px; 
  font-size: 13.5px; 
  text-transform: none; 
  letter-spacing: 0; 
  white-space: nowrap; 
  margin: 2px 0;
  transition: .2s;
}
nav.main .dropdown-menu a:hover { 
  background: var(--accent-soft); 
  color: var(--accent-2); 
  transform: translateX(4px);
}

.search-mini { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); padding: 7px 12px; border-radius: 11px; width: 220px; min-width: 180px; transition: .18s; color: var(--text-faint); flex-shrink: 1; }
.search-mini:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-mini input { background: none; border: none; outline: none; color: var(--text); width: 100%; font-size: 14px; }
.search-mini input::placeholder { color: var(--text-faint); }

.online-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 30px; font-size: 13px; font-weight: 600; color: var(--text-dim); flex-shrink: 1; white-space: nowrap; }
.online-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.online-pill b { color: var(--text); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* Notification bell */
.notif-btn { position: relative; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-dim); transition: .15s; flex-shrink: 0; }
.notif-btn:hover { background: var(--surface); color: var(--text); }
.notif-btn svg { width: 20px; height: 20px; }
.notif-btn .badge-count { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }

/* Mobile nav toggle */
.mobile-nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; color: var(--text); background: var(--surface); border: 1px solid var(--border); flex-shrink: 0; }
.mobile-nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav-panel { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 99; box-shadow: var(--shadow); }
.mobile-nav-panel.open { display: block; }
.mobile-nav-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text-dim); font-weight: 600; }
.mobile-nav-panel a:hover { color: var(--accent-2); }
.mobile-nav-panel .dropdown-menu { position: static; display: none; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 8px 0 16px; padding: 8px; box-shadow: none; }
.mobile-nav-panel .dropdown.open .dropdown-menu { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 17px; border-radius: 10px; font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--text); border: 1px solid var(--border-2); transition: .16s; white-space: nowrap; }
.btn:hover { border-color: #38415c; transform: translateY(-1px); }
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-color: transparent; color: #fff; box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45); animation: pulseGlow 2.5s infinite; }
.btn.primary:hover { filter: brightness(1.1); box-shadow: 0 10px 30px rgba(37,99,235,.6); animation: none; }
.btn.ghost { background: transparent; border-color: var(--border-2); }
.btn.danger { background: linear-gradient(135deg, #ef4444, #b91c1c); border-color: transparent; color: #fff; }
.btn.success { background: linear-gradient(135deg, var(--green), #059669); border-color: transparent; color: #fff; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.lg { padding: 14px 28px; font-size: 15px; text-transform: uppercase; letter-spacing: .6px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.avatar-btn { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; border: 2px solid var(--border-2); font-family: var(--font-head); }

/* =====================================================================
 *  HERO  (Essential-style: headline + looping 3D skin band)
 * ===================================================================== */
.hero { position: relative; overflow: hidden; padding: 70px 0 0; border-bottom: 1px solid var(--border); }
.hero .glow { position: absolute; left: 50%; top: -120px; transform: translateX(-50%); width: 900px; height: 520px; background: radial-gradient(ellipse at center, rgba(59,130,246,.35), transparent 65%); filter: blur(30px); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-top { text-align: center; max-width: 820px; margin: 0 auto; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--accent-2); background: var(--accent-soft); border: 1px solid rgba(59,130,246,.32); padding: 6px 15px; border-radius: 30px; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-size: 62px; line-height: 1.02; font-weight: 800; letter-spacing: -1.5px; }
.hero p.lead { font-size: 19px; color: var(--text-dim); margin: 20px auto 0; max-width: 600px; }
.hero .hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero .search-big { margin: 26px auto 0; max-width: 560px; display: flex; gap: 10px; }
.hero .search-big .field { flex: 1; display: flex; align-items: center; gap: 10px; background: rgba(17,20,29,.85); border: 1px solid var(--border-2); border-radius: 13px; padding: 13px 17px; backdrop-filter: blur(8px); color: var(--text-faint); }
.hero .search-big .field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero .search-big input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 16px; }

/* =====================================================================
 *  Skin Band — Emote Edition
 * ===================================================================== */
.skin-band { position: relative; margin-top: 30px; height: 380px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.skin-track { display: flex; gap: 12px; width: max-content; height: 100%; align-items: flex-end; animation: scroll-x 55s linear infinite; will-change: transform; }
.skin-band:hover .skin-track { animation-play-state: paused; }

.skin-char { width: 200px; height: 100%; flex: none; position: relative; display: flex; align-items: flex-end; justify-content: center; cursor: pointer; }
.skin-char .spot { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 140px; height: 30px; background: radial-gradient(ellipse, rgba(59,130,246,.5), transparent 70%); filter: blur(5px); transition: .3s; }
.skin-char:hover .spot { background: radial-gradient(ellipse, rgba(59,130,246,.8), transparent 70%); width: 160px; }

.skin-char img { height: 310px; width: auto; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.6)); transition: transform .3s ease, filter .3s; }
.skin-char:hover img { filter: drop-shadow(0 30px 40px rgba(59,130,246,.4)); transform: scale(1.05); }

/* Emote animations for each skin */
.skin-char[data-emote="wave"] img { animation: emote-wave var(--bob, 3s) ease-in-out infinite; }
.skin-char[data-emote="dance"] img { animation: emote-dance var(--bob, 2.5s) ease-in-out infinite; }
.skin-char[data-emote="cheer"] img { animation: emote-cheer var(--bob, 2s) ease-in-out infinite; }
.skin-char[data-emote="idle"] img { animation: emote-idle var(--bob, 5s) ease-in-out infinite; }
.skin-char[data-emote="bounce"] img { animation: emote-bounce var(--bob, 1.8s) ease-in-out infinite; }
.skin-char[data-emote="lean"] img { animation: emote-lean var(--bob, 4s) ease-in-out infinite; }
.skin-char[data-emote="spin"] img { animation: emote-spin var(--bob, 4s) linear infinite; }
.skin-char[data-emote="nod"] img { animation: emote-nod var(--bob, 2.5s) ease-in-out infinite; }
.skin-char[data-emote="float"] img { animation: emote-float var(--bob, 6s) ease-in-out infinite; }
.skin-char[data-emote="flex"] img { animation: emote-flex var(--bob, 3s) ease-in-out infinite; }

@keyframes emote-wave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(3deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
  75% { transform: translateY(-8px) rotate(4deg); }
}
@keyframes emote-dance {
  0%, 100% { transform: translateY(0) scaleX(1); }
  15% { transform: translateY(-20px) scaleX(1.02); }
  30% { transform: translateY(0) scaleX(0.98); }
  45% { transform: translateY(-16px) scaleX(1.02) rotate(2deg); }
  60% { transform: translateY(0) scaleX(0.98); }
  75% { transform: translateY(-22px) scaleX(1.02) rotate(-2deg); }
}
@keyframes emote-cheer {
  0%, 100% { transform: translateY(0) scale(1); }
  20% { transform: translateY(-24px) scale(1.04); }
  40% { transform: translateY(-4px) scale(1); }
  60% { transform: translateY(-20px) scale(1.03); }
  80% { transform: translateY(-2px) scale(1); }
}
@keyframes emote-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes emote-bounce {
  0%, 100% { transform: translateY(0) scaleY(1); }
  30% { transform: translateY(-30px) scaleY(1.02); }
  50% { transform: translateY(0) scaleY(0.96); }
  70% { transform: translateY(-18px) scaleY(1.01); }
}
@keyframes emote-lean {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(5deg) translateY(-6px); }
  75% { transform: rotate(-5deg) translateY(-6px); }
}
@keyframes emote-spin {
  from { transform: rotateY(0deg) translateY(-8px); }
  to { transform: rotateY(360deg) translateY(-8px); }
}
@keyframes emote-nod {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(8px) rotate(2deg); }
  60% { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes emote-float {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 26px 30px rgba(0,0,0,.6)); }
  50% { transform: translateY(-30px); filter: drop-shadow(0 50px 40px rgba(0,0,0,.3)); }
}
@keyframes emote-flex {
  0%, 100% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.06) translateY(-8px); }
  60% { transform: scale(0.98) translateY(-2px); }
}

/* Skin tooltip */
.skin-char .skin-tooltip { position: absolute; top: 10px; left: 50%; transform: translateX(-50%) translateY(-10px); background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; padding: 8px 14px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; z-index: 10; text-align: center; box-shadow: var(--shadow-sm); }
.skin-char .skin-tooltip .stt-name { font-weight: 700; font-size: 14px; }
.skin-char .skin-tooltip .stt-emote { font-size: 11px; color: var(--accent-2); text-transform: uppercase; letter-spacing: .5px; }
.skin-char:hover .skin-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.skin-char .skin-label { position: absolute; top: var(--ly, 30%); left: var(--lx, 100%); font-family: var(--font-pixel); font-size: 9px; color: var(--accent-3); white-space: nowrap; text-shadow: 0 2px 6px #000; }

/* Particle effects around skins */
.skin-char .particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.skin-char .particle { position: absolute; width: 4px; height: 4px; background: var(--accent-2); border-radius: 50%; opacity: 0; animation: particle-float 4s ease-in-out infinite; }
.skin-char:hover .particle { opacity: .6; }
@keyframes particle-float {
  0% { transform: translateY(100%) scale(0); opacity: 0; }
  50% { opacity: .6; }
  100% { transform: translateY(-200%) scale(1.5); opacity: 0; }
}

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-stats { display: flex; gap: 40px; justify-content: center; padding: 4px 0 40px; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat .n { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--text); }
.hero-stats .stat .l { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* =====================================================================
 *  Leaderboard marquee
 * ===================================================================== */
.leaderboard-strip { border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-2), transparent); padding: 22px 0; position: relative; overflow: hidden; }
.leaderboard-strip .lb-head { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 16px; }
.leaderboard-strip .lb-head .ttl { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.leaderboard-strip .lb-head .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 700; }
.leaderboard-strip .lb-head .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.marquee { display: flex; width: max-content; gap: 14px; animation: scroll-x 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.leaderboard-strip .fade-l, .leaderboard-strip .fade-r { position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.leaderboard-strip .fade-l { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.leaderboard-strip .fade-r { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.lb-card { display: flex; align-items: center; gap: 11px; flex: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 9px 15px 9px 10px; transition: .16s; }
.lb-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.lb-card .rank { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--text-faint); width: 22px; text-align: center; }
.lb-card .head-img { width: 40px; height: 40px; border-radius: 8px; image-rendering: pixelated; background: var(--bg-3); border: 1px solid var(--border-2); }
.lb-card .nm { font-weight: 700; font-size: 14px; line-height: 1.1; }
.lb-card .dl { font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.lb-card .dl b { color: var(--accent-2); }
.lb-card.top1 .rank { color: var(--gold); } .lb-card.top1 { border-color: rgba(251,191,36,.4); }

/* =====================================================================
 *  Sections / cards
 * ===================================================================== */
section.block { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.section-head h2 { font-size: 28px; font-weight: 800; }
.section-head .sub { color: var(--text-dim); font-size: 14.5px; margin-top: 5px; }
.section-head a.more { color: var(--accent-2); font-weight: 700; font-size: 14px; }
.section-head a.more:hover { color: var(--accent-3); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 13px; }
.cat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; transition: .18s; cursor: pointer; min-width: 0; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-4px); background: var(--surface-2); box-shadow: var(--glow); }
.cat-card .ico { font-size: 26px; color: var(--accent-2); height: 34px; display: grid; place-items: center; }
.cat-card .ico svg { width: 30px; height: 30px; }
.cat-card .nm { font-weight: 700; margin-top: 10px; font-size: 14.5px; font-family: var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-card .ct { font-size: 12px; color: var(--text-faint); margin-top: 2px; }

.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.mod-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .2s; cursor: pointer; display: flex; flex-direction: column; min-width: 0; }
.mod-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--glow); }
.mod-card .banner { height: 92px; position: relative; display: flex; align-items: center; padding: 0 16px; gap: 13px; min-height: 92px; }
.mod-card .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); }
.mod-ico { width: 56px; height: 56px; border-radius: 13px; flex: none; background: rgba(0,0,0,.34); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; font-size: 28px; z-index: 1; backdrop-filter: blur(2px); overflow: hidden; flex-shrink: 0; }
.mod-ico img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.mod-card .body { padding: 15px 17px 17px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mod-card .title { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-card .by { font-size: 12.5px; color: var(--text-faint); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-card .desc { font-size: 13.5px; color: var(--text-dim); margin-top: 10px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.mod-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mod-card .meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--text-dim); padding-top: 13px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.mod-card .meta .m { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.tag { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--bg-3); color: var(--text-dim); border: 1px solid var(--border); white-space: nowrap; flex-shrink: 0; }
.tag.loader { color: var(--accent-2); border-color: rgba(59,130,246,.3); background: var(--accent-soft); }
.stars { color: var(--gold); letter-spacing: 1px; flex-shrink: 0; }

/* feature band */
.feature-band { background: linear-gradient(180deg, transparent, var(--bg-2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: .2s; }
.feature:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--glow); }
.feature .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 8px 22px rgba(37,99,235,.4); margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 14.5px; }

/* =====================================================================
 *  Launcher
 * ===================================================================== */
.launcher-promo { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--border-2); background: radial-gradient(800px 320px at 88% 0%, rgba(59,130,246,.22), transparent), linear-gradient(135deg, var(--surface), var(--bg-3)); padding: 44px; display: grid; grid-template-columns: 1.05fr 1.1fr; gap: 32px; align-items: center; }
.launcher-promo h2 { font-size: 33px; font-weight: 800; line-height: 1.08; }
.launcher-promo p { color: var(--text-dim); font-size: 16px; margin: 14px 0 22px; max-width: 460px; }
.launcher-promo .os-note { font-size: 12.5px; color: var(--text-faint); margin-top: 12px; }
.launcher-feats { list-style: none; display: grid; gap: 11px; margin: 20px 0; }
.launcher-feats li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--text-dim); }
.launcher-feats li .ck { color: var(--green); display: grid; place-items: center; }

/* Enhanced launcher mock */
.app-mock { border-radius: 14px; border: 1px solid var(--border-2); overflow: hidden; box-shadow: var(--shadow); background: var(--bg); }
.app-mock .bar { display: flex; align-items: center; gap: 7px; padding: 9px 13px; background: var(--bg-3); border-bottom: 1px solid var(--border); }
.app-mock .bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.app-mock .bar .r { background: #ff5f57; } .app-mock .bar .y { background: #febc2e; } .app-mock .bar .g { background: #28c840; }
.app-mock .bar .t { margin-left: 8px; font-family: var(--font-pixel); font-size: 8px; color: var(--text-faint); }
.app-mock .win { display: grid; grid-template-columns: 132px 1fr; min-height: 300px; }
.app-mock .nav { background: var(--bg-2); border-right: 1px solid var(--border); padding: 12px 10px; display: flex; flex-direction: column; gap: 5px; }
.app-mock .nav .acct { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 8px; }
.app-mock .nav .acct img { width: 26px; height: 26px; border-radius: 6px; image-rendering: pixelated; background: var(--bg-3); }
.app-mock .nav .acct span { font-size: 10px; font-weight: 700; }
.app-mock .nav .it { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; font-size: 11px; color: var(--text-dim); font-weight: 600; transition: .12s; cursor: pointer; }
.app-mock .nav .it svg { width: 14px; height: 14px; }
.app-mock .nav .it.on { background: var(--accent-soft); color: var(--accent-2); }
.app-mock .nav .it:hover { background: var(--surface); color: var(--text); }
.app-mock .body { position: relative; padding: 14px; display: flex; flex-direction: column; gap: 11px; background:
  radial-gradient(400px 160px at 80% 0%, rgba(59,130,246,.16), transparent); }
.app-mock .hero-row { display: flex; gap: 10px; align-items: center; }
.app-mock .inst { flex: 1; height: 60px; border-radius: 10px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--surface-2), var(--surface)); display: flex; align-items: center; gap: 9px; padding: 0 12px; }
.app-mock .inst .ic { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; }
.app-mock .inst .ic svg { width: 20px; height: 20px; }
.app-mock .inst .meta b { font-size: 12px; } .app-mock .inst .meta div { font-size: 10px; color: var(--text-faint); }
.app-mock .play { width: 120px; height: 60px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 15px; box-shadow: 0 8px 22px rgba(37,99,235,.5); animation: glowpulse 2.6s ease-in-out infinite; cursor: pointer; }
.app-mock .play:hover { filter: brightness(1.15); }
@keyframes glowpulse { 0%,100% { box-shadow: 0 8px 22px rgba(37,99,235,.45); } 50% { box-shadow: 0 8px 34px rgba(37,99,235,.85); } }
.app-mock .modlist { display: grid; gap: 7px; }
.app-mock .modrow { display: flex; align-items: center; gap: 9px; height: 34px; padding: 0 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); font-size: 11px; transition: .12s; cursor: pointer; }
.app-mock .modrow:hover { border-color: var(--accent); background: var(--surface-2); }
.app-mock .modrow .d { width: 18px; height: 18px; border-radius: 5px; background: var(--bg-3); display: grid; place-items: center; color: var(--accent-2); }
.app-mock .modrow .d svg { width: 12px; height: 12px; }
.app-mock .modrow .pct { margin-left: auto; color: var(--text-faint); font-size: 10px; }
.app-mock .modrow .pct.ok { color: var(--green); }
.app-mock .bar2 { height: 7px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.app-mock .bar2 i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--cyan)); animation: load 3s ease-in-out infinite; }
@keyframes load { 0%,100% { width: 32%; } 50% { width: 88%; } }

/* Performance monitor in launcher */
.app-mock .perf-strip { display: flex; gap: 8px; padding: 6px 0; }
.app-mock .perf-item { flex: 1; background: var(--bg-3); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; text-align: center; }
.app-mock .perf-item .perf-label { font-size: 8px; color: var(--text-faint); text-transform: uppercase; }
.app-mock .perf-item .perf-value { font-size: 11px; font-weight: 700; color: var(--green); font-family: var(--font-head); }

/* =====================================================================
 *  Browse / detail / wiki / about / modal / chat / footer (shared)
 * ===================================================================== */
.browse-layout { display: grid; grid-template-columns: 256px 1fr; gap: 28px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 18px); }
.filters h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin: 18px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.filter-opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--text-dim); cursor: pointer; }
.filter-opt:hover { color: var(--text); }
.filter-opt input { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.filters select, .filters input[type=text] { width: 100%; background: var(--bg-3); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; color: var(--text); font-size: 14px; outline: none; }
.filters select:focus, .filters input:focus { border-color: var(--accent); }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.results-bar .count { color: var(--text-dim); font-size: 14px; } .results-bar .count b { color: var(--text); }
.sort-box { display: flex; align-items: center; gap: 8px; }
.sort-box select { background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px; padding: 8px 12px; color: var(--text); font-size: 14px; outline: none; cursor: pointer; }

/* View toggle (grid/list) */
.view-toggle { display: flex; gap: 4px; margin-left: 8px; }
.view-toggle button { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--text-faint); border: 1px solid var(--border); background: var(--surface); transition: .12s; }
.view-toggle button:hover { color: var(--text); }
.view-toggle button.active { color: var(--accent-2); border-color: var(--accent); background: var(--accent-soft); }
.view-toggle button svg { width: 16px; height: 16px; }

/* List view */
.mod-list { display: flex; flex-direction: column; gap: 10px; }
.mod-list-item { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: .18s; cursor: pointer; align-items: center; }
.mod-list-item:hover { border-color: var(--accent); transform: translateX(4px); }
.mod-list-item .mod-ico { width: 52px; height: 52px; flex: none; }
.mod-list-item .mod-info { flex: 1; min-width: 0; }
.mod-list-item .mod-info .title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.mod-list-item .mod-info .by { font-size: 12px; color: var(--text-faint); }
.mod-list-item .mod-info .desc { font-size: 13px; color: var(--text-dim); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-list-item .mod-stats { display: flex; gap: 18px; flex: none; align-items: center; }
.mod-list-item .mod-stats .stat-col { text-align: center; }
.mod-list-item .mod-stats .stat-col .val { font-weight: 700; font-size: 14px; }
.mod-list-item .mod-stats .stat-col .lbl { font-size: 11px; color: var(--text-faint); }

/* =====================================================================
 *  Mod Detail
 * ===================================================================== */
.detail-hero { border-bottom: 1px solid var(--border); padding: 38px 0; position: relative; overflow: hidden; }
.detail-hero .wrap { display: flex; gap: 24px; align-items: flex-start; position: relative; z-index: 1; }
.detail-hero .big-ico { width: 104px; height: 104px; border-radius: 22px; flex: none; display: grid; place-items: center; font-size: 52px; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow); overflow: hidden; }
.detail-hero .big-ico img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero h1 { font-size: 34px; font-weight: 800; line-height: 1.2; margin-bottom: 4px; }
.detail-hero .by { color: var(--text-dim); margin-top: 4px; }
.detail-hero .by a { color: var(--accent-2); font-weight: 600; }
.detail-hero .quick-meta { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.detail-hero .quick-meta .qm .n { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.detail-hero .quick-meta .qm .l { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.6px; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; min-width: 232px; margin-left: auto; }
.detail-layout { display: grid; grid-template-columns: 1fr 330px; gap: 32px; padding: 32px 0 64px; align-items: start; }
.detail-layout main { min-width: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 22px; overflow-x: auto; }
.tabs button { padding: 12px 17px; font-weight: 700; font-size: 14.5px; color: var(--text-dim); border-bottom: 2px solid transparent; white-space: nowrap; flex: none; }
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--accent-2); border-bottom-color: var(--accent); }
.prose { color: var(--text-dim); font-size: 15.5px; }
.prose p { margin-bottom: 14px; white-space: pre-wrap; line-height: 1.6; }

/* Download notice */
.dl-notice { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--accent-soft), var(--surface)); border: 1px solid rgba(59,130,246,.35); border-radius: var(--radius); padding: 16px 18px; margin: 4px 0 20px; }
.dl-notice .ico { color: var(--accent-2); flex: none; display: grid; place-items: center; }
.dl-notice .ico svg { width: 22px; height: 22px; }
.dl-notice h4 { font-size: 15px; margin-bottom: 4px; color: var(--accent-2); }
.dl-notice p { font-size: 13.5px; color: var(--text-dim); margin: 0; }
.dl-notice a { color: var(--accent-2); font-weight: 700; }

/* CurseForge notice */
.cf-notice { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, rgba(249,115,22,.1), var(--surface)); border: 1px solid rgba(249,115,22,.35); border-radius: var(--radius); padding: 16px 18px; margin: 4px 0 20px; }
.cf-notice .ico { font-size: 22px; flex: none; }
.cf-notice h4 { font-size: 15px; margin-bottom: 4px; color: #fb923c; }
.cf-notice p { font-size: 13.5px; color: var(--text-dim); margin: 0; }
.cf-notice a { color: #fb923c; font-weight: 700; }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 8px; }
.shot { height: 156px; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: 13px; font-weight: 600; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* Files table */
.files-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.files-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-faint); padding: 12px 16px; background: var(--bg-3); }
.files-table td { padding: 13px 16px; border-top: 1px solid var(--border); font-size: 14px; }
.files-table tr:hover td { background: var(--surface-2); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.badge.release { background: rgba(52,211,153,.15); color: var(--green); }
.badge.beta { background: rgba(96,165,250,.15); color: var(--accent-2); }
.badge.alpha { background: rgba(244,114,182,.15); color: var(--pink); }

/* Security hash display */
.hash-display { display: flex; align-items: center; gap: 8px; font-family: monospace; font-size: 11px; color: var(--text-faint); background: var(--bg-3); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; margin-top: 4px; }
.hash-display .hash-label { color: var(--green); font-weight: 700; font-family: var(--font); font-size: 10px; text-transform: uppercase; }
.hash-display .hash-copy { margin-left: auto; color: var(--accent-2); cursor: pointer; font-size: 12px; }

/* Side card */
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.side-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin-bottom: 12px; }
.kv { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.kv:last-child { border-bottom: none; } .kv .k { color: var(--text-faint); } .kv .v { font-weight: 600; }

/* =====================================================================
 *  Comments — Enhanced
 * ===================================================================== */
.comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment .av { width: 40px; height: 40px; border-radius: 10px; flex: none; overflow: hidden; border: 1px solid var(--border-2); }
.comment .av img { width: 100%; height: 100%; image-rendering: pixelated; }
.comment .av-letter { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 16px; }
.comment-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.comment .who { font-weight: 700; font-size: 14px; }
.comment .author-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(59,130,246,.3); }
.comment .when { color: var(--text-faint); font-size: 12px; }
.comment .txt { color: var(--text-dim); font-size: 14px; margin-top: 6px; line-height: 1.6; }
.comment-actions { display: flex; gap: 14px; margin-top: 10px; }
.comment-actions button { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-faint); transition: .12s; padding: 4px 8px; border-radius: 6px; }
.comment-actions button:hover { color: var(--text); background: var(--surface-2); }
.comment-actions button.voted { color: var(--accent-2); }
.comment-actions button svg { width: 14px; height: 14px; }
.comment-actions .vote-count { font-weight: 700; min-width: 16px; text-align: center; }

/* Comment reply thread */
.comment-replies { margin-left: 52px; border-left: 2px solid var(--border); padding-left: 16px; }
.comment-replies .comment { padding: 12px 0; }

/* Comment sort bar */
.comment-sort { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; }
.comment-sort span { font-size: 13px; color: var(--text-faint); }
.comment-sort select { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; color: var(--text); font-size: 13px; outline: none; }

/* Comment input */
.comment-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.comment-form textarea { width: 100%; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 10px; padding: 12px; color: var(--text); min-height: 80px; outline: none; resize: vertical; font-size: 14px; }
.comment-form textarea:focus { border-color: var(--accent); }
.comment-form .form-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.comment-form .rating-input { display: flex; gap: 4px; }
.comment-form .rating-input .star-btn { font-size: 20px; color: var(--border-2); cursor: pointer; transition: .1s; }
.comment-form .rating-input .star-btn:hover,
.comment-form .rating-input .star-btn.active { color: var(--gold); }

/* =====================================================================
 *  Dependencies list
 * ===================================================================== */
.dep-list { display: flex; flex-direction: column; gap: 6px; }
.dep-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; cursor: pointer; transition: .12s; }
.dep-item:hover { border-color: var(--accent); background: var(--surface-2); }
.dep-item .dep-icon { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 14px; background: var(--surface); }
.dep-item .dep-type { margin-left: auto; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.dep-item .dep-type.required { background: rgba(248,113,113,.12); color: var(--danger); }
.dep-item .dep-type.optional { background: rgba(96,165,250,.12); color: var(--accent-2); }

/* =====================================================================
 *  Changelog
 * ===================================================================== */
.changelog-entry { padding: 16px 0; border-bottom: 1px solid var(--border); }
.changelog-entry .cl-version { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.changelog-entry .cl-version .ver { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.changelog-entry .cl-version .date { font-size: 12px; color: var(--text-faint); }
.changelog-entry ul { margin: 8px 0 0 20px; display: grid; gap: 4px; }
.changelog-entry li { font-size: 13.5px; color: var(--text-dim); }
.changelog-entry li.added::marker { color: var(--green); }
.changelog-entry li.fixed::marker { color: var(--accent-2); }
.changelog-entry li.changed::marker { color: var(--gold); }

/* =====================================================================
 *  Modpacks page
 * ===================================================================== */
.modpack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.modpack-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .2s; cursor: pointer; min-width: 0; }
.modpack-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--glow); }
.modpack-card .pack-banner { height: 120px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modpack-card .pack-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7)); }
.modpack-card .pack-banner .pack-title { position: relative; z-index: 1; font-family: var(--font-head); font-size: 22px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.modpack-card .pack-body { padding: 16px; min-width: 0; }
.modpack-card .pack-body .pack-by { font-size: 12px; color: var(--text-faint); margin-bottom: 8px; }
.modpack-card .pack-body .pack-desc { font-size: 13.5px; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.modpack-card .pack-footer { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-faint); flex-wrap: wrap; }
.modpack-card .pack-footer b { color: var(--text); }
.modpack-card .pack-footer .mod-count { color: var(--accent-2); margin-left: auto; }

/* =====================================================================
 *  Community page
 * ===================================================================== */
.community-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 40px; }
.community-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; transition: .18s; min-width: 0; }
.community-stat:hover { border-color: var(--accent); transform: translateY(-3px); }
.community-stat .cs-value { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--accent-2); }
.community-stat .cs-label { font-size: 13px; color: var(--text-faint); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.creator-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: center; transition: .18s; cursor: pointer; min-width: 0; }
.creator-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.creator-card .cr-avatar { width: 52px; height: 52px; border-radius: 12px; flex: none; overflow: hidden; background: var(--bg-3); border: 1px solid var(--border-2); flex-shrink: 0; }
.creator-card .cr-avatar img { width: 100%; height: 100%; image-rendering: pixelated; }
.creator-card .cr-info { min-width: 0; }
.creator-card .cr-info h4 { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-card .cr-info .cr-stats { font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.creator-card .cr-info .cr-stats b { color: var(--accent-2); }

/* =====================================================================
 *  Wiki
 * ===================================================================== */
.wiki-layout { display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: start; padding: 30px 0 64px; }
.wiki-nav { position: sticky; top: calc(var(--header-h) + 18px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.wiki-nav a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--text-dim); font-weight: 600; cursor: pointer; }
.wiki-nav a:hover { background: var(--bg-3); color: var(--text); }
.wiki-nav a.active { background: var(--accent-soft); color: var(--accent-2); }
.wiki-content h1 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.wiki-content > .lead { color: var(--text-dim); font-size: 16px; margin-bottom: 26px; }
.wiki-section { display: none; } .wiki-section.active { display: block; animation: pop .3s ease; }
.wiki-section h2 { font-size: 22px; margin: 26px 0 12px; }
.wiki-section h3 { font-size: 17px; margin: 18px 0 8px; color: var(--accent-2); }
.wiki-section p, .wiki-section li { color: var(--text-dim); font-size: 15px; }
.wiki-section ul, .wiki-section ol { margin: 10px 0 16px 22px; display: grid; gap: 7px; }
.wiki-section code { background: var(--bg-3); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; font-size: 13px; color: var(--accent-3); }
.wiki-step { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.wiki-step .num { width: 34px; height: 34px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; font-weight: 800; color: #fff; font-family: var(--font-head); }
.wiki-step h4 { font-size: 16px; margin-bottom: 3px; }
.callout { display: flex; gap: 12px; background: var(--accent-soft); border: 1px solid rgba(59,130,246,.3); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.callout.warn { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.3); }
.callout.orange { background: rgba(249,115,22,.08); border-color: rgba(249,115,22,.3); }
.callout .i { font-size: 20px; } .callout p { margin: 0; font-size: 14px; }

/* =====================================================================
 *  About
 * ===================================================================== */
.about-hero { padding: 66px 0 40px; text-align: center; position: relative; overflow: hidden; }
.about-hero h1 { font-size: 46px; font-weight: 800; max-width: 740px; margin: 0 auto; }
.about-hero p { color: var(--text-dim); font-size: 18px; max-width: 600px; margin: 18px auto 0; }
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat-band .s { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat-band .s .n { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--accent-2); }
.stat-band .s .l { color: var(--text-faint); font-size: 13px; margin-top: 4px; text-transform: uppercase; letter-spacing: .7px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.value .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: var(--accent-2); background: var(--accent-soft); margin-bottom: 14px; }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 18px; margin-bottom: 7px; } .value p { color: var(--text-dim); font-size: 14.5px; }

/* =====================================================================
 *  Status page
 * ===================================================================== */
.status-grid { display: flex; flex-direction: column; gap: 12px; }
.status-item { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.status-item .status-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.status-item .status-dot.up { background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,.5); }
.status-item .status-dot.degraded { background: var(--gold); box-shadow: 0 0 8px rgba(251,191,36,.5); }
.status-item .status-dot.down { background: var(--danger); box-shadow: 0 0 8px rgba(248,113,113,.5); }
.status-item .status-name { font-weight: 600; font-size: 15px; }
.status-item .status-uptime { margin-left: auto; font-size: 13px; color: var(--green); font-weight: 600; }

.uptime-bar { display: flex; gap: 2px; height: 28px; margin-top: 16px; }
.uptime-bar .day { flex: 1; border-radius: 3px; }
.uptime-bar .day.up { background: var(--green); opacity: .7; }
.uptime-bar .day.degraded { background: var(--gold); opacity: .7; }

/* =====================================================================
 *  Modal & Auth
 * ===================================================================== */
.overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal { background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 20px; width: 100%; max-width: 430px; box-shadow: var(--shadow); animation: pop .2s ease; overflow: hidden; }
.modal .head { padding: 24px 26px 0; } .modal .head h3 { font-size: 23px; font-weight: 800; } .modal .head p { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.modal .body { padding: 20px 26px 26px; }
.modal .close { position: absolute; top: 16px; right: 18px; font-size: 22px; color: var(--text-faint); z-index: 2; }
.field-group { margin-bottom: 14px; } .field-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.field-group input { width: 100%; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 15px; outline: none; transition: .15s; }
.field-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 5px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-dim); } .auth-switch a { color: var(--accent-2); font-weight: 700; cursor: pointer; }
.divider-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--text-faint); font-size: 12px; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pw-meter { height: 5px; border-radius: 3px; background: var(--border); margin-top: 8px; overflow: hidden; } .pw-meter i { display: block; height: 100%; width: 0; transition: .3s; border-radius: 3px; }
.pw-strength-label { font-size: 11px; margin-top: 4px; font-weight: 600; }

/* 2FA input */
.twofa-input { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.twofa-input input { width: 46px; height: 54px; text-align: center; font-size: 22px; font-weight: 800; font-family: var(--font-head); background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 10px; color: var(--text); outline: none; }
.twofa-input input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* =====================================================================
 *  Toasts & Notifications
 * ===================================================================== */
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--surface-2); border: 1px solid var(--border-2); border-left: 3px solid var(--accent); padding: 12px 18px; border-radius: 11px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; animation: pop .2s ease; max-width: 90vw; }
.toast.ok { border-left-color: var(--green); } .toast.err { border-left-color: var(--danger); }

/* Notification dropdown */
.notif-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 340px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 200; display: none; animation: pop .18s ease; max-height: 400px; overflow-y: auto; }
.notif-dropdown.open { display: block; }
.notif-dropdown .notif-header { padding: 14px 16px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.notif-dropdown .notif-header h5 { font-size: 14px; font-weight: 700; }
.notif-dropdown .notif-header button { font-size: 12px; color: var(--accent-2); }
.notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); transition: .12s; cursor: pointer; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { background: var(--accent-soft); }
.notif-item .notif-icon { width: 32px; height: 32px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 16px; }
.notif-item .notif-text { font-size: 13px; color: var(--text-dim); }
.notif-item .notif-text b { color: var(--text); }
.notif-item .notif-time { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* =====================================================================
 *  Chat dock (AI + Live support)
 * ===================================================================== */
.dock-launcher { position: fixed; bottom: 24px; right: 24px; z-index: 900; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.14); transition: .18s; position: relative; }
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab.ai { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.fab.support { background: linear-gradient(135deg, var(--cyan), #0e7490); }
.fab .ping { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg); }

.chat-panel { position: fixed; bottom: 24px; right: 24px; z-index: 950; width: 400px; max-width: calc(100vw - 32px); height: 580px; max-height: calc(100vh - 48px); background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; animation: pop .22s ease; }
.chat-head { padding: 14px 16px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--border); }
.chat-head .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; } .chat-head .ico svg { width: 22px; height: 22px; }
.chat-head .ico.ai { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.chat-head .ico.support { background: linear-gradient(135deg, var(--cyan), #0e7490); }
.chat-head .ttl { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.chat-head .st { font-size: 12px; color: var(--green); display: flex; align-items: center; gap: 5px; } .chat-head .st .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat-head .x { margin-left: auto; font-size: 22px; color: var(--text-faint); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 15px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.bot a { color: var(--accent-2); font-weight: 600; }
.msg .modref { display: block; margin-top: 8px; padding: 8px 10px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 9px; font-size: 13px; cursor: pointer; transition: .12s; }
.msg .modref:hover { border-color: var(--accent); background: var(--surface); }
.typing { display: flex; gap: 4px; padding: 12px 14px; } .typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 10px; }
.chip { font-size: 12.5px; padding: 6px 11px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text-dim); cursor: pointer; transition: .14s; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 11px; padding: 11px 14px; color: var(--text); outline: none; font-size: 14px; }
.chat-input input:focus { border-color: var(--accent); }
.chat-input button { width: 42px; height: 42px; border-radius: 11px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 17px; flex: none; }
.chat-input button:hover { filter: brightness(1.1); }

/* =====================================================================
 *  Footer
 * ===================================================================== */
footer.site { border-top: 1px solid var(--border); background: var(--bg-2); padding: 48px 0 30px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 32px; }
.footer-grid h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--text-dim); font-size: 14px; padding: 5px 0; cursor: pointer; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 22px; display: flex; justify-content: space-between; color: var(--text-faint); font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
 *  Profile
 * ===================================================================== */
.profile-head { display: flex; align-items: center; gap: 20px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.profile-head .big-av { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--cyan)); font-family: var(--font-head); }
.profile-head h1 { font-size: 28px; font-weight: 800; }

/* Profile tabs */
.profile-tabs { display: flex; gap: 4px; margin-top: 20px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.profile-tabs button { padding: 10px 16px; font-weight: 600; font-size: 14px; color: var(--text-dim); border-bottom: 2px solid transparent; }
.profile-tabs button:hover { color: var(--text); }
.profile-tabs button.active { color: var(--accent-2); border-bottom-color: var(--accent); }

/* Profile badges */
.badge-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge-item { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.badge-item .badge-icon { font-size: 16px; }

/* Activity feed */
.activity-feed { display: flex; flex-direction: column; gap: 0; }
.activity-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.activity-item .act-icon { width: 32px; height: 32px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 14px; }
.activity-item .act-text { font-size: 13px; color: var(--text-dim); }
.activity-item .act-text b { color: var(--text); }
.activity-item .act-time { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* =====================================================================
 *  Misc
 * ===================================================================== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-faint); } .empty-state .big { font-size: 50px; margin-bottom: 12px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; align-items: center; flex-wrap: wrap; }
.pager button { min-width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; }
.pager button:hover:not(:disabled) { border-color: var(--accent); }
.pager button.active { background: var(--accent); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .page-ellipsis { color: var(--text-dim); padding: 0 8px; font-weight: 600; }

/* Verified badge */
.verified-badge { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 12px; font-weight: 700; }
.verified-badge svg { width: 14px; height: 14px; }

/* Trending indicator */
.trending-up { color: var(--green); font-size: 12px; display: inline-flex; align-items: center; gap: 3px; }
.trending-down { color: var(--danger); font-size: 12px; display: inline-flex; align-items: center; gap: 3px; }

/* =====================================================================
 *  Responsive
 * ===================================================================== */
@media (max-width: 1080px) {
  nav.main { display: none; }
  header.site .inner { gap: 12px; }
  .mobile-nav-toggle { display: flex; }
}
@media (max-width: 780px) {
  .online-pill { display: none; }
  .search-mini { display: none; }
  header.site .inner { gap: 8px; }
}
@media (max-width: 980px) {
  .browse-layout, .wiki-layout { grid-template-columns: 1fr; }
  .filters, .wiki-nav { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .values-grid { grid-template-columns: 1fr; }
  .launcher-promo { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2,1fr); }
  .community-stats { grid-template-columns: repeat(2,1fr); }
  .search-mini { width: 160px; }
  .hero h1 { font-size: 44px; }
  .modpack-grid { grid-template-columns: 1fr; }
  .mobile-nav-panel { right: 24px; left: 24px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: 33px; } .hero { padding: 48px 0 0; }
  .skin-band { height: 280px; } .skin-char img { height: 230px; } .skin-char { width: 160px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero .wrap { flex-direction: column; } .detail-actions { margin-left: 0; width: 100%; }
  .search-mini { display: none; } .hero .search-big { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; } .launcher-promo { padding: 26px; }
  .about-hero h1 { font-size: 32px; }
  .community-stats { grid-template-columns: 1fr; }
  .chat-panel { width: 100%; right: 0; bottom: 0; height: 100vh; max-height: 100vh; border-radius: 0; }
  .mobile-nav-panel { right: 0; left: 0; border-radius: 0; }
}

/* Screenshots gallery */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 24px 0 32px; }
.shot { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); font-size: 32px; transition: .2s; cursor: pointer; }
.shot:hover { transform: scale(1.02); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
background: linear-gradient(135deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; }
.app-mock .inst .meta { flex: 1; font-size: 11px; line-height: 1.3; } .app-mock .inst .meta b { display: block; font-size: 12px; margin-bottom: 2px; }
.app-mock .play { width: 140px; height: 60px; border-radius: 10px; background: linear-gradient(135deg, var(--green), #059669); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; cursor: pointer; transition: .18s; box-shadow: 0 6px 16px rgba(52, 211, 153, 0.4); }
.app-mock .play:hover { filter: brightness(1.12); box-shadow: 0 8px 22px rgba(52, 211, 153, 0.5); }
.app-mock .bar2 { height: 2px; background: var(--border); margin: 10px 0; position: relative; overflow: hidden; }
.app-mock .bar2 i { position: absolute; left: 0; top: 0; height: 100%; width: 34%; background: linear-gradient(90deg, var(--accent), var(--cyan)); animation: loadbar 3s ease-in-out infinite; }
@keyframes loadbar { 0%, 100% { width: 34%; } 50% { width: 78%; } }
.app-mock .perf-strip { display: flex; gap: 10px; margin: 6px 0; }
.app-mock .perf-item { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.app-mock .perf-label { font-size: 9px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 3px; }
.app-mock .perf-value { font-size: 15px; font-weight: 800; font-family: var(--font-head); color: var(--accent-2); }
.app-mock .side-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.app-mock .side-card h4 { font-size: 11px; margin-bottom: 5px; }
.app-mock .side-card p { font-size: 10px; line-height: 1.4; }
.app-mock .modlist { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.app-mock .modrow { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; font-size: 11px; transition: .12s; }
.app-mock .modrow:hover { border-color: var(--accent); }
.app-mock .modrow .d { font-size: 16px; }
.app-mock .modrow .pct { margin-left: auto; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-2); transition: .12s; }
.app-mock .modrow .pct.ok { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.app-mock .field-group { margin-bottom: 10px; }
.app-mock .field-group label { display: block; font-size: 10px; margin-bottom: 4px; color: var(--text-dim); }

.launcher-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }

/* Complete Launcher Mock Styles */
.app-mock .inst .ic { 
  width: 38px; 
  height: 38px; 
  border-radius: 8px; 
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)); 
  display: grid; 
  place-items: center; 
  color: #fff; 
}

/* Community Section Styles */
.community-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; text-align: center; transition: .2s; }
.stat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--glow); }
.stat-card .stat-num { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--accent-2); margin-bottom: 8px; }
.stat-card .stat-label { font-size: 14px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; }

.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.creator-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; display: flex; align-items: center; gap: 14px; transition: .2s; cursor: pointer; }
.creator-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.creator-card .cr-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg-3); border: 2px solid var(--border-2); flex-shrink: 0; }
.creator-card .cr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-card .cr-info { flex: 1; min-width: 0; }
.creator-card .cr-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-card .cr-stats { font-size: 12px; color: var(--text-dim); }
.creator-card .cr-stats b { color: var(--text); }
