/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff3b3b, #ffaa00, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-btn-wrapper {
    position: relative;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    background: rgba(255, 59, 59, 0.2);
    border-color: #ff3b3b;
    transform: translateY(-2px);
}

/* Steam Button Special */
.steam-btn {
    cursor: not-allowed;
}

.steam-tooltip {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(135deg, #ff3b3b, #ffaa00);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 59, 59, 0.4);
}

.steam-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ff3b3b;
}

.steam-btn-wrapper:hover .steam-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1a0505 0%, #0a0a0a 100%);
    padding-top: 80px;
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff3b3b;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ff3b3b, #ffaa00, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 0 50px rgba(255, 59, 59, 0.5);
}

/* ZONE DE TEXTE MODIFIABLE */
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}
/* FIN ZONE DE TEXTE MODIFIABLE */

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff3b3b, #ffaa00);
    border: none;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 10px 30px rgba(255, 59, 59, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 59, 59, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Section */
.games-section {
    min-height: 60vh;
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #0a0a0a, #1a0505, #0a0a0a);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.games-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ff3b3b, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.games-empty {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.5rem;
    color: #9ca3af;
    font-style: italic;
    padding: 3rem;
}

/* Game Card Styles */
.game-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 59, 59, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #ff3b3b;
    box-shadow: 0 20px 40px rgba(255, 59, 59, 0.3);
}

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #ff3b3b, #ffaa00);
}

.game-card-content {
    padding: 1.5rem;
}

.game-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.game-card-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-card-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff3b3b, #ffaa00);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-card-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.4);
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 59, 59, 0.2);
    text-align: center;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ZONE DE TEXTE MODIFIABLE (MAX 20 CARACTÈRES) */
.footer-extra {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
/* FIN ZONE DE TEXTE MODIFIABLE */

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .social-buttons {
        gap: 0.3rem;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
}