/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --crimson: #e8385d;
    --crimson-dark: #c4233f;
    --crimson-light: #ff5a7e;
    --crimson-glow: rgba(232, 56, 93, 0.4);
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===========================
   Particle Canvas
   =========================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===========================
   Background Orbs
   =========================== */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--crimson);
    top: -10%;
    left: -10%;
    animation: orbFloat1 15s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #6c1b3a;
    bottom: -15%;
    right: -10%;
    animation: orbFloat2 18s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #2a1040;
    top: 40%;
    left: 60%;
    animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.1); }
    66% { transform: translate(-40px, 100px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -80px) scale(1.15); }
    66% { transform: translate(50px, -40px) scale(0.85); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(70px, -50px) scale(1.1); }
    66% { transform: translate(-80px, 30px) scale(0.95); }
}

/* ===========================
   Main Container
   =========================== */
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 36px;
    text-align: center;
}

/* ===========================
   Logo Section
   =========================== */
.logo-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInDown 1s ease-out;
}

.logo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--crimson-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: logoGlowPulse 4s ease-in-out infinite;
}

@keyframes logoGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

.logo {
    width: 320px;
    max-width: 80vw;
    height: auto;
    border-radius: 16px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* ===========================
   Heading Section
   =========================== */
.heading-section {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.coming-soon-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    letter-spacing: 0.08em;
    display: flex;
    gap: 0.3em;
    justify-content: center;
    flex-wrap: wrap;
}

.word-coming {
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.word-soon {
    background: linear-gradient(135deg, var(--crimson-light), var(--crimson), var(--crimson-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.4); }
}

.tagline {
    margin-top: 12px;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

/* ===========================
   Countdown Section
   =========================== */
.countdown-section {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.countdown-value-wrapper {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.countdown-value-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 56, 93, 0.3), transparent);
}

.countdown-value-wrapper:hover {
    border-color: var(--crimson-glow);
    box-shadow: 0 0 30px rgba(232, 56, 93, 0.15);
}

.countdown-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.countdown-value.flip {
    animation: flipDigit 0.6s ease-in-out;
}

@keyframes flipDigit {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.countdown-separator {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--crimson);
    margin-bottom: 28px;
    animation: separatorPulse 1s ease-in-out infinite;
}

@keyframes separatorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* ===========================
   Subscribe Section
   =========================== */
.subscribe-section {
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 1s ease-out 0.9s backwards;
}

.subscribe-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 5px 5px 5px 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--crimson);
    box-shadow: 0 0 30px rgba(232, 56, 93, 0.15), inset 0 0 30px rgba(232, 56, 93, 0.03);
}

#email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 12px 0;
    min-width: 0;
}

#email-input::placeholder {
    color: var(--text-muted);
}

#notify-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

#notify-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 30px rgba(232, 56, 93, 0.4);
}

#notify-btn:hover::before {
    left: 100%;
}

#notify-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

#notify-btn:hover .btn-icon {
    transform: translateX(3px);
}

.subscribe-message {
    margin-top: 12px;
    font-size: 0.85rem;
    min-height: 1.2em;
    transition: all 0.3s ease;
}

.subscribe-message.success {
    color: #4ade80;
}

.subscribe-message.error {
    color: var(--crimson-light);
}

/* ===========================
   Social Section
   =========================== */
.social-section {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--crimson-light);
    border-color: var(--crimson-glow);
    background: rgba(232, 56, 93, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 56, 93, 0.2);
}

.social-link:active {
    transform: translateY(0);
}

/* ===========================
   Footer
   =========================== */
.footer {
    animation: fadeIn 1s ease-out 1.5s backwards;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablets */
@media (max-width: 768px) {
    .main-container {
        padding: 40px 20px;
        gap: 30px;
    }

    .logo {
        width: 260px;
    }

    .logo-glow {
        width: 220px;
        height: 220px;
    }

    .countdown-value-wrapper {
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .countdown-separator {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }

    .countdown-container {
        gap: 8px;
    }

    #notify-btn {
        padding: 12px 22px;
    }

    .social-link {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .main-container {
        padding: 30px 16px;
        gap: 26px;
        justify-content: center;
    }

    .logo {
        width: 220px;
    }

    .logo-glow {
        width: 180px;
        height: 180px;
    }

    .coming-soon-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
        gap: 0.2em;
    }

    .tagline {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    .countdown-value-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }

    .countdown-value {
        font-size: 1.3rem;
    }

    .countdown-separator {
        font-size: 1.3rem;
        margin-bottom: 22px;
    }

    .countdown-container {
        gap: 6px;
    }

    .countdown-label {
        font-size: 0.6rem;
    }

    .input-wrapper {
        flex-direction: column;
        border-radius: 20px;
        padding: 4px;
        gap: 0;
    }

    #email-input {
        width: 100%;
        text-align: center;
        padding: 14px 16px 10px;
    }

    #notify-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        border-radius: 16px;
    }

    .subscribe-text {
        font-size: 0.85rem;
    }

    .social-section {
        gap: 12px;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }
}

/* Small mobiles */
@media (max-width: 360px) {
    .countdown-value-wrapper {
        width: 52px;
        height: 52px;
    }

    .countdown-value {
        font-size: 1.1rem;
    }

    .countdown-separator {
        font-size: 1.1rem;
    }

    .logo {
        width: 190px;
    }
}

/* Very tall screens / large desktops */
@media (min-height: 900px) and (min-width: 769px) {
    .main-container {
        gap: 44px;
    }
}
