:root {
    --primary: #6e48aa;
    --secondary: #9d50bb;
    --accent: #4776e6;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark), #16213e);
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

/* Particules background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Header stylé */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
    position: relative;
}

.header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(110, 72, 170, 0.3);
    position: relative;
    display: inline-block;
}

.header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.pulse-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 72, 170, 0.1) 0%, rgba(110, 72, 170, 0) 70%);
    z-index: -1;
    animation: pulse 4s infinite ease-in-out;
}

/* Grid des options */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    margin-bottom: 3rem;
}

/* Carte d'option */
.option-card {
    position: relative;
    height: 350px;
    perspective: 1000px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.5s;
}

.option-card:hover {
    transform: translateY(-10px);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.option-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-front {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.8), rgba(10, 10, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-back {
    background: linear-gradient(135deg, rgba(40, 40, 80, 0.9), rgba(20, 20, 50, 0.95));
    transform: rotateY(180deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.icon-wrapper i {
    font-size: 3rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-front h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--light), #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.card-back p {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.select-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.select-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--primary));
    transition: all 0.4s;
    z-index: -1;
}

.select-btn:hover::before {
    left: 0;
}

.select-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(71, 118, 230, 0.4);
}

.shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 70%
    );
    background-size: 200% auto;
    animation: shine 3s infinite linear;
    border-radius: 15px;
}

.glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(110, 72, 170, 0);
    transition: box-shadow 0.5s;
    pointer-events: none;
}

.option-card:hover .glow {
    box-shadow: 0 0 30px rgba(110, 72, 170, 0.6);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer i {
    color: var(--danger);
}

/* Curseur personnalisé */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(110, 72, 170, 0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    z-index: 9999;
    transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Effets spécifiques aux options */
#nitro-option .icon-wrapper {
    box-shadow: 0 0 30px rgba(110, 72, 170, 0.5);
}

#notepad-option .icon-wrapper {
    box-shadow: 0 0 30px rgba(71, 118, 230, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        height: 300px;
    }
}