:root {
    --accent-color: #ff69b4;
    --highlight-color: #800080;
    --button-color: #e60073;
    --link-color: #ff333a;
    --primary-color: #4CAF50;
    --secondary-color: #f44336;
    --background-color: #010101;
    --text-color: #f4f4f4;
}

.hero {
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 0;
    background: linear-gradient(to bottom, #010101a0, #010101), url('../images/bg-hero.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 30px 50px;
    border-radius: 20px;
    position: relative;
}

.hero .row {
    width: 100%;
    margin: 0;
}

h1 {
    font-size: 75px;
    line-height: 76px;
    margin-bottom: 30px;
}

h2 {
    font-size: 40px;
}

body {
    margin: 0;
    font-family: 'Urbanist', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.main-cta-button {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.hero_apk_img {
    position: absolute;
    right: 80px;
    width: 350px;
}

#suppression>div {
    width: 60%;
    padding: 50px 10px 50px 0;
}

#suppression .content {
    position: relative;
    top: -30px;
}

#polemique {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    padding: 40px 10px 0px 10px;
}

.polemique_reaction {
    width: 100%;
}

#polemique .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 50px;
    align-items: flex-start;
}

#polemique .content button {
    background: var(--text-color);
    color: var(--background-color);
}

#github {
    margin: 60px 0;
}

.github {
    width: 100%;
    border-radius: 20px;
}

#resume {
    padding: 0 40px;
    border-radius: 20px;
    margin: 70px 0;
    display: flex;
    height: 300px;
    background: linear-gradient(20deg, var(--background-color), #0d0d0d);
    overflow: hidden;
    position: relative;
    align-items: center;
    border: 1px solid #0e0e0e06;
}

.resume_img {
    width: 500px;
    object-fit: cover;
    position: absolute;
    top: -60px;
    left: 0;
}

.conclusion-box {
    width: 55%;
    position: absolute;
    left: 500px;
}

/* Styles pour le footer */
.footer-styled {
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #2d2c2c;
    background: #101010;
}

.footer-styled p {
    margin: 0;
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Styles pour le popup de vérification d'âge */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--background-color), #1a1a1a);
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 90%;

}

.age-modal-header {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    padding: 20px;
    text-align: center;
}

.age-modal-header h2 {
    margin: 0;
    color: white;
    font-size: 1.8em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.age-modal-body {
    padding: 30px;
    text-align: center;
    color: var(--text-color);
}

.age-modal-body p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

.age-warning {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    font-weight: bold;
    color: var(--accent-color);
}

.age-modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-age-confirm,
.btn-age-deny {
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-age-confirm {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-age-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.btn-age-deny {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.btn-age-deny:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .age-modal-footer {
        flex-direction: column;
    }

    .btn-age-confirm,
    .btn-age-deny {
        min-width: auto;
        width: 100%;
    }

    .footer-styled .text-end {
        text-align: start !important;
        margin-top: 10px;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-bottom: 200px;
    padding: 15px 0;
    background: var(--background-color);
}

#accueil {
    margin-top: 100px;
}

.nav-item {
    display: flex;
    align-items: center;

}

.nav-item a {
    color: var(--text-color);
}
/* Language dropdown readability */
.navbar .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    min-width: 220px;
}

.navbar .dropdown-item {
    color: #141414 !important;
    font-weight: 600;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(230, 0, 115, 0.12);
    color: #111111 !important;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
    color: #ffffff !important;
}
