* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Thème Pokémon Légendes ZA - Art Déco */
    --primary-color: #0ea5e9;
    --primary-hover: #00d9ff;
    --secondary-color: #06b6d4;
    --accent-color: #3b82f6;

    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --card-bg: #1e293b;
    --card-hover: #334155;

    --text-color: #f8fafc;
    --text-secondary: #cbd5e1;
    --border-color: #0ea5e9;
    --border-secondary: #475569;

    --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
    --glow-cyan: 0 0 20px rgba(14, 165, 233, 0.5), 0 0 40px rgba(0, 217, 255, 0.3);
    --glow-blue: 0 0 15px rgba(59, 130, 246, 0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Bannière header */
.banner {
    width: 100%;
    height: 300px;
    background-image: url('./img/banner.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg), var(--glow-cyan);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(6, 182, 212, 0.4));
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(14, 165, 233, 0.1) 50%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(14, 165, 233, 0.1) 50%, transparent 52%);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Menu de navigation */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
    border: 2px solid var(--border-secondary);
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.05);
    position: relative;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-hover), transparent);
}

.nav-item {
    padding: 12px 32px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid var(--border-secondary);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.nav-item:hover::before {
    width: 300px;
    height: 300px;
}

.nav-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-hover);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-hover);
    color: #0f172a;
    box-shadow: var(--glow-cyan);
    font-weight: 700;
}

.nav-item.active:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan), 0 10px 30px rgba(14, 165, 233, 0.5);
}

header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.1));
    border: 3px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg), inset 0 0 30px rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-hover), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00d9ff, #0ea5e9, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
}

header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

main {
    padding: 30px;
    position: relative;
    overflow: visible;
    background: transparent;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border-radius: 16px;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-lg), var(--glow-cyan), inset 0 1px 0 rgba(14, 165, 233, 0.2);
    z-index: -1;
}


.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-secondary);
    position: relative;
    overflow: visible;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    box-shadow: 0 0 10px var(--primary-color);
}

h2 {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    box-shadow: 0 0 5px var(--primary-color);
}

h3 {
    color: var(--text-color);
    margin: 20px 0 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border: 2px solid var(--border-secondary);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--glow-cyan), inset 0 0 10px rgba(14, 165, 233, 0.2);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9), rgba(30, 41, 59, 0.9));
}

.form-control:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.form-group {
    margin-bottom: 15px;
    position: relative;
    overflow: visible;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(14, 165, 233, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    overflow: visible;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.ev-total {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.1));
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 10px rgba(14, 165, 233, 0.2);
    letter-spacing: 0.5px;
}

.ev-total span {
    color: var(--primary-hover);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.alpha-iv-warning {
    margin-bottom: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(227, 53, 13, 0.2), rgba(220, 38, 38, 0.15));
    border: 2px solid #dc2626;
    border-radius: 8px;
    color: #fca5a5;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(220, 38, 38, 0.3);
    letter-spacing: 0.3px;
}

.hidden {
    display: none;
}

.output-container {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
    border: 3px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--glow-cyan), inset 0 0 20px rgba(14, 165, 233, 0.1);
    position: relative;
}

.output-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-hover), transparent);
}

.output {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    color: var(--primary-hover);
    padding: 20px;
    border-radius: 8px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 15px;
    min-height: 100px;
    border: 2px solid var(--border-secondary);
    box-shadow: inset 0 0 15px rgba(14, 165, 233, 0.2);
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0f172a;
    border: 2px solid var(--primary-hover);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-cyan), var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan), 0 10px 30px rgba(14, 165, 233, 0.4);
    border-color: var(--primary-color);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--primary-hover);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.5);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(6, 182, 212, 0.3));
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
}

.btn-secondary:active {
    transform: translateY(0);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px 20px;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(6, 182, 212, 0.05));
    border-radius: 12px;
    border: 2px solid var(--border-secondary);
    box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.05);
}

footer .logo {
    margin-top: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

footer .logo:hover {
    opacity: 1;
}

footer .logo img {
    height: 40px;
    width: auto;
}

footer a {
    color: var(--primary-hover);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.3);
}

footer a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.3), 0 0 20px rgba(0, 217, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.6), 0 0 40px rgba(0, 217, 255, 0.4);
    }
}

@keyframes neonFlicker {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 217, 255, 0.5), 0 0 10px rgba(14, 165, 233, 0.3);
    }
    50% {
        text-shadow: 0 0 10px rgba(0, 217, 255, 0.8), 0 0 20px rgba(14, 165, 233, 0.6);
    }
}

#pokemon-config {
    animation: fadeIn 0.5s ease-in-out;
}

#advanced-config {
    animation: slideIn 0.5s ease-in-out;
}

.form-section {
    position: relative;
    transition: all 0.3s ease;
}

/* Styles pour les inputs numéro */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* Style pour les select avec options */
.form-control option {
    background-color: var(--bg-secondary);
    color: var(--text-color);
}

/* Amélioration visuelle pour les boutons désactivés */
.form-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 0;
    border: 1px solid var(--border-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0;
    box-shadow: inset 0 0 5px rgba(0, 217, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    box-shadow: inset 0 0 10px rgba(0, 217, 255, 0.8), 0 0 10px rgba(14, 165, 233, 0.5);
}

/* Styles pour la page d'accueil */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.feature-card {
    padding: 25px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
    border: 2px solid var(--border-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(14, 165, 233, 0.4);
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
}

.feature-card h3 {
    color: var(--primary-hover);
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .banner {
        height: 200px;
    }

    header h1 {
        font-size: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    main {
        padding: 20px;
    }

    .form-section::before {
        display: none;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .nav-item {
        text-align: center;
        padding: 12px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Styles pour la section collapsible */
.collapsible-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.1));
    border: 2px solid var(--border-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
}

.collapsible-header:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(6, 182, 212, 0.2));
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.collapsible-header span:first-child {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.collapse-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary-hover);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.collapsible-header.active .collapse-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.collapsible-content.active {
    max-height: 2000px;
    opacity: 1;
    padding-top: 10px;
    overflow: visible;
}

/* Styles personnalisés pour Choices.js */
.choices {
    margin-bottom: 0;
}

.choices__inner {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border: 2px solid var(--border-secondary);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 1rem;
    color: var(--text-color);
    min-height: 44px;
    transition: all 0.3s ease;
}

.choices__inner:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.choices.is-focused .choices__inner {
    border-color: var(--primary-color);
    box-shadow: var(--glow-cyan), inset 0 0 10px rgba(14, 165, 233, 0.2);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9), rgba(30, 41, 59, 0.9));
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    margin-top: 4px;
    z-index: 9999 !important;
    box-shadow: var(--shadow-lg), var(--glow-cyan);
    backdrop-filter: blur(10px);
    position: absolute !important;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
    color: var(--text-color);
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.3), rgba(6, 182, 212, 0.2));
    color: var(--primary-hover);
    border-left-color: var(--primary-hover);
    box-shadow: inset 0 0 10px rgba(14, 165, 233, 0.2);
}

.choices__input {
    background-color: var(--bg-secondary);
    color: var(--text-color);
    font-size: 1rem;
    padding: 4px 0;
    margin-bottom: 0;
}

.choices__input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.choices[data-type*='select-one'] .choices__input {
    background-color: var(--bg-secondary);
    border-bottom: none;
    padding: 4px 0;
}

.choices__placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Style pour les items désactivés */
.choices__item--disabled {
    color: var(--text-secondary) !important;
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* Style pour la flèche déroulante */
.choices[data-type*='select-one']::after {
    border-color: var(--primary-hover) transparent transparent transparent;
    margin-top: -2.5px;
    filter: drop-shadow(0 0 3px rgba(0, 217, 255, 0.5));
}

.choices[data-type*='select-one'].is-open::after {
    border-color: transparent transparent var(--primary-hover) transparent;
    margin-top: -7.5px;
    filter: drop-shadow(0 0 3px rgba(0, 217, 255, 0.5));
}

/* Style pour les menus désactivés */
.choices.is-disabled .choices__inner {
    background-color: var(--bg-secondary);
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scrollbar personnalisée pour le dropdown */
.choices__list--dropdown::-webkit-scrollbar {
    width: 8px;
}

.choices__list--dropdown::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 0;
    border: 1px solid var(--border-secondary);
}

.choices__list--dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0;
    box-shadow: inset 0 0 5px rgba(0, 217, 255, 0.5);
}

.choices__list--dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    box-shadow: inset 0 0 10px rgba(0, 217, 255, 0.8), 0 0 10px rgba(14, 165, 233, 0.5);
}

/* Animation d'apparition du dropdown */
.choices__list--dropdown {
    animation: fadeInDropdown 0.3s ease-in-out;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
        box-shadow: 0 0 0 rgba(14, 165, 233, 0);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: var(--shadow-lg), var(--glow-cyan);
    }
}

/* Styles pour le sélecteur de plateforme Discord/Twitch */
.platform-selector {
    margin-top: 25px;
}

.platform-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(14, 165, 233, 0.3);
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.toggle-option {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(6, 182, 212, 0.3));
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 10px rgba(14, 165, 233, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 2px;
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

input:checked + .slider {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(168, 85, 247, 0.3));
    border-color: #a855f7;
    box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.2);
}

input:checked + .slider:before {
    transform: translateX(28px);
    background: linear-gradient(135deg, #c084fc, #a855f7);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

input:checked ~ .toggle-option:last-child,
.switch:has(input:checked) ~ .toggle-option:last-child {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.switch:has(input:not(:checked)) ~ .toggle-option:first-of-type,
.toggle-container:has(input:not(:checked)) .toggle-option:first-child {
    color: var(--primary-hover);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.toggle-container input:checked ~ .toggle-option:last-child {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}
