/* styles.css */
@import url("https://fonts.googleapis.com/css2?family=Rye&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Russo+One&display=swap");

:root{
  --bg1:#5a0011;
  --bg2:#080003;
  --card: rgba(255,255,255,0.08);
  --card2: rgba(0,0,0,0.22);
  --border: rgba(255,255,255,0.18);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --accent: rgba(197,140,255,0.95);
  --shadow: 0 18px 50px rgba(0,0,0,0.45);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Rubik", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 60%, #000 100%);
background-attachment: fixed;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar{
  position: sticky;
  top:0;
  z-index:10;
  background: rgba(0,0,0,0.55);
border-bottom: 1px solid rgba(255,255,255,0.10);
}

.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  letter-spacing: 0.6px;
}
.brand img{
  display:block;
  width:auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.45));
}
.brand .brand-logo{
  height: 34px;
  width: 34px;
  border-radius: 999px;
}
.brand .brand-name{
  height: 28px;
}

.navlinks{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.navlinks a{
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}

.navlinks a[aria-current="page"]{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

.hero{ padding: 34px 0 18px; }
.page-title{ margin: 0 0 10px; line-height: 1.02; }
.subtitle{ margin: 0; color: var(--muted); max-width: 90ch; }

.grid{ display:grid; gap: 18px; }
.grid-2{ grid-template-columns: 1.25fr 0.75fr; }
@media (max-width: 980px){ .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: rgba(0,0,0,0.55);
border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-inner{ padding: 18px; }

.section-title{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.20);
  color: var(--muted);
  font-size: 13px;
}

.hr{
  height:1px;
  background: rgba(255,255,255,0.12);
  border:0;
  margin: 14px 0;
}

.placeholder{
  width:100%;
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 16px;
  background:
    radial-gradient(700px 260px at 30% 20%, rgba(197,140,255,0.18), transparent 60%),
    radial-gradient(900px 320px at 70% 70%, rgba(110,70,255,0.14), transparent 55%),
    rgba(0,0,0,0.22);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,0.75);
  text-align:center;
  padding: 14px;
}
.ph-portrait{ aspect-ratio: 2 / 3; } /* 1024x1536 */
.ph-landscape{ aspect-ratio: 18 / 13; } /* ~900x650 */

.ph-img{ padding:0; border-style: solid; overflow: hidden; }
.ph-img img{ width:100%; height:100%; object-fit: cover; display:block; }

.photo-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){ .photo-grid{ grid-template-columns: 1fr; } }

/* “western slab serif + grunge” (для заголовков страниц, где нет картинки) */
.western-title{
  font-family: "Alfa Slab One", serif;
  font-weight: 400;
  letter-spacing:  0.6px;
  font-size: clamp(34px, 6vw, 58px);
  color: #f2e7d2;
  position: relative;
  display:inline-block;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.35),
    0 12px 40px rgba(0,0,0,0.55);
}
.western-title::after{ content:none; }
.badge{
  display:inline-block;
  margin-left:10px;
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  vertical-align: middle;
}

.hero-name{
  height: clamp(44px, 7vw, 78px);
  width: auto;
  display:block;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.55));
}

.label{
  display:block;
  margin: 10px 0 6px;
  font-size: 13px;
  color: var(--muted);
}

input[type="file"]{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  outline: none;
}

.list{ display:grid; gap: 10px; }

.track{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
}
.track strong{ font-size: 14px; }
.track small{ color: var(--muted); }
.track audio{ width: min(380px, 100%); }

.footer{
  padding: 28px 0 36px;
  color: var(--muted);
}
.footer .row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-links{ display:flex; gap: 12px; flex-wrap: wrap; }

.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 50;
}
.modal{
  width: min(820px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.55);
box-shadow: var(--shadow);
}
.modal header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.modal header h3{ margin:0; font-size: 15px; }
.modal .content{
  padding: 16px;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
}
.modal .content p{ margin: 0 0 10px; }
/* Brand title (text) */
.brand-title{
  font-family: "Alfa Slab One", serif;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 22px;
  color: #f2e7d2;
  text-shadow: 0 2px 0 rgba(0,0,0,0.35), 0 10px 30px rgba(0,0,0,0.45);
  white-space: nowrap;
}

/* Reduce heavy bold in content */
.section-title{ font-weight: 600; }
.track strong{ font-weight: 600; }
/* Left column filler on Home (to align with contacts card) */
.grid-2 > .card{ height: 100%; }
.card-inner.fillcol{
  display:flex;
  flex-direction: column;
  height: 100%;
}
.left-fill{
  margin-top: 14px;
  flex: 1 1 auto;
  min-height: 260px;
}
/* Cyrillic page titles (similar feel, supports Cyrillic) */
.cyr-title{
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: clamp(34px, 6vw, 56px);
  color: #f2e7d2;
  text-shadow: 0 2px 0 rgba(0,0,0,0.35), 0 12px 34px rgba(0,0,0,0.45);
  white-space: nowrap;
}

/* Playlist */
.player-wrap{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.playlist{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.pl-item{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.pl-item:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.42);
}
.pl-item.active{
  border-color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.55);
}
.pl-meta small{ opacity: .75; }
.pl-btn{
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 600;
}
