:root {
    --primary: #cba87c;
    --primary-hover: #b49162;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #0f1115;
    --glass-bg: rgba(15, 17, 21, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg.png') no-repeat center center/cover;
    z-index: -2;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 17, 21, 0.8) 0%, rgba(15, 17, 21, 0.4) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.header {
    width: 100%;
    padding: 1rem 0;
    animation: fadeInDown 1s ease-out;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
    font-style: italic;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 700px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(203, 168, 124, 0.15);
    color: var(--primary);
    border: 1px solid rgba(203, 168, 124, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

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

.email-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(203, 168, 124, 0.2);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(203, 168, 124, 0.3);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    animation: fadeInUp 1s ease-out;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    padding-top: 2rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: rgba(203, 168, 124, 0.1);
    color: var(--primary);
    border-color: rgba(203, 168, 124, 0.3);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .glass-card {
        padding: 3rem 2rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time {
        font-size: 2.5rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .submit-btn {
        justify-content: center;
    }
    
    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.2rem;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
    }
    
    .time {
        font-size: 2rem;
    }
    
    .time-box {
        min-width: 60px;
    }
}
