:root {
    --background: linear-gradient(135deg, #0d1b2a, #1b263b);
    --text-color: #e0e1dd;
    --card-bg: rgba(27, 38, 59, 0.9);
    --select-bg: rgba(255, 255, 255, 0.1);
    --accent-color: #00ddeb;
    --shadow-color: rgba(0, 221, 235, 0.2);
    --button-bg: #00ddeb;
}

[data-theme="normal"] {
    --background: linear-gradient(135deg, #0d1b2a, #1b263b);
    --text-color: #e0e1dd;
    --card-bg: rgba(27, 38, 59, 0.9);
    --select-bg: rgba(255, 255, 255, 0.1);
    --accent-color: #00ddeb;
    --shadow-color: rgba(0, 221, 235, 0.2);
    --button-bg: #00ddeb;
}

[data-theme="light"] {
    --background: linear-gradient(135deg, #f0f0f0, #ffffff);
    --text-color: #333333;
    --card-bg: rgba(245, 245, 245, 0.9);
    --select-bg: rgba(0, 0, 0, 0.1);
    --accent-color: #80e8f0;
    --shadow-color: rgba(128, 232, 240, 0.2);
    --button-bg: #80e8f0;
}

[data-theme="dark"] {
    --background: linear-gradient(135deg, #0a121e, #15283a);
    --text-color: #d3d3d3;
    --card-bg: rgba(21, 40, 58, 0.9);
    --select-bg: rgba(255, 255, 255, 0.1);
    --accent-color: #ffbb00;
    --shadow-color: rgba(255, 187, 0, 0.2);
    --button-bg: #ffbb00;
}

body {
    background: var(--background);
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    min-height: 100vh;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

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

header, .container {
    position: relative;
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 20px var(--shadow-color);
    text-align: center;
}

.card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 0 20px var(--shadow-color);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.countdown div {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
    text-align: center;
    border: 1px solid var(--accent-color);
}

.countdown span {
    display: block;
    font-size: 2rem;
    color: var(--accent-color);
}

button, .policy-btn {
    background: var(--button-bg);
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

button:hover, .policy-btn:hover {
    background: #00b7c3;
    color: #000000;
}

.theme-select {
    background: var(--select-bg);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--accent-color);
}

header {
    padding-top: 0.5rem;
    max-width: 100%;
    overflow-x: hidden;
}

.logo-img {
    width: 90vw;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 221, 235, 0.8))
            drop-shadow(0 0 20px rgba(0, 221, 235, 0.6))
            drop-shadow(0 0 30px rgba(0, 221, 235, 0.4));
}

@media (max-width: 640px) {
    .logo-img {
        width: 90vw;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .logo-img {
        width: 80vw;
    }
}

@media (min-width: 1025px) {
    .logo-img {
        max-width: 600px;
    }
}

input {
    background: var(--select-bg);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    padding: 0.5rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-section {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 0 20px var(--shadow-color);
    text-align: center;
}

.close {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
    position: absolute;
    top: 1rem;
    right: 1rem;
}
