:root {
    --primary-color: #00f7ff;
    --secondary-color: #1a1a2e;
    --accent-color: #e2e2e2;
    --gradient-bg: linear-gradient(135deg, #1a1a2e, #16213e);
}

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

body {
    background: var(--gradient-bg);
    color: #fff;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.games-hero {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    margin-top: 0;
    padding-top: 80px;
}

.games-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.games-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.games-grid {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.game-image {
    position: relative;
    width: 100%;
    height: 400px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover .game-info {
    opacity: 1;
}

.information {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.information h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.information p {
    font-size: 0.9rem; /* Réduit la taille de la police */
    line-height: 1.4; /* Ajuste l'espacement entre les lignes */
    margin-bottom: 20px; /* Ajuste l'espacement inférieur */
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.game-features span {
    background: rgba(0, 247, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
}

.play-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.play-button:hover {
    background: #fff;
    transform: scale(1.05);
}

footer {
    background: rgba(26, 26, 46, 0.9);
    padding: 3rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.launcher-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 60px 0;
}

.launcher-card {
    background: linear-gradient(135deg, #1a1a2e 60%, #00f7ff22 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    padding: 40px 48px;
    gap: 48px;
    max-width: 800px;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.launcher-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 16px 48px rgba(0,247,255,0.15), 0 8px 32px rgba(0,0,0,0.25);
}

.launcher-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge-new {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #00f7ff, #1a1a2e);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 12px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,247,255,0.15);
    z-index: 2;
    animation: badgePop 1s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes badgePop {
    0% { transform: translateX(-50%) scale(0.7);}
    70% { transform: translateX(-50%) scale(1.15);}
    100% { transform: translateX(-50%) scale(1);}
}

.launcher-image {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 18px;
    background: #16213e;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border: 2px solid var(--primary-color);
}

.launcher-info h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.launcher-info p {
    color: #e2e2e2;
    margin-bottom: 24px;
    font-size: 1.13rem;
    line-height: 1.6;
}

.launcher-highlight {
    display: block;
    color: #00f7ff;
    font-weight: 600;
    margin-top: 8px;
    font-size: 1rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #00f7ff 60%, #fff 100%);
    color: var(--secondary-color);
    padding: 16px 40px;
    border-radius: 32px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,247,255,0.10);
    border: none;
    outline: none;
    cursor: pointer;
    gap: 12px;
}
.download-button:hover {
    background: linear-gradient(90deg, #fff 60%, #00f7ff 100%);
    color: var(--primary-color);
    transform: scale(1.06);
    box-shadow: 0 4px 24px rgba(0,247,255,0.18);
}
.download-icon {
    font-size: 1.3em;
    margin-right: 6px;
}

@media (max-width: 900px) {
    .launcher-card {
        flex-direction: column;
        padding: 32px 16px;
        gap: 24px;
        max-width: 98vw;
    }
    .launcher-image {
        width: 100px;
        height: 100px;
    }
    .launcher-info h2 {
        font-size: 1.5rem;
    }
    .launcher-info p {
        font-size: 1rem;
    }
}