/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    overflow: hidden; /* Empêche le scroll si possible pour un effet "app" */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

/* --- BACKGROUND --- */
/* Remplace l'URL ci-dessous par une image de GTA ou de ton serveur */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://wallpaper.forfun.com/fetch/58/58bb5fcb20f4e488c4fe30e90d48cfff.jpeg') no-repeat center center/cover;
    z-index: -2;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0, 20, 40, 0.8) 100%);
    z-index: -1;
}

/* --- CONTENU --- */
.content-wrapper {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

/* --- HEADER --- */
.server-status {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 0, 0.1);
    color: #4ade80;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-dot {
    height: 8px;
    width: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse 2s infinite;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem; /* Très gros titre */
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    /* Effet de texte dégradé */
    background: -webkit-linear-gradient(#fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

.subtitle {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
}

.btn-play {
    text-decoration: none;
    color: white;
    background: #00aaff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-play:hover {
    background: transparent;
    border-color: #00aaff;
    box-shadow: 0 0 40px rgba(0, 170, 255, 0.6);
    transform: translateY(-3px);
}

/* --- CARTES --- */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.card {
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05); /* Effet verre */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Style spécifique au survol */
.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card:hover.shop-card {
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15); /* Ombre dorée pour le shop */
    border-color: rgba(255, 215, 0, 0.3);
}
.card:hover.discord-card {
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.15); /* Ombre violette discord */
    border-color: rgba(88, 101, 242, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00aaff;
    transition: transform 0.3s;
}

.shop-card .card-icon { color: #ffd700; } /* Or pour le shop */
.discord-card .card-icon { color: #5865F2; } /* Violet pour discord */

.card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.4;
}

.link-arrow {
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- FOOTER --- */
footer {
    margin-top: 20px;
    color: #555;
    font-size: 0.8rem;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* --- RESPONSIVE (Mobile) --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    body { overflow-y: auto; } /* Autorise le scroll sur mobile */
    .cards-container { flex-direction: column; align-items: center; }
    .card { width: 100%; max-width: 350px; }
}