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

:root {
    --color-bg: #fafafa;
    --color-text: #333;
    --color-link: #2563eb;
    --color-link-hover: #1d4ed8;
    --color-border: #e5e7eb;
    --color-card-bg: #fff;
    --color-accent: #6366f1;
    --radius: 8px;
    --max-width: 800px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header {
    background: var(--color-card-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.nav__link {
    color: var(--color-text);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav__link:hover {
    background: #f0f0f0;
    color: var(--color-link);
}

.nav__link--active {
    background: #eef2ff;
    color: var(--color-accent);
    font-weight: 600;
}

.main {
    flex: 1;
    padding: 40px 20px;
}

.footer {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero__title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.hero__desc {
    font-size: 1.2rem;
    color: #666;
    margin-top: 8px;
}

.badge--dev {
    font-size: 0.65rem;
    font-weight: 600;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 10px;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: 10px;
}

.section {
    margin-bottom: 48px;
}

.construction {
    text-align: center;
    padding: 40px 0;
}

.construction__icon {
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.construction__text {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 24px;
}

.construction__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.construction__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: bounce 1.4s ease-in-out infinite;
}

.construction__dot:nth-child(2) {
    animation-delay: 0.2s;
}

.construction__dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
}

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

    .nav {
        justify-content: center;
    }

    .hero__title {
        font-size: 1.6rem;
    }
}
