/* ================================================
   PIRATIA-ONLINE.COM — Main Stylesheet
   ================================================ */

:root {
  --bg:          #060e1e;
  --bg-dark:     #030810;
  --bg-card:     #0d1f3c;
  --bg-ocean:    #071530;
  --teal:        #1a9fc0;
  --teal-dark:   #1487a3;
  --teal-glow:   rgba(26, 159, 192, 0.25);
  --gold:        #f0a500;
  --gold-dark:   #c98800;
  --gold-glow:   rgba(240, 165, 0, 0.35);
  --text:        #e8f0fe;
  --muted:       #8ea5c8;
  --border:      rgba(26, 159, 192, 0.18);
  --font:        'Montserrat', system-ui, -apple-system, sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --ease:        0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; }
strong { color: var(--text); }

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


/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, #f5b020, #e08800);
  color: #0a0500;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #ffbe30, #f0a500);
  box-shadow: 0 6px 32px rgba(240,165,0,0.55);
}

.btn--teal {
  background: linear-gradient(135deg, #1fb3d6, #1487a3);
  color: #fff;
  box-shadow: 0 4px 20px var(--teal-glow);
}
.btn--teal:hover {
  background: linear-gradient(135deg, #25c8ef, #1a9fc0);
  box-shadow: 0 6px 32px rgba(26,159,192,0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(232,240,254,0.25);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn--lg { padding: 17px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn--xl { padding: 22px 54px; font-size: 18px; border-radius: var(--radius-lg); }


/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 76px;
  transition: background var(--ease), border-color var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6,14,30,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { display: flex; align-items: center; height: 76px; gap: 28px; }
.header__logo {
  font-size: 17px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.3px;
  flex-shrink: 0;
  transition: opacity var(--ease);
}
.header__logo:hover { opacity: 0.85; }

.header__nav { display: flex; gap: 20px; margin-left: auto; }
.header__nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--ease);
}
.header__nav a:hover,
.header__nav a.active { color: var(--text); }
.header__nav a.active::after,
.header__nav a:hover::after { width: 100%; }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: rgba(4,10,22,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav__cta {
  margin-top: 16px;
  background: linear-gradient(135deg, #f5b020, #e08800) !important;
  color: #0a0500 !important;
  padding: 15px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 700;
  border: none !important;
}


/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__seagulls {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  animation: drift 35s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate(-12px,-6px) scale(1.02); }
  to   { transform: translate(12px, 6px) scale(1); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 20%, rgba(0,140,220,0.18) 0%, transparent 65%),
    linear-gradient(to bottom,
      rgba(0,15,50,0.30) 0%,
      rgba(6,14,30,0.68) 50%,
      rgba(6,14,30,0.98) 100%
    );
}

.hero__content {
  position: relative; z-index: 1;
  max-width: 720px;
  padding-top: 110px;
  padding-bottom: 80px;
}
.hero__badge {
  display: inline-block;
  background: rgba(26,159,192,0.20);
  border: 1px solid rgba(26,159,192,0.7);
  color: #5dd8f5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8), 0 0 80px rgba(0,100,200,0.3);
  margin-bottom: 20px;
  line-height: 1.05;
}
.hero__title .accent {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(240,165,0,0.5), 0 2px 20px rgba(0,0,0,0.8);
}
.hero__subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(232,240,254,0.85);
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

/* Main CTA — pulsing glow */
.hero__cta-main {
  position: relative;
  overflow: hidden;
  animation: cta-pulse 2.5s ease-in-out infinite;
}
.hero__cta-main::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: cta-shine 2.5s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 20px var(--gold-glow); }
  50%       { box-shadow: 0 8px 40px rgba(240,165,0,0.7), 0 0 60px rgba(240,165,0,0.25); }
}
@keyframes cta-shine {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

/* Trust row */
.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(232,240,254,0.65);
}
.hero__trust-icon { font-size: 16px; }

/* Store buttons */
.hero__stores { display: flex; gap: 14px; flex-wrap: wrap; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 10px 20px;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
  cursor: pointer;
}
.store-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.store-btn__icon { width: 24px; height: 24px; flex-shrink: 0; color: #fff; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn__text span { font-size: 10px; color: rgba(232,240,254,0.6); font-weight: 500; }
.store-btn__text strong { font-size: 15px; color: #fff; font-weight: 700; }

/* Scroll hint */
.hero__scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero__scroll-hint span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
}
.hero__scroll-hint span::after {
  content: '';
  display: block; width: 4px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  margin: 5px auto 0;
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0%   { transform: translateY(0);    opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}


/* ================================================
   SECTIONS — shared
   ================================================ */
.section { padding: 100px 0; }
.section--dark   { background: var(--bg); }
.section--deeper { background: var(--bg-dark); }
.section--card   { background: var(--bg-card); }
.section--ocean  { background: var(--bg-ocean); position: relative; overflow: hidden; }
.section--ocean__bg {
  position: absolute; inset: 0;
  background: url('img/water-bg.webp') center/cover no-repeat;
  opacity: 0.07; pointer-events: none;
}
.section--darker { background: #020609; }

/* Video */
.video-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26,159,192,0.3);
  box-shadow: 0 0 80px rgba(26,159,192,0.12), 0 30px 80px rgba(0,0,0,0.6);
  background: #000;
}
.video-wrap video {
  width: 100%;
  display: block;
  max-height: 600px;
  object-fit: contain;
}

.section--cta {
  background: linear-gradient(145deg, #07152e 0%, #0c2248 100%);
  text-align: center; padding: 130px 0;
}
.section--cta h2 { font-size: clamp(28px,4.5vw,52px); font-weight: 900; margin-bottom: 16px; letter-spacing: -0.5px; }
.section--cta p  { color: var(--muted); font-size: 18px; margin-bottom: 44px; }

.section__title { font-size: clamp(26px,4vw,44px); font-weight: 900; text-align: center; margin-bottom: 16px; letter-spacing: -0.5px; }
.section__lead  { text-align: center; color: var(--muted); font-size: 17px; max-width: 700px; margin: 0 auto 64px; line-height: 1.65; }
.section__cta   { text-align: center; margin-top: 64px; }


/* ================================================
   FEATURES GRID
   ================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 12px 40px var(--teal-glow);
}
.feature-card__icon { font-size: 38px; margin-bottom: 18px; }
.feature-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p  { color: var(--muted); font-size: 14px; line-height: 1.65; }


/* ================================================
   SERVER STATUS WIDGET
   ================================================ */
.server-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #0a1f3c, #071530);
  border: 1px solid rgba(26,159,192,0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(26,159,192,0.08);
}
.server-status__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 24px;
  border-right: 1px solid rgba(26,159,192,0.15);
  text-align: center;
}
.server-status__stat:last-child { border-right: none; }
.server-status__stat--main {
  background: rgba(26,159,192,0.06);
}
.server-status__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.server-status__online {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: #2ecc71;
}
.server-status__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  animation: pulse-dot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 10px #2ecc71; transform: scale(1); }
  50%       { box-shadow: 0 0 22px #2ecc71, 0 0 40px rgba(46,204,113,0.3); transform: scale(1.2); }
}
.server-status__count {
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(240,165,0,0.4);
}
.server-status__region {
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
}
.server-status__uptime-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}


/* ================================================
   GAMEPLAY GRID
   ================================================ */
.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 20px;
}
.gameplay-card {
  background: rgba(6,14,30,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--ease), border-color var(--ease);
}
.gameplay-card:hover { transform: translateY(-4px); border-color: rgba(26,159,192,0.45); }
.gameplay-card__icon { font-size: 32px; margin-bottom: 14px; }
.gameplay-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.gameplay-card p  { color: var(--muted); font-size: 14px; }


/* ================================================
   CLASSES GRID
   ================================================ */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.class-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.class-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  border-color: var(--gold);
}
.class-card__img-wrap {
  height: 300px;
  overflow: hidden;
  background: linear-gradient(180deg, #101f3a 0%, #06101e 100%);
}
.class-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s ease;
}
.class-card:hover .class-card__img-wrap img { transform: scale(1.06); }
.class-card__body { padding: 22px; }
.class-card__name { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.class-card__desc { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 16px; }
.class-card__build {
  font-size: 12px;
  color: var(--muted);
  background: rgba(26,159,192,0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  margin-top: 14px;
  line-height: 1.5;
}
.class-card__build strong { color: var(--teal); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Stat bars */
.class-card__stats { display: flex; flex-direction: column; gap: 9px; }
.stat { display: flex; align-items: center; gap: 10px; }
.stat__label { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; width: 68px; flex-shrink: 0; }
.stat__bar { flex: 1; height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }
.stat__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
  transition: width 1.1s cubic-bezier(0.22,1,0.36,1);
}
.stat__fill.animated { width: var(--w); }
.stat__val { font-size: 11px; font-weight: 700; color: var(--muted); width: 26px; text-align: right; }


/* ================================================
   CLASS COMPARISON TABLE
   ================================================ */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
}
.compare-table thead { background: rgba(26,159,192,0.1); }
.compare-table th {
  padding: 14px 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--teal);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table th:first-child { text-align: left; padding-left: 20px; }
.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
}
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(26,159,192,0.05); }
.compare-table td { padding: 14px 16px; text-align: center; vertical-align: middle; }
.compare-table__class {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left !important;
  padding-left: 20px !important;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.compare-table__class img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

/* Rating dots */
.dots { display: flex; gap: 4px; justify-content: center; align-items: center; }
.dots::before,
.dots::after { content: none; }
/* rendered via JS */
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.2;
}
.dot.active { opacity: 1; }
.dots--gold .dot.active { background: var(--gold); }


/* ================================================
   SCREENSHOTS GRID
   ================================================ */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.screenshot-slot {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--ease), border-color var(--ease);
}
.screenshot-slot:hover { transform: scale(1.02); border-color: var(--teal); }
.screenshot-slot img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-slot--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1f3c, #071530);
  border-style: dashed;
  cursor: default;
}
.screenshot-slot--placeholder span { color: var(--muted); font-size: 13px; font-weight: 600; }
.screenshots-hint {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(142,165,200,0.5);
}
.screenshots-hint code {
  background: rgba(26,159,192,0.1);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: monospace;
  font-size: 12px;
  color: var(--teal);
}


/* ================================================
   PLATFORMS GRID
   ================================================ */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 28px;
  position: relative; z-index: 1;
}
.platform-card {
  background: rgba(7,21,48,0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.platform-card:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: 0 12px 40px var(--teal-glow); }
.platform-card__icon { font-size: 52px; margin-bottom: 18px; }
.platform-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.platform-card p  { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 28px; }


/* ================================================
   STEPS
   ================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 36px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(26px + 24px);
  right: calc(26px + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0.2;
  pointer-events: none;
}
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0e6880);
  color: #fff;
  font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 22px var(--teal-glow);
  position: relative; z-index: 1;
}
.step__body h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; margin-top: 12px; }
.step__body p  { color: var(--muted); font-size: 14px; }


/* ================================================
   PATCH NOTES / NEWS
   ================================================ */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 24px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--ease), transform var(--ease);
}
.news-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.news-card__header { display: flex; align-items: center; gap: 12px; }
.news-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 100px;
}
.news-tag--update { background: rgba(26,159,192,0.15); color: var(--teal); border: 1px solid rgba(26,159,192,0.4); }
.news-tag--promo  { background: rgba(240,165,0,0.15);  color: var(--gold); border: 1px solid rgba(240,165,0,0.4); }
.news-card__date { font-size: 12px; color: var(--muted); margin-left: auto; }
.news-card__title { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.3; }
.news-card__body { flex: 1; }
.news-card__body ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.news-card__body li { font-size: 14px; color: var(--muted); line-height: 1.5; }
.news-card__link {
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  transition: color var(--ease), gap var(--ease);
  gap: 4px;
}
.news-card__link:hover { color: var(--gold); gap: 8px; }


/* ================================================
   FAQ
   ================================================ */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item[open] { border-color: var(--teal); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  font-size: 15.5px; font-weight: 600; color: #fff;
  cursor: pointer; list-style: none; user-select: none; gap: 16px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: 24px; font-weight: 300; color: var(--teal);
  flex-shrink: 0; transition: transform var(--ease); line-height: 1;
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  padding: 0 24px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 15px; line-height: 1.72;
}


/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 36px 0; text-align: center;
}
.footer__copy { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.footer__note { color: rgba(142,165,200,0.4); font-size: 12px; }


/* ================================================
   FADE-IN (Intersection Observer)
   ================================================ */
.js-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-fade.visible { opacity: 1; transform: none; }
.js-fade.d1 { transition-delay: 0.10s; }
.js-fade.d2 { transition-delay: 0.20s; }
.js-fade.d3 { transition-delay: 0.30s; }
.js-fade.d4 { transition-delay: 0.40s; }
.js-fade.d5 { transition-delay: 0.50s; }


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .classes-grid { grid-template-columns: repeat(2,1fr); }
  .screenshots-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .header__nav, .header__cta { display: none; }
  .burger { display: flex; }

  .hero__content { padding-top: 130px; padding-bottom: 70px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__stores { justify-content: flex-start; }

  .server-status { grid-template-columns: repeat(2, 1fr); }
  .server-status__stat { border-right: none; border-bottom: 1px solid rgba(26,159,192,0.15); }
  .server-status__stat:nth-child(even) { border-bottom: none; }
  .server-status__stat:nth-child(odd):not(:last-child) { border-right: 1px solid rgba(26,159,192,0.15); }

  .classes-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .compare-wrap { border-radius: var(--radius); }
  .screenshots-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .news-list { grid-template-columns: 1fr; }
  .section--cta { padding: 88px 0; }
}

@media (max-width: 540px) {
  .features-grid, .gameplay-grid, .platforms-grid { grid-template-columns: 1fr; }
  .hero__title { letter-spacing: -0.5px; }
}
