:root {
    --primary-color: #4c14b4;
    --primary-hover: #5a1cc5;
    --secondary-color: #2d2d2d;
    --text-color: #ffffff;
    --bg-color: #1a1a2e;
    --card-color: #16213e;
    --highlight-color: #0f3460;
    --error-color: #e94560;
    --success-color: #00b894;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

/* Звездное небо */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Header styles */
.header {
    background: var(--secondary-color);
    padding: 15px 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #404040;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clock {
    font-size: 1.5rem;
    font-weight: bold;
}

.timezone {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Button styles */
.button, button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
}

.button:hover, button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

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

/* Main content styles */
.main-container {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer styles */
.footer {
    background: var(--primary-color);
    text-align: center;
    padding: 15px;
    border-top: 1px solid #404040;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .clock-container {
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .button, button {
        width: 100%;
    }
}