:root {
    --primary: #D97757;
    --primary-dark: #B85C3F;
    --secondary: #2C3E50;
    --accent: #E6B89C;
    --text: #333333;
    --light: #FFF9F3;
    --white: #ffffff;
    --vintage: #F4E8D0;
}

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

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--vintage);
    background-image: url('../images/paper-texture.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: repeat;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'A La Russ', cursive, sans-serif;
    color: var(--secondary);
    font-weight: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    font-size: 1.05rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: rgba(255, 245, 240, 0.7);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217,119,87,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.hero-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* Video Wrapper & Vignette */
.video-wrapper {
    background: var(--secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    aspect-ratio: 16/9;
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.video-vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.90) 30%,
        rgba(0, 0, 0, 0.60) 65%,
        transparent 100%);
    z-index: 10;
    pointer-events: none;
    border-radius: 20px 20px 0 0;
}

/* Скрываем старую красную табличку */
.live-badge {
    display: none;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(44, 62, 80, 0.9);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'A La Russ', cursive, sans-serif;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-family: Arial, sans-serif;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.9);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(217,119,87,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.news-card-empty {
    opacity: 0;
    pointer-events: none;
}

.news-date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary);
    line-height: 1.3;
}

.news-excerpt {
    color: #666;
    line-height: 1.7;
}

.news-all-link {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: rgba(255, 249, 245, 0.9);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 50px;
}

.about-text {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.creators-list {
    list-style: none;
    margin-top: 20px;
}

.creators-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.creators-list li:last-child {
    border-bottom: none;
}

.creator-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.creator-info strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.creator-info span {
    color: #666;
    font-size: 0.95rem;
}

.mission-quote {
    margin-top: 30px;
    padding: 25px;
    background: #FFF5F0;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.mission-quote p {
    margin: 0;
    font-style: italic;
    color: #666;
    font-size: 1.05rem;
}

/* Platforms Section */
.platforms-section {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 4rem;
}

.platforms-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.platforms-section p {
    color: #666;
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.platforms-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid #eee;
    padding: 25px 45px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-width: 160px;
    min-height: 90px;
}

.platform-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(217, 119, 87, 0.2);
}

.platform-logo {
    width: auto;
    object-fit: contain;
}

/* Точные размеры логотипов (подогнаны визуально) */
.platform-link img[src*="ok"] { height: 40px; }
.platform-link img[src*="apple"] { height: 30px; }
.platform-link img[src*="spotify"] { height: 42px; }
.platform-link img[src*="youtube"] { height: 45px; }
.platform-link img[src*="vk"] { height: 38px; }

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 1.5rem;
    font-family: 'A La Russ', cursive, sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-info {
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 2rem;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    .about-content { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .platforms-grid { flex-direction: column; align-items: center; }
    .platform-link { min-width: 200px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .logo-image { height: 50px; }
}