/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light);
}

.btn.glow-effect {
    background: linear-gradient(to right, #ffc107, #ff9800);
    color: #1a1a2e;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn.glow-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.8);
}


.btn.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn.glass-effect:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-text-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 0 auto;
    transform: translateY(-20px);
}

/* Vidéo background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Assombrit la vidéo */
}

/* Contenu principal du hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-title-image {
    margin-bottom: 20px;
}

.text-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7)); /* Ombre pour mieux détacher le logo */
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

/* ========== JOIN SECTION ========== */
.join-section {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.join-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0) 70%);
    animation: rotate 30s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Server Info Card */
.server-info-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.server-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Server Info Header */
.server-info-header {
    background: linear-gradient(to right, rgba(255, 193, 7, 0.8), rgba(255, 152, 0, 0.8));
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.server-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a2e;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--danger);
}

.status-indicator.status-online {
    background-color: var(--success);
    box-shadow: 0 0 10px #2ecc71;
    animation: pulse 2s infinite;
}

.status-indicator.status-offline {
    background-color: var(--danger);
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.player-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Server Content */
.server-content {
    padding: 40px 30px;
    text-align: center;
}

.server-description {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.server-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--light);
    opacity: 0.7;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: bold;
}

.server-ip {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    text-align: center;
    margin: 30px 0;
    font-size: 1.4rem;
    color: #ffd700;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.server-ip:hover {
    transform: scale(1.02);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
}

.server-ip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s;
}

.server-ip:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

.server-ip.copied {
    animation: copy-success 0.6s ease;
    background: rgba(0, 158, 0, 0.2);
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.5);
}

.server-ip::after {
    content: 'Click to Copy';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(3px);
}

.copy-notification {
    position: fixed;
    background: rgba(46, 204, 113, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, 0);
    animation: notification-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
}

.copy-notification i {
    font-size: 1rem;
}

.copy-notification.fade-out {
    animation: notification-fade 0.3s ease-out forwards;
}

@keyframes copy-success {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.server-ip:hover::after {
    opacity: 1;
}

.join-now {
    margin-top: 30px;
}

.join-now .btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(to right, #ffc107, #ff9800);
    color: #1a1a2e;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.join-now .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.join-now .btn:active {
    transform: translateY(-1px);
}

.join-now p {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

@keyframes copied {
    0% { background: linear-gradient(to right, #4CAF50, #2E7D32); }
    100% { background: linear-gradient(to right, #ffc107, #ff9800); }
}

@keyframes notification-pop {
    0% { 
        opacity: 0;
        transform: translate(-50%, 10px) scale(0.8);
    }
    100% { 
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

@keyframes notification-fade {
    0% { 
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    100% { 
        opacity: 0;
        transform: translate(-50%, -10px) scale(0.8);
    }
}

.copied {
    animation: copied 2s;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 90px 0;
    background-color: var(--darker);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0) 70%);
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(52, 152, 219, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0.4) 100%);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i {
    color: #fff;
}

.feature-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #ffd700;
}

.feature-card:hover .feature-title::after {
    width: 60px;
    background: #ffd700;
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    flex-grow: 1;
}

/* ========== NATIONS SECTION ========== */
/* Featured Nations Section Styles */
.nations-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(26, 37, 48, 0.9), rgba(15, 23, 42, 0.95)), url('../images/world-map-bg.jpg') center/cover no-repeat fixed;
}

.nations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/grid-overlay.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.nations-section .container {
    position: relative;
    z-index: 1;
}

.nations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.nation-card {
    background: rgba(26, 37, 48, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.2);
}

.nation-banner {
    height: 120px;
    background: linear-gradient(to right, rgba(52, 152, 219, 0.7), rgba(41, 128, 185, 0.7));
    position: relative;
    display: flex;
    justify-content: center;
}

.nation-flag {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 70px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    background-color: #1a2530;
}

.nation-card:hover .nation-flag {
    border-color: #ffd700;
    transform: scale(1.05);
}

.nation-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nation-content {
    padding: 65px 25px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nation-name {
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 15px;
}

.nation-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 3px;
}

.nation-info {
    margin-bottom: 20px;
}

.nation-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.nation-info-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
}

.nation-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.nation-action {
    margin-top: auto;
}

.nation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nation-btn i {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.nation-btn:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: var(--primary);
    color: #fff;
}

.nation-btn:hover i {
    transform: translateX(5px);
}

.nations-footer {
    margin-top: 60px;
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
    color: #fff;
}

.view-all-btn:active {
    transform: translateY(-1px);
}
/* ========== CALL TO ACTION ========== */
.cta-section {
    padding: 100px 0;
    position: relative;
    background: url('../images/cta-background.jpg') center/cover no-repeat fixed;
    color: var(--light);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 37, 48, 0.9) 0%, rgba(52, 152, 219, 0.85) 100%);
    z-index: 1;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/stars-bg.png') repeat;
    opacity: 0.3;
    z-index: 2;
    animation: particleFloat 60s linear infinite;
}

@keyframes particleFloat {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

.cta-container {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    background: rgba(15, 23, 42, 0.7);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 2.8rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-discord-btn {
    background: linear-gradient(to right, #7289da, #5e77c9);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(114, 137, 218, 0.4);
}

.cta-discord-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(114, 137, 218, 0.6);
    color: white;
}

.cta-rules-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cta-rules-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.cta-server-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.server-status-badge, .player-count-badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--danger);
}

.status-indicator.status-online {
    background-color: var(--success);
    box-shadow: 0 0 10px #2ecc71;
    animation: pulse 2s infinite;
}

.status-indicator.status-offline {
    background-color: var(--danger);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content {
        max-width: 90%;
    }
    
    .server-info-card {
        max-width: 90%;
    }
    
    .nation-card:hover {
        transform: translateY(-8px);
    }
    
    .feature-card:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 992px) {
    .hero-content {
        max-width: 90%;
    }
    
    .text-logo {
        max-height: 160px;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .nations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .server-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-title {
        font-size: 2.4rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .cta-discord-btn, .cta-rules-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 90vh;
    }
    
    .hero-text-container {
        padding: 20px;
        transform: translateY(-10px);
        max-width: 90%;
    }
    
    .text-logo {
        max-height: 120px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn.glow-effect, .btn.glass-effect {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
    }
    
    .join-section {
        padding: 60px 0;
    }
    
    .server-info-header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .server-status {
        margin-top: 10px;
    }
    
    .server-name {
        font-size: 1.5rem;
    }
    
    .server-description {
        font-size: 1rem;
    }
    
    .server-ip {
        font-size: 1.2rem;
        padding: 12px 20px;
    }
    
    .join-now .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .nations-section {
        padding: 60px 0;
    }
    
    .nations-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .nation-card {
        max-width: 100%;
    }
    
    .cta-section {
        padding: 70px 0;
    }
    
    .cta-content {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-server-info {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 85vh;
    }
    
    .hero-text-container {
        padding: 15px;
        margin: 0 10px;
    }
    
    .text-logo {
        max-height: 100px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-top: 5px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        margin-top: 20px;
        gap: 12px;
    }
    
    .btn.glow-effect, .btn.glass-effect {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .join-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .server-info-card {
        border-radius: 12px;
    }
    
    .server-info-header {
        padding: 12px;
    }
    
    .server-status {
        font-size: 0.85rem;
    }
    
    .server-content {
        padding: 20px 15px;
    }
    
    .server-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .server-details {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .detail-item {
        margin-bottom: 10px;
    }
    
    .detail-icon {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .server-ip {
        font-size: 1.1rem;
        padding: 10px 15px;
        margin: 20px 0;
    }
    
    .join-now .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .features-section {
        padding: 40px 0;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .nations-section {
        padding: 40px 0;
    }
    
    .nation-name {
        font-size: 1.5rem;
    }
    
    .nation-info-item {
        font-size: 0.9rem;
    }
    
    .nation-description {
        font-size: 0.9rem;
    }
    
    .nation-btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content {
        padding: 25px 15px;
    }
    
    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .cta-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-actions {
        gap: 10px;
    }
    
    .cta-discord-btn, .cta-rules-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .server-status-badge, .player-count-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-text-container {
        padding: 12px;
    }
    
    .text-logo {
        max-height: 80px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .server-name {
        font-size: 1.3rem;
    }
    
    .server-ip {
        font-size: 1rem;
        padding: 8px 12px;
    }
    
    .feature-card {
        padding: 15px 12px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .nation-banner {
        height: 100px;
    }
    
    .nation-flag {
        width: 80px;
        height: 80px;
        top: 60px;
    }
    
    .nation-content {
        padding: 50px 15px 15px;
    }
    
    .nation-name {
        font-size: 1.3rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    /* Optimiser les animations pour les performances sur petits appareils */
    @keyframes floatAnimation {
        0% { transform: translateY(0) translateX(0); opacity: 0.3; }
        100% { transform: translateY(-50px) translateX(20px); opacity: 0.7; }
    }
}