/* ═══════════════════════════════════════════════════════════════
   NAKIOS THEME — nakios.css
   Single stylesheet for all pages. No theme CSS interference
   because we dequeue all WP/block styles in functions.php
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

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

/* ── VARIABLES ── */
:root {
  --primary:   #0f172a;
  --accent:    #e50914;
  --accent2:   #ff6b35;
  --gold:      #f5a623;
  --bg:        #0a0d14;
  --bg2:       #111827;
  --bg3:       #1a2035;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --border:    #1e293b;
  --green:     #10b981;
  --radius:    10px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  /* Override any residual theme body styles */
  background-color: var(--bg) !important;
  color: var(--text) !important;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── HEADER ── */
#site-header {
  background: rgba(10,13,20,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent); }

nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all .2s;
  text-decoration: none;
}
nav a:hover, nav a.active {
  color: #fff;
  background: var(--bg3);
  text-decoration: none;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a0a2e 50%, #0f172a 100%);
  padding: 60px 20px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(229,9,20,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 .date-highlight { color: var(--accent); white-space: nowrap; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 580px; margin: 0 auto 28px; }

.cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff !important;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(229,9,20,0.4);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #c40812; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(229,9,20,0.5); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text) !important;
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all .2s;
}
.btn-secondary:hover { border-color: var(--accent); color: #fff !important; }

/* ADRESSE BOX */
.adresse-box {
  background: linear-gradient(135deg, rgba(229,9,20,0.1), rgba(245,166,35,0.08));
  border: 1px solid rgba(229,9,20,0.35);
  border-radius: var(--radius);
  padding: 18px 24px;
  max-width: 620px;
  margin: 28px auto 0;
  text-align: left;
}
.adresse-box .label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); margin-bottom: 8px; }
.adresse-box .url-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adresse-box .url-link { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: #fff !important; text-decoration: none; }
.adresse-box .hint { font-size: 0.82rem; color: var(--muted); margin-top: 8px; margin-bottom: 0; }
.badge-live { background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── LAYOUT ── */
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

section { padding: 50px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #0f172a, #1a0a2e 50%, #0f172a);
  padding: 50px 20px;
  text-align: center;
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-head); }

h2 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 700; color: #fff; margin-bottom: 16px; }
h3 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 24px 0 8px; }

p { color: var(--muted); margin-bottom: 14px; }
p strong, p b { color: var(--text); }

.section-eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 10px; }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 28px 0; }
.stat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.stat-card .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.stat-card .lbl { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.feature-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; transition: border-color .2s; }
.feature-card:hover { border-color: rgba(229,9,20,0.4); }
.feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 0.97rem; font-weight: 600; margin: 0 0 8px; color: #fff; }
.feature-card p { font-size: 0.87rem; color: var(--muted); margin: 0; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead tr { background: var(--bg3); }
th { text-align: left; padding: 12px 16px; font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); border-bottom: 1px solid var(--border); }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

.status-active { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-weight: 600; font-size: 0.85rem; }
.status-blocked { display: inline-flex; align-items: center; gap: 5px; color: #ef4444; font-size: 0.85rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.dot-red { background: #ef4444; }

.ancien-badge { font-size: 0.74rem; font-weight: 600; background: rgba(239,68,68,0.15); color: #ef4444; padding: 2px 8px; border-radius: 4px; }

/* APK TABLE */
.apk-table-wrap { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 20px 0; }
.apk-table-wrap table { font-size: 0.93rem; }
.apk-table-wrap th { background: var(--bg3); }
.apk-table-wrap td:first-child { font-weight: 600; color: var(--text); }

/* ── STEPS ── */
.steps { counter-reset: steps; }
.step { display: flex; gap: 16px; margin-bottom: 18px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 32px; height: 32px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; }
.step-body h3 { margin: 0 0 4px; font-size: 0.97rem; color: var(--text); }
.step-body p { font-size: 0.88rem; margin: 0; }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.review-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 10px; }
.review-text { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
.reviewer { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.reviewer span { color: var(--muted); font-weight: 400; }

/* ── FAQ ── */
.faq-list { margin-top: 20px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question { width: 100%; background: var(--bg2); border: none; padding: 16px 20px; text-align: left; cursor: pointer; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .2s; }
.faq-question:hover { background: var(--bg3); }
.faq-question .icon { font-size: 1.1rem; color: var(--accent); transition: transform .3s; flex-shrink: 0; }
.faq-answer { display: none; padding: 0 20px 16px; background: var(--bg2); font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .icon { transform: rotate(45deg); }

/* ── GENRES ── */
.genres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.genre-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: all .2s; }
.genre-card:hover { border-color: rgba(229,9,20,0.5); background: var(--bg3); }
.genre-icon { font-size: 1.5rem; margin-bottom: 8px; }
.genre-card h3 { font-size: 0.95rem; color: #fff; margin: 0 0 6px; }
.genre-card p { font-size: 0.83rem; margin: 0; }

/* ── DISCLAIMER ── */
.disclaimer { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-top: 40px; }
.disclaimer h3 { font-size: 0.9rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.8px; }
.disclaimer p { font-size: 0.83rem; color: #64748b; margin: 0; }

/* ── VALUES (À propos) ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.value-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.value-icon { font-size: 1.5rem; margin-bottom: 10px; }
.value-card h3 { font-size: 0.95rem; margin: 0 0 8px; color: #fff; }
.value-card p { font-size: 0.86rem; margin: 0; }

/* ── CONTACT ── */
.contact-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
input, textarea, select { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; color: var(--text); font-family: var(--font-body); font-size: 0.93rem; outline: none; transition: border-color .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 130px; }
.btn-submit { background: var(--accent); color: #fff; border: none; font-family: var(--font-head); font-weight: 700; font-size: 1rem; padding: 13px 32px; border-radius: 8px; cursor: pointer; transition: all .2s; width: 100%; }
.btn-submit:hover { background: #c40812; transform: translateY(-1px); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.info-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; }
.info-icon { font-size: 1.4rem; margin-bottom: 8px; }
.info-card h3 { font-size: 0.9rem; color: #fff; font-family: var(--font-head); margin-bottom: 4px; }
.info-card p { font-size: 0.82rem; margin: 0; }

/* ── PRIVACY / LEGAL ── */
.update-badge { display: inline-block; background: rgba(229,9,20,.1); border: 1px solid rgba(229,9,20,.3); color: var(--accent); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 24px; }
.info-block { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 16px 0; }
.info-block p { margin: 4px 0; font-size: .9rem; }
ul { color: var(--muted); padding-left: 24px; margin-bottom: 14px; }
li { margin-bottom: 6px; }

/* ── FOOTER ── */
#site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 36px 20px; text-align: center; }
.footer-nav { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-nav a { color: var(--muted); font-size: 0.85rem; padding: 4px 12px; border-radius: 4px; transition: color .2s; }
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 0.82rem; color: #475569; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 40px 16px 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-group { flex-direction: column; align-items: center; }
  nav { gap: 4px; }
  nav a { font-size: 0.8rem; padding: 5px 10px; }
  .container { padding: 0 16px; }
}
