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

body {
    font-family: 'Orbitron', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Vidéo en arrière-plan */
#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    object-fit: cover;
}



/* Header et Navigation */
.header {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 25px;
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 20px;
    outline: none;
}

.nav-link:hover,
.nav-link.active {
    color: #ff1493;
    text-shadow: 0 0 10px #ff1493;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff1493, #ffd700);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:focus {
    outline: none !important;
}

.nav-link:active {
    outline: none !important;
}

/* Effet de texte barré pour BOUTIQUE désactivé */
.nav-link.strikethrough.disabled {
    text-decoration: line-through;
    opacity: 0.4;
    position: relative;
    cursor: not-allowed;
    pointer-events: none;
    color: #666 !important;
}

.nav-link.strikethrough.disabled::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #666;
    transform: translateY(-50%);
    z-index: 1;
}

.nav-link.strikethrough.disabled::after {
    content: 'TEMPORAIREMENT FERMÉE';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 0, 0.9);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.nav-link.strikethrough.disabled:hover::after {
    opacity: 1;
}

/* Mise en avant d'ACCÈS BÊTA comme remplacement - Version subtile */
.nav-link#beta-access-btn {
    position: relative;
    background: rgba(255, 20, 147, 0.2);
    border: 2px solid #ff1493;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link#beta-access-btn::before {
    content: 'NOUVEAU';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #ffd700, #ff1493);
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

.nav-link#beta-access-btn:hover {
    background: rgba(255, 20, 147, 0.4);
    border-color: #ff6b9d;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
}









/* Responsive Design */
@media (max-width: 768px) {
    .header {
        top: 20px;
        left: 20px;
        padding: 12px 20px;
    }
    
    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .header {
        top: 15px;
        left: 15px;
        padding: 10px 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Effets de survol et transitions */
.nav-link {
    transition: all 0.3s ease;
}

/* Popup Whitelist */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 35px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(90deg, #ff1493, #ffd700);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.popup-header h2 {
    background: linear-gradient(90deg, #ff1493, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 10px #ff1493;
}

.popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #ff1493;
    text-shadow: 0 0 10px #ff1493;
}

.whitelist-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0; /* éviter débordement dans la grille */
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: flex-end;
    min-height: 48px; /* aligne les champs d'une même ligne, même si le libellé passe sur 2 lignes */
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    width: 100%;
}

/* Hauteurs uniformes pour un alignement parfait des champs */
.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    height: 48px;
    line-height: 24px;
}

.form-group input[type="number"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    background: rgba(0, 0, 0, 0.5) !important;
}

/* Ajuste la position du placeholder pour match les selects */
.form-group input::placeholder {
    line-height: 24px;
}

.form-group input[type="number"]::-webkit-inner-spin-button,
.form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    background: transparent !important;
}

.form-group select {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    display: flex;
    align-items: center;
}

.form-group select::-ms-expand {
    display: none;
}

.form-group select:focus {
    background: rgba(0, 0, 0, 0.5) !important;
    outline: none;
}

.form-group select:hover {
    background: rgba(0, 0, 0, 0.5) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
}

.form-group select:hover {
    border-color: #666;
    background: rgba(0, 0, 0, 0.5) !important;
}

.form-group select:focus {
    background: rgba(0, 0, 0, 0.5) !important;
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.help-text {
    font-size: 0.8rem;
    color: #bbb;
    font-style: italic;
    margin-top: 5px;
    line-height: 1.4;
}

.inline-warning {
    margin-top: 6px;
    background: rgba(255, 149, 0, 0.12);
    border: 1px solid rgba(255, 149, 0, 0.5);
    color: #ffbd69;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 12px rgba(255, 149, 0, 0.15) inset;
}

.inline-warning::before {
    content: '⚠️';
    display: inline-block;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    font-size: 0.9rem;
    white-space: normal; /* permettre le retour à la ligne */
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #ff1493;
    border-color: #ff1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.form-actions.full {
    grid-column: 1 / -1;
}

.btn-discord {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #5865F2;
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752C4;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}



.btn-submit {
    padding: 15px 35px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #ff1493, #ff6b9d, #ffd700);
    background-size: 200% 200%;
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
    animation: gradientShift 3s ease infinite;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    background: linear-gradient(45deg, #ffd700, #ff1493, #ff6b9d);
    background-size: 200% 200%;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.6), 0 0 50px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px) scale(1.05);
    border: 2px solid #ffd700;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-submit:disabled {
    background: #666;
    border-color: #666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}


/* Message d'avertissement Discord */
.warning-message {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    border: 2px solid #ff1744;
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.3);
    animation: pulse 2s infinite;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.discord-link {
    display: inline-block;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
    font-size: 0.85rem;
}

.discord-link:hover {
    background: #4752C4;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(255, 23, 68, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 23, 68, 0.6);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 23, 68, 0.3);
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive pour le popup */
@media (max-width: 768px) {
    .popup-content {
        padding: 25px;
        max-width: 95%;
        width: 95%;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .whitelist-form {
        grid-template-columns: 1fr;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 20px;
        max-width: 98%;
        width: 98%;
    }
}

/* Popup de notification */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.notification-overlay.show {
    display: flex;
}

.notification-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 25px;
    max-width: 450px;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(90deg, #ff1493, #ffd700);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.notification-content.success::before {
    background: linear-gradient(90deg, #00ff88, #00d4aa);
}

.notification-content.error::before {
    background: linear-gradient(90deg, #ff4757, #ff3742);
}

.notification-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
}

.notification-message h3 {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.notification-message p {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #ff1493;
}

/* Responsive pour les notifications */
@media (max-width: 480px) {
    .notification-content {
        padding: 20px;
        max-width: 95%;
        width: 95%;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .notification-icon {
        font-size: 2rem;
    }
}

/* Styles pour le gestionnaire de brouillons */
.draft-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

.draft-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.draft-item:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.draft-info {
    flex: 1;
}

.draft-info h4 {
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.draft-info p {
    color: #bbb;
    font-size: 0.85rem;
    margin: 0;
}

.draft-actions {
    display: flex;
    gap: 10px;
}

.btn-restore {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #00ff88, #00d4aa);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-restore:hover {
    background: linear-gradient(45deg, #00d4aa, #00ff88);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
}

.btn-delete {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-delete:hover {
    background: linear-gradient(45deg, #ff3742, #ff4757);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.3);
}

/* Responsive pour le gestionnaire de brouillons */
@media (max-width: 768px) {
    .draft-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .draft-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-restore,
    .btn-delete {
        flex: 1;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .draft-item {
        padding: 12px;
    }
    
    .draft-info h4 {
        font-size: 0.9rem;
    }
    
    .draft-info p {
        font-size: 0.8rem;
    }
    
    .btn-restore,
    .btn-delete {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Styles pour les règlements */
.regulations-content {
    max-width: 1000px;
    max-height: 85vh;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.regulations-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(90deg, #ff1493, #ffd700);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.regulations-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    background: rgba(255, 20, 147, 0.3);
    color: #ff1493;
}

.tab-btn.active {
    background: linear-gradient(45deg, #ff1493, #ffd700);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4);
}

.regulations-content-tabs {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar personnalisée globale */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff1493, #ffd700);
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(255, 20, 147, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffd700, #ff1493);
    box-shadow: 0 0 12px rgba(255, 20, 147, 0.6);
}

/* Scrollbar pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #ff1493 rgba(0, 0, 0, 0.2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.regulation-section {
    padding: 0;
}

.regulation-section h3 {
    background: linear-gradient(90deg, #ff1493, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px #ff1493;
}

.regulation-intro {
    background: rgba(255, 20, 147, 0.1);
    border-left: 4px solid #ff1493;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    line-height: 1.6;
}

.regulation-article {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid #333;
}

.regulation-article h4 {
    color: #ff1493;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #ff1493;
    padding-bottom: 5px;
}

.regulation-article h5 {
    color: #ffd700;
    font-size: 1rem;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.regulation-article h6 {
    color: #ff6b9d;
    font-size: 0.9rem;
    margin: 10px 0 5px 0;
    font-weight: 600;
}

.regulation-article p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.regulation-article ul {
    margin: 10px 0;
    padding-left: 20px;
}

.regulation-article li {
    color: #ddd;
    margin-bottom: 8px;
    line-height: 1.5;
}

.regulation-article strong {
    color: #ffd700;
    font-weight: 700;
}

/* Responsive pour les règlements */
@media (max-width: 768px) {
    .regulations-content {
        max-width: 95%;
        width: 95%;
        padding: 20px;
    }
    
    .regulations-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .regulation-article {
        padding: 15px;
    }
    
    .regulation-section h3 {
        font-size: 1.3rem;
    }
    
    .regulation-article h4 {
        font-size: 1.1rem;
    }
}

/* Section Hero pour SEO */
.hero-section {
    position: relative;
    z-index: 1;
    padding: 200px 40px 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(42, 10, 58, 0.7));
    backdrop-filter: blur(10px);
    margin: 100px 40px 0;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(90deg, #ff1493, #ffd700);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.hero-content h1 {
    background: linear-gradient(90deg, #ff1493, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    line-height: 1.2;
}

.hero-description {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
    border-color: #ff1493;
}

.feature h3 {
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature p {
    color: #ccc;
    line-height: 1.5;
}

/* Responsive pour la section hero */
@media (max-width: 768px) {
    .hero-section {
        margin: 80px 20px 0;
        padding: 150px 20px 80px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature {
        padding: 20px;
    }
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* Masquer la section hero par défaut pour garder l'effet visuel */
.hero-section {
    display: none;
}

/* Afficher la section hero seulement si JavaScript est désactivé ou pour les bots */
.no-js .hero-section {
    display: block;
}

/* Styles pour le popup Accès Bêta */
.beta-content {
    max-width: 1000px;
    max-height: 85vh;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.beta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(90deg, #ff1493, #ffd700);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.beta-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 20, 147, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ff1493;
}

.beta-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.5);
}

.status-icon {
    font-size: 1.2rem;
}

.status-text {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beta-intro p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.beta-intro p:last-child {
    margin-bottom: 0;
    color: #ffd700;
    font-weight: 600;
}

.beta-intro strong {
    color: #ffd700;
    font-weight: 700;
}

.beta-packs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.beta-pack {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #ff1493;
    position: relative;
    transition: all 0.3s ease;
    max-width: 600px;
    width: 100%;
}

.beta-pack:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
    border-color: #ffd700;
}

.pack-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(45deg, #ffd700, #ff1493);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.pack-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
}

.pack-header h3 {
    background: linear-gradient(90deg, #ff1493, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.pack-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.beta-price {
    color: #ffd700;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.promo-text {
    color: #00ff88;
    font-size: 1.1rem;
    font-weight: 700;
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pack-features {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 20, 147, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    color: #ddd;
    line-height: 1.5;
    font-size: 0.95rem;
}

.pack-buy-btn {
    width: 100%;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #ff1493, #ff6b9d, #ffd700);
    background-size: 200% 200%;
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
    animation: gradientShift 3s ease infinite;
}

.pack-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.pack-buy-btn:hover {
    background: linear-gradient(45deg, #ffd700, #ff1493, #ff6b9d);
    background-size: 200% 200%;
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.6), 0 0 50px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px) scale(1.05);
    border: 2px solid #ffd700;
}

.pack-buy-btn:hover::before {
    left: 100%;
}

.pack-buy-btn.premium {
    background: linear-gradient(45deg, #ffd700, #ff6b35, #ff1493);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.pack-buy-btn.premium:hover {
    background: linear-gradient(45deg, #ff1493, #ffd700, #ff6b35);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 50px rgba(255, 20, 147, 0.3);
}

.beta-footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.beta-footer p {
    color: #ffbd69;
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

.pack-subscriptions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #333;
}

.pack-subscriptions h4 {
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.subscription-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.subscription-options-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.subscription-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    min-width: 200px;
    flex: 1;
    justify-content: center;
}

.sub-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.sub-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.sub-price-barred {
    color: #999;
    text-decoration: line-through;
    font-size: 0.8rem;
    font-weight: 500;
}

.sub-promo {
    color: #00ff88;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 255, 136, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    text-align: center;
}

.subscription-option:hover {
    background: rgba(255, 20, 147, 0.1);
    border-color: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.2);
}

.subscription-option.disabled {
    background: rgba(0, 0, 0, 0.1);
    border-color: #666;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.subscription-option.disabled:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: #666;
    transform: none;
    box-shadow: none;
}

.sub-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.sub-text {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.subscription-option.disabled .sub-text {
    color: #999;
}

.subscription-option.premium-popular {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    position: relative;
    overflow: visible;
}

.subscription-option.premium-popular:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #ffd700, #ff1493);
    color: #000;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

.subscription-option.full-width {
    max-width: 500px;
    justify-content: center;
    text-align: center;
    padding: 15px 30px;
}

/* Responsive pour le popup bêta */
@media (max-width: 768px) {
    .beta-content {
        max-width: 95%;
        width: 95%;
        padding: 20px;
    }
    
    .beta-pack {
        padding: 20px;
    }
    
    .pack-header h3 {
        font-size: 1.2rem;
    }
    
    .beta-price {
        font-size: 1.5rem;
    }
    
    .feature-item {
        padding: 8px;
        gap: 10px;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
    
    .choice-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .choice-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .subscription-options-row {
        flex-direction: column;
        align-items: center;
    }
    
    .subscription-option {
        width: 100%;
        max-width: none;
        flex: 1;
    }
    
    .subscription-option.full-width {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .beta-content {
        padding: 15px;
        max-width: 98%;
        width: 98%;
    }
    
    .beta-pack {
        padding: 15px;
    }
    
    .pack-header h3 {
        font-size: 1.1rem;
    }
    
    .beta-price {
        font-size: 1.3rem;
    }
    
    .pack-buy-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}
