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

body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
}

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

/* Header */
header {
    background: #111;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a2a;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: #ff4444;
}

/* Hero Image */
.hero-img {
    width: 100%;
    height: auto; /* Автоматическая высота */
    object-fit: contain; /* Показывает всё изображение целиком */
    border-radius: 12px;
    margin: 30px 0;
    display: block;
}

/* News Block */
.news-block {
    background: #141414;
    border-radius: 24px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.news-cover {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.news-content {
    flex: 1;
}

.news-content h2 {
    color: #ff4444;
    margin-bottom: 10px;
}

.stream-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.stream-btn {
    background: #222;
    padding: 8px 16px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.stream-btn:hover {
    background: #ff4444;
}

/* Members */
/* Members - вертикальные прямоугольники */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.member-card {
    text-align: center;
    background: #141414;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-card img {
    width: 100%;
    aspect-ratio: 3 / 4; /* Вертикальное соотношение 3:4 */
    object-fit: cover;
    border-radius: 0; /* Убираем скругление */
    border: none;
}

.member-card h4 {
    margin: 15px 12px 5px 12px;
    font-size: 1.2rem;
    color: #ff4444;
}

.member-card p {
    margin: 0 12px 15px 12px;
    color: #aaa;
    font-size: 0.9rem;
}

/* Concerts */
.concerts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.concert-item {
    background: #141414;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.ticket-btn {
    background: #ff4444;
    padding: 10px 20px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    background: #111;
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    border-top: 1px solid #2a2a2a;
}

/* Cards for Albums, Videos */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.album-card, .video-card, .tab-card {
    background: #141414;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
}

.album-card h3, .video-card h3 {
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    background: #2a2a2a;
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    margin-top: 12px;
    margin-right: 8px;
}

/* Admin panel */
.admin-bar {
    background: #222;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 30px;
    z-index: 999;
}
.admin-bar a {
    color: #ff4444;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    nav a { font-size: 0.9rem; gap: 15px; }
    .hero-img { height: 250px; }
}

/* Центрирование заголовков на главной странице */
.section-title {
    text-align: center;
    margin: 50px 0 30px 0;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff4444;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin: 40px 0 20px 0;
    }
}

/* Центрирование текста в блоке "О группе" */
.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #d0d0d0;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 15px;
    }
}

/* Header с логотипом */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Логотип */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

#logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ff4444;
    letter-spacing: 2px;
}

/* Навигация */
nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: #ff4444;
}

/* Кнопка мобильного меню (скрыта по умолчанию) */
.mobile-menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #ff4444;
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 768px) {
    .header-wrapper {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        background: #111;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 99;
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        padding: 8px 0;
        border-bottom: 1px solid #2a2a2a;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    #logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none; /* Скрываем текст логотипа на очень маленьких экранах */
    }
}