/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* CSS Variables for easy customization */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-color: #ffffff;
    --text-secondary: #cbd5e1;
    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Animated particles background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    opacity: 0.3;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 80%;
    animation-delay: 2s;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 15%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 75%;
    animation-delay: 1s;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 80%;
    left: 20%;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    width: 90px;
    height: 90px;
    top: 40%;
    left: 85%;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    width: 110px;
    height: 110px;
    top: 60%;
    left: 50%;
    animation-delay: 2.5s;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

.particle:nth-child(8) {
    width: 75px;
    height: 75px;
    top: 15%;
    left: 45%;
    animation-delay: 4.5s;
}

.particle:nth-child(9) {
    width: 85px;
    height: 85px;
    top: 85%;
    left: 60%;
    animation-delay: 1.5s;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
}

.particle:nth-child(10) {
    width: 95px;
    height: 95px;
    top: 30%;
    left: 30%;
    animation-delay: 3.5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Main content */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

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

/* Logo section */
.logo-section {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.logo-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.icon {
    width: 50px;
    height: 50px;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(99, 102, 241, 0.6);
    }
}

/* Title */
.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite, fadeInUp 1s ease-out 0.4s backwards;
}

.title-line {
    display: block;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Description */
.description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Countdown timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.countdown-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Notify form */
.notify-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.notify-button {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.notify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

/* Success message */
.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    color: #22c55e;
    max-width: 500px;
    margin: 0 auto 2rem;
    animation: slideIn 0.5s ease-out;
}

.success-message.show {
    display: flex;
}

.success-icon {
    width: 24px;
    height: 24px;
    color: #22c55e;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.2s backwards;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    color: var(--text-color);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

/* Footer */
.footer {
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: fadeInUp 1s ease-out 1.4s backwards;
}

/* Responsive design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        padding: 1rem 1.5rem;
        min-width: 90px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .notify-button {
        width: 100%;
    }
    
    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 70px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
    }
    
    .icon {
        width: 40px;
        height: 40px;
    }
}
