/* ===========================
   ПЕРЕМЕННЫЕ
=========================== */

:root{
    --red: #b30000;
    --red-bright: #e23b3b;
    --bg: #000000;
    --text-dim: #bdbdbd;
    --border: rgba(178,0,0,.35);
}

/* ===========================
   СБРОС
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:#fff;
    font-family:'Inter',sans-serif;
    overflow-x:hidden;
}

button{
    font-family:inherit;
    background:none;
    border:none;
    cursor:pointer;
}

/* ===========================
   HERO
=========================== */

.hero{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    overflow:hidden;
    padding: 44px 0 30px;
    text-align:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,
        rgba(0,0,0,.1) 0%,
        rgba(0,0,0,.55) 55%,
        rgba(0,0,0,1) 100%);
    z-index:2;
    pointer-events:none;
}

/* ===========================
   ВИДЕОПАНЕЛЬ (статична, без скролла)
   Высота подобрана так, чтобы нижний край доходил до верхнего края
   букв "STAND UP" — заголовок ложится поверх видео за счёт
   отриц. margin у .hero-content. Видео равномерно делят ширину панели
   без повторов (см. рекомендацию по количеству роликов в script.js).
=========================== */

.video-strip{
    position:relative;
    width:100%;
    height:clamp(220px, 34vw, 420px);
    margin-top:28px;
    overflow:hidden;
    background:#050505;
    flex-shrink:0;
}

.video-track{
    display:flex;
    justify-content:center;
    width:100%;
    height:100%;
}

.video-item{
    position:relative;
    flex:1 1 0;
    min-width:180px;
    max-width:330px;
    height:100%;
    overflow:hidden;
    background:#0a0a0a;
}

.video-item video,
.video-item .video-fallback{
    width:100%;
    height:100%;
    object-fit:cover;
    filter: grayscale(.2) brightness(.5) contrast(1.1);
}

.video-item .video-fallback{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(160deg, #1a1a1a, #0a0a0a);
    color:#444;
    font-size:12px;
    letter-spacing:1px;
    text-align:center;
    padding:10px;
}

/* ===========================
   КОНТЕНТ HERO
=========================== */

.hero-content{
    position:relative;
    z-index:5;
    text-align:center;
    /* поднимаем заголовок так, чтобы он верхним краем "залез" на видео */
    margin-top:clamp(-70px, -9vw, -40px);
}

.badge{
    position:relative;
    z-index:5;
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:9px 20px;
    margin-bottom:0;
    border:1px solid rgba(255,255,255,.18);
    border-radius:30px;
    background:rgba(0,0,0,.4);
    backdrop-filter: blur(6px);
    font-size:12px;
    letter-spacing:2px;
    color:#ddd;
    flex-shrink:0;
}

.badge svg{
    width:15px;
    height:15px;
    flex-shrink:0;
}

.badge-date{
    color:var(--red-bright);
    font-weight:600;
}

/* ===========================
   ЛОГОТИП
=========================== */

.hero h1{
    display:flex;
    flex-direction:column;
    line-height:.9;
}

.standup{
    font-family:'Bebas Neue', sans-serif;
    font-size:clamp(56px, 11vw, 170px);
    color:#fff;
    letter-spacing:4px;
}

.city{
    font-family:'Bebas Neue', sans-serif;
    font-size:clamp(28px, 5.5vw, 82px);
    color:var(--red);
    letter-spacing:12px;
    margin-top:10px;
}

/* ===========================
   ЦИТАТА
=========================== */

.quote{
    margin-top:28px;
    color:var(--text-dim);
    font-size:clamp(15px, 2vw, 22px);
    font-style:italic;
}

/* ===========================
   МЕНЮ / ТАБЫ
=========================== */

.tabs{
    margin-top:50px;
    display:flex;
    justify-content:center;
    gap:clamp(30px, 6vw, 80px);
    flex-wrap:wrap;
}

.tab{
    color:#fff;
    font-size:16px;
    letter-spacing:2px;
    position:relative;
    padding-bottom:12px;
    opacity:.6;
    transition: opacity .3s;
}

.tab::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:var(--red-bright);
    transition: width .3s ease;
}

.tab:hover{
    opacity:1;
}

.tab.active{
    opacity:1;
}

.tab.active::after{
    width:100%;
}

/* ===========================
   ОСНОВНОЙ КОНТЕНТ (SPA-панели)
=========================== */

.content{
    position:relative;
    z-index:5;
    max-width:1100px;
    margin:0 auto;
    padding:30px 20px 100px;
}

.panel{
    display:none;
    opacity:0;
    transform:translateY(30px);
    transition: opacity .45s ease, transform .45s ease;
}

.panel.active{
    display:block;
}

.panel.visible{
    opacity:1;
    transform:translateY(0);
}

/* ---- Афиша: пустое состояние ---- */

.empty-state{
    border:1px solid var(--border);
    border-radius:18px;
    padding: 80px 40px;
    text-align:center;
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.empty-state p{
    font-size:clamp(20px, 3vw, 30px);
    letter-spacing:1px;
    line-height:1.5;
}

.empty-state .highlight{
    color:var(--red-bright);
}

/* ---- Афиша: карточки событий ---- */

.cards{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap:24px;
}

.card{
    border:1px solid var(--border);
    border-radius:14px;
    overflow:hidden;
    background:#0a0a0a;
    transition: transform .3s ease, border-color .3s ease;
}

.card:hover{
    transform:translateY(-6px);
    border-color:var(--red-bright);
}

.card img{
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
}

.card-info{
    padding:20px;
}

.card-info h3{
    font-size:18px;
    margin-bottom:10px;
}

.card-info p{
    color:var(--text-dim);
    font-size:14px;
    margin-bottom:4px;
}

.card-info .price{
    margin-top:14px;
    display:inline-block;
    color:var(--red-bright);
    font-weight:600;
    font-size:16px;
}

/* ---- Юмористы ---- */

.section-title{
    font-family:'Bebas Neue', sans-serif;
    font-size:clamp(30px, 5vw, 46px);
    letter-spacing:3px;
    margin-bottom:40px;
    text-align:center;
}

.comedians-grid{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    justify-content:center;
    gap:28px;
}

.comedian-card{
    border:1px solid rgba(255,255,255,.1);
    border-radius:14px;
    overflow:hidden;
    background:#0a0a0a;
    transition: transform .3s ease, border-color .3s ease;
}

.comedian-card:hover{
    transform:translateY(-6px);
    border-color:var(--red-bright);
}

.comedian-photo{
    width:100%;
    aspect-ratio: 3/4;
    background:linear-gradient(160deg, #1a1a1a, #0a0a0a);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#444;
    overflow:hidden;
}

.comedian-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.comedian-info{
    padding:18px 20px 22px;
}

.comedian-info h3{
    font-size:19px;
    margin-bottom:8px;
    letter-spacing:.5px;
}

.comedian-info p{
    color:var(--text-dim);
    font-size:14px;
    line-height:1.5;
    margin-bottom:14px;
}

.comedian-social{
    display:flex;
    gap:14px;
}

.comedian-social a{
    color:#888;
    font-size:13px;
    text-decoration:none;
    border-bottom:1px solid transparent;
    transition: color .3s, border-color .3s;
}

.comedian-social a:hover{
    color:var(--red-bright);
    border-color:var(--red-bright);
}

/* ---- О проекте ---- */

.about-content{
    display:flex;
    flex-direction:column;
    gap:24px;
    max-width:720px;
    margin:0 auto;
    text-align:center;
}

.about-content p{
    color:var(--text-dim);
    font-size:16px;
    line-height:1.7;
}

.about-cta{
    margin-top:10px;
    padding:22px 28px;
    border:1.5px solid var(--red-bright);
    border-radius:14px;
    background:rgba(178,0,0,.12);
    font-size:clamp(17px, 2.2vw, 21px);
    font-weight:700;
    line-height:1.5;
    color:#fff;
}

.about-cta .highlight{
    color:var(--red-bright);
}

.about-content .highlight{
    color:#fff;
}

.about-contacts{
    margin-top:10px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:24px;
}

.about-contacts a{
    color:#fff;
    text-decoration:none;
    font-size:15px;
    letter-spacing:1px;
    padding-bottom:6px;
    border-bottom:1px solid rgba(255,255,255,.25);
    transition: color .3s, border-color .3s;
}

.about-contacts a:hover{
    color:var(--red-bright);
    border-color:var(--red-bright);
}

/* ===========================
   АДАПТИВНОСТЬ
=========================== */

@media (max-width: 640px){
    .video-item{ min-width:110px; }
    .tabs{ gap:24px; }
    .hero-content{ margin-top:-32px; }
}
