/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

/* Header et Navigation */
.header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.nav-brand .logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
    padding: 140px 20px 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #4a90e2;
    font-weight: 500;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-highlight {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4a90e2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s both;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74,144,226,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a2e;
    transform: translateY(-3px);
}

.btn-download {
    background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108,92,231,0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.6);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(74,144,226,0.5), transparent);
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4a90e2;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4a90e2 0%, #6c5ce7 100%);
    border-radius: 2px;
}

/* Téléchargement */
.download-section {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: white;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.download-option {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(74,144,226,0.3);
}

.download-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ios-steps-mini {
    margin: 1.5rem 0;
    text-align: left;
}

.step-mini {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
    font-size: 0.9rem;
    color: #ffffff;
}

.step-mini span {
    background: #4a90e2;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.download-option h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #4a90e2;
}

.download-option p {
    margin-bottom: 1rem;
    color: #ffffff;
}

.file-info {
    font-size: 0.9rem;
    color: #4a90e2 !important;
    margin-bottom: 2rem !important;
    font-weight: 500;
    background: rgba(74,144,226,0.1);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(74,144,226,0.3);
}

/* Comment jouer */
.how-to-play {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    color: white;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rule-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(74,144,226,0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.rule-card:hover {
    transform: translateY(-10px);
    border-color: #4a90e2;
    box-shadow: 0 20px 40px rgba(74,144,226,0.2);
}

.rule-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.rule-card h3 {
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.rule-card p {
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
}

/* Paiements */
.payments {
    background: white;
}

.payments-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin: -1rem auto 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.payment-method {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.payment-logo {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.orange-logo {
    color: #FF6600;
}

.mtn-logo {
    color: #FFCC00;
}

.moov-logo {
    color: #0066CC;
}

.wave-logo {
    color: #00BFFF;
}

.payment-method h3 {
    color: #01875F;
}

/* Parrainage */
.referral {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
}

.referral-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.referral-hero {
    margin-bottom: 3rem;
}

.referral-hero h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.referral-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.referral-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 200px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.benefit-item.special {
    border-color: #FFD700;
    background: rgba(255,215,0,0.15);
}

.benefit-icon {
    font-size: 2rem;
    min-width: 50px;
}

.benefit-content {
    text-align: left;
}

.benefit-amount {
    font-size: 1.4rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 0.2rem;
}

.benefit-text {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.3;
}

.referral-cta {
    margin-top: 2rem;
}

.referral-cta p {
    font-size: 1.1rem;
    opacity: 0.8;
    font-style: italic;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    padding: 3rem 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(74,144,226,0.1);
    min-width: 250px;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #4a90e2;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-link {
    color: #1a1a2e;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-link:hover {
    color: #4a90e2;
    border-bottom-color: #4a90e2;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal iOS Installation */
.ios-install-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ios-install-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    text-align: center;
    border: 2px solid #4a90e2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.ios-install-content h3 {
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.ios-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    text-align: left;
}

.step-number {
    background: #4a90e2;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu.mobile.active {
        display: flex !important;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu a:hover {
        background: rgba(255,255,255,0.1);
        transform: none;
    }
    
    .hero {
        padding: 120px 20px 40px;
    }
    
    .logo-container {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-logo {
        width: 70px;
        height: 70px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-highlight {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 250px;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .rule-card {
        padding: 2rem 1.5rem;
    }
    
    .referral-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .benefit-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}
