* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7B2CBF;
    --primary-dark: #5A189A;
    --primary-light: #9D4EDD;
    --bg-dark: #0f0f1e;
    --bg-card: rgba(26, 26, 46, 0.8);
    --text: #ffffff;
    --text-muted: #b0b0b0;
    --glow: rgba(123, 44, 191, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f1e;
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    animation: colorPulse 15s ease-in-out infinite;
}

@keyframes colorPulse {
    0%, 100% { background: #0f0f1e; }
    50% { background: #1a0a2e; }
}

/* Fond animé */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(123, 44, 191, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(90, 24, 154, 0.45) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, #1a0a2e 0%, #240046 25%, #3c096c 50%, #240046 75%, #1a0a2e 100%);
    z-index: -2;
    pointer-events: none;
    animation: backgroundWave 20s ease-in-out infinite;
}

@keyframes backgroundWave {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5%, -5%) rotate(1deg); }
    50% { transform: translate(-10%, 5%) rotate(-1deg); }
    75% { transform: translate(-5%, -5%) rotate(0.5deg); }
}

/* Grille animée */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(123, 44, 191, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(123, 44, 191, 0.1) 2px, transparent 2px);
    background-size: 60px 60px;
    z-index: -1;
    animation: gridMove 30s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Particules flottantes */
.particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: screen;
}

.particle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.6) 0%, rgba(123, 44, 191, 0.35) 30%, transparent 70%);
    top: -250px;
    left: -250px;
    animation: float1 20s infinite ease-in-out, particlePulse 4s ease-in-out infinite;
    filter: blur(60px);
}

.particle-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.55) 0%, rgba(157, 78, 221, 0.3) 30%, transparent 70%);
    top: 50%;
    right: -200px;
    animation: float2 25s infinite ease-in-out, particlePulse 4s ease-in-out infinite 1s;
    filter: blur(60px);
}

.particle-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(90, 24, 154, 0.6) 0%, rgba(90, 24, 154, 0.35) 30%, transparent 70%);
    bottom: -200px;
    left: 30%;
    animation: float3 30s infinite ease-in-out, particlePulse 4s ease-in-out infinite 2s;
    filter: blur(60px);
}

.particle-4 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.5) 0%, rgba(123, 44, 191, 0.25) 30%, transparent 70%);
    top: 20%;
    right: 20%;
    animation: float4 22s infinite ease-in-out, particlePulse 4s ease-in-out infinite 3s;
    filter: blur(60px);
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 100px) scale(1.1); }
    66% { transform: translate(-50px, 200px) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-150px, -100px) scale(1.2); }
    66% { transform: translate(-80px, 150px) scale(0.8); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(120px, -80px) scale(1.15); }
    66% { transform: translate(-100px, -150px) scale(0.85); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-100px, 100px) rotate(180deg); }
}

@keyframes particlePulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.title {
    font-size: 56px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
}

/* Download Card */
.download-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(123, 44, 191, 0.3);
    box-shadow: 0 20px 60px var(--glow);
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-badge {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 20px;
}

.version-text {
    background: rgba(123, 44, 191, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.card-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.card-description {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--glow);
    position: relative;
    overflow: hidden;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-button:hover::before {
    width: 300px;
    height: 300px;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--glow);
}

.download-icon {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.download-button span {
    position: relative;
    z-index: 1;
}

.file-info {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.separator {
    margin: 0 10px;
}

/* Features */
.features {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.features-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(123, 44, 191, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glow);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Instructions */
.instructions {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(123, 44, 191, 0.3);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.instructions-title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.steps {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.steps li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-content strong {
    color: var(--primary-light);
}

/* Discord Section */
.discord-section {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(123, 44, 191, 0.3);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.discord-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #5865F2;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.discord-button:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5);
}

.discord-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 14px;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.footer-version {
    margin-top: 10px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 36px;
    }
    
    .download-card,
    .instructions {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}