/* ===================== */
/* Reset & Body          */
/* ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #31f7f6;
    --accent-soft: #79faf9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #06080f;
    color: #e8ecf5;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* ===================== */
/* Background & Overlay  */
/* ===================== */
#HeroBack {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.75; z-index: 0;
}

.overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(4, 7, 16, 0.7);
    z-index: 1;
}

/* ===================== */
/* Disclaimer Modal      */
/* ===================== */
#Disclaimer {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 100;
}

.disc-content {
    background: #0a0e1a;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 20px,
            rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 22px),
        repeating-linear-gradient(-45deg, transparent, transparent 20px,
            rgba(255, 255, 255, 0.02) 20px, rgba(255, 255, 255, 0.02) 22px);
    border: 2px solid var(--accent);
    border-radius: 4px;
    box-shadow:
        0 0 15px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.35),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    padding: 40px 44px 32px;
    max-width: 460px; width: 90%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

/* Logo : les logos livrés ont un fond opaque (clair ou sombre selon le site),
   la pastille arrondie fonctionne dans les deux cas. */
.disc-logo {
    display: block;
    width: 210px; height: auto;
    margin: 0 auto 18px;
    border-radius: 6px;
}

.disc-subtitle {
    font-size: 0.82rem; font-weight: 700;
    color: #9aa6c0; letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px; line-height: 1.5;
}

.disc-title {
    font-size: 1.6rem; font-weight: 800;
    color: var(--accent); line-height: 1.3;
    margin-bottom: 16px; text-transform: uppercase;
}

.disc-text {
    font-size: 0.85rem; color: #8590ad;
    margin-bottom: 26px; line-height: 1.55;
}

#DiscYes {
    display: block; width: 240px;
    margin: 0 auto 18px; padding: 14px 0;
    font-size: 1.1rem; font-weight: 700;
    color: #0a0e1a;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    border: none; border-radius: 30px;
    cursor: pointer; text-decoration: none; text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

#DiscYes:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.disc-leave { margin-bottom: 18px; }

.disc-leave span {
    font-size: 0.9rem; color: #8590ad;
    text-decoration: underline; cursor: pointer;
    transition: color 0.2s;
}

.disc-leave span:hover { color: #fff; }

.disc-signin { font-size: 0.85rem; color: #8590ad; }

.disc-signin a {
    color: var(--accent); text-decoration: none; font-weight: 600;
}

.disc-signin a:hover { text-decoration: underline; }

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===================== */
/* SEO Content (details) */
/* ===================== */
details {
    position: absolute;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

details summary { display: none; }

article {
    max-width: 800px; margin: 0 auto;
    padding: 40px 20px; color: #ddd; line-height: 1.8;
}

article h1 {
    font-size: 2rem; margin-bottom: 20px; color: var(--accent);
}

article h2 {
    font-size: 1.5rem; margin: 32px 0 16px; color: var(--accent);
}

article h3 {
    font-size: 1.2rem; margin: 24px 0 12px; color: var(--accent-soft);
}

article p { margin-bottom: 16px; color: #ccc; }

article ul, article ol { margin: 16px 0; padding-left: 24px; }

article li { margin-bottom: 8px; color: #ccc; }

article blockquote {
    border-left: 3px solid var(--accent);
    padding: 12px 20px; margin: 20px 0;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 8px 8px 0;
}

article table { width: 100%; border-collapse: collapse; margin: 20px 0; }

article th, article td {
    padding: 12px; border: 1px solid #1c2440; text-align: left;
}

article th { background: #0a0e1a; color: #fff; }

article td { color: #ccc; }

/* ===================== */
/* Responsive            */
/* ===================== */
@media screen and (max-width: 600px) {
    .disc-content { padding: 30px 20px 26px; margin: 16px; }
    .disc-logo { width: 170px; }
    .disc-subtitle { font-size: 0.72rem; letter-spacing: 1.5px; }
    .disc-title { font-size: 1.25rem; }
    .disc-text { font-size: 0.8rem; margin-bottom: 20px; }
    #DiscYes { width: 200px; padding: 12px 0; font-size: 1rem; }
}
