/* ============================================================
   Frontend Stylesheet
   Theme: Subway Surfers — Official Light Mode
   Colors: Orange #FF6B35, Gold #FFD700, Sky #00C9FF, Green #4CAF50
   ============================================================ */

:root {
  /* ---- Subway Surfers Official Palette ---- */
  --ss-orange:   #FF6B35;   /* primary brand orange */
  --ss-gold:     #FFD700;   /* coin gold */
  --ss-sky:      #00C9FF;   /* sky blue accent */
  --ss-green:    #4CAF50;   /* grass/platform green */
  --ss-purple:   #7C3AED;   /* graffiti purple */
  --ss-red:      #EF4444;   /* danger / badge red */

  /* ---- Semantic roles ---- */
  --color-primary:      var(--ss-orange);
  --color-secondary:    var(--ss-gold);
  --color-accent:       var(--ss-sky);
  --color-success:      var(--ss-green);

  /* ---- Light mode surfaces ---- */
  --color-bg:           #FFF8F0;   /* warm cream — main page bg */
  --color-bg-alt:       #FFF3E0;   /* slightly deeper warm bg */
  --color-bg-dark:      #1A1A2E;   /* ONLY for footer & hero overlay text */
  --color-surface:      #FFFFFF;
  --color-surface-2:    #FFF8F0;
  --color-border:       #FFE0CC;

  /* ---- Text ---- */
  --color-text:         #1A1A2E;
  --color-text-mid:     #4A4A6A;
  --color-text-light:   #7A7A9A;

  /* ---- Type ---- */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container-width: 1180px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--color-primary); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ss-orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(255,107,53,0.5); }

.btn-secondary {
  background: var(--ss-gold);
  color: var(--color-text);
  box-shadow: 0 8px 24px rgba(255,215,0,0.4);
}
.btn-secondary:hover { box-shadow: 0 12px 32px rgba(255,215,0,0.55); }

.btn-outline {
  background: transparent;
  border-color: var(--ss-orange);
  color: var(--ss-orange);
}
.btn-outline:hover { background: var(--ss-orange); color: #fff; }

/* ============================================================
   Site Header — Light with orange accent
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--ss-orange);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 16px rgba(255,107,53,0.10);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-text);
  text-decoration: none;
}
.site-logo img { height: 38px; width: auto; }
.site-logo .accent { color: var(--ss-orange); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.site-nav a {
  color: var(--color-text-mid);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover {
  background: #FFF3E0;
  color: var(--ss-orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ss-orange);
  border-radius: 10px;
  color: var(--ss-orange);
  font-size: 20px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  z-index: 60;
}

/* Desktop */
@media (min-width: 761px) {
  .nav-toggle { display: none !important; }
  .site-nav   { display: block !important; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex !important; }

  .site-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    border-top: 2px solid var(--ss-orange);
    border-bottom: 3px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(255,107,53,0.12);
    z-index: 55;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 12px;
  }

  .site-nav li { width: 100%; border-bottom: 1px solid var(--color-border); }
  .site-nav li:last-child { border-bottom: none; }

  .site-nav a {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 16px;
  }
  .site-nav a:hover { background: #FFF3E0; }
}

/* ============================================================
   Generic Section Spacing
   ============================================================ */
.section     { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-white { background: #fff; }

.section-header {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-header h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.section-header p  { color: var(--color-text-light); font-size: 17px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ss-orange);
  background: rgba(255,107,53,0.10);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ============================================================
   GAME PAGE — Hero
   ============================================================ */
.gp-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #FF6B35 0%, #FF9A5C 40%, #FFD700 100%);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-bottom: 60px;
}

/* Overlay ensures text stays readable over any BG image */
.gp-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,107,53,0.92) 0%,
    rgba(255,183,77,0.75) 50%,
    rgba(255,215,0,0.85)  100%
  );
}

/* Animated floating orbs */
.gp-hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.gp-hero-particles span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: gp-float 8s ease-in-out infinite;
}
.gp-hero-particles span:nth-child(1) { width:340px;height:340px;background:#fff;    top:-100px;left:-80px;  animation-delay:0s;  }
.gp-hero-particles span:nth-child(2) { width:220px;height:220px;background:var(--ss-sky);  top:35%;right:-50px; animation-delay:-2s; }
.gp-hero-particles span:nth-child(3) { width:160px;height:160px;background:var(--ss-green);bottom:15%;left:28%;animation-delay:-4s; }
.gp-hero-particles span:nth-child(4) { width:110px;height:110px;background:#fff;    top:15%;left:48%; animation-delay:-1s; }
.gp-hero-particles span:nth-child(5) { width:80px; height:80px; background:var(--ss-purple);bottom:8%;right:18%;animation-delay:-3s; }
.gp-hero-particles span:nth-child(6) { width:60px; height:60px; background:var(--ss-sky);  top:58%;left:8%;  animation-delay:-5s; }

@keyframes gp-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-22px) scale(1.06); }
}

.gp-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px 0 60px;
  flex-wrap: wrap;
}

/* Icon */
.gp-icon-wrap { position: relative; flex-shrink: 0; }
.gp-icon {
  width: 150px; height: 150px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  display: block;
  position: relative;
  z-index: 1;
  border: 4px solid rgba(255,255,255,0.6);
}
.gp-icon-glow {
  position: absolute; inset: -10px;
  border-radius: 40px;
  background: rgba(255,255,255,0.4);
  filter: blur(20px);
  z-index: 0;
}

/* Text on hero — dark text on light/orange bg */
.gp-hero-right { flex: 1 1 320px; }

.gp-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.gp-platform-badge svg { width:15px;height:15px;fill:currentColor; }

.gp-hero-title {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.gp-hero-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  max-width: 520px;
}

.gp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.gp-tag {
  background: rgba(255,255,255,0.25);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.gp-hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.gp-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--ss-orange);
  padding: 16px 32px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.gp-download-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.gp-download-btn-icon { font-size: 22px; }
.gp-download-btn-text { display:flex;flex-direction:column;line-height:1.2; }
.gp-download-btn-text small { font-size:11px;font-weight:500;color:var(--color-text-light);text-transform:uppercase;letter-spacing:1px; }

.gp-safe-note { font-size:13px; color:rgba(255,255,255,0.75); }

/* Wave bottom */
.gp-hero-wave { position:absolute;bottom:-1px;left:0;right:0;line-height:0; }
.gp-hero-wave svg { display:block;width:100%;height:60px; }

@media (max-width: 760px) {
  .gp-hero-inner { flex-direction:column;align-items:flex-start;gap:20px;padding:56px 0 50px; }
  .gp-icon { width:100px;height:100px; }
}

/* ============================================================
   GAME PAGE — Features
   ============================================================ */
.gp-features-section { background: var(--color-bg-alt); }
.gp-features-list { display:flex;flex-direction:column;gap:24px; }

.gp-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(255,107,53,0.10);
  border: 1.5px solid var(--color-border);
}
.gp-feature-row--reverse { direction: rtl; }
.gp-feature-row--reverse > * { direction: ltr; }

.gp-feature-media { background: var(--color-bg); min-height: 280px; }
.gp-feature-img-wrap { width:100%;height:100%;min-height:280px; }
.gp-feature-img-wrap img { width:100%;height:100%;object-fit:cover;display:block;min-height:280px; }

.gp-feature-img-placeholder {
  width:100%;height:100%;min-height:280px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}
.gp-feature-img-placeholder span {
  font-size:72px;font-weight:800;font-family:var(--font-display);
  color: rgba(255,107,53,0.12);
}

.gp-feature-body {
  background: #fff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--ss-orange);
}
.gp-feature-row--reverse .gp-feature-body {
  border-left: none;
  border-right: 4px solid var(--ss-gold);
}

.gp-feature-number {
  font-size:12px;font-weight:800;letter-spacing:3px;
  color: var(--ss-orange);
  margin-bottom:10px;
  font-family:var(--font-display);
}
.gp-feature-title { font-size:clamp(20px,2.8vw,28px);margin-bottom:12px; }
.gp-feature-desc  { color:var(--color-text-mid);font-size:16px;line-height:1.7; }

@media(max-width:760px){
  .gp-feature-row,.gp-feature-row--reverse { grid-template-columns:1fr;direction:ltr; }
  .gp-feature-body { padding:28px 22px;border-left:4px solid var(--ss-orange);border-right:none; }
  .gp-feature-img-wrap,.gp-feature-img-placeholder { min-height:200px; }
}

/* ============================================================
   GAME PAGE — Game Info
   ============================================================ */
.gp-info-section { background: #fff; }
.gp-info-wrap { max-width:820px;margin:0 auto 52px; }
.gp-info-header { margin-bottom:24px; }
.gp-info-content { font-size:17px;color:var(--color-text-mid);line-height:1.8; }
.gp-info-content p { margin-bottom:16px; }
.gp-info-content h3,.gp-info-content h4 { color:var(--color-text);margin:24px 0 10px; }

.gp-screenshots-wrap { max-width:820px;margin:0 auto; }
.gp-screenshots-title { font-size:20px;margin-bottom:18px; }
.gp-screenshots {
  display:flex;gap:14px;
  overflow-x:auto;padding-bottom:10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.gp-screenshot {
  flex:0 0 auto;width:190px;height:340px;
  border-radius:var(--radius-md);overflow:hidden;
  scroll-snap-align:start;
  box-shadow:0 8px 24px rgba(255,107,53,0.12);
  border:2px solid var(--color-border);
}
.gp-screenshot img { width:100%;height:100%;object-fit:cover; }

/* ============================================================
   GAME PAGE — Platform Cards
   ============================================================ */
.gp-platforms-section { background: var(--color-bg-alt); }

.gp-platform-cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.gp-platform-card {
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  display:block;
  text-decoration:none;
  transition:transform 0.18s, box-shadow 0.18s;
  box-shadow:0 8px 24px rgba(255,107,53,0.12);
  border:2px solid var(--color-border);
}
.gp-platform-card:hover { transform:translateY(-6px);box-shadow:0 20px 48px rgba(255,107,53,0.22); }

.gp-platform-card-bg { position:absolute;inset:0; }
.gp-platform-card--ios     .gp-platform-card-bg { background:linear-gradient(135deg,#1c1c2e,#2d2d4e); }
.gp-platform-card--android .gp-platform-card-bg { background:linear-gradient(135deg,#1B5E20,#2E7D32); }
.gp-platform-card--windows .gp-platform-card-bg { background:linear-gradient(135deg,#0078D4,#005EA2); }

.gp-platform-card-inner {
  position:relative;z-index:1;
  display:flex;align-items:center;gap:16px;
  padding:26px 22px;
  color:#fff;
}
.gp-platform-card-icon { width:40px;height:40px;flex-shrink:0; }
.gp-platform-card-icon svg { width:100%;height:100%;fill:currentColor; }
.gp-platform-card-text { flex:1;display:flex;flex-direction:column;line-height:1.3; }
.gp-platform-card-sub  { font-size:11px;opacity:0.7;text-transform:uppercase;letter-spacing:1px;font-weight:600; }
.gp-platform-card-name { font-size:19px;font-weight:800;font-family:var(--font-display); }
.gp-platform-card-arrow { font-size:20px;opacity:0.6; }
.gp-platform-card-badge {
  background:var(--ss-gold);color:var(--color-text);
  font-size:10px;font-weight:800;padding:4px 10px;
  border-radius:999px;text-transform:uppercase;letter-spacing:0.8px;
}

/* ============================================================
   GAME PAGE — New Game Highlight (LIGHT mode)
   ============================================================ */
.gp-newgame-card {
  position:relative;
  background:linear-gradient(135deg, #FFF8F0 0%, #FFE0B2 60%, #FFF3E0 100%);
  border:2px solid var(--color-border);
  border-radius:var(--radius-xl);
  padding:56px 48px;
  display:flex;align-items:center;gap:40px;flex-wrap:wrap;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(255,107,53,0.12);
}
.gp-newgame-deco {
  position:absolute;right:-80px;top:-80px;
  width:360px;height:360px;border-radius:50%;
  background:var(--ss-orange);opacity:0.06;pointer-events:none;
}
.gp-newgame-badge {
  position:absolute;top:22px;right:22px;
  background:var(--ss-orange);color:#fff;
  font-weight:800;font-size:12px;
  padding:5px 14px;border-radius:999px;letter-spacing:1px;
}
.gp-newgame-icon {
  width:130px;height:130px;border-radius:24px;
  object-fit:cover;flex-shrink:0;
  box-shadow:0 16px 40px rgba(255,107,53,0.2);
  border:3px solid var(--color-border);
}
.gp-newgame-body { flex:1 1 280px; }
.gp-newgame-title { font-size:clamp(24px,4vw,38px);color:var(--color-text);margin-bottom:10px; }
.gp-newgame-tagline { color:var(--color-text-mid);font-size:16px;margin-bottom:22px; }
.gp-newgame-btn {
  display:inline-block;
  background:var(--ss-orange);color:#fff;
  padding:14px 30px;border-radius:12px;
  font-family:var(--font-display);font-weight:800;font-size:15px;
  box-shadow:0 8px 24px rgba(255,107,53,0.35);
  transition:transform 0.15s,box-shadow 0.15s;
}
.gp-newgame-btn:hover { transform:translateY(-2px);box-shadow:0 12px 32px rgba(255,107,53,0.5); }

@media(max-width:760px){
  .gp-newgame-card { padding:32px 22px;flex-direction:column;align-items:flex-start; }
  .gp-newgame-icon { width:80px;height:80px; }
}

/* ============================================================
   Screenshot gallery (shared — blog/app posts)
   ============================================================ */
.screenshot-gallery {
  display:flex;gap:16px;overflow-x:auto;padding-bottom:10px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
}
.screenshot-gallery img {
  flex:0 0 auto;width:210px;height:380px;object-fit:cover;
  border-radius:var(--radius-md);scroll-snap-align:start;
  box-shadow:0 10px 28px rgba(255,107,53,0.12);
  border:2px solid var(--color-border);
}

/* ============================================================
   App Landing Page (post.php — app type)
   ============================================================ */

/* Hero */
.app-hero {
  position:relative;
  background:linear-gradient(135deg,var(--ss-orange),var(--ss-gold));
  background-size:cover;background-position:center;
  padding:80px 0 100px;
  overflow:hidden;
}
.app-hero-overlay {
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(255,107,53,0.90),rgba(255,183,77,0.78),rgba(255,215,0,0.88));
}
.app-hero::after {
  content:"";position:absolute;left:-10%;right:-10%;bottom:-20px;
  height:55px;
  background:repeating-linear-gradient(-8deg,
    #fff 0 50px,rgba(255,255,255,0.4) 50px 90px,
    var(--ss-sky) 90px 130px,transparent 130px 260px);
  opacity:0.25;transform:skewY(-2deg);
}
.app-hero-inner {
  position:relative;z-index:2;
  display:flex;align-items:flex-start;gap:36px;flex-wrap:wrap;
}
.app-hero-icon {
  width:140px;height:140px;border-radius:28px;object-fit:cover;
  box-shadow:0 20px 50px rgba(0,0,0,0.20);flex-shrink:0;
  border:4px solid rgba(255,255,255,0.6);
}
.app-hero-text { flex:1 1 320px;padding-top:6px; }
.app-hero-text h1 { font-size:clamp(28px,5vw,52px);margin-bottom:6px;color:#fff; }
.app-developer { color:rgba(255,255,255,0.85);font-size:15px;margin-bottom:14px; }

.app-rating-hero { display:flex;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap; }
.stars { font-size:22px;letter-spacing:2px; }
.star.full  { color:#fff; }
.star.half  { color:rgba(255,255,255,0.65); }
.star.empty { color:rgba(255,255,255,0.3); }
.star-number { font-size:15px;font-weight:700;color:rgba(255,255,255,0.9);letter-spacing:0; }

.downloads-badge {
  background:rgba(255,255,255,0.25);color:#fff;
  padding:4px 14px;border-radius:999px;
  font-size:12px;font-weight:700;backdrop-filter:blur(4px);
}

/* Download buttons */
.app-download-buttons { display:flex;flex-wrap:wrap;gap:12px; }
.app-dl-btn {
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 20px;border-radius:var(--radius-md);
  font-family:var(--font-display);font-weight:700;color:#fff;
  transition:transform 0.15s,opacity 0.15s;text-decoration:none;
}
.app-dl-btn:hover { transform:translateY(-2px);opacity:0.92; }
.app-dl-btn svg,.app-dl-btn .icon { width:22px;height:22px;flex-shrink:0;fill:currentColor; }
.app-dl-btn span { display:flex;flex-direction:column;line-height:1.2; }
.app-dl-btn small { font-size:10px;font-weight:400;opacity:0.8;text-transform:uppercase;letter-spacing:0.8px; }
.app-dl-btn.android { background:#2E7D32; }
.app-dl-btn.ios     { background:#1c1c2e; }
.app-dl-btn.windows { background:#0078D4; }
.app-dl-btn.apk     { background:var(--ss-orange); }

/* App info bar */
.app-info-bar {
  background:#fff;
  border-bottom:2px solid var(--color-border);
  position:sticky;top:70px;z-index:40;
  box-shadow:0 2px 12px rgba(255,107,53,0.07);
}
.app-info-bar-inner {
  display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;
  gap:0;padding:0 4px;
}
.info-cell {
  display:flex;flex-direction:column;align-items:center;
  padding:14px 26px;
  border-right:1px solid var(--color-border);
  flex-shrink:0;min-width:110px;text-align:center;
}
.info-cell:last-child { border-right:none; }
.info-icon  { font-size:20px;margin-bottom:4px; }
.info-label { font-size:10px;color:var(--color-text-light);text-transform:uppercase;letter-spacing:1px;font-weight:700;margin-bottom:2px; }
.info-value { font-size:13px;font-weight:700;color:var(--color-text); }

/* Screenshots */
.app-screenshots-section { padding:60px 0;background:var(--color-bg-alt); }
.app-screenshots-section .screenshot-gallery img { height:440px;width:auto;min-width:190px;max-width:250px; }

/* Content */
.app-description { max-width:800px;margin:0 auto;font-size:17px;color:var(--color-text-mid); }
.app-description p { margin-bottom:16px; }
.app-description h2,.app-description h3 { color:var(--color-text);margin:28px 0 12px; }
.app-description img { border-radius:var(--radius-md);margin:18px 0; }
.app-description ul,.app-description ol { margin:0 0 16px 22px; }

/* Bottom CTA strip — LIGHT */
.app-cta-strip {
  background:linear-gradient(135deg,#FFF3E0,#FFE0B2);
  border-top:2px solid var(--color-border);
  padding:72px 0;text-align:center;
}
.app-cta-strip .container { position:relative;z-index:1; }
.app-cta-strip h2 { color:var(--color-text);font-size:clamp(22px,4vw,36px);margin-bottom:10px; }
.app-cta-strip p  { color:var(--color-text-mid);margin-bottom:28px;font-size:16px; }
.app-cta-strip .app-download-buttons { justify-content:center; }

/* ============================================================
   Blog listing
   ============================================================ */
.blog-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:24px;
}

.blog-card {
  background:#fff;
  border:1.5px solid var(--color-border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform 0.15s,box-shadow 0.15s;
}
.blog-card:hover { transform:translateY(-5px);box-shadow:0 16px 40px rgba(255,107,53,0.12); }

.blog-card .thumb { aspect-ratio:16/9;object-fit:cover;background:var(--color-bg-alt); }

.blog-card .body { padding:20px;display:flex;flex-direction:column;gap:10px;flex-grow:1; }

.blog-category {
  display:inline-block;font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:1px;
  color:var(--ss-orange);
}

.blog-card h3 { font-size:18px; }
.blog-card h3 a { color:var(--color-text); }
.blog-card h3 a:hover { color:var(--ss-orange); }

.blog-card .excerpt { color:var(--color-text-light);font-size:14px;flex-grow:1; }
.blog-card .date    { font-size:12px;color:var(--color-text-light); }

/* App card thumbnail */
.blog-card-app-thumb {
  position:relative;aspect-ratio:16/9;
  background:linear-gradient(135deg,#FF6B35,#FFD700);
  overflow:hidden;display:flex;align-items:center;justify-content:center;
}
.app-card-bg {
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;opacity:0.25;
}
.app-card-icon {
  position:relative;z-index:1;width:76px;height:76px;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(0,0,0,0.25);object-fit:cover;
}

.card-rating .star.full  { color:var(--ss-orange); }
.card-rating .star.half  { color:var(--ss-orange);opacity:0.6; }
.card-rating .star.empty { color:#ddd; }
.card-rating .star-number{ font-size:13px;color:var(--color-text-light); }
.card-rating { font-size:16px; }

.card-platform-tags { display:flex;flex-wrap:wrap;gap:5px; }
.platform-tag {
  display:inline-block;background:rgba(255,107,53,0.08);
  color:var(--ss-orange);border:1px solid rgba(255,107,53,0.20);
  border-radius:999px;font-size:11px;font-weight:700;
  padding:3px 10px;text-transform:uppercase;letter-spacing:0.5px;
}

/* Pagination */
.pagination { display:flex;justify-content:center;gap:8px;margin-top:48px; }
.pagination a,.pagination span {
  display:inline-flex;align-items:center;justify-content:center;
  min-width:40px;height:40px;padding:0 10px;
  border-radius:var(--radius-sm);border:1.5px solid var(--color-border);
  color:var(--color-text);font-weight:600;font-size:14px;
  background:#fff;
}
.pagination a:hover { border-color:var(--ss-orange);color:var(--ss-orange); }
.pagination .current { background:var(--ss-orange);color:#fff;border-color:var(--ss-orange); }

/* ============================================================
   Blog Single / Post Content
   ============================================================ */
.post-header { max-width:760px;margin:0 auto 32px;text-align:center; }
.post-header h1 { font-size:clamp(26px,5vw,42px);margin-bottom:14px; }
.post-meta { color:var(--color-text-light);font-size:14px; }

.post-featured-image {
  max-width:900px;margin:0 auto 40px;
  border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/9;
  box-shadow:0 10px 32px rgba(255,107,53,0.12);
}
.post-featured-image img { width:100%;height:100%;object-fit:cover; }

.post-content { max-width:720px;margin:0 auto;font-size:17px;color:var(--color-text-mid); }
.post-content p { margin-bottom:18px; }
.post-content h2,.post-content h3 { margin:32px 0 12px;color:var(--color-text); }
.post-content img { border-radius:var(--radius-md);margin:20px 0; }
.post-content ul,.post-content ol { margin:0 0 18px 22px; }
.post-content a { color:var(--ss-orange);text-decoration:underline; }

.post-back { max-width:720px;margin:48px auto 0; }

/* ============================================================
   Site Footer — warm dark, NOT pitch black
   ============================================================ */
.site-footer {
  background: #2D1B00;
  color:rgba(255,255,255,0.75);
  padding:56px 0 28px;
}

.footer-grid {
  display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;
  padding-bottom:32px;
  border-bottom:1px solid rgba(255,107,53,0.25);
}

.footer-brand .site-logo { color:#fff;margin-bottom:12px; }
.footer-brand p { max-width:320px;font-size:14px;line-height:1.7; }

.footer-links ul { list-style:none;display:flex;flex-direction:column;gap:10px; }
.footer-links a { color:rgba(255,255,255,0.65);font-size:14px; }
.footer-links a:hover { color:var(--ss-gold); }
.footer-links h4 { color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:1px;margin-bottom:14px; }

.social-links { display:flex;gap:10px;margin-top:16px; }
.social-links a {
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,107,53,0.15);color:rgba(255,255,255,0.8);
  font-size:13px;font-weight:800;
}
.social-links a:hover { background:var(--ss-orange);color:#fff; }
.social-links svg { width:16px;height:16px; }

.footer-bottom {
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:12px;
  padding-top:22px;font-size:13px;color:rgba(255,255,255,0.45);
}

/* ============================================================
   404 / Empty states
   ============================================================ */
.empty-page { text-align:center;padding:100px 24px; }
.empty-page h1 {
  font-size:80px;
  background:linear-gradient(135deg,var(--ss-orange),var(--ss-gold));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.empty-page p { color:var(--color-text-mid);margin:16px 0 28px;font-size:18px; }

/* ============================================================
   AdSense slots
   ============================================================ */
.ad-slot {
  display:block;
  background:rgba(255,107,53,0.04);
  border:1px dashed var(--color-border);
  border-radius:var(--radius-sm);
  text-align:center;
  padding:8px;
  margin:24px 0;
  min-height:90px;
}
.ad-slot-banner  { width:100%;min-height:90px; }
.ad-slot-square  { max-width:336px;min-height:280px;margin:24px auto; }
.ad-slot-leaderboard { min-height:90px; }
