/* ==========================================================================
   GPA THE LUXURY — "COMING SOON" PAGE
   Reuses design tokens, buttons, socials & modal styles from style.css
   ========================================================================== */

html, body.cs-body {
    height: 100%;
    background-color: var(--color-bg-deep);
}

.cs-body {
    position: relative;
    overflow-x: hidden;
}

/* --- BACKGROUND IMAGE + GRADIENT VEIL --- */
.cs-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}
.cs-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: saturate(1.05) brightness(0.55);
}
.cs-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center 40%, rgba(4, 10, 7, 0.55) 0%, rgba(4, 10, 7, 0.88) 75%),
        linear-gradient(to bottom, rgba(4, 10, 7, 0.75) 0%, rgba(4, 10, 7, 0.55) 35%, rgba(4, 10, 7, 0.92) 100%);
}

/* --- FLOATING GOLD PARTICLES --- */
.cs-particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.cs-particle {
    position: absolute;
    bottom: -5%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary-light) 0%, var(--color-primary) 55%, transparent 75%);
    opacity: 0;
    animation-name: cs-float-up;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
    box-shadow: 0 0 6px 1px rgba(197, 168, 128, 0.5);
}

@keyframes cs-float-up {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: var(--cs-particle-opacity, 0.8);
    }
    50% {
        transform: translateY(-50vh) translateX(var(--cs-drift, 20px));
    }
    90% {
        opacity: var(--cs-particle-opacity, 0.8);
    }
    100% {
        transform: translateY(-105vh) translateX(calc(var(--cs-drift, 20px) * -1));
        opacity: 0;
    }
}

/* --- MAIN CONTENT --- */
.cs-content {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    width: 90%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 0;
    gap: 1.25rem;
}

/* --- ROTATING GOLD RING EMBLEM --- */
.cs-emblem {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.6rem, 4vw, 2.4rem) clamp(2.2rem, 6vw, 3.4rem);
    margin-bottom: 0.5rem;
}
.cs-emblem-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--color-primary) 60deg, transparent 140deg, transparent 220deg, var(--color-primary-light) 280deg, transparent 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
    animation: cs-rotate 9s linear infinite;
}
.cs-emblem-ring::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px solid var(--color-border-gold);
}
@keyframes cs-rotate {
    to { transform: rotate(360deg); }
}
.cs-logo {
    position: relative;
    z-index: 2;
    align-items: center;
    text-align: center;
}
.cs-logo .logo-title { font-size: clamp(1.3rem, 3vw, 1.6rem); }
.cs-logo .logo-sub { font-size: 0.7rem; letter-spacing: 5px; text-transform: uppercase; }

/* --- TAG / HEADING / DESC --- */
.cs-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary);
    font-weight: 600;
}

.cs-heading {
    font-size: clamp(2.1rem, 6vw, 3.6rem);
    font-weight: 400;
    line-height: 1.2;
}

.cs-desc {
    max-width: 560px;
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* --- COUNTDOWN --- */
.cs-countdown {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 2vw, 1.2rem);
    margin: 0.75rem 0;
}
.cs-count-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: clamp(64px, 18vw, 92px);
    padding: clamp(0.8rem, 2vw, 1.2rem) 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.cs-count-num {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4.5vw, 2.4rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cs-count-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
}
.cs-count-sep {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--color-primary);
    opacity: 0.6;
    animation: cs-blink 1.4s ease-in-out infinite;
    margin-top: -1.4rem;
}
@keyframes cs-blink {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.75; }
}

/* --- NOTIFY FORM --- */
.cs-notify {
    display: flex;
    gap: 0.8rem;
    width: 100%;
    max-width: 460px;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.cs-notify-input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 0.95rem 1.3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}
.cs-notify-input::placeholder {
    color: var(--color-text-muted);
}
.cs-notify-input:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
}
.cs-notify-btn {
    flex: 1 1 160px;
    white-space: nowrap;
}

.cs-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.cs-back-link {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}
.cs-back-link:hover {
    color: var(--color-primary);
}

/* --- ON-LOAD REVEAL (no scroll needed, single-view page) --- */
.cs-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: cs-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cs-delay-1 { animation-delay: 0.15s; }
.cs-delay-2 { animation-delay: 0.3s; }
.cs-delay-3 { animation-delay: 0.45s; }
.cs-delay-4 { animation-delay: 0.6s; }

@keyframes cs-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-reveal, .cs-emblem-ring, .cs-particle, .cs-count-sep {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
    .cs-countdown { gap: 0.5rem; }
    .cs-count-box { width: 62px; padding: 0.7rem 0.3rem; }
    .cs-notify { flex-direction: column; }
    .cs-notify-btn { width: 100%; }
}
