:root {
  /* Backgrounds */
  --bg:          #000000;
  --bg2:         #1c1c1e;
  --surface:     #2c2c2e;
  --surface2:    #3a3a3c;

  /* Borders */
  --border:      rgba(255,255,255,0.1);
  --border-thin: rgba(255,255,255,0.08);

  /* Text */
  --text:        #f5f5f7;
  --text2:       rgba(245,245,247,0.6);
  --text3:       rgba(245,245,247,0.3);

  /* Accent colors */
  --accent:      #0a84ff;   /* Apple blue — primary CTA */
  --accent2:     #30d158;   /* Apple green — success/verified */
  --accent3:     #ff453a;   /* Apple red — locked/danger */
  --gold:        #ffd60a;   /* Gold resource */
  --pink:        #ff375f;   /* Credits resource */
  --orange:      #ff9f0a;   /* Urgency/timer */

  /* Radius */
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-icon: 22.37%;   /* Apple's exact app icon formula */

  /* Typography */
  --font:        -apple-system, 'SF Pro Display', 'SF Pro Text', BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:   'SF Mono', 'Fira Code', 'Cascadia Code', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }
h2.section-title { font-size: 1.5rem; margin-bottom: 16px; padding: 0 16px; font-weight: 700; letter-spacing: -0.02em; }

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.muted { color: var(--text2); }

/* Buttons */
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  font-family: var(--font); font-weight: 600; cursor: pointer; border: none; outline: none;
  transition: all 0.2s cubic-bezier(0.25,0.46,0.45,0.94);
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.96); opacity: 0.8; }
.btn-primary { background: var(--accent); color: #fff; border-radius: 980px; padding: 8px 20px; font-weight: 600; }
.btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border-radius: 980px; padding: 8px 20px; font-weight: 600; }
.btn-success { background: var(--accent2); color: #fff; border-radius: 980px; padding: 8px 20px; font-size: 17px; width: 100%; height: 50px; font-weight: 600; }
.btn-get { font-size: 14px; padding: 4px 16px; border-radius: 980px; font-weight: 700; }

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(28,28,30,0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border-thin);
}
.card {
  background: rgba(28,28,30,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-thin);
  border-radius: var(--radius);
}

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* App Store uses 0.5px for dividers */
  border-bottom: 0.5px solid var(--border-thin);
}
.nav-container {
  max-width: 1000px; margin: 0 auto; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.04em; color: #fff; }
.logo .accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 16px; }
.search-icon { display: flex; align-items: center; color: var(--text2); }
.nav-link { font-weight: 500; font-size: 15px; color: var(--accent); }

/* Horizontal Scroll Rows */
.h-scroll {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 16px 20px;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; flex-shrink: 0; }

/* Box Shadows - ONLY Apple style allowed */
.apple-shadow { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

/* App Card (Featured & Browse) */
.app-card { width: 140px; display: flex; flex-direction: column; gap: 8px; }
.app-card-icon { width: 80px; height: 80px; border-radius: var(--radius-icon); margin-bottom: 4px; object-fit: cover; }
.app-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.app-genre { font-size: 12px; color: var(--text2); }
.app-rating { font-size: 12px; color: var(--text2); display: flex; align-items: center; gap: 2px; }
.icon-star { color: var(--gold); font-size: 10px; }
.icon-star-empty { color: rgba(255,255,255,0.2); font-size: 10px; }

/* Top Charts List */
.chart-list { padding: 0 16px; max-width: 800px; margin: 0 auto; }
.chart-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 0;
  border-bottom: 0.5px solid var(--border-thin);
}
.chart-item:last-child { border-bottom: none; }
.chart-rank { font-size: 20px; font-weight: 700; color: var(--text3); width: 28px; text-align: center; }
.chart-icon img { width: 60px; height: 60px; border-radius: var(--radius-icon); object-fit: cover; }
.chart-info { flex: 1; min-width: 0; }
.chart-title { font-size: 16px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-subtitle { font-size: 13px; color: var(--text2); }

/* App Detail Header */
.app-header { padding: 24px 16px; display: flex; gap: 16px; max-width: 800px; margin: 0 auto; }
.app-header-icon img { width: 120px; height: 120px; border-radius: var(--radius-icon); object-fit: cover; }
.app-header-info { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.app-header-title { font-size: 20px; line-height: 1.2; margin-bottom: 4px; font-weight: 700; letter-spacing: -0.02em; }
.app-header-dev { font-size: 14px; color: var(--text2); margin-bottom: 8px; }
.app-badges { display: flex; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 12px; align-items: center; }
.app-badge-item { display:flex; align-items:center; gap:4px; }
.app-header-actions { margin-top: auto; }
.app-header-actions .btn { font-size: 15px; padding: 6px 24px; }

/* Screenshots */
.screenshots-wrap { padding: 0 16px; max-width: 800px; margin: 0 auto 24px; }
.screenshots-scroll {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 8px;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-img {
  height: 260px; border-radius: 16px; scroll-snap-align: start; object-fit: cover;
  border: 1px solid var(--border-thin);
}

/* About & Info Table */
.about-section { max-width: 800px; margin: 0 auto; padding: 0 16px 24px; }
.about-desc { font-size: 14px; line-height: 1.5; color: var(--text); position: relative; }
.about-desc.collapsed { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { color: var(--accent); font-size: 14px; cursor: pointer; display: inline-block; margin-top: 4px; }

.app-info-table { max-width: 800px; margin: 0 auto; padding: 0 16px 24px; }
.info-row {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 0.5px solid var(--border-thin); font-size: 14px;
}
.info-label { color: var(--text2); }
.info-value { color: var(--text); text-align: right; font-weight: 500;}

/* Generator UI */
.generator-section { max-width: 500px; margin: 0 auto 40px; padding: 0 16px; }
.gen-card { border-radius: var(--radius-xl); padding: 24px; background: rgba(28,28,30,0.85); backdrop-filter: blur(40px); border: 1px solid var(--border-thin); }
.gen-stats { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.stat-pill {
  background: rgba(255,255,255,0.08); padding: 6px 12px; border-radius: 980px;
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center;
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot.live { background: var(--accent2); animation: pulse 2s infinite; }
.dot.red { background: var(--accent3); }
.dot.orange { background: var(--orange); }
.text-orange { color: var(--orange); }

@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }

/* Step Indicator */
.step-indicator { display: flex; justify-content: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 24px; }

/* Form Elements */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-input, .form-select {
  width: 100%; background: rgba(58,58,60,0.6); border: 1px solid var(--border-thin);
  border-radius: 12px; color: var(--text); font-size: 16px; font-family: var(--font);
  padding: 14px 16px; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--text3); }
.form-input:focus, .form-select:focus { border-color: var(--accent); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.platform-group { display: flex; gap: 12px; }
.platform-btn {
  flex: 1; background: rgba(58,58,60,0.6); border: 1px solid var(--border-thin);
  border-radius: 12px; padding: 12px; font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: all 0.2s;
}
.platform-btn.active { border-color: var(--accent); background: rgba(10,132,255,0.15); color: var(--accent); }
.resources-group { display: flex; gap: 12px; }
.res-col { flex: 1; }

.gen-btn-wrap { margin-top: 32px; }
.gen-btn { font-size: 17px; width: 100%; height: 50px; }

/* Progress State */
.state-panel { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.progress-title { font-size: 18px; font-weight: 600; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.progress-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--text); border-radius: 50%; animation: spin 1s linear infinite; }

.terminal-box {
  background: #000; border: 1px solid var(--border-thin); border-radius: 12px;
  padding: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--text2);
  height: 180px; overflow-y: auto; margin-bottom: 24px;
}
.term-line { margin-bottom: 6px; line-height: 1.4; }
.term-line.green { color: var(--accent2); font-weight: 600; }
.term-line.white { color: var(--text); }
.term-line.muted { color: var(--text3); }
.cursor-blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.progress-wrap { margin-bottom: 8px; }
.progress-header { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text2); }
.progress-bar-bg { height: 6px; background: rgba(58,58,60,0.6); border-radius: 980px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 980px; width: 0%; transition: width 0.3s linear; }

/* Result State */
.result-header { text-align: center; margin-bottom: 24px; }
.result-icon { width: 64px; height: 64px; background: var(--accent2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #fff; font-size: 32px; font-weight: bold; }
.result-title { font-size: 22px; margin-bottom: 6px; font-weight: 700; }
.result-subtitle { font-size: 14px; color: var(--text2); }
.resources-display { display: flex; gap: 12px; margin-bottom: 24px; }
.res-box { flex: 1; background: rgba(0,0,0,0.3); border: 1px solid var(--border-thin); border-radius: 16px; padding: 16px 8px; text-align: center; }
.res-val { font-size: 24px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.res-val.pink { color: var(--pink); }
.res-val.gold { color: var(--gold); }
.res-label { font-size: 13px; color: var(--text2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.status-row { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.status-pill { padding: 4px 12px; border-radius: 980px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.status-pill.green { color: var(--accent2); background: rgba(48,209,88,0.15); }
.status-pill.orange { color: var(--orange); background: rgba(255,159,10,0.15); }
.status-pill.red { color: var(--accent3); background: rgba(255,69,58,0.15); }

.expiry-warning { background: rgba(255,159,10,0.1); border: 1px solid rgba(255,159,10,0.2); color: var(--orange); padding: 12px; border-radius: 12px; font-size: 13px; text-align: center; font-weight: 600; margin-bottom: 20px; }
.result-footer { text-align: center; font-size: 11px; color: var(--text3); margin-top: 16px; }

/* Live Feed */
.live-feed-wrap { padding: 0 16px 40px; max-width: 500px; margin: 0 auto; }
.live-feed-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.live-feed-title { font-size: 15px; font-weight: 600; display: flex; align-items: center; }
.realtime-badge { background: rgba(255,255,255,0.1); font-size: 10px; padding: 3px 8px; border-radius: 980px; font-weight: 700; text-transform: uppercase; color: var(--text2); }
.feed-list { max-height: 250px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--border-thin); animation: slideDown 0.4s ease forwards; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.feed-icon { width: 36px; height: 36px; border-radius: var(--radius-icon); object-fit: cover; }
.feed-info { flex: 1; min-width: 0; }
.feed-user { font-size: 13px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-country { font-size: 11px; color: var(--text2); background: rgba(255,255,255,0.1); padding: 2px 4px; border-radius: 4px; margin-left: 4px; }
.feed-res { text-align: right; font-size: 13px; font-weight: 700; white-space: nowrap; }
.feed-time { font-size: 11px; color: var(--text3); text-align: right; }

/* Locker Modal - Apple Style */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.locker-modal {
  background: #1c1c1e; width: 100%; max-width: 480px; margin: 0 16px;
  border-radius: var(--radius-xl); border: 1px solid var(--border-thin);
  padding: 28px 24px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: scale(0.9) translateY(20px); transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.active .locker-modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 30px; height: 30px;
  background: rgba(255,255,255,0.12); border-radius: 50%; border: none;
  color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
  z-index: 2; transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }
.locker-header { text-align: center; margin-bottom: 24px; }
.locker-app-icon { width: 60px; height: 60px; border-radius: var(--radius-icon); margin-bottom: 16px; object-fit: cover; }
.locker-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.locker-subtitle { font-size: 14px; color: var(--text2); }
.progress-dots { display: flex; justify-content: center; margin-top: 16px; }
.progress-dots .dot { width: 8px; height: 8px; margin: 0 4px; background: rgba(255,255,255,0.15); transition: background 0.3s; }
.progress-dots .dot.filled { background: var(--accent); }

.locker-offers-wrap { margin-bottom: 24px; position: relative; }
.offer-divider { height: 0.5px; background: var(--border-thin); width: 100%; margin-bottom: 16px; }

.locker-offers { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; scrollbar-width: none; }
.locker-offers::-webkit-scrollbar { display: none; }
.offer-row {
  background: rgba(58,58,60,0.6); border: 1px solid var(--border-thin);
  border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px;
}
.offer-icon { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.offer-info { flex: 1; min-width: 0; }
.offer-title { font-size: 15px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-desc { font-size: 13px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.offer-btn { flex-shrink: 0; }

.locker-footer { text-align: center; font-size: 13px; color: var(--text2); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; }
.locker-spinner { display: flex; justify-content: center; padding: 40px 0; }
.locker-success { text-align: center; padding: 40px 0; display: none; animation: fadeIn 0.4s ease; }
.success-icon { font-size: 48px; color: var(--accent2); margin-bottom: 12px; }
.success-text { font-size: 20px; font-weight: 700; color: var(--accent2); }

/* Grid Layouts */
.grid-container { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
@media (min-width: 600px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .app-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .app-grid { grid-template-columns: repeat(5, 1fr); } }

/* Footer */
.site-footer { border-top: 0.5px solid var(--border-thin); background: var(--bg2); margin-top: 40px; }
.footer-container { max-width: 1000px; margin: 0 auto; padding: 40px 16px 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: var(--text); font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; font-size: 14px; color: var(--text2); }
.footer-col ul li a { transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-logo { font-size: 24px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.04em; color: #fff; }
.tagline { color: var(--text2); font-size: 14px; line-height: 1.5; }
.footer-bottom { border-top: 0.5px solid var(--border-thin); padding-top: 24px; font-size: 12px; color: var(--text3); text-align: center; }

/* Filter Tabs */
.filter-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; padding-bottom: 8px; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { padding: 8px 20px; background: rgba(255,255,255,0.08); border-radius: 980px; font-size: 15px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; transition: all 0.2s; }
.filter-tab.active { background: rgba(10,132,255,0.15); color: var(--accent); border-color: rgba(10,132,255,0.3); }

/* =============================================
   HERO BANNER — Apple App Store Cinematic Style
   ============================================= */
.hero-banner {
  position: relative; width: 100%; overflow: hidden;
  margin-bottom: 0; background: #000;
}

/* The artwork area — full-bleed cinematic image */
.hero-artwork {
  position: relative; width: 100%;
  height: 460px; overflow: hidden;
}
@media (max-width: 768px) { .hero-artwork { height: 340px; } }
@media (max-width: 480px) { .hero-artwork { height: 280px; } }

/* Background image — landscape, full bleed, no blur */
.hero-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.7) saturate(1.15);
  transform: scale(1.03);
  transition: transform 10s ease-out;
  will-change: transform;
}
.hero-banner:hover .hero-bg { transform: scale(1.06); }

/* Top gradient — subtle dark vignette at top */
.hero-overlay-top {
  position: absolute; top: 0; left: 0; width: 100%; height: 35%;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.15) 60%,
    transparent 100%);
  pointer-events: none;
}

/* Bottom gradient — strong dark fade so text is readable */
.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 70%;
  background: linear-gradient(to top,
    rgba(0,0,0,0.97) 0%,
    rgba(0,0,0,0.85) 25%,
    rgba(0,0,0,0.5)  55%,
    transparent      100%);
  pointer-events: none;
}

/* "FEATURED GAME" label — top left, Apple style */
.hero-label {
  position: absolute; top: 18px; left: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Content sits at bottom of artwork */
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 20px 20px;
  display: flex; align-items: flex-end; gap: 14px;
}

/* App icon — bottom left, small, Apple rounded corners */
.hero-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.12);
}

/* Text + button */
.hero-info { flex: 1; min-width: 0; padding-bottom: 2px; }
.hero-info .title {
  font-size: 20px; font-weight: 700;
  margin-bottom: 2px; letter-spacing: -0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #fff;
}
.hero-info .subtitle {
  font-size: 12px; color: rgba(255,255,255,0.55);
  margin-bottom: 10px; font-weight: 500;
}
.hero-info .btn { font-size: 14px; padding: 6px 22px; }

/* Info strip below hero — like Apple's card footer */
.hero-strip {
  background: var(--bg2);
  border-bottom: 0.5px solid var(--border-thin);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-strip-icon {
  width: 40px; height: 40px;
  border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.hero-strip-info { flex: 1; min-width: 0; }
.hero-strip-title {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-strip-sub { font-size: 11px; color: var(--text2); margin-top: 1px; }

/* =============================================
   CHANGE 1 — MOD badge on game cards
   ============================================= */
.app-card-wrap { position: relative; display: inline-block; }
.mod-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: #00c853;
  color: #000;
  font-size: 9px; font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

/* CHANGE 2 — Download count on cards */
.app-downloads { font-size: 11px; color: var(--text3); margin-top: -4px; }

/* =============================================
   CHANGE 9 — Skeleton loading shimmer cards
   ============================================= */
.skeleton-card {
  width: 100px; height: 160px;
  background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 12px;
  flex-shrink: 0;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-row { display: flex; gap: 16px; padding: 0 16px 20px; overflow: hidden; }
