:root {
    --primary-blue: #0056b3;
    --dark-blue: #003366;
    --light-blue: #e6f0ff;
    --accent-blue: #007bff;
    --gray-bg: #f8f9fa;
}

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

body {
    background-color: white;
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out;
    will-change: transform, opacity;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.announcement {
    background-color: white;
    border-left: 5px solid var(--primary-blue);
    padding: 2rem;
    margin: 2rem auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0 8px 8px 0;
    animation: slideInLeft 0.8s ease-out;
    max-width: 900px;
    will-change: transform, opacity;
}

.announcement h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.announcement ul {
    margin: 1rem 0 1rem 2rem;
}

.announcement li {
    margin-bottom: 0.5rem;
    position: relative;
}

.announcement li::before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 900px;
    animation: fadeIn 1.2s ease-out;
    will-change: opacity;
}

.top-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
    min-width: 250px;
    will-change: transform, box-shadow, background-color;
}

.btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.3);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.2);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

footer {
    background-color: var(--gray-bg);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out;
    will-change: transform, opacity;
}

footer p {
    margin-bottom: 0.5rem;
    color: #555;
}

footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

/* Анімації */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Адаптивність */
@media (max-width: 768px) {
    .top-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .announcement {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 0;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
