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

:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --accent-red: #dc2626;
    --light-red: #ef4444;
    --light-gray: #f8fafc;
    --dark-gray: #1e293b;
    --text-gray: #475569;
    --border-gray: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f472b6, #dc2626);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    animation: fadeIn 0.8s ease-out;
}

/* Header with logo */
.header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.coat-of-arms {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.8s ease-out;
}

.coat-of-arms img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-align: center;
}

.tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 5px;
    text-align: center;
}

/* Main card */
.main-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: slideUp 0.8s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Watermark coat of arms */
.main-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background-image: url('../images/coat-of-arms.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.main-card > * {
    position: relative;
    z-index: 1;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-red), var(--light-red));
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.main-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.main-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Countdown */
.countdown-section {
    margin-bottom: 50px;
    text-align: center;
}

.countdown-label {
    font-size: 1rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.time-unit {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 25px 15px;
    border: 2px solid var(--border-gray);
    transition: all 0.3s ease;
    text-align: center;
}

.time-unit:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15);
}

.time {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1;
    margin-bottom: 8px;
}

.time-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Features grid */
.features-section {
    margin-top: 50px;
    text-align: center;
}

.features-title {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    animation: slideUp 0.8s ease-out 0.4s both;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.feature-card:nth-child(3n) .feature-icon {
    background: linear-gradient(135deg, var(--accent-red), var(--light-red));
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.feature-title {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    text-align: center;
}

/* Info banner */
.info-banner {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px 30px;
    text-align: center;
    border-left: 4px solid var(--accent-red);
    animation: slideUp 0.8s ease-out 0.6s both;
}

.info-text {
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

/* Footer */
.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 30px;
    font-size: 0.9rem;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    .logo-container {
        gap: 15px;
    }

    .coat-of-arms {
        width: 60px;
        height: 60px;
    }

    .logo {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .main-card {
        padding: 35px 25px;
    }

    .main-card::before {
        width: 250px;
        height: 250px;
    }

    .main-title {
        font-size: 2rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .time {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        gap: 10px;
    }

    .coat-of-arms {
        width: 70px;
        height: 70px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .main-description {
        font-size: 1rem;
    }

    .time {
        font-size: 1.8rem;
    }
}