:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #ccc;
    --accent-color: #00e640;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

/* ===== PRELOADER STYLÉ ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 50%, #121212 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-container {
    text-align: center;
}

.casino-loader {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.roulette {
    width: 150px;
    height: 150px;
    border: 8px solid #d4af37;
    border-radius: 50%;
    position: relative;
    animation: spin 4s linear infinite;
    background: #1a1a1a;
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.8);
}

/* Vraie roulette avec sections */
.roulette::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: conic-gradient(
        #000 0deg 9.7deg,
        #ff0000 9.7deg 19.4deg,
        #000 19.4deg 29.1deg,
        #ff0000 29.1deg 38.8deg,
        #000 38.8deg 48.5deg,
        #ff0000 48.5deg 58.2deg,
        #000 58.2deg 67.9deg,
        #ff0000 67.9deg 77.6deg,
        #000 77.6deg 87.3deg,
        #ff0000 87.3deg 97deg,
        #000 97deg 106.7deg,
        #ff0000 106.7deg 116.4deg,
        #000 116.4deg 126.1deg,
        #ff0000 126.1deg 135.8deg,
        #000 135.8deg 145.5deg,
        #ff0000 145.5deg 155.2deg,
        #000 155.2deg 164.9deg,
        #ff0000 164.9deg 174.6deg,
        #000 174.6deg 184.3deg,
        #ff0000 184.3deg 194deg,
        #000 194deg 203.7deg,
        #ff0000 203.7deg 213.4deg,
        #000 213.4deg 223.1deg,
        #ff0000 223.1deg 232.8deg,
        #000 232.8deg 242.5deg,
        #ff0000 242.5deg 252.2deg,
        #000 252.2deg 261.9deg,
        #ff0000 261.9deg 271.6deg,
        #000 271.6deg 281.3deg,
        #ff0000 281.3deg 291deg,
        #000 291deg 300.7deg,
        #ff0000 300.7deg 310.4deg,
        #000 310.4deg 320.1deg,
        #ff0000 320.1deg 329.8deg,
        #000 329.8deg 339.5deg,
        #ff0000 339.5deg 349.2deg,
        #000 349.2deg 358.9deg,
        #ff0000 358.9deg 360deg
    );
}

/* Centre de la roulette */
.roulette::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #d4af37 0%, #b8941f 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(212, 175, 55, 0.8),
        inset 0 2px 5px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

/* Flèche indicatrice */
.roulette-arrow {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 25px solid #d4af37;
    z-index: 5;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.roulette-arrow::after {
    content: '';
    position: absolute;
    top: -23px;
    left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 18px solid #fff;
}

.chips {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.chip {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid #d4af37;
    position: relative;
    animation: chipFloat 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.chip1 {
    background: radial-gradient(circle, #ff1744 0%, #c5162f 100%);
    animation-delay: 0s;
}

.chip2 {
    background: radial-gradient(circle, #2196f3 0%, #1976d2 100%);
    animation-delay: 0.5s;
}

.chip3 {
    background: radial-gradient(circle, #00e640 0%, #00c835 100%);
    animation-delay: 1s;
}

.loading-text {
    font-size: 1.2rem;
    color: var(--accent-color);
    animation: textPulse 2s ease-in-out infinite;
}

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

@keyframes chipFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* ===== PARTICULES ANIMÉES ===== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: particleFloat linear infinite;
    color: var(--accent-color);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== TOGGLE THEME ===== */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 50%, #1e1e1e 100%);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 230, 64, 0.3);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 230, 64, 0.5);
}

.toggle-icon {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* ===== EASTER EGG ===== */
.easter-egg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, #ff1744, #e91e63, #9c27b0);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    animation: easterEggPop 0.5s ease;
}

.konami-hint {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.4;
    font-family: monospace;
    transition: opacity 0.3s ease;
}

.konami-hint:hover {
    opacity: 0.8;
}

@keyframes easterEggPop {
    0% { transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* ===== PROGRESS RING POUR LONG PRESS ===== */
.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.progress-ring.show {
    opacity: 1;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(0, 230, 64, 0.8));
    transition: stroke-dashoffset 0.1s ease;
}

/* ===== MENU EASTER EGGS MOBILE ===== */
.easter-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(145deg, #1e1e1e 0%, #2d2d2d 50%, #1e1e1e 100%);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 230, 64, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    min-width: 300px;
    backdrop-filter: blur(10px);
}

.easter-menu.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: menuSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.easter-menu h2 {
    margin: 0 0 25px;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--accent-color), #00ff50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 230, 64, 0.5);
}

.easter-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.easter-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #00ff50 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
    box-shadow: 0 0 0 rgba(0, 230, 64, 0);
}

.easter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 230, 64, 0.4);
}

.easter-btn:active {
    transform: translateY(0) scale(0.98);
}

.easter-btn:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 230, 64, 0.6);
}

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

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

.easter-btn.close-btn {
    background: #333 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    padding: 10px 20px !important;
}

.easter-btn.close-btn:hover {
    background: #555 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes menuSlideIn {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* HEADER ET PFP */
header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.pfp-container {
    position: relative;
    display: inline-block;
}

.pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    margin-top: 10px;
    border: 3px solid #00e640;
    box-shadow: 0 4px 15px rgba(0, 230, 64, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.pfp:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 230, 64, 0.5);
}

/* ÉTAT PRESSING DE LA PFP */
.pfp.pressing {
    transform: scale(0.95);
    box-shadow: 0 0 30px rgba(0, 230, 64, 0.8);
    animation: pressGlow 0.1s ease-in-out infinite alternate;
}

@keyframes pressGlow {
    0% { 
        box-shadow: 0 0 30px rgba(0, 230, 64, 0.8);
        border-color: var(--accent-color);
    }
    100% { 
        box-shadow: 0 0 40px rgba(0, 230, 64, 1);
        border-color: #00ff50;
    }
}

/* LIVE INDICATOR */
.pfp.live {
    border: 3px solid #ff0000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6) !important;
    animation: livePulse 2s infinite;
}

.live-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff1744, #e91e63, #ff1744);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: liveGlow 2s infinite alternate;
    box-shadow: 
        0 4px 15px rgba(255, 23, 68, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(-50%) scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 60px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-indicator.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.pfp-container.clicked {
    animation: clickEffect 0.3s ease;
}

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

@keyframes liveGlow {
    from { 
        box-shadow: 
            0 4px 15px rgba(255, 23, 68, 0.4),
            0 0 0 2px rgba(255, 255, 255, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    to { 
        box-shadow: 
            0 6px 25px rgba(255, 23, 68, 0.7),
            0 0 0 2px rgba(255, 255, 255, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes clickEffect {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.header-text h1 {
    margin: 0;
    font-size: 1.8em;
}

.header-text p {
    margin: 0;
    font-size: 0.95em;
    color: var(--text-secondary);
}

/* CARDS - STRUCTURE ROBUSTE */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 20px;
    align-items: start;
}

.card {
    /* EFFETS STYLÉS */
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 50%, #1e1e1e 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    
    /* STRUCTURE */
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    
    /* TRANSITIONS */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* HOVER EFFECTS - ISOLÉS POUR ÉVITER LES CONFLITS */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 230, 64, 0.08), 
        rgba(0, 255, 80, 0.04), 
        rgba(0, 230, 64, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 230, 64, 0.15),
        0 0 0 1px rgba(0, 230, 64, 0.2);
    border-color: rgba(0, 230, 64, 0.3);
    transform: translateY(-5px);
}

.card:active {
    transform: translateY(-3px) scale(0.98);
}

/* FULL WIDTH CARDS */
.card.full {
    grid-column: 1 / -1;
}

/* IMAGES */
.card-image {
    position: relative;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 216px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.03);
}

/* CONTENT */
.card-content {
    padding: 15px 18px;
    position: relative;
    z-index: 2;
}

.card-content h2 {
    margin: 0 0 8px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-primary) !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    transition: all 0.3s ease;
}

.card:hover .card-content h2 {
    background: linear-gradient(135deg, #00ff50 0%, #00e640 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content p {
    margin: 0;
    font-size: 0.9em;
    color: #bbb;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.card:hover .card-content p {
    color: #ddd;
}

/* ===== FOOTER ULTRA-STYLÉ ===== */
.footer {
    margin-top: 80px;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(30, 30, 30, 0.9) 25%,
        rgba(0, 230, 64, 0.1) 50%,
        rgba(30, 30, 30, 0.9) 75%,
        rgba(0, 0, 0, 0.8) 100%);
    border-top: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-color), 
        #00ff50, 
        var(--accent-color), 
        transparent);
    animation: borderFlow 3s linear infinite;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 230, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 80, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes borderFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-content p {
    margin: 0 0 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.brand {
    display: inline-block;
    background: linear-gradient(45deg, 
        var(--accent-color) 0%, 
        #00ff50 25%, 
        #00e640 50%, 
        #00ff50 75%, 
        var(--accent-color) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 1.3em;
    animation: textShine 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(0, 230, 64, 0.5);
}

@keyframes textShine {
    0%, 100% { background-position: 200% 0%; }
    50% { background-position: -200% 0%; }
}

.footer-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-heart {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    position: relative;
    padding: 10px 20px;
    border: 1px solid rgba(0, 230, 64, 0.3);
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-heart:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 230, 64, 0.3);
    color: var(--text-primary);
}

.footer-heart::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        var(--accent-color), 
        transparent, 
        var(--accent-color));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-heart:hover::before {
    opacity: 1;
}

/* Particules dans le footer */
.footer-particles {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: footerParticle 4s linear infinite;
    opacity: 0.6;
}

.footer-particles:nth-child(1) { left: 10%; animation-delay: 0s; }
.footer-particles:nth-child(2) { left: 30%; animation-delay: 1s; }
.footer-particles:nth-child(3) { left: 50%; animation-delay: 2s; }
.footer-particles:nth-child(4) { left: 70%; animation-delay: 3s; }
.footer-particles:nth-child(5) { left: 90%; animation-delay: 0.5s; }

@keyframes footerParticle {
    0% {
        transform: translateY(0px);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-60px);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card img {
        height: 180px;
    }
    
    .card:hover {
        transform: translateY(-3px);
    }
    
    .pfp {
        width: 90px;
        height: 90px;
    }
    
    .header-text h1 {
        font-size: 1.6em;
    }
    
    .header-text p {
        font-size: 0.9em;
    }
    
    /* BANDEAU LIVE MOBILE - GARDE LE MÊME STYLE */
    .live-indicator {
        font-size: 0.6rem;
        padding: 3px 8px;
        min-width: 40px;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
    }
    
    .toggle-icon {
        font-size: 1.3rem;
    }
    
    .particle {
        font-size: 1.2rem;
    }

    /* RESPONSIVE POUR LE MENU EASTER EGGS */
    .easter-menu {
        min-width: 280px;
        padding: 25px 20px;
        margin: 0 15px;
        border-radius: 15px;
    }

    .easter-menu h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .easter-btn {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .progress-ring {
        width: 110px;
        height: 110px;
    }

    .progress-ring circle {
        stroke-width: 3;
    }

    /* Footer responsive */
    .footer {
        margin-top: 60px;
        padding: 40px 0 30px;
    }
    
    .footer-content p {
        font-size: 1rem;
    }
    
    .brand {
        font-size: 1.2em;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-heart {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 25px;
    }
    
    .pfp {
        width: 80px;
        height: 80px;
        margin-right: 0;
        margin-bottom: 15px;
        margin-top: 0;
    }
    
    .cards {
        gap: 12px;
    }
    
    .card-content {
        padding: 12px 15px;
    }
    
    .card img {
        height: 160px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    
    .toggle-icon {
        font-size: 1.1rem;
    }
    
    .particle {
        font-size: 1rem;
    }
    
    .easter-egg {
        font-size: 1rem;
        padding: 15px 20px;
        margin: 0 10px;
    }

    .easter-menu {
        min-width: 260px;
        padding: 20px 15px;
    }

    .easter-menu h2 {
        font-size: 1.2rem;
    }

    .easter-btn {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .footer {
        margin-top: 40px;
        padding: 30px 0 20px;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
    
    .brand {
        font-size: 1.1em;
    }
    
    .footer-heart {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ===== AMÉLIORATION VISUELLE POUR LES APPAREILS TACTILES ===== */
@media (hover: none) and (pointer: coarse) {
    .easter-btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .easter-btn:active {
        transform: scale(0.95);
        background: linear-gradient(135deg, #00ff50 0%, var(--accent-color) 100%);
    }
    
    .pfp:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 230, 64, 0.3);
    }

    .card:hover {
        transform: none;
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.05);
    }

    .card:hover::before {
        opacity: 0;
    }

    .card:hover .card-content h2 {
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
        color: var(--text-primary);
    }

    .card:hover img {
        transform: none;
    }

    .card:hover .card-content p {
        color: #bbb;
    }
}

/* ===== THÈME CLAIR ===== */
body.light-theme {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
}

body.light-theme .card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

body.light-theme .card:hover {
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(0, 230, 64, 0.15),
        0 0 0 1px rgba(0, 230, 64, 0.2);
}

body.light-theme .particle {
    color: #333;
    opacity: 0.2;
}

body.light-theme #preloader {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
}

body.light-theme .theme-toggle {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-theme .theme-toggle:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

body.light-theme .footer {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 249, 250, 0.9) 25%,
        rgba(0, 230, 64, 0.05) 50%,
        rgba(248, 249, 250, 0.9) 75%,
        rgba(255, 255, 255, 0.8) 100%);
}

body.light-theme .easter-menu {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    border-color: var(--accent-color);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(0, 230, 64, 0.2),
        inset 0 1px 0 rgba(0, 0, 0, 0.05);
}

body.light-theme .easter-menu h2 {
    color: var(--text-primary);
}

body.light-theme .progress-ring circle {
    stroke: #333;
    filter: drop-shadow(0 0 8px rgba(51, 51, 51, 0.6));
}

body.light-theme .pfp.pressing {
    box-shadow: 0 0 30px rgba(51, 51, 51, 0.6);
}

/* ===== AMÉLIORATION DE L'ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    .progress-ring,
    .easter-menu,
    .easter-btn,
    .pfp.pressing,
    .roulette,
    .chip,
    .particle,
    .footer-particles {
        animation: none !important;
        transition: opacity 0.3s ease !important;
    }
    
    .easter-menu.show {
        animation: none !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }

    .loading-text {
        animation: none !important;
    }

    .brand {
        animation: none !important;
        background-position: 0% 0% !important;
    }
}

/* ===== STYLES POUR LES ÉCRANS HAUTE DENSITÉ ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .pfp {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}