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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.8;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px;
}

header {
    text-align: center;
    margin-bottom: 60px;
}

header h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #888;
    font-style: italic;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs .current {
    color: #666;
}

/* Карточки */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.card {
    display: block;
    background: #111;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #222;
    text-decoration: none;
}

.card:hover {
    background: #1a1a1a;
    border-color: #333;
    transform: translateY(-4px);
}

.card-number {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
}

/* Статья */
.article-nav {
    margin-bottom: 40px;
}

.nav-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px 30px;
    border-radius: 12px;
    border: 1px solid #222;
}

.nav-btn {
    display: inline-block;
    background: #fff;
    border: none;
    color: #000;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-btn:hover {
    background: #ddd;
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.article-indicator {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
}

.back-to-grid a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-to-grid:hover {
    color: #fff;
}

main {
    background: #111;
    padding: 50px;
    border-radius: 16px;
    border: 1px solid #222;
    min-height: 400px;
}

.article-title {
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.article-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.publication-date {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.article-content {
    font-size: 1.15rem;
    line-height: 2;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content strong {
    color: #fff;
    font-weight: 600;
}

.article-content h2 {
    font-size: 1.5rem;
    color: #fff;
    margin: 30px 0 15px 0;
    font-weight: 400;
}

.article-content h3 {
    font-size: 1.3rem;
    color: #ccc;
    margin: 25px 0 10px 0;
    font-weight: 400;
}

.article-content ul {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content .bullet {
    color: #888;
    font-weight: 500;
}

footer {
    text-align: center;
    margin-top: 60px;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.disclaimer-footer {
    margin-top: 80px;
    padding: 30px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
}

.disclaimer {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: normal;
}

.disclaimer strong {
    color: #fff;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 2rem;
    }

    .nav-controls {
        flex-direction: column;
        gap: 15px;
    }

    main {
        padding: 30px 20px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .back-to-grid {
        font-size: 0.8rem;
    }

    .breadcrumbs {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    header h1 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card {
        padding: 20px;
    }

    main {
        padding: 20px 15px;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .article-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .article-indicator {
        font-size: 1rem;
    }

    .disclaimer {
        font-size: 0.75rem;
    }

    .disclaimer-footer {
        padding: 20px;
        margin-top: 50px;
    }
}
