/* ==========================================================
   Coming Soon Page — Dark Theme
   Uses the site's dark theme palette from theme.css
   ========================================================== */

body {
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #191919 !important;
    color: #ffffff !important;
}

body:before {
    display: none !important;
}

/* ---- Page wrapper ---- */
.coming-soon-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    animation: csFadeIn 1.4s ease-out forwards;
    opacity: 0;
}

@keyframes csFadeIn {
    to { opacity: 1; }
}

/* ---- Full animated gradient background ---- */
.cs-bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        135deg,
        #191919 0%,
        #0a1628 20%,
        #265269 45%,
        #4986b1 65%,
        #265269 80%,
        #191919 100%
    );
    background-size: 400% 400%;
    animation: csGradient 14s ease infinite;
}

.cs-bg-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 50% 40%,
        rgba(73, 134, 177, 0.12) 0%,
        transparent 70%
    );
}

@keyframes csGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- Floating particles ---- */
.cs-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.cs-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation: csFloat linear infinite;
}

.cs-particle:nth-child(1)  { left: 8%;  animation-duration: 20s; animation-delay: 0s;    width: 2px; height: 2px; }
.cs-particle:nth-child(2)  { left: 22%; animation-duration: 24s; animation-delay: 3s;    width: 4px; height: 4px; }
.cs-particle:nth-child(3)  { left: 38%; animation-duration: 18s; animation-delay: 1s; }
.cs-particle:nth-child(4)  { left: 52%; animation-duration: 22s; animation-delay: 5s;    width: 2px; height: 2px; }
.cs-particle:nth-child(5)  { left: 68%; animation-duration: 26s; animation-delay: 2s;    width: 4px; height: 4px; }
.cs-particle:nth-child(6)  { left: 82%; animation-duration: 19s; animation-delay: 4s; }
.cs-particle:nth-child(7)  { left: 14%; animation-duration: 23s; animation-delay: 6s;    width: 2px; height: 2px; }
.cs-particle:nth-child(8)  { left: 58%; animation-duration: 21s; animation-delay: 1.5s; }
.cs-particle:nth-child(9)  { left: 75%; animation-duration: 25s; animation-delay: 3.5s;  width: 2px; height: 2px; }
.cs-particle:nth-child(10) { left: 92%; animation-duration: 17s; animation-delay: 0.5s; }

@keyframes csFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ---- Content wrapper ---- */
.cs-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 820px;
    width: 100%;
}

/* ---- Logo ---- */
.cs-logo {
    margin-bottom: 2.5rem;
    animation: csSlideUp 1s ease 0.3s both;
}

.cs-logo img {
    max-width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.4s ease;
}

.cs-logo img:hover {
    transform: scale(1.05);
}

/* ---- Decorative divider ---- */
.cs-divider {
    width: 76px;
    height: 2px;
    background: linear-gradient(135deg, #4986b1, #2dd4bf);
    margin: 0 auto 2.5rem;
    border-radius: 2px;
    animation: csSlideUp 1s ease 0.4s both;
}

/* ---- Typography ---- */
.cs-headline {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    animation: csSlideUp 1s ease 0.5s both;
}

.cs-headline span {
    background: linear-gradient(135deg, #4986b1, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cs-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: #cccccc;
    margin-bottom: 0.75rem;
    line-height: 1.9;
    animation: csSlideUp 1s ease 0.7s both;
}

.cs-subheadline-en {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 300;
    color: #999999;
    letter-spacing: 1px;
    margin-bottom: 3.5rem;
    direction: ltr;
    font-style: italic;
    animation: csSlideUp 1s ease 0.9s both;
}

@keyframes csSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Countdown Timer ---- */
.cs-countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    direction: ltr;
    animation: csSlideUp 1s ease 1.1s both;
}

.cs-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #191919;
    border: 1px solid #333333;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    min-width: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cs-countdown-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
    border-color: #4986b1;
}

.cs-countdown-value {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4986b1, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-variant-numeric: tabular-nums;
}

.cs-countdown-label {
    font-size: 0.85rem;
    color: #999999;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cs-launched {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #4986b1, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ---- Social Icons ---- */
.cs-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    animation: csSlideUp 1s ease 1.3s both;
}

.cs-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #333333;
    color: #cccccc !important;
    font-size: 1.2rem;
    text-decoration: none !important;
    transition: all 0.35s ease !important;
    background: #191919;
}

.cs-social a:hover {
    background: #4986b1;
    border-color: #4986b1;
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(73, 134, 177, 0.35);
}

/* ---- Footer ---- */
.cs-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 1.5rem 1rem;
    z-index: 1;
    background: #191919;
    border-top: 1px solid #333333;
    animation: csSlideUp 1s ease 1.5s both;
}

.cs-footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .cs-content {
        padding: 1.5rem;
    }

    .cs-countdown {
        gap: 0.85rem;
    }

    .cs-countdown-item {
        min-width: 75px;
        padding: 1.1rem 0.9rem;
        border-radius: 14px;
    }

    .cs-countdown-value {
        font-size: 2rem;
    }

    .cs-countdown-label {
        font-size: 0.75rem;
    }

    .cs-logo img {
        max-width: 300px;
    }

    .cs-logo {
        margin-bottom: 2rem;
    }

    .cs-subheadline-en {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .cs-countdown {
        gap: 0.5rem;
    }

    .cs-countdown-item {
        min-width: 65px;
        padding: 0.85rem 0.6rem;
        border-radius: 12px;
    }

    .cs-countdown-value {
        font-size: 1.6rem;
    }

    .cs-countdown-label {
        font-size: 0.7rem;
    }

    .cs-social a {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }

    .cs-social {
        gap: 1rem;
    }

    .cs-logo img {
        max-width: 110px;
    }

    .cs-headline {
        line-height: 1.6;
    }
}
