/* ════════════════════════════════════════════════════════════════════════════
   Odra Poker Timer — Site officiel
   Palette inspirée de l'application
   ════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg:        #020609;
    --bg-card:   rgba(5, 16, 10, 0.96);
    --bg-soft:   rgba(255, 255, 255, 0.03);
    --green:     #43a047;
    --green-l:   #66bb6a;
    --green-d:   #1b5e20;
    --gold:      #ffca28;
    --gold-l:    #ffe082;
    --red:       #b71c1c;
    --text:      #e8f5e9;
    --text-dim:  #b0bec5;
    --muted:     #757575;
    --border:    rgba(120, 144, 156, 0.25);

    --r:         12px;
    --r-lg:      16px;

    --max:       1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
                 Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fond ambiant comme l'app */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 0% 0%,    rgba(27, 94, 32, 0.45)   0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%,  rgba(183, 28, 28, 0.30)  0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(27, 94, 32, 0.25)   0%, transparent 55%);
}

main, header, footer { position: relative; z-index: 1; }

a { color: var(--green-l); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── Header ──────────────────────────────────────────────────────────────── */
header {
    padding: 1.4rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--max);
    margin: 0 auto;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--green-l), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand img { width: 44px; height: 44px; }
nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav a {
    color: var(--text-dim);
    font-size: 0.92rem;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    max-width: var(--max);
    margin: 1rem auto 3rem;
    padding: 0 1.2rem;
    text-align: center;
}
.hero-banner {
    margin: 0 auto 2rem;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    max-width: 920px;
}
.hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--green-l), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p.tagline {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* ── Boutons CTA ─────────────────────────────────────────────────────────── */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    background: linear-gradient(135deg, var(--green-d), var(--green));
    color: #fff !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    text-decoration: none !important;
}
.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(67, 160, 71, 0.5);
}
.btn-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.3rem;
    background: var(--bg-soft);
    color: var(--text-dim) !important;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: border-color 0.15s, color 0.15s;
}
.btn-soft:hover { border-color: var(--green-l); color: var(--green-l) !important; }

/* ── Sections ────────────────────────────────────────────────────────────── */
section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 3rem 1.2rem;
}
section h2 {
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 1.5rem;
    color: var(--gold);
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
section h2 .icon { font-size: 1.4em; }

/* ── Cartes feature en grille ────────────────────────────────────────────── */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.3rem 1.2rem;
    transition: border-color 0.2s, transform 0.15s;
}
.feature-card:hover {
    border-color: rgba(67, 160, 71, 0.5);
    transform: translateY(-2px);
}
.feature-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    color: var(--green-l);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.feature-card p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.92rem;
}

/* ── Bloc avec screenshots côte-à-côte ───────────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split.reverse > :first-child { order: 2; }
}
.split img {
    margin: 0 auto;
    max-width: 320px;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7));
}
.split .text h3 {
    color: var(--green-l);
    margin: 0 0 0.7rem;
    font-size: 1.3rem;
}
.split .text ul {
    padding-left: 1.2rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Liste à puces stylée ────────────────────────────────────────────────── */
.checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    columns: 2;
    column-gap: 2rem;
}
.checklist li {
    padding: 0.4rem 0 0.4rem 1.6rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-dim);
    break-inside: avoid;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-l);
    font-weight: 700;
}
@media (max-width: 600px) {
    .checklist { columns: 1; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding: 2rem 1.2rem 3rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}
footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.6rem;
    margin-bottom: 1rem;
}
footer .footer-links a { color: var(--text-dim); }

/* ── Pages de contenu (privacy / suppression) ────────────────────────────── */
.content-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 1rem 1.2rem 3rem;
}
.content-page h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--gold);
    margin: 1rem 0 0.5rem;
    letter-spacing: 0.02em;
}
.content-page .meta {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 2rem;
}
.content-page h2 {
    color: var(--green-l);
    font-size: 1.15rem;
    margin: 2.4rem 0 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}
.content-page p,
.content-page ul {
    color: var(--text-dim);
    font-size: 0.96rem;
    line-height: 1.7;
}
.content-page ul { padding-left: 1.4rem; }
.content-page li { margin-bottom: 0.4rem; }
.content-page strong { color: var(--text); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    header { padding: 1rem; }
    nav ul { gap: 0.9rem; }
    nav a { font-size: 0.82rem; }
    .brand { font-size: 0.92rem; }
    .brand img { width: 36px; height: 36px; }
    section { padding: 2rem 1rem; }
}
