/* ============================================================
   SummerSagaMods — Global Stylesheet
   download.summersagamods.com
   ============================================================ */

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

:root {
  /* Brand */
  --accent:        #f97316;
  --accent-glow:   rgba(249, 115, 22, 0.28);
  --accent-soft:   rgba(249, 115, 22, 0.12);
  --accent-2:      #fb923c;

  /* Surface */
  --bg:            #0b0c0f;
  --bg-2:          #111318;
  --bg-3:          #181a22;
  --bg-card:       #13151c;
  --bg-card-hover: #181c26;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(249, 115, 22, 0.35);

  /* Text */
  --text:          #e8eaf0;
  --text-muted:    #8b909e;
  --text-faint:    #4a4f5e;

  /* Radius */
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;

  /* Transition */
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --speed:         220ms;

  /* Layout */
  --max-w:         1160px;
  --header-h:      68px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── UTILITIES ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 52px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.4);
}
.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.btn-lg {
  padding: 15px 36px;
  font-size: 1.05rem;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 12, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 300ms;
}

.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: var(--max-w);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo-text em {
  font-style: normal;
  color: var(--accent);
}

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

.nav-link {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--speed), background var(--speed);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--bg-3);
}
.nav-link.active { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  margin-left: 8px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  transition: background var(--speed), transform var(--speed), box-shadow var(--speed);
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-3);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 300ms, opacity 300ms;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
}
.glow-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: 10%; }
.glow-2 { width: 400px; height: 400px; background: #6366f1; top: 100px; right: 5%; opacity: 0.12; }
.glow-3 { width: 300px; height: 300px; background: var(--accent-2); bottom: 0; left: 40%; opacity: 0.14; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(60px, 10vh, 120px) clamp(16px, 5vw, 48px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-3);
  border: 1px solid var(--border-hover);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeInDown 0.5s var(--ease) both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 7px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  animation: fadeInDown 0.5s var(--ease) 0.1s both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 36px;
  animation: fadeInDown 0.5s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
  animation: fadeInDown 0.5s var(--ease) 0.3s both;
}

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInDown 0.5s var(--ease) 0.4s both;
}

.hero-platforms > span {
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
}

.hero-platforms a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: border-color var(--speed), color var(--speed), transform var(--speed);
}
.hero-platforms a:hover {
  border-color: var(--border-hover);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-cue span {
  display: block;
  width: 22px;
  height: 36px;
  border-radius: 12px;
  border: 2px solid var(--border);
  position: relative;
}
.hero-scroll-cue span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0; transform: translateX(-50%) translateY(14px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PLATFORMS ──────────────────────────────────────────────── */
.platforms {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.platform-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--speed) var(--ease),
              transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease);
}
.platform-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.android-icon { background: rgba(61, 220, 132, 0.12); color: #3ddc84; }
.ios-icon     { background: rgba(120, 120, 128, 0.15); color: #c0c0c5; }
.pc-icon      { background: rgba(99, 102, 241, 0.14); color: #818cf8; }

.card-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 3px 9px;
  border-radius: 100px;
}

.card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-top: -4px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-specs {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
.card-specs span { color: var(--text-faint); }
.card-specs strong { color: var(--text); font-weight: 500; }

/* ── FEATURES ────────────────────────────────────────────────── */
.features {
  padding-block: clamp(64px, 10vw, 110px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.feature-item {
  background: var(--bg-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--speed);
}
.feature-item:hover { background: var(--bg-card-hover); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-item h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── VERSION STRIP ────────────────────────────────────────────── */
.version-strip {
  padding-block: clamp(56px, 9vw, 96px);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.version-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.version-text { flex: 1; min-width: 280px; }
.version-text h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.version-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 24px;
}

.version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.version-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.version-badge-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: center;
  min-width: 100px;
  transition: border-color var(--speed);
}
.version-badge-item:hover { border-color: var(--border-hover); }
.version-badge-item strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.version-badge-item span {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq {
  padding-block: clamp(64px, 10vw, 110px);
}

.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--speed);
}
.faq-item:hover { border-color: rgba(249, 115, 22, 0.2); }
.faq-item.open { border-color: var(--border-hover); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
}
.faq-question span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-chevron {
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform 300ms var(--ease), color 300ms;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 22px 20px;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-answer a:hover { color: var(--accent-2); }

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  padding-block: clamp(72px, 12vw, 130px);
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.cta-inner {
  position: relative;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}

.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  position: relative;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner { padding-block: 60px 32px; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 280px;
}
.footer-brand .logo { margin-bottom: 0; }

.footer-nav strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 14px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--speed);
}
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-faint);
  opacity: 0.7;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(11, 12, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms var(--ease), transform 280ms var(--ease);
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .nav-link, .nav-cta {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    text-align: left;
    margin-left: 0;
    border-radius: var(--radius-sm);
  }
  .nav-cta { margin-top: 4px; }

  /* Hero */
  .hero-scroll-cue { display: none; }

  /* Platform grid — single column on small */
  .platform-grid { grid-template-columns: 1fr; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Version */
  .version-badges { flex-direction: row; width: 100%; }
  .version-badge-item { flex: 1; }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .version-inner { flex-direction: column; }
  .version-badges { flex-direction: row; }
  .version-actions { flex-direction: column; }
  .version-actions .btn { width: 100%; justify-content: center; }
}

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


/* ============================================================
   SummerSagaMods — New Sections Addon CSS
   Paste this AFTER your existing style.css closes
   All variables inherit from :root in style.css
   ============================================================ */

/* ── QUICK ANSWER SECTION ───────────────────────────────────── */
.quick-answer {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.qa-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}

/* Left column — specs card */
.qa-specs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.qa-specs-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--bg-3);
}

/* App info table */
.app-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.app-info-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--speed);
}

.app-info-table tbody tr:last-child {
  border-bottom: none;
}

.app-info-table tbody tr:hover {
  background: var(--bg-3);
}

.app-info-table th {
  padding: 10px 16px;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  white-space: nowrap;
  width: 42%;
  vertical-align: middle;
}

.app-info-table td {
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.875rem;
  vertical-align: middle;
  line-height: 1.4;
}

.qa-specs-card .btn {
  margin: 16px;
  margin-top: 4px;
}

/* Right column — summary */
.qa-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qa-summary h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.qa-summary p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.qa-summary strong {
  color: var(--text);
  font-weight: 600;
}

.qa-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.qa-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.25);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ── TABLE OF CONTENTS ──────────────────────────────────────── */
.toc-section {
  padding-block: 40px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.toc-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--speed), padding-left var(--speed);
}

.toc-list a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 28px;
  letter-spacing: 0.04em;
}

.toc-list li:last-child a {
  border-bottom: none;
}

.toc-list a:hover {
  color: var(--text);
  padding-left: 6px;
}

/* ── ABOUT GAME SECTION ─────────────────────────────────────── */
.about-game {
  padding-block: clamp(64px, 10vw, 110px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-content p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-content strong {
  color: var(--text);
  font-weight: 600;
}

/* Aside metadata panel */
.about-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  transition: border-color var(--speed);
}

.about-meta:hover {
  border-color: var(--border-hover);
}

.about-meta img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--bg-3);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.meta-list li:last-child {
  border-bottom: none;
}

.meta-list strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 2px;
}

.meta-list li > :not(strong) {
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ── ANDROID DOWNLOAD DETAIL TEXT ───────────────────────────── */
.android-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 760px;
}

.android-detail p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.android-detail a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed);
}

.android-detail a:hover {
  color: var(--accent-2);
}

/* ── INSTALLATION NOTE ──────────────────────────────────────── */
.install-note {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.install-note p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.install-note strong {
  color: var(--text);
  font-weight: 600;
}

.install-note code {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.install-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed);
}

.install-note a:hover {
  color: var(--accent-2);
}

/* ── FEATURE IMAGE (inside .features sections) ──────────────── */
.features img,
.about-game .section-sub + img {
  width: 100%;
  max-height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  background: var(--bg-3);
}

/* ── SECTION IMAGES (general) ───────────────────────────────── */
section img:not(.qa-specs-card img):not(.about-meta img) {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-3);
}

/* ── RESPONSIVE — QUICK ANSWER ──────────────────────────────── */
@media (max-width: 960px) {
  .qa-grid {
    grid-template-columns: 1fr;
  }

  .qa-specs-card {
    position: static;
    max-width: 100%;
  }

  .qa-specs-card img {
    height: 160px;
  }
}

/* ── RESPONSIVE — ABOUT GRID ────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-meta {
    position: static;
  }

  .about-meta img {
    height: 220px;
  }
}

/* ── RESPONSIVE — TOC ───────────────────────────────────────── */
@media (max-width: 640px) {
  .toc-list {
    gap: 0;
  }

  .toc-list a {
    padding: 12px 0;
    font-size: 0.9rem;
  }
}

/* ── RESPONSIVE — INSTALL NOTE ──────────────────────────────── */
@media (max-width: 600px) {
  .install-note {
    padding: 20px;
  }
}

/* ── RESPONSIVE — ANDROID DETAIL ───────────────────────────── */
@media (max-width: 768px) {
  .android-detail {
    margin-top: 32px;
    padding-top: 32px;
  }
}

/* ── PLATFORM CARD — SINGLE WIDE (android section) ─────────── */
#android-download .platform-grid {
  grid-template-columns: 1fr;
  max-width: 560px;
}

#android-download .platform-card .btn + .btn {
  margin-top: -4px;
}

/* ── IOS / PC SECTION — 2-COL ONLY ─────────────────────────── */
#ios-pc .platform-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  #ios-pc .platform-grid {
    grid-template-columns: 1fr;
  }
}

/* ── STEP NUMBER ICON OVERRIDE ──────────────────────────────── */
.feature-icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* ── VERSION STRIP — 4-BADGE LAYOUT TWEAK ──────────────────── */
.version-badges:has(.version-badge-item:nth-child(4)) {
  gap: 12px;
}

.version-badges:has(.version-badge-item:nth-child(4)) .version-badge-item {
  padding: 16px 20px;
  min-width: 90px;
}


/* ============================================================
   ios.css — iOS page specific additions
   Requires style.css + sections-addon.css already loaded
   ============================================================ */

/* ── REQUIREMENTS CHECKLIST ─────────────────────────────────── */
.req-checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--speed), background var(--speed);
}

.req-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.req-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.req-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.req-detail strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.req-detail span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.req-detail a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed);
}

.req-detail a:hover {
  color: var(--accent-2);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .req-item {
    padding: 16px;
    gap: 12px;
  }

  .req-icon {
    width: 36px;
    height: 36px;
  }
}


/* ============================================================
   pc.css — PC page specific additions
   Requires style.css + sections-addon.css already loaded
   ============================================================ */

/* ── SPECS GRID (Windows + Mac two-column block) ────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}

.specs-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specs-os-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ── SAVE FILE PATHS ────────────────────────────────────────── */
.save-paths {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}

.save-path-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
  transition: border-color var(--speed);
}

.save-path-item:hover {
  border-color: var(--border-hover);
}

.save-path-os {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 72px;
  flex-shrink: 0;
}

.save-path-item code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  word-break: break-all;
}

/* ── REQ CHECKLIST (reused from ios.css — define here too) ──── */
.req-checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--speed), background var(--speed);
}

.req-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.req-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}

.req-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.req-detail strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.req-detail span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── INSTALL NOTE — CODE INLINE ─────────────────────────────── */
.install-note code {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  word-break: break-all;
}

.install-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed);
}

.install-note a:hover {
  color: var(--accent-2);
}

/* ── FAQ ANSWER CODE ─────────────────────────────────────────── */
.faq-answer code {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  word-break: break-all;
}

/* ── RESPONSIVE — SPECS GRID ────────────────────────────────── */
@media (max-width: 860px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── RESPONSIVE — SAVE PATHS ────────────────────────────────── */
@media (max-width: 600px) {
  .save-path-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .save-path-item code {
    width: 100%;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .req-item {
    padding: 14px;
    gap: 10px;
  }

  .req-icon {
    width: 32px;
    height: 32px;
  }
}



/* ============================================================
   download.css — Download page only
   Requires style.css already loaded
   ============================================================ */

/* ── PAGE WRAPPER ───────────────────────────────────────────── */
.download-page {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(60px, 10vh, 100px);
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── INNER LAYOUT ───────────────────────────────────────────── */
.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* ── INTRO BLOCK ────────────────────────────────────────────── */
.dl-intro {
  text-align: center;
  max-width: 540px;
}

.dl-intro .hero-badge {
  margin-bottom: 20px;
}

.dl-intro h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.dl-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── DOWNLOAD CARDS GRID ────────────────────────────────────── */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

/* ── INDIVIDUAL CARD ────────────────────────────────────────── */
.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--speed) var(--ease),
              transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease);
}

.dl-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* ── CARD TOP ROW ───────────────────────────────────────────── */
.dl-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-card-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dl-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* ── ACTIONS ────────────────────────────────────────────────── */
.dl-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.dl-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.dl-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
}

.dl-trust svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── BOTTOM NOTE ────────────────────────────────────────────── */
.dl-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  text-align: center;
}

.dl-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed);
}

.dl-note a:hover {
  color: var(--accent);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .dl-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .dl-card {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 480px) {
  .dl-trust {
    gap: 16px;
  }

  .dl-trust span {
    font-size: 0.78rem;
  }
}






/* ============================================================
   android.css — Android page specific additions
   Requires style.css + sections-addon.css already loaded
   ============================================================ */

/* ── UNKNOWN SOURCES NOTE (inside platform card) ───────────── */
.sources-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.sources-note strong {
  color: var(--text);
  font-weight: 600;
}

/* ── SAVE PATH (reused from pc.css — scoped here too) ───────── */
.save-paths {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}

.save-path-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
  transition: border-color var(--speed);
}

.save-path-item:hover {
  border-color: var(--border-hover);
}

.save-path-os {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 72px;
  flex-shrink: 0;
}

.save-path-item code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  word-break: break-all;
}

/* ── REQ CHECKLIST (also in ios.css / pc.css) ───────────────── */
.req-checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.req-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--speed), background var(--speed);
}

.req-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.req-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}

.req-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.req-detail strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.req-detail span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── FAQ / INSTALL NOTE CODE + LINKS ────────────────────────── */
.faq-answer code,
.install-note code,
.about-content code,
.feature-item code {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  word-break: break-all;
}

.install-note a,
.about-content a,
.feature-item p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed);
}

.install-note a:hover,
.about-content a:hover,
.feature-item p a:hover {
  color: var(--accent-2);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .save-path-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .save-path-item code {
    width: 100%;
    font-size: 0.73rem;
  }

  .sources-note {
    font-size: 0.78rem;
  }

  .req-item {
    padding: 14px;
    gap: 10px;
  }

  .req-icon {
    width: 32px;
    height: 32px;
  }
}

/* ── 2-COLUMN FEATURES GRID OVERRIDE ───────────────────────── */
/* Used for 4-step sections (installation, updating)            */
/* Overrides the default 3-col layout from style.css            */
.features-grid.features-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .features-grid.features-grid--2col {
    grid-template-columns: 1fr;
  }
}




/* ============================================================
   contact.css — Contact page only
   Requires style.css already loaded
   ============================================================ */

/* ── PAGE WRAPPER ───────────────────────────────────────────── */
.contact-page {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(60px, 10vh, 100px);
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ── INNER LAYOUT ───────────────────────────────────────────── */
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
}

/* ── INTRO ──────────────────────────────────────────────────── */
.contact-intro {
  text-align: center;
}

.contact-intro .section-label {
  margin-bottom: 14px;
}

.contact-intro h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-inline: auto;
}

/* ── EMAIL CARD ─────────────────────────────────────────────── */
.contact-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color var(--speed);
}

.contact-card:hover {
  border-color: var(--border-hover);
}

.contact-card-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-email {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color var(--speed);
}

.contact-email:hover {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.contact-btn {
  font-size: 1rem;
}

/* ── TOPIC CARDS ────────────────────────────────────────────── */
.contact-topics {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-topic {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--speed), background var(--speed);
}

.contact-topic:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.topic-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}

.topic-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topic-detail strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.topic-detail span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── SELF-HELP NOTE ─────────────────────────────────────────── */
.contact-selfhelp {
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.contact-selfhelp p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-selfhelp a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed);
}

.contact-selfhelp a:hover {
  color: var(--accent-2);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .contact-card {
    padding: 24px 20px;
  }

  .contact-email {
    font-size: 1rem;
  }

  .contact-topics {
    grid-template-columns: 1fr;
  }

  .contact-topic {
    padding: 16px 14px;
  }
}

@media (max-width: 400px) {
  .contact-card-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}





/* ============================================================
   changelog.css — Version history timeline page
   Scoped prefix: .cl-
   ============================================================ */

/* ── Timeline track ── */
.changelog-timeline {
  padding: 5rem 0 4rem;
}

.cl-track {
  position: relative;
  margin-top: 3rem;
  padding-left: 2rem;
}

/* Vertical spine */
.cl-track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    rgba(249, 115, 22, 0.3) 60%,
    transparent
  );
}

/* ── Timeline entry ── */
.cl-entry {
  position: relative;
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.cl-entry:last-child {
  margin-bottom: 0;
}

/* ── Dot ── */
.cl-dot {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 1.35rem;
  margin-left: -2rem;
  transform: translateX(-50%);
  z-index: 2;
}

.cl-minor .cl-dot {
  width: 10px;
  height: 10px;
  background: var(--text-faint);
  margin-top: 1.5rem;
}

/* Pulse ring on major entries */
.cl-dot-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.45;
  animation: cl-pulse 2.4s ease-in-out infinite;
}

@keyframes cl-pulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50%       { transform: scale(1.6); opacity: 0; }
}

/* ── Card ── */
.cl-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cl-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 0 1px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.3);
}

.cl-major .cl-card {
  border-color: rgba(249, 115, 22, 0.18);
}

/* ── Card header ── */
.cl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.1rem 1.4rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.cl-version-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.cl-version {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.cl-date {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* ── Badges ── */
.cl-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cl-badge-current {
  background: var(--accent);
  color: #fff;
}

.cl-badge-major {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.cl-badge-patch {
  background: rgba(129, 140, 248, 0.1);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.2);
}

.cl-badge-legacy {
  background: rgba(139, 144, 158, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(139, 144, 158, 0.18);
}

/* ── Card title ── */
.cl-card-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  padding: 0.85rem 1.4rem 0;
  line-height: 1.35;
}

/* ── Two-column body ── */
.cl-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.75rem 1.4rem 1.1rem;
}

.cl-col {
  padding: 0.5rem 1rem 0.5rem 0;
}

.cl-col:last-child {
  padding-right: 0;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.cl-col-label {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 0.5rem;
}

.cl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cl-list li {
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.cl-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* ── Card footer ── */
.cl-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.4rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.cl-size {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.cl-size a {
  color: var(--accent);
  text-decoration: none;
}

.cl-size a:hover {
  text-decoration: underline;
}

/* install-note inside cl-footer */
.cl-footer .install-note {
  margin: 0;
  font-size: 0.83rem;
}

/* ── Save compatibility list ── */
.cl-compat-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cl-compat-list li {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.55;
}

.cl-compat-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

/* version-badge-item overrides for this page */
.vbi-num {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.vbi-label {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cl-body {
    grid-template-columns: 1fr;
  }

  .cl-col:last-child {
    padding-left: 0;
    padding-top: 0.75rem;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .cl-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .cl-track {
    padding-left: 1.25rem;
  }

  .cl-entry {
    gap: 1.1rem;
  }

  .cl-card-title {
    font-size: 0.95rem;
    padding: 0.7rem 1rem 0;
  }

  .cl-card-header {
    padding: 0.85rem 1rem 0.7rem;
  }

  .cl-body {
    padding: 0.6rem 1rem 0.9rem;
  }

  .cl-footer {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .cl-version-row {
    gap: 0.4rem;
  }

  .cl-version {
    font-size: 1rem;
  }

  .cl-badge {
    font-size: 0.65rem;
  }
}




/* ============================================================
   dmca.css — DMCA legal page
   Scoped prefix: .legal-
   ============================================================ */

/* ── Page hero ── */
.legal-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-hero .section-title {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

/* ── Body wrapper ── */
.legal-body {
  padding: 3.5rem 0 5rem;
}

/* ── Two-column grid: TOC + prose ── */
.legal-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* ── Sidebar TOC ── */
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  counter-reset: legal-toc;
}

.legal-toc-list li {
  counter-increment: legal-toc;
}

.legal-toc-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: "DM Sans", sans-serif;
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.legal-toc-list a::before {
  content: counter(legal-toc, decimal-leading-zero);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--accent);
  flex-shrink: 0;
}

.legal-toc-list a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

/* ── Prose ── */
.legal-prose {
  max-width: 720px;
}

.legal-prose section {
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--border);
}

.legal-prose section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-prose h2 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  margin: 0 0 1rem;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-prose p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.legal-prose p:last-child {
  margin-bottom: 0;
}

.legal-prose a {
  color: var(--accent);
  text-decoration: none;
}

.legal-prose a:hover {
  text-decoration: underline;
}

/* ── Ordered list ── */
.legal-ol {
  padding: 0;
  margin: 0.75rem 0 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-ol li {
  font-family: "DM Sans", sans-serif;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 0.3rem;
}

.legal-ol li::marker {
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
}

/* ── Contact block ── */
.legal-contact-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.25rem 0;
}

.lcb-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  color: var(--text);
}

.lcb-row:last-child {
  border-bottom: none;
}

.lcb-label {
  flex-shrink: 0;
  width: 110px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-faint);
}

.lcb-row a {
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
}

.lcb-row a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-toc {
    position: static;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
  }

  .legal-toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .legal-toc-list a {
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .legal-hero {
    padding: 3rem 0 2rem;
  }

  .legal-body {
    padding: 2.5rem 0 4rem;
  }

  .legal-prose h2 {
    font-size: 1.15rem;
  }

  .lcb-label {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .lcb-row {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.7rem 1rem;
  }

  .lcb-label {
    width: auto;
  }
}









/* ============================================================
   telegram.css 
   
   ============================================================ */


.tg-floating-pill{
position:fixed;
left:50%;
bottom:20px;
transform:translateX(-50%);
display:none;
align-items:center;
gap:10px;
padding:10px 14px;
background:rgba(15,23,42,.88);
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
border:1px solid rgba(255,255,255,.08);
border-radius:999px;
z-index:9999;
box-shadow:0 8px 24px rgba(0,0,0,.25);
animation:tgFade .35s ease;
max-width:calc(100% - 24px);
}

.tg-floating-pill a{
display:flex;
align-items:center;
gap:8px;
color:#fff;
font-size:13px;
font-weight:600;
text-decoration:none;
white-space:nowrap;
}

.tg-floating-pill svg{
flex-shrink:0;
}

.tg-close-btn{
background:none;
border:none;
color:#94a3b8;
font-size:18px;
cursor:pointer;
padding:0 2px;
line-height:1;
}

.tg-close-btn:hover{
color:#fff;
}

@keyframes tgFade{
from{
opacity:0;
transform:translateX(-50%) translateY(10px);
}
to{
opacity:1;
transform:translateX(-50%) translateY(0);
}
}

@media(max-width:480px){
.tg-floating-pill{
bottom:calc(18px + env(safe-area-inset-bottom));
padding:10px 12px;
}

.tg-floating-pill a{
font-size:12px;
}
}
