/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    background-color: #0a0a1a;
}

/* Conteneur principal */
#content-container {
    min-height: 100vh;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 1;
}

/* Sections */
.content-section {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 10;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style spécifique pour la section principale */
#main {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

/* Style pour les autres sections */
#features,
#download,
#patch-notes {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(20, 20, 40, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Style du bouton Retour */
.back-btn {
    background: rgba(79, 172, 254, 0.2);
    color: #fff;
    border: 1px solid rgba(79, 172, 254, 0.4);
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(79, 172, 254, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

/* Bouton Retour */
.back-btn {
    margin-top: 2rem;
    background: rgba(79, 172, 254, 0.2);
    border: 1px solid rgba(79, 172, 254, 0.4);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(79, 172, 254, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.hero {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border: none;
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    top: -5px; /* Déplace le logo vers le haut */
}

.logo-img {
    height: 50px; /* Taille augmentée */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.7)); /* Effet de lueur cyberpunk */
}

.logo-text {
    background: linear-gradient(90deg, #1a1a2e 0%, #0f0f1e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(79, 172, 254, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(79, 172, 254, 0.4);
}

.nav-links a:hover {
    background: rgba(79, 172, 254, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.discord-btn {
    display: inline-block;
    background: #7289DA;
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.discord-btn:hover {
    background: #5b6eae;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.4);
}

/* Hero Section */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    text-align: center;
}

.hero {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 
                 0 0 40px rgba(0, 0, 0, 0.6),
                 0 0 60px rgba(0, 0, 0, 0.4);
    margin-top: 0;
    background: linear-gradient(90deg, #87CEEB 0%, #DA70D6 50%, #FFB347 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 10;
}

h1 span {
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.9),
                 0 0 25px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    position: relative;
    z-index: 10;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn {
    background: white;
    color: #0a0a1a;
}

.download-btn:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.install-btn {
    background: #1a1a2e;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.install-btn:hover {
    background: #2a2a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.compatibility {
    font-size: 0.9rem;
    color: #66667f;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 5%;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Section des notes de mise à jour */
.patch-notes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.patch-notes.active {
    opacity: 1;
    visibility: visible;
}

.patch-notes-container {
    background: #0f0f1e;
    border: 1px solid #2a2a4a;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.patch-notes h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    font-size: 2rem;
    cursor: pointer;
    color: #66667f;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}

.patch-content {
    color: #b3b3cc;
    line-height: 1.6;
}

.patch-content h3 {
    color: #4facfe;
    margin: 1.5rem 0 0.5rem;
}

.patch-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.patch-content li {
    margin-bottom: 0.5rem;
}

/* Sections de contenu */
.content-section {
    padding: 5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.content-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background: rgba(15, 15, 30, 0.8);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card i {
    font-size: 2.5rem;
    color: #4facfe;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #b3b3cc;
    line-height: 1.6;
}

/* Section Téléchargement */
.download-options {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-options .btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Section Mobile */
.mobile-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.app-store, .google-play {
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
    min-width: 180px;
}

.app-store {
    background: #000 !important;
    color: #fff !important;
}

.google-play {
    background: #4285f4 !important;
    color: #fff !important;
}

/* Section Patch Notes */
.patch-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 15, 30, 0.8);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.version {
    margin-bottom: 2.5rem;
}

.version:last-child {
    margin-bottom: 0;
}

.version h3 {
    color: #4facfe;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.version-date {
    font-size: 0.9rem;
    color: #66667f;
    font-weight: normal;
}

.version ul {
    list-style-type: none;
    padding-left: 1.5rem;
}

.version li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #b3b3cc;
}

.version li:before {
    content: '•';
    color: #4facfe;
    position: absolute;
    left: 0;
}

/* Écran de chargement */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.mega-logo {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.second-logo {
    background: linear-gradient(90deg, #87CEEB 0%, #DA70D6 50%, #FFB347 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(135, 206, 235, 0.8);
}

@keyframes pulse {
    0% { 
        transform: scale(1);
        text-shadow: 0 0 10px rgba(79, 172, 254, 0.8);
    }
    50% { 
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(79, 172, 254, 1);
    }
    100% { 
        transform: scale(1);
        text-shadow: 0 0 10px rgba(79, 172, 254, 0.8);
    }
}

/* Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero {
    animation: float 6s ease-in-out infinite;
}
