/* style.css */
:root {
  --navy: #060d1f; --navy2: #0a1530; --navy3: #0f1e3d; --navy4: #162548;
  --blue: #1a3a6e; --accent: #4f8ef7; --accent2: #7ab3ff;
  --gold: #c9a84c; --gold2: #e8c87a; --white: #f0f4ff; --muted: #8899bb;
  --border: rgba(79, 142, 247, 0.18); --card: rgba(10, 21, 48, 0.9);
  --ease: cubic-bezier(0.23, 1, 0.32, 1); --fp-h: 90px;
}

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

/* ЗАХИСТ ВІД ВИДІЛЕННЯ ТА КОПІЮВАННЯ */
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
   margin: 0;
  padding: 0;
  /* overflow: hidden; /* Забороняємо прокрутку всюди */ */
}

body {
  background: var(--navy); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 300; line-height: 1.7;
  min-height: 100vh; overflow-x: hidden; padding-bottom: calc(var(--fp-h) + 20px);
  
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(6, 13, 31, 0.95); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); display: flex;
  align-items: center; justify-content: space-between; padding: 0 3rem; height: 64px;
}

.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 0.12em; color: var(--accent); cursor: pointer; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 0.15rem; list-style: none; }
.nav-links a { display: block; padding: 0.45rem 0.9rem; color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(79, 142, 247, 0.12); }
.nav-burger { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

.page { display: none; min-height: calc(100vh - 64px - var(--fp-h)); padding: 6rem 0 3rem; animation: fadein .4s var(--ease); }
.page.active { display: block; }

@keyframes fadein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.section-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
h1.page-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: 0.06em; line-height: 1; margin-bottom: 1.2rem; }
h1.page-title span { color: var(--accent); }
p.lead { font-size: 1rem; color: var(--muted); max-width: 640px; line-height: 1.85; margin-bottom: 2rem;}
.divider { width: 56px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--gold)); margin-bottom: 2.5rem; border-radius: 2px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; align-items: stretch; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .4s; display: flex; flex-direction: column; height: 100%; }
.card:hover { transform: translateY(-8px) scale(1.02); border-color: rgba(79, 142, 247, 0.45); box-shadow: 0 8px 40px rgba(79, 142, 247, 0.2); }

.badge { display: inline-block; padding: 0.18rem 0.65rem; border-radius: 50px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.badge-blue { background: rgba(79,142,247,.15); color: var(--accent2); border: 1px solid rgba(79,142,247,.3); }
.badge-gold { background: rgba(201,168,76,.15); color: var(--gold2); border: 1px solid rgba(201,168,76,.3); }
.badge-green { background: rgba(77,255,154,.15); color: #4dff9a; border: 1px solid rgba(77,255,154,.3); }

.btn { display: inline-flex; justify-content: center; align-items: center; padding: 0.7rem 1.6rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: all .2s; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); color: var(--navy); }
.btn-outline { background: transparent; color: var(--accent2); border: 1px solid var(--accent); }
.btn-outline:hover { background: rgba(79,142,247,.12); }

/* Home: тісніший верхній відступ, щоб звільнити місце під промо-блок радіо і підняти hero */
#home.page { padding-top: 0.5rem; padding-bottom: 2rem; min-height: 0; }

.radio-promo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 400px;
  margin: 0 0 0.2rem;
  padding: 0.5rem 1rem;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 12px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  }
.radio-promo:hover { transform: translateY(-3px); border-color: rgba(201,168,76,0.7); background: rgba(201,168,76,0.1); }
.radio-promo-logo { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(201,168,76,.35)); }
.radio-promo-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.radio-promo-eyebrow { font-size: 0.6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.radio-promo-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: .05em; color: var(--gold2); line-height: 1; }
.radio-promo-title span { color: var(--white); }
.radio-promo-sub { font-size: 0.72rem; color: var(--accent2); }

/* Hero */
#home .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text .eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.hero-text h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 0.9; margin-bottom: 0.5rem; }
.hero-text h1 .line2 { color: var(--accent); }
.hero-sub { font-size: 0.78rem; letter-spacing: 0.28em; color: var(--muted); margin-bottom: 1.8rem; }
.hero-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.9; margin-bottom: 2.2rem; max-width: 460px; }
.hero-btns { display: flex; gap: 1rem; }
.vinyl-wrap { position: relative; width: 340px; height: 340px; margin: 0 auto; animation: vinylSpin 20s linear infinite paused; }
.vinyl-wrap.playing { animation-play-state: running; }
@keyframes vinylSpin { to { transform: rotate(360deg); } }
.vinyl-outer { width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(79, 142, 247, 0.2); box-shadow: 0 0 60px rgba(79, 142, 247, 0.1), inset 0 0 40px rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; 
background: conic-gradient(from 0deg, #0a1530 0deg, #162548 20deg, #0a1530 40deg, #162548 60deg, #0a1530 80deg, #162548 100deg, #0a1530 120deg, #162548 140deg, #0a1530 160deg, #162548 180deg, #0a1530 200deg, #162548 220deg, #0a1530 240deg, #162548 260deg, #0a1530 280deg, #162548 300deg, #0a1530 320deg, #162548 340deg, #0a1530 360deg); }
.vinyl-center { width: 120px; height: 120px; border-radius: 50%; background: var(--navy2); border: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(79, 142, 247, 0.4); animation: vinylSpin 20s linear infinite reverse; animation-play-state: inherit; }
.vinyl-label { text-align: center; line-height: 1.2; }
.vinyl-label .vl1 { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--accent); }
.vinyl-label .vl2 { font-size: 0.5rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.22em; }

/* Player */
.footer-player { position: fixed; bottom: 0; left: 0; right: 0; height: var(--fp-h); z-index: 2000; background: rgba(6, 13, 31, 0.97); backdrop-filter: blur(24px); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; box-shadow: 0 -6px 40px rgba(79, 142, 247, 0.12); }
.fp-info { display: flex; align-items: center; gap: 1rem; width: 220px; min-width: 0; }
.fp-vinyl-mini { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--navy3), var(--navy4), var(--navy3)); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.5rem; color: var(--accent); transition: box-shadow .3s; }
.fp-vinyl-mini.spinning { animation: vinylSpin 4s linear infinite; box-shadow: 0 0 12px rgba(79, 142, 247, 0.6); }
.fp-meta { min-width: 0; }
#fp-track-title { display: block; font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#fp-track-meta { display: block; font-size: 0.72rem; color: var(--muted); }
.fp-center { flex-grow: 1; display: flex; flex-direction: column; align-items: center; max-width: 560px; margin: 0 1.5rem; }
.fp-controls { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 0.35rem; }
.fp-btn { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.fp-play { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; border:none; cursor: pointer; }
.fp-play:hover { background: var(--accent2); }
.fp-progress-wrap { display: flex; align-items: center; gap: 0.6rem; width: 100%; }
.fp-time { font-size: 0.72rem; font-family: monospace; color: var(--muted); min-width: 35px; }
.fp-bar-track { flex-grow: 1; height: 6px; background: var(--navy4); border-radius: 3px; cursor: pointer; }
.fp-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 3px; }
.fp-right { width: 220px; display: flex; justify-content: flex-end; align-items: center; }
.fp-volume-wrap { display: flex; align-items: center; gap: 0.5rem; }
.fp-volume { -webkit-appearance: none; width: 90px; height: 4px; background: var(--navy4); border-radius: 2px; cursor: pointer; }
.fp-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(6,13,31,.97); padding: 1rem; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  #home .hero { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .radio-promo { max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer-player { padding: 0 1rem; }
  .fp-right { display: none; }
  .fp-info { width: 130px; }
}
/* Дозволяємо прокрутку тільки для контенту, який має прокручуватись */
#main-content {
    height: calc(100vh - var(--nav-h) - var(--fp-h));
    overflow-y: auto; /* Дозволяємо вертикальний скрол ТІЛЬКИ тут */
    scrollbar-width: none; /* Приховуємо скролбар у Firefox */
}

/* Приховуємо скролбар для Chrome/Safari/Edge */
#main-content::-webkit-scrollbar {
    display: none;
}
.releases-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.release-row {
    display: grid;
    grid-template-columns: 50px 1fr 100px 80px;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
    transition: background 0.3s;
    cursor: pointer;
}

.release-row:hover { background: rgba(255,255,255,0.08); }
.release-row .title { font-weight: 600; }
.release-row .genre { font-size: 0.8rem; color: var(--muted); }
.release-row .duration { text-align: right; font-family: monospace; }
/* =========== Релізи по роках: диски + деталізація =========== */
.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.year-disc {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem;
    font-family: inherit;
    transition: transform .3s var(--ease);
}
.year-disc:hover { transform: translateY(-6px); }

.year-disc-outer {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(from 0deg, #0a1530 0deg, #162548 20deg, #0a1530 40deg, #162548 60deg, #0a1530 80deg, #162548 100deg, #0a1530 120deg, #162548 140deg, #0a1530 160deg, #162548 180deg, #0a1530 200deg, #162548 220deg, #0a1530 240deg, #162548 260deg, #0a1530 280deg, #162548 300deg, #0a1530 320deg, #162548 340deg, #0a1530 360deg);
    border: 2px solid rgba(79, 142, 247, 0.25);
    box-shadow: 0 0 30px rgba(79, 142, 247, 0.12), inset 0 0 25px rgba(0, 0, 0, 0.45);
    position: relative;
    transition: box-shadow .3s, border-color .3s;
}
.year-disc:hover .year-disc-outer {
    border-color: rgba(79, 142, 247, 0.6);
    box-shadow: 0 0 45px rgba(79, 142, 247, 0.28), inset 0 0 25px rgba(0, 0, 0, 0.45);
}
.year-disc-outer::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px dashed rgba(79, 142, 247, 0.15);
}

.year-disc-center {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--navy2);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: var(--accent2);
    box-shadow: 0 0 16px rgba(79, 142, 247, 0.35);
}

.year-disc-count {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.year-back-btn { margin-bottom: 1.5rem; }

#dynamic-releases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
}

.release-item {
    padding: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.release-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--navy3);
    border: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.release-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.release-cover-fallback {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.5;
}

.release-body {
    padding: 1.2rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 480px) {
  #dynamic-releases { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
}

/* =========== Новини =========== */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.news-card { padding: 0; overflow: hidden; }
.news-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--navy3); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-body { padding: 1.2rem 1.4rem 1.5rem; }

@media (max-width: 768px) {
  .year-disc-outer { width: 120px; height: 120px; }
  .year-disc-center { width: 62px; height: 62px; font-size: 1.1rem; }
}
/* =========== ABOUT =========== */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
  }

  .avatar-block {
    position: relative;
  }

  .avatar-box {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--navy3);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }

  .avatar-initials {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    color: var(--accent);
    opacity: 0.15;
    letter-spacing: 0.05em;
    user-select: none;
  }

  .avatar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79,142,247,0.08) 0%, transparent 60%);
    pointer-events: none;
  }

  .avatar-tag {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    background: rgba(6,13,31,0.85);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    backdrop-filter: blur(8px);
  }

  .avatar-tag .t1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.1em;
  }
  .avatar-tag .t2 {
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
  }

  .timeline {
    margin-top: 2.5rem;
    position: relative;
    padding-left: 1.5rem;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
  }

  .tl-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1rem;
  }
  .tl-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(79,142,247,0.6);
  }
  .tl-year {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
  }
  .tl-title {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }
  .tl-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
  }