:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #f3f4f6;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    margin: 0;
    line-height: 1.5;
}

.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e5e7eb;
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span { color: var(--primary); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; letter-spacing: -1px; }
.hero p { color: var(--text-muted); font-size: 1.1rem; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.preview-wrapper {
    width: 100%;
    height: 180px;
    background: #e5e7eb;
}

.preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.date {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.card-content h3 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-download:hover { background: var(--primary-hover); }

/* Кнопка админки */
.btn-admin-panel {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-admin-panel:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: var(--text-main);
}
