/* francetopchoice2026.com — Design unique */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-navy: #0f172a;
    --bg-slate: #1e293b;
    --bg-card: #334155;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --accent-amber: #f59e0b;
    --accent-mint: #2dd4bf;
    --accent-rose: #f43f5e;
    --border-slate: #475569;
    --shadow-dark: 0 4px 24px rgba(0, 0, 0, 0.4);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    color: var(--text-white);
    background: var(--bg-navy);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-slate);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo span {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.nav {
    display: flex;
    gap: 1.75rem;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: var(--accent-mint);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main layout — hero + sidebar */
.main-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .main-wrap {
        grid-template-columns: 1fr;
    }
}

/* Hero card */
.hero-card {
    background: linear-gradient(
        145deg,
        var(--bg-slate) 0%,
        var(--bg-card) 100%
    );
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    border: 1px solid var(--border-slate);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-sm);
}

.hero-tag.update {
    background: var(--accent-amber);
    color: var(--bg-navy);
}

.hero-tag.age {
    background: var(--accent-rose);
    color: white;
}

.hero-tag.info {
    background: var(--accent-mint);
    color: var(--bg-navy);
}

.hero-card h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition:
        transform 0.2s,
        opacity 0.2s;
}

.hero-btn.primary {
    background: var(--accent-mint);
    color: var(--bg-navy);
}

.hero-btn.secondary {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-slate);
}

.hero-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.hero-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-warning a {
    color: var(--accent-amber);
    text-decoration: underline;
}

/* Sidebar checklist */
.sidebar-card {
    background: var(--bg-slate);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-slate);
    position: sticky;
    top: 90px;
}

.sidebar-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-mint);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.65rem;
    padding-left: 1.25rem;
    position: relative;
}

.sidebar-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-mint);
}

.sidebar-card .contact {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-slate);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-banner {
    margin-top: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sidebar-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Offers section */
.offers-section {
    padding: 2.5rem 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.offers-section h2 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.offers-section .intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    background: var(--bg-slate);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-slate);
    display: flex;
    flex-direction: column;
    position: relative;
    transition:
        border-color 0.2s,
        transform 0.2s;
}

.offer-card:hover {
    border-color: var(--accent-mint);
    transform: translateY(-2px);
}

.offer-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-amber);
}

.offer-logo-wrap {
    width: 100%;
    height: 70px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.offer-logo-wrap img {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
}

.offer-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-white);
}

.offer-card .offer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.offer-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.offer-rating .stars {
    color: var(--accent-amber);
    font-size: 0.9rem;
}

.offer-rating .score {
    font-weight: 600;
    color: var(--text-white);
}

.offer-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.offer-tags span {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: var(--bg-card);
    border-radius: 4px;
    color: var(--text-muted);
}

.offer-bonus,
.offer-verify {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.offer-bonus strong,
.offer-verify strong {
    color: var(--text-white);
}

.offer-btns {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.offer-btn-outline {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border-slate);
    color: var(--text-white);
    transition:
        border-color 0.2s,
        background 0.2s;
}

.offer-btn-outline:hover {
    border-color: var(--accent-mint);
    background: rgba(45, 212, 191, 0.1);
}

.offer-btn-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--bg-navy);
    border: none;
    transition:
        transform 0.2s,
        opacity 0.2s;
}

.offer-btn-cta:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

/* Important notice */
.important-notice {
    max-width: 1180px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.important-notice strong {
    color: var(--accent-amber);
}

/* Guide section */
.guide-section {
    padding: 2.5rem 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.guide-section h2 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.guide-section .intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.guide-card {
    background: var(--bg-slate);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-slate);
}

.guide-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-mint);
}

.guide-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.guide-resource {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.guide-resource a {
    color: var(--accent-mint);
    text-decoration: underline;
}

/* FAQ */
.faq-section {
    padding: 2.5rem 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.faq-section .intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: var(--bg-slate);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-slate);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.faq-trigger::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent-mint);
}

.faq-item.open .faq-trigger::after {
    content: '−';
}

.faq-content {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item:not(.open) .faq-content {
    display: none;
}

/* Footer */
.footer {
    background: var(--bg-slate);
    border-top: 1px solid var(--border-slate);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.footer-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--accent-amber);
    color: var(--bg-navy);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-logo span {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    font-weight: 700;
}

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

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--accent-mint);
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Popup 18+ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popup-overlay.hidden {
    display: none;
}

.popup-box {
    background: var(--bg-slate);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 420px;
    text-align: center;
    border: 1px solid var(--border-slate);
}

.popup-box img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.popup-box h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.popup-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.popup-btns {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s;
}

.popup-btn.no {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-slate);
}

.popup-btn.yes {
    background: var(--accent-mint);
    color: var(--bg-navy);
}

.popup-btn:hover {
    transform: scale(1.02);
}

/* Page content */
.page-content {
    padding: 3rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-content .page-logo,
.guide-section .page-logo {
    max-width: 100px;
    margin-bottom: 1.5rem;
}

.page-content .page-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.page-content h1 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.page-content h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    color: var(--accent-mint);
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.page-content a {
    color: var(--accent-mint);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--accent-amber);
}

/* Games page */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.game-card {
    background: var(--bg-slate);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-slate);
}

.game-card .block-img {
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card .block-img img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

.game-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.game-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Block images — contain */
.block-img img {
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-navy);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-slate);
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }
}
