html, body {
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #1a202c 0%, #314e3c 100%);
    color: #f3f3f3;
}

.header {
    background: rgba(34, 49, 63, 0.95);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    padding: 0.5rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 2rem;
    color: #63e2a0;
    gap: 0.5rem;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: #f3f3f3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: #63e2a0;
}

.mobile-menu-btn {
    display: none; /* Responsive à ajouter si besoin */
}

.hero {
    padding: 4rem 0 2rem 0;
    text-align: center;
    background: linear-gradient(135deg, #314e3c 30%, #2c3e50 100%);
    border-bottom: 2px solid #63e2a0;
}

.hero-title {
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 3rem;
    color: #63e2a0;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f3f3f3;
}

.cta-button {
    background: #63e2a0;
    color: #1a202c;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-family: 'Orbitron', Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(34, 49, 63, 0.20);
    margin: 0.4rem;
}

.cta-button:hover {
    background: #4ec789;
    box-shadow: 0 3px 12px rgba(34, 49, 63, 0.3);
}

.section-title {
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 2rem;
    color: #63e2a0;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: rgba(44, 62, 80, 0.92);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(34, 49, 63, 0.13);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 4px 16px rgba(34, 49, 63, 0.22);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.status, .demo, .rules, .contact {
    padding: 3rem 0 2rem 0;
}

.server-box {
    background: rgba(44, 62, 80, 0.95);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: #63e2a0;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Style pour le statut serveur */
.server-status-entry {
    background: rgba(44,62,80,0.8);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    font-size: 1.08rem;
}
.server-type {
    font-family: 'Orbitron', Arial, sans-serif;
    color: #63e2a0;
    font-weight: 600;
}
.server-ip {
    color: #fff;
}
.server-online {
    color: #4ec789;
    font-weight: 700;
}
.server-offline {
    color: #e26c6c;
    font-weight: 700;
}

.rules-list {
    background: rgba(44, 62, 80, 0.87);
    border-radius: 8px;
    padding: 1rem 2rem;
    list-style: none;
    color: #f3f3f3;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.rules-list li {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.6rem;
}

.footer {
    background: #23303e;
    color: #ccc;
    padding: 2rem 0 0.6rem 0;
    margin-top: 3rem;
    font-size: 0.96rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 1.2rem;
    color: #63e2a0;
    gap: 0.5rem;
}

.footer-links a {
    color: #63e2a0;
    text-decoration: none;
    margin-right: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', Arial, sans-serif;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    text-align: center;
    margin-top: 1.2rem;
    color: #888;
    font-size: 0.95rem;
}

/* Bloc IP personnalisé */
.ip-box {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(44, 62, 80, 0.85);
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    margin: 1rem auto;
    box-shadow: 0 2px 8px rgba(34,49,63,0.10);
    font-size: 1.25rem;
    font-family: 'Orbitron', Arial, sans-serif;
}

.ip-label {
    color: #63e2a0;
    font-weight: 600;
    margin-right: 0.3rem;
}

.ip-value {
    font-family: 'Orbitron', Arial, sans-serif;
    color: #fff;
    background: #63e2a0;
    padding: 0.18em 0.5em;
    border-radius: 4px;
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.ip-copy-btn {
    border: none;
    background: #23303e;
    color: #63e2a0;
    font-family: 'Orbitron', Arial, sans-serif;
    padding: 0.25em 0.9em;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ip-copy-btn:hover {
    background: #63e2a0;
    color: #23303e;
}

.ip-confirm {
    color: #63e2a0;
    font-size: 1rem;
    margin-left: 0.4rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Responsive */
@media (max-width: 700px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    .ip-box {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
}