* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Styles personnalisés pour la scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgb(255, 255, 255) transparent;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

header:hover {
    background: rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    margin-left: 0;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.logo-section:hover {
    opacity: 0.8;
}

.site-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.2;
    display: flex;
    background-color: #1f1f21;
    padding: 5px 15px;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    background-image: linear-gradient(90deg, #ffffff 0%, #ffffff 25%, #000000 50%, #ffffff 75%, #ffffff 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s linear infinite;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    position: relative;
    height: 100%;
    flex-shrink: 0;
}

.connexion-button {
    background-color: rgb(255, 255, 255);
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: .5rem .75rem;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    line-height: 1.25rem;
}

.connexion-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.connexion-button svg {
    flex-shrink: 0;
}

.chevron-button {
    background-color: #2a2a2a;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.chevron-button:hover {
    background-color: #353535;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.chevron-button svg {
    transform: rotate(180deg);
    flex-shrink: 0;
    color: #fff;
    stroke: #fff;
    transition: transform 0.3s ease;
}

.chevron-button.menu-open svg {
    transform: rotate(0deg);
}

.menu {
    padding: 0;
    background-color: transparent;
    position: static;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    white-space: nowrap;
    margin-right: 8px;
}

.menu.show {
    opacity: 1;
    max-width: 2000px;
    pointer-events: all;
    display: flex;
}

.link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: .5rem .75rem;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    background-color: #ffffff1a;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: .875rem;
    line-height: 1.25rem;
}

.link svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 20px;
    margin-top: 80px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.countdown-box {
    background: linear-gradient(180deg, rgb(8 8 10 / 96%), rgba(8, 8, 12, .96));
    padding: 40px 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .75);
    backdrop-filter: blur(14px);
    width: 100%;
    max-width: 750px;
    border-radius: 30px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .05);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid rgba(255, 255, 255, .10);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-text {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.countdown-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.2;
    margin-bottom: 30px;
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    width: 120px;
    height: 120px;
    aspect-ratio: 1;
    border-radius: 24px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 12px 35px rgba(0, 0, 0, .30);
}

.countdown-number {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-label {
    color: rgba(255, 255, 255, .55);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.05;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.countdown-separator {
    display: none;
}

.countdown-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-top: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.telegram-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0088cc;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgb(255 255 255 / 30%);
}

.telegram-button:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.4);
}

.telegram-button svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.footer-content {
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-content p {
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

@keyframes gradientShift {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

/* Bloquer le menu en dessous de 1175px */
@media (max-width: 1174px) {
    .menu.show {
        opacity: 0 !important;
        max-width: 0 !important;
        pointer-events: none !important;
        display: none !important;
    }

    .chevron-button.menu-open {
        transform: none;
    }

    .chevron-button.menu-open svg {
        transform: rotate(180deg) !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header{
        padding: 15px;
    }

    .header-content {
        gap: 0px;
    }
    
    .site-title {
        font-size: 22px;
    }

    .countdown-container {
        padding: 15px;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .countdown-box {
        padding: 30px 20px;
    }

    .status-badge {
        padding: 6px 12px;
        margin-bottom: 15px;
    }

    .status-text {
        font-size: 0.75rem;
    }

    .countdown-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .countdown-item {
        padding: 15px;
        width: 90px;
        height: 90px;
        aspect-ratio: 1;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-display {
        gap: 10px;
    }

    .countdown-label {
        font-size: 8px;
        margin-top: 4px;
    }

    .countdown-date {
        font-size: 0.9rem;
    }

    .telegram-text {
        font-size: 0.9rem;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .telegram-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .telegram-button svg {
        width: 22px;
        height: 22px;
    }
}
