/* ============================================
   JEUX DIRECT - STYLE.CSS
   Theme: Dark + Émeraude
   Fonts: Cormorant Garamond + Nunito
   ============================================ */

:root {
    --primary: #2ecc71;
    --primary-light: #58d68d;
    --primary-dark: #1fa855;
    --primary-glow: rgba(46, 204, 113, 0.25);
    --bg-dark: #0a0e12;
    --bg-card: #111820;
    --bg-card-hover: #162028;
    --bg-section: #0d1218;
    --text-main: #dce5e0;
    --text-muted: #8a9e92;
    --text-heading: #f0f7f3;
    --border: #1e2e28;
    --border-light: #2a3e34;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --star: #f1c40f;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.45);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.55);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* TOP BAR */
.top-bar {
    background: linear-gradient(90deg, #145a30, var(--primary-dark), #145a30);
    padding: 8px 0;
    font-size: 13px;
    color: #fff;
    text-align: center;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-text { font-weight: 500; }

/* HEADER */
.site-header {
    background: rgba(17, 24, 32, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.logo-link { display: flex; align-items: center; }
.site-logo { height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    color: var(--text-main);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary-light); background: rgba(46, 204, 113, 0.08); }

.nav-dropdown { position: relative; }
.dropdown-arrow { font-size: 12px; margin-left: 4px; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 240px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-main);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}
.dropdown-item:hover { background: rgba(46, 204, 113, 0.08); color: var(--primary-light); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span { display: block; width: 26px; height: 2px; background: var(--text-main); transition: var(--transition); border-radius: 2px; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav { display: none; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 16px 24px; }
.mobile-nav.open { display: block; }
.mobile-nav-link { display: block; color: var(--text-main); padding: 12px 16px; border-radius: 8px; font-size: 15px; transition: var(--transition); }
.mobile-nav-link:hover { background: rgba(46, 204, 113, 0.08); color: var(--primary-light); }

/* HERO */
.hero {
    background: linear-gradient(160deg, var(--bg-dark) 0%, #0d1a14 35%, #0f1c16 65%, var(--bg-dark) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(ellipse at 35% 45%, var(--primary-glow) 0%, transparent 55%),
                radial-gradient(ellipse at 65% 55%, rgba(46, 204, 113, 0.08) 0%, transparent 55%);
    animation: heroGlow 10s ease-in-out infinite alternate;
}
@keyframes heroGlow { 0% { opacity: 0.6; } 100% { opacity: 1; transform: scale(1.05); } }
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.hero h1 span { color: var(--primary-light); }
.hero .hero-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 32px; line-height: 1.7; }
.hero-badges { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-main);
}
.hero-badge strong { color: var(--primary-light); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--primary-glow); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary-light); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* SECTIONS */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-section); }
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 48px; font-size: 1.05rem; }

/* CASINO CARDS */
.casino-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.casino-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}
.casino-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.casino-card:hover::before { opacity: 1; }
.casino-card-badge {
    position: absolute; top: 14px; right: 14px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700;
}
.casino-card-logo { height: 70px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 20px; }
.casino-card h3 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--text-heading); margin-bottom: 8px; }
.casino-card-stars { font-size: 18px; margin-bottom: 8px; }
.star.full, .star.half { color: var(--star); }
.star.empty { color: var(--border); }
.casino-card-rating { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.casino-card-bonus {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.25);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
}
.casino-card-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.casino-card-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* REVIEW PAGE */
.review-hero {
    background: linear-gradient(160deg, var(--bg-dark) 0%, #0d1a14 50%, var(--bg-dark) 100%);
    padding: 60px 0;
    text-align: center;
}
.review-hero-logo { height: 80px; width: auto; margin-bottom: 20px; }
.review-hero h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--text-heading); margin-bottom: 12px; letter-spacing: -0.01em; }
.review-hero-stars { font-size: 24px; margin-bottom: 8px; }
.review-hero-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.review-hero-bonus {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: #fff; padding: 14px 36px; border-radius: 50px;
    font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.review-content { max-width: 860px; margin: 0 auto; padding: 48px 24px; }
.review-content h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--text-heading);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.review-content h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--primary-light); margin: 24px 0 12px; }
.review-content p { margin-bottom: 16px; line-height: 1.8; }

/* INFO BOX */
.info-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin: 24px 0; }
.info-box-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.info-box-item { display: flex; flex-direction: column; gap: 4px; }
.info-box-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }
.info-box-value { font-weight: 700; color: var(--text-heading); font-size: 15px; }

/* PROS/CONS */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros-box, .cons-box { background: var(--bg-card); border-radius: var(--radius); padding: 24px; }
.pros-box { border-left: 4px solid var(--success); }
.cons-box { border-left: 4px solid var(--danger); }
.pros-box h4 { color: var(--success); margin-bottom: 12px; font-family: var(--font-heading); font-size: 1.1rem; }
.cons-box h4 { color: var(--danger); margin-bottom: 12px; font-family: var(--font-heading); font-size: 1.1rem; }
.pros-box li, .cons-box li { list-style: none; padding: 6px 0 6px 24px; position: relative; font-size: 14px; }
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons-box li::before { content: '✗'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* CTA BOX */
.cta-box {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.08), rgba(46, 204, 113, 0.03));
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    margin: 36px 0;
}
.cta-box h3 { font-family: var(--font-heading); color: var(--text-heading); font-size: 1.5rem; margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 20px; }

/* BONUS PAGE */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.bonus-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.bonus-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.bonus-card-header { background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(46, 204, 113, 0.03)); padding: 24px; text-align: center; border-bottom: 1px solid var(--border); }
.bonus-card-header img { height: 50px; margin-bottom: 12px; }
.bonus-amount { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--primary-light); line-height: 1.1; }
.bonus-type { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.bonus-card-body { padding: 24px; }
.bonus-card-body ul { list-style: none; margin-bottom: 20px; }
.bonus-card-body li { padding: 8px 0 8px 24px; position: relative; font-size: 14px; border-bottom: 1px solid var(--border); }
.bonus-card-body li:last-child { border-bottom: none; }
.bonus-card-body li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-heading); transition: var(--transition); }
.faq-question:hover { color: var(--primary-light); }
.faq-arrow { transition: var(--transition); font-size: 14px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 500px; }

/* ABOUT */
.about-content { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.about-content h2 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--text-heading); margin: 32px 0 16px; }
.about-content p { margin-bottom: 16px; line-height: 1.8; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 32px 0; }
.about-value { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.about-value-icon { font-size: 2rem; margin-bottom: 12px; }
.about-value h4 { font-family: var(--font-heading); color: var(--text-heading); margin-bottom: 8px; }
.about-value p { font-size: 14px; color: var(--text-muted); }

/* COMPARISON TABLE */
.comparison-table { width: 100%; border-collapse: collapse; margin: 32px 0; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.comparison-table th { background: rgba(46, 204, 113, 0.08); padding: 16px; font-family: var(--font-heading); font-weight: 600; color: var(--primary-light); text-align: left; font-size: 14px; border-bottom: 2px solid var(--border); }
.comparison-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-card-hover); }
.comparison-table .casino-logo-sm { height: 35px; width: auto; vertical-align: middle; margin-right: 10px; }

/* FOOTER */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 60px 0 0; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 40px; margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.footer-title { font-family: var(--font-heading); color: var(--text-heading); font-size: 1.05rem; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bonus-cards { display: flex; flex-direction: column; gap: 8px; }
.footer-bonus-link { display: block; padding: 8px 14px; background: rgba(46, 204, 113, 0.06); border: 1px solid rgba(46, 204, 113, 0.12); border-radius: 8px; font-size: 13px; color: var(--primary-light); transition: var(--transition); }
.footer-bonus-link:hover { background: rgba(46, 204, 113, 0.12); }
.footer-partner { padding: 20px 0; border-top: 1px solid var(--border); margin-bottom: 20px; }
.partner-link { color: var(--primary-light); font-weight: 600; }
.partner-desc { color: var(--text-muted); font-size: 14px; }
.footer-disclaimer { background: rgba(241, 196, 15, 0.04); border: 1px solid rgba(241, 196, 15, 0.12); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; font-size: 13px; color: var(--text-muted); }
.footer-18 { margin-top: 6px; }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 50px 0 40px; }
    .top-bar-inner { justify-content: center; text-align: center; }
    .top-bar-text:last-child { display: none; }
    .pros-cons { grid-template-columns: 1fr; }
    .footer-grid, .casino-grid, .bonus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-badges { flex-direction: column; align-items: center; }
}
