:root {
    /* Palette inspirée du logo (or + bleu) */
    --primary: #f7b500;        /* or */
    --primary-dark: #d49a00;   /* or foncé */
    --secondary: #0c2d6b;      /* bleu profond */
    --success: #10b981;
    --danger: #e02424;         /* rouge plus saturé */
    --warning: #ffb703;        /* or clair */
    --dark: #0f172a;
    --gray: #6b7280;
    --light: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}
.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-white {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 36px;
    margin-bottom: 5px;
}

.stat-item p {
    opacity: 0.8;
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

.floating-card h4 {
    font-size: 24px;
    margin-bottom: 5px;
}

.floating-card p {
    color: var(--gray);
}

.card-2 {
    top: 100px;
    right: 50px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 50px;
    left: 50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--gray);
}

/* Games Section */
.games {
    background: var(--light);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.game-card.featured {
    border: 2px solid var(--primary);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.game-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.game-icon i {
    font-size: 36px;
    color: white;
}

.game-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.game-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.game-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray);
}

.game-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
}

/* How It Works */
.how-it-works {
    background: var(--light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.step-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.step-link:hover {
    text-decoration: underline;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--gray);
}

/* FAQ */
.faq {
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question h3 {
    font-size: 18px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
    margin-top: 10px;
    opacity: 0.8;
    font-size: 14px;
}

/* Système de Notifications en Temps Réel */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

.notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    border-left: 4px solid var(--primary);
}

.notification-show {
    opacity: 1;
    transform: translateX(0);
}

.notification-hide {
    opacity: 0;
    transform: translateX(400px);
}

.notification-success {
    border-left-color: var(--success);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.notification-win {
    border-left-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.notification-jackpot {
    border-left-color: var(--danger);
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
    animation: pulse-jackpot 2s infinite;
}

@keyframes pulse-jackpot {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(224, 36, 36, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(224, 36, 36, 0.5);
    }
}

.notification-info {
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.notification-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-message {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.4;
}

.notification-message strong {
    color: var(--dark);
    font-weight: 600;
}

.notification-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark);
}

/* Responsive Design - Mobile First Approach */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .games-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Navigation mobile */
    .nav-wrapper {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo span {
        font-size: 20px;
    }
    
    /* Hero Section Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .stat-item p {
        font-size: 14px;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Sections */
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* Games Grid */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        padding: 25px;
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* CTA Section */
    .cta h2 {
        font-size: 28px;
    }
    
    .cta p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    /* Notifications Mobile */
    .notification-container {
        right: 10px;
        left: 10px;
        top: 70px;
        max-width: calc(100% - 20px);
    }
    
    .notification {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .notification-icon {
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .notification-content {
        flex: 1;
        min-width: 0;
    }
    
    .notification-name {
        font-size: 13px;
    }
    
    .notification-text {
        font-size: 12px;
    }
    
    .notification-amount {
        font-size: 14px;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo span {
        font-size: 18px;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .btn-outline,
    .btn-primary {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 26px;
    }
    
    .gradient-text {
        display: block;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .stat-item p {
        font-size: 13px;
    }
    
    /* Sections */
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    /* Game Cards */
    .game-card {
        padding: 20px;
    }
    
    .game-card h3 {
        font-size: 22px;
    }
    
    .game-card .badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Benefits */
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-card i {
        font-size: 32px;
    }
    
    .benefit-card h3 {
        font-size: 18px;
    }
    
    /* CTA */
    .cta {
        padding: 40px 0;
    }
    
    .cta h2 {
        font-size: 24px;
    }
    
    .cta p {
        font-size: 15px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer h3,
    .footer h4 {
        font-size: 18px;
    }
    
    .footer p,
    .footer ul li {
        font-size: 13px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    /* Notifications Extra Small */
    .notification {
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .notification-icon {
        font-size: 20px;
        width: 30px;
        height: 30px;
    }
    
    .notification-name {
        font-size: 12px;
    }
    
    .notification-text {
        font-size: 11px;
    }
    
    .notification-amount {
        font-size: 13px;
    }
    
    .notification-close {
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Ultra Wide Screens (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta,
    .notification-container,
    .mobile-toggle {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .container {
        max-width: 100%;
    }
}

