:root {
    /*--bg-color: #f1f3f8;*/
    --bg-color: #fff;
    --text-color: #222;
    --accent-gradient: linear-gradient(90deg, #00F5A0, #00D9F5, #FF61D2, #FE9090);
    --input-bg: #fff;
    --border-radius: 8px;
    --color: #000;
}

[data-theme="dark"] {
    --bg-color: #111;
    --text-color: #eee;
    --input-bg: #2a2a2a;
    --color: #105CFF;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

header a.logo {
    display: flex;
    align-items: center;
}

header img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
}

.gradient-title {
    font-size: 4rem;
    font-weight: bold;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--color);
}

.countdown div {
    background: #e1e6ee;
    padding: 16px;
    border-radius: var(--border-radius);
    min-width: 70px;
}

.countdown span {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
}

.links {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--color);
}

.links div {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: #fff;
}

.email-form {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.email-form input {
    padding: 12px;
    width: 250px;
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid #ccc;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    outline: none;
}

.email-form button {
    padding: 12px 20px;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: bold;
}

footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.95rem;
    gap: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    font-size: 1.1rem;
}

.contact-info a {
    color: #0077cc;
    text-decoration: none;
}

.socials {
    display: flex;
    gap: 16px;
    font-size: 1.5rem;
}

.socials a {
    text-decoration: none;
}

@media (max-width: 768px) {
    header, footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .email-form input {
        width: 100%;
        margin-bottom: 10px;
        border-radius: var(--border-radius);
    }

    .email-form button {
        border-radius: var(--border-radius);
    }

    .countdown div {
        min-width: 60px;
    }
}