:root {
    --cyan: #22d3ee;
    --cyan-bright: #a5f3fc;
    --deep: #020617;
    --line: rgba(34, 211, 238, 0.35);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #fff;
    background: url('/assets/images/bg/newbgmobile.jpeg') no-repeat center center fixed;
    background-size: cover;
    background-color: var(--deep);
    -webkit-font-smoothing: antialiased;
}

/* Затемнение для читаемости текста поверх фото */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(2, 6, 23, 0.42) 0%,
        rgba(2, 6, 23, 0.14) 34%,
        rgba(2, 6, 23, 0.24) 55%,
        rgba(2, 6, 23, 0.66) 100%);
}

::selection { background: rgba(34, 211, 238, 0.45); color: #fff; }

.bg-home {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.containerHome {
    padding-top: 120px;
}

.concerts-list {
    gap: 14px;
}

/* ——— Карточка концерта ——— */
.concert-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto auto;
    align-items: center;
    gap: 18px 26px;
    padding: 20px 24px;
    background: rgba(4, 10, 24, 0.6);
    border: 1px solid var(--line);
    border-top: 2px solid var(--cyan);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(34, 211, 238, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.concert-card:hover {
    border-color: rgba(34, 211, 238, 0.65);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(34, 211, 238, 0.12);
}

.cc-date {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.7vw, 17px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan-bright);
    white-space: nowrap;
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
}
.cc-date::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 14px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.85);
    vertical-align: middle;
}

.cc-city {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.7vw, 17px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}
.cc-venue {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    letter-spacing: 0.03em;
    color: rgba(214, 235, 250, 0.68);
}

.cc-social { display: flex; align-items: center; gap: 10px; }
.cc-vk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cc-vk img { width: 24px; height: 24px; display: block; }
.cc-vk:hover {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.7);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.3);
}

/* ——— Кнопка покупки билета ——— */
.btn-buy {
    display: inline-block;
    padding: 12px 26px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--cyan);
    background: transparent;
    border: 1px solid var(--cyan);
    border-radius: 2px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn-buy:hover, .btn-buy:focus {
    color: var(--deep);
    background: var(--cyan);
    box-shadow: 0 0 26px rgba(34, 211, 238, 0.5);
    transform: translateY(-1px);
}

.btn-buy:focus-visible, .cc-vk:focus-visible, .cookie-accept:focus-visible, .cookie-decline:focus-visible, .site-footer a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

/* ——— Футер ——— */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 26px 16px 36px;
    text-align: center;
}
.site-footer a {
    display: inline-block;
    padding-bottom: 2px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: rgba(214, 235, 250, 0.6);
    border-bottom: 1px solid rgba(34, 211, 238, 0.4);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer a:hover { color: var(--cyan-bright); border-color: var(--cyan); }

/* ——— Баннер cookie ——— */
.cookie-banner {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 1050;
    width: min(480px, calc(100% - 36px));
    padding: 16px 18px 16px 22px;
    background: rgba(2, 6, 23, 0.92);
    border: 1px solid var(--line);
    border-left: 3px solid var(--cyan);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.5s ease;
}
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}
.cookie-banner-inner { display: flex; flex-direction: column; gap: 14px; }
.cookie-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(214, 235, 250, 0.82);
}
.cookie-text a { color: var(--cyan-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-text a:hover { color: #fff; }
.cookie-accept {
    flex-shrink: 0;
    padding: 11px 22px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--deep);
    background: var(--cyan);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.cookie-accept:hover {
    background: var(--cyan-bright);
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.45);
    transform: translateY(-1px);
}
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }
.cookie-decline {
    padding: 11px 16px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(214, 235, 250, 0.75);
    background: transparent;
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.cookie-decline:hover {
    color: var(--cyan-bright);
    border-color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
}

/* ——— Адаптив ——— */
@media (max-width: 767.98px) {
    .concert-card {
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 16px;
    }
    .cc-date { grid-column: 1; grid-row: 1; }
    .cc-social { grid-column: 2; grid-row: 1; }
    .cc-place { grid-column: 1 / -1; }
    .cc-buy { grid-column: 1 / -1; }
    .btn-buy { display: block; text-align: center; padding: 14px 20px; }
}

@media (max-width: 549.98px) {
    .cookie-banner-inner { text-align: center; }
    .cookie-actions { flex-direction: column; }
    .cookie-actions button { width: 100%; }
}

@media (min-width: 550px) {
    body {
        background-image: url('/assets/images/bg/newbgdesktop.jpeg');
    }
    .containerHome { padding-top: 310px; }
}

@media (prefers-reduced-motion: reduce) {
    .concert-card, .btn-buy, .cc-vk, .cookie-banner, .cookie-accept, .cookie-decline { transition: none; }
}