:root {
    --bg-dark: #0f172a;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.4);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);
    --radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Image & Effects */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: -1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%);
}

/* Container & Layout */
.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    z-index: 10;
}

.glass-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out;
}

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

/* Avatar */
.avatar-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 30px;
    padding: 5px;
    background: linear-gradient(135deg, var(--accent), transparent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Typography */
.title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.count-item {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.count-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.count-item label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* Notify Form */
.notify-box {
    margin-bottom: 40px;
}

.notify-box p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}

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

.notify-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.notify-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.notify-form button {
    background: var(--text-white);
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.notify-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.form-message {
    margin-top: 15px;
    font-size: 0.85rem;
    min-height: 20px;
    transition: var(--transition);
}

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

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

/* Language Switcher */
.lang-switch {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    position: absolute;
    top: 25px;
    right: 30px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
    padding: 2px 5px;
}

.lang-btn:hover {
    color: var(--text-white);
}

.lang-btn.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .glass-card {
        padding: 40px 20px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .count-item {
        min-width: 60px;
    }
    
    .count-item span {
        font-size: 1.8rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
}
