/* ===== ROOT COLORS ===== */
:root {
    --primary: #6b3fa0;
    --primary-light: #8b5fbf;
    --accent: #f59e0b;
    --white: #ffffff;
}

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

html {
    height: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    height: 100vh;
    overflow: hidden;
    color: var(--white);
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6b3fa0, #8b5fbf, #6b3fa0);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

/* ===== ANIMATIONS ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.8;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* ===== BACKGROUND DECORATION ===== */
.background-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
    animation-duration: 8s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -50px;
    animation-delay: 1s;
    animation-duration: 7s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.circle-4 {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

/* ===== PARTICLES ===== */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    bottom: 0;
    --tx: 20px;
    --ty: -100vh;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 25%;
    bottom: 0;
    --tx: -30px;
    --ty: -100vh;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 40%;
    bottom: 0;
    --tx: 40px;
    --ty: -100vh;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 55%;
    bottom: 0;
    --tx: -20px;
    --ty: -100vh;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 70%;
    bottom: 0;
    --tx: 25px;
    --ty: -100vh;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 85%;
    bottom: 0;
    --tx: -35px;
    --ty: -100vh;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 15%;
    bottom: 0;
    --tx: 15px;
    --ty: -100vh;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    left: 60%;
    bottom: 0;
    --tx: -25px;
    --ty: -100vh;
    animation-delay: 4.5s;
}

/* ===== CONTENT ===== */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 1.5rem;
}

/* ===== LOGO SECTION ===== */
.logo-section {
    animation: fadeInUp 1s ease 0.2s both;
}

/* ===== LOGO IMAGE ===== */
.logo-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin-bottom: 0.3rem;
}

.tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ===== HEADING SECTION ===== */
.heading-section {
    animation: fadeInUp 1s ease 0.4s both;
    margin-bottom: 1.5rem;
}

.main-heading {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem 1.8rem;
    min-width: 120px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ===== LAUNCH MESSAGE ===== */
.launch-message {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease infinite;
}

/* ===== EMAIL FORM ===== */
.email-form-section {
    animation: fadeInUp 1s ease 0.8s both;
    margin-bottom: 1.5rem;
}

.email-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.email-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.notify-btn {
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.notify-btn:hover {
    background: #ea8f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.notify-btn:active {
    transform: translateY(0);
}

.notify-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===== FORM MESSAGE ===== */
.form-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 24px;
}

.form-message.success {
    color: #86efac;
}

.form-message.error {
    color: #fca5a5;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    animation: fadeInUp 1s ease 1s both;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* ===== FOOTER ===== */
.footer {
    animation: fadeInUp 1s ease 1.2s both;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Tablet */
@media (max-width: 768px) {
    .logo-img {
        max-width: 220px;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .main-heading {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem 1.2rem;
        min-width: 90px;
    }

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

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

/* Mobile */
@media (max-width: 480px) {
    .content {
        padding: 1rem;
    }

    .logo-img {
        max-width: 180px;
    }

    .tagline {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .main-heading {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .countdown {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .countdown-item {
        padding: 0.6rem 0.8rem;
        min-width: 70px;
    }

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

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

    .email-form {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: 16px;
    }

    .email-input {
        padding: 0.7rem;
    }

    .notify-btn {
        padding: 0.7rem;
        border-radius: 12px;
    }

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

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .launch-message {
        font-size: 1.5rem;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .logo-img {
        max-width: 150px;
    }

    .main-heading {
        font-size: 1.3rem;
    }

    .countdown-item {
        padding: 0.5rem 0.7rem;
        min-width: 60px;
    }

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