
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Variables */
:root {
    /* Light Theme */
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: rgba(26, 26, 26, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(255, 255, 255, 0.4);
    --bg-gradient-start: #f3e7e9;
    --bg-gradient-end: #e3eeff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] {
    /* Dark Theme */
    --primary-color: #a78bfa;
    --secondary-color: #c084fc;
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.2);
    --bg-gradient-start: #1c1c3a;
    --bg-gradient-end: #3a1c36;
    --shadow-color: rgba(99, 102, 241, 0.3);
}

/* Fullscreen + No Scroll */
html, body {
    height: 100%;
    width: 100%;
    overflow: hidden; /* No scrollbars */
    transition: background 0.5s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    color: var(--text-primary);
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

/* Main Container */
.container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2%;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    text-align: center;
    width: 90vw; /* Always 90% of screen width */
    height: 90vh; /* Fill 90% of screen height */
    box-shadow: 0 25px 50px var(--shadow-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: cardEntrance 1s ease-out forwards;
    overflow: hidden;
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

@keyframes cardEntrance {
    to { transform: translateY(0); opacity: 1; }
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* space between text and image */
    justify-content: center; /* center horizontally */
    margin-bottom: 50px;
}

.logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-image img {
    height: 30px; /* adjust as needed */
    width: auto;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 5px rgba(6, 255, 165, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(6, 255, 165, 0.6)); }
}

/* Heading */
.heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.heading .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Description */
.description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 900px;
    margin-inline: auto;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
    min-width: 70px;
}

.countdown-number {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-color);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Email Form */
.email-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1 1 250px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
}

.submit-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-link:hover {
    transform: scale(1.4); /* Smooth scale instead of jumpy large */
    transition: transform 0.2s ease-in-out;
}
.social-link svg {
    transition: transform 0.3s ease;
    display: block;
    fill: currentColor;
}

.social-link:hover svg {
    transform: scale(1.3); /* Expand the icon itself */
}

/* Theme Toggle Button */
#theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
    z-index: 100;
}

#theme-toggle:hover {
    background: var(--glass-border);
}

#theme-toggle svg {
    color: var(--text-primary);
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

#theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-color);
}



/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(6, 255, 165, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .glass-card {
        padding: 20px;
    }
    .countdown {
        gap: 10px;
    }
    .description{
        padding-left: 50px;
        padding-right: 50px;
    }
}
