* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at center, rgba(92, 72, 255, 0.12) 0%, rgba(92, 72, 255, 0) 28%),
        radial-gradient(circle at center, #0b0d24 0%, #04050f 70%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* BACKGROUND GLOW */

.page-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(121, 95, 255, 0.08) 0%, rgba(121, 95, 255, 0) 35%),
        radial-gradient(circle at 50% 40%, rgba(50, 180, 255, 0.06) 0%, rgba(50, 180, 255, 0) 30%);
    pointer-events: none;
    z-index: 0;
}


/* CONTAINER */

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    padding: 24px;
}

/* LANGUAGE SWITCH */

.lang-switch {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 30;
    display: flex;
    gap: 10px;
}

.lang-switch button {
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.02);
    color: #b8b9cb;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
}

.lang-switch button:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.lang-switch button.active {
    color: #fff;
    border-color: rgba(160,140,255,0.85);
    box-shadow: 0 0 14px rgba(138,124,255,0.22);
}

/* LOGO */

.logo {
    width: 100%;
    max-width: 290px;
    margin: 0 auto 34px;
    filter: drop-shadow(0 0 26px rgba(138,124,255,0.18));
}

/* TEXT */

h1 {
    margin: 0 0 22px;
    font-size: 32px;
}

p {
    margin: 0 0 26px;
    color: #d5d7e3;
    font-size: 18px;
    line-height: 1.8;
}

.countdown {
    margin: 28px 0 18px;
    font-size: 38px;
    font-weight: bold;
    color: #a58cff;
}

.small {
    margin-bottom: 22px;
    color: #9c9eb2;
    font-size: 14px;
}

.links a {
    margin: 0 12px;
    color: #8d82ff;
    text-decoration: none;
}

.note {
    color: #70748f;
    font-size: 13px;
}

/* ===== ETAPY ===== */

.stage-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #6f7390;
    margin-bottom: 6px;
}

.stage-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stage-note {
    font-size: 11px;
    color: #7a7ea0;
}

/* DESKTOP SIDES */

.milestones {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.milestones.left { left: 40px; }
.milestones.right { right: 40px; }

.stage {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    text-align: left;
}

.links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8d82ff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link:hover svg {
    filter: drop-shadow(0 0 6px rgba(138,124,255,0.6));
}

/* COLORS */

.stage-1 { border-color: #57d7ff; }
.stage-2 { border-color: #78ffbf; }
.stage-3 { border-color: #ffc26b; }
.stage-4 { border-color: #ff6da8; }

/* MOBILE */

.milestones-mobile {
    display: none;
}

.hidden {
    display: none !important;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .milestones {
        width: 220px;
    }
}

@media (max-width: 980px) {

    body {
        flex-direction: column;
        align-items: flex-start;
        overflow-y: auto;
    }

    .container {
        padding: 100px 20px 30px;
    }

    /* HIDE SIDE STAGES */
    .milestones {
        display: none;
    }

    /* SHOW MOBILE STAGES */
    .milestones-mobile {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 420px;
        margin: 18px auto;
    }

    .milestones-mobile .stage {
        text-align: center;
    }
}

@media (max-width: 768px) {

    h1 { font-size: 26px; }
    p { font-size: 15px; }
    .countdown { font-size: 28px; }

}

@media (max-width: 480px) {

    .logo { max-width: 210px; }
    h1 { font-size: 22px; }

}
