/*
Theme Name: LuckyWins
Description: Theme custom pour LuckyWins Online - Paris sportifs, hippiques et casino
Version: 1.0
Author: LuckyWins
Text Domain: luckywins
*/

:root {
    --lw-dark: #0d1117;
    --lw-darker: #080b10;
    --lw-card: #161b22;
    --lw-border: #21262d;
    --lw-gold: #f0b429;
    --lw-gold-hover: #d4a017;
    --lw-red: #e63946;
    --lw-green: #2ecc71;
    --lw-text: #e6edf3;
    --lw-text-dim: #8b949e;
    --lw-accent: #f0b429;
    --lw-radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--lw-dark);
    color: var(--lw-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--lw-gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--lw-gold-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
    background: var(--lw-darker);
    border-bottom: 1px solid var(--lw-border);
    padding: 0 0;
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-logo { font-size: 28px; }
.site-title {
    font-size: 22px; font-weight: 800; color: var(--lw-text); letter-spacing: -0.5px;
}
.site-title span { color: var(--lw-gold); }

.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
    color: var(--lw-text-dim); padding: 8px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 500; transition: all .2s;
}
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--lw-text); background: var(--lw-card); }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--lw-text); transition: .3s; }

/* HERO */
.hero {
    background: linear-gradient(135deg, #0d1117 0%, #1a1a2e 50%, #16213e 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--lw-border);
}
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--lw-gold); }
.hero-subtitle { font-size: 18px; color: var(--lw-text-dim); max-width: 600px; margin: 0 auto 32px; }
.hero-badge {
    display: inline-block; background: var(--lw-gold); color: var(--lw-darker);
    padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700;
    margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 32px; }
.hero-stat-number { display: block; font-size: 28px; font-weight: 800; color: var(--lw-gold); }
.hero-stat-label { font-size: 13px; color: var(--lw-text-dim); }

/* NEWSLETTER FORM */
.hero-form {
    display: flex; max-width: 480px; margin: 0 auto; gap: 8px;
}
.hero-form input[type="email"] {
    flex: 1; padding: 14px 18px; border: 2px solid var(--lw-border); border-radius: 10px;
    background: var(--lw-card); color: var(--lw-text); font-size: 15px;
}
.hero-form input::placeholder { color: var(--lw-text-dim); }
.hero-form input:focus { outline: none; border-color: var(--lw-gold); }

/* BUTTONS */
.btn { padding: 14px 28px; border: none; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .2s; }
.btn-gold { background: var(--lw-gold); color: var(--lw-darker); }
.btn-gold:hover { background: var(--lw-gold-hover); transform: translateY(-1px); }
.btn-red { background: var(--lw-red); color: white; }
.btn-red:hover { background: #c1121f; }

/* SECTIONS */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.section-header p { color: var(--lw-text-dim); font-size: 16px; }
.section-icon { font-size: 36px; margin-bottom: 8px; }

/* CATEGORY CARDS */
.cat-grid { display: flex; flex-wrap: nowrap; gap: 24px; justify-content: center; }
.cat-card {
    background: var(--lw-card); border: 1px solid var(--lw-border); border-radius: var(--lw-radius);
    padding: 32px 24px; text-align: center; transition: all .3s; flex: 1; min-width: 0;
}
.cat-card:hover { border-color: var(--lw-gold); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(240,180,41,.1); }
.cat-card-icon { font-size: 48px; margin-bottom: 16px; }
.cat-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cat-card p { color: var(--lw-text-dim); font-size: 14px; margin-bottom: 16px; }
.cat-card .btn { display: inline-block; padding: 10px 20px; font-size: 13px; }

/* POSTS GRID */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
    background: var(--lw-card); border: 1px solid var(--lw-border); border-radius: var(--lw-radius);
    overflow: hidden; transition: all .3s;
}
.post-card:hover { border-color: var(--lw-gold); transform: translateY(-2px); }
.post-card-image { display: block; height: 200px; overflow: hidden; position: relative; background: var(--lw-border); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-image--placeholder { display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--lw-text-dim); }
.post-category {
    position: absolute; top: 12px; left: 12px; background: var(--lw-gold); color: var(--lw-darker);
    padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.post-card-body { padding: 20px; }
.post-card-meta { font-size: 12px; color: var(--lw-text-dim); margin-bottom: 8px; }
.post-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.post-card h3 a { color: var(--lw-text); }
.post-card h3 a:hover { color: var(--lw-gold); }
.post-card-excerpt { font-size: 14px; color: var(--lw-text-dim); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-link { font-size: 13px; font-weight: 600; color: var(--lw-gold); }

/* SINGLE */
.entry-header { padding: 48px 0 24px; text-align: center; }
.entry-title { font-size: 36px; font-weight: 800; max-width: 800px; margin: 0 auto; }
.entry-meta { font-size: 14px; color: var(--lw-text-dim); margin-top: 12px; }
.entry-content {
    max-width: 800px; margin: 0 auto; padding: 32px 0 60px;
    font-size: 17px; line-height: 1.8;
}
.entry-content h2 { font-size: 26px; margin: 32px 0 16px; font-weight: 700; }
.entry-content h3 { font-size: 22px; margin: 24px 0 12px; font-weight: 700; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 24px; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--lw-border); text-align: left; }
.entry-content th { background: var(--lw-card); font-weight: 600; }
.entry-content blockquote { border-left: 4px solid var(--lw-gold); padding: 16px 20px; margin: 16px 0; background: var(--lw-card); border-radius: 0 8px 8px 0; }

/* FOOTER */
.site-footer {
    background: var(--lw-darker); border-top: 1px solid var(--lw-border);
    padding: 40px 0 24px; text-align: center;
}
.footer-nav { margin-bottom: 16px; }
.footer-nav a { color: var(--lw-text-dim); margin: 0 12px; font-size: 14px; }
.footer-nav a:hover { color: var(--lw-gold); }
.footer-copy { font-size: 13px; color: var(--lw-text-dim); }
.footer-disclaimer {
    max-width: 700px; margin: 16px auto 0; font-size: 12px; color: var(--lw-text-dim);
    padding: 16px; background: var(--lw-card); border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--lw-darker); border-bottom: 1px solid var(--lw-border); padding: 16px; }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 12px 16px; }
    .hero h1 { font-size: 32px; }
    .hero-form { flex-direction: column; }
    .hero-stats { gap: 24px; }
    .cat-grid { flex-wrap: wrap; }
    .cat-card { flex: 1 1 calc(50% - 12px); }
    .posts-grid { grid-template-columns: 1fr; }
    .entry-title { font-size: 28px; }
}
