@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600&display=swap');

:root {
    --bg: #ffffff;
    --text: #0f172a;
    --accent: #16a34a;
    --gray: #64748b;
    --facebook: #1877F2;
    --instagram: #E4405F;
    --telegram: #0088cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    min-height: 100%;
}

.container {
    text-align: center;
    padding: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.logo-container {
    margin: 0 auto 1.5rem;
    width: 200px;
    height: auto;
    max-width: 25%;
}

.logo {
    max-width: 100%;
    height: auto;
}

.status {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.description {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    color: var(--gray);
    font-size: 1.15rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--text);
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link.facebook:hover {
    border-color: var(--facebook);
    background-color: var(--facebook);
}

.social-link.instagram:hover {
    border-color: var(--instagram);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.telegram:hover {
    border-color: var(--telegram);
    background-color: var(--telegram);
}

.social-icon {
    width: 28px;
    height: 28px;
    display: block;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-container {
    background: #0f172a;
    color: white;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cookie-text {
    flex: 1;
    text-align: left;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-container button {
    background-color: transparent;
    color: white;
    padding: 0.6rem 1.2rem;
    border: 1px solid white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-container button.accept {
    background-color: var(--accent);
    border-color: var(--accent);
}

.cookie-container button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Age Verification Popup */
.age-verify-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.age-verify-popup {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.age-verify-popup h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.age-verify-popup p {
    margin-bottom: 2rem;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.age-verify-popup .logo-small {
    width: 80px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.age-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.age-button {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    min-width: 120px;
}

.age-button.yes {
    background-color: var(--accent);
    color: white;
    border: none;
}

.age-button.no {
    background-color: transparent;
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.age-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {

    html,
    body {
        height: 100%;
        /* Empêche le dépassement vertical */
        overflow-y: hidden;
    }

    .container {
        padding: 1rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .status {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }

    .description {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .logo-container {
        width: 120px;
        margin-bottom: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        padding: 0.8rem;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .age-verify-popup {
        padding: 1.5rem;
        width: 95%;
    }

    .age-verify-popup h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .age-verify-popup p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .age-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
}