:root {
    --bg-color: #0b0f19;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.4);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.05), transparent 25%);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glass-container {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 4rem;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

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

header {
    text-align: center;
    margin-bottom: 2.5rem;
    transform: translateZ(30px);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.icon {
    font-size: 2.5rem;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 10px var(--accent-glow);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 25px var(--accent-color);
        transform: scale(1.1);
    }
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.content {
    text-align: center;
    margin-bottom: 3rem;
    transform: translateZ(20px);
}

.content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

.notify-form {
    display: flex;
    gap: 0.5rem;
    max-width: 450px;
    margin: 0 auto;
}

input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

button {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    background: var(--accent-color);
    color: #030712;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 var(--accent-glow);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
    background: #3ee0ff;
}

button:active {
    transform: translateY(0);
}

.hidden {
    display: none;
    color: #4ade80;
    margin-top: 1rem;
    font-weight: 600;
    animation: fadeIn 0.5s ease forwards;
}

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

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    transform: translateZ(10px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--text-primary);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .glass-container {
        padding: 2rem;
        transform: none !important; /* Disable 3D tilt on mobile */
    }
    
    body {
        padding: 1rem; /* Prevent cutting off on small screens */
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
}
