/* ================================================================
   hiphxp.id — Main Stylesheet
   ================================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Work+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --ink: #0a0a0a;
  --paper: #f2f1ec;
  --grey: #8a8a85;
  --grey-line: rgba(10,10,10,0.14);
  --red: #e5342a;
  --red-dim: rgba(229,52,42,0.14);
  --radius-cut: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Typography Utilities ---------- */
.mono { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em; }
.display { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--red); display: inline-block; }

/* ---------- Logo Mark ---------- */
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark svg { display: block; }
.mark-word { font-family: 'Archivo Black', sans-serif; font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; }
.mark-word .dot { color: var(--red); }

/* ================================================================
   NAV
   ================================================================ */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  border-bottom: 2px solid var(--red);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; position: relative; }
header.site .mark-word { color: var(--paper); }
nav.primary {
  display: flex; gap: 30px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
nav.primary a {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--paper); opacity: 0.72; position: relative; padding: 6px 0;
}
nav.primary a:hover { opacity: 1; }
nav.primary a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red);
  transition: width .2s ease;
}
nav.primary a:hover::after { width: 100%; }
.btn-cta {
  background: var(--red); color: var(--paper); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; padding: 11px 18px;
  clip-path: polygon(0 0,100% 0,100% 70%,88% 100%,0 100%);
  transition: background .2s, color .2s;
}
.btn-cta:hover { background: var(--paper); color: var(--ink); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger svg { stroke: var(--paper); }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--ink); z-index: 100;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Archivo Black', sans-serif; font-size: 28px; text-transform: uppercase;
  color: var(--paper); opacity: 0.8;
}
.mobile-menu a:hover { opacity: 1; color: var(--red); }
.mobile-close { position: absolute; top: 24px; right: 28px; background: none; border: none; cursor: pointer; }
.mobile-close svg { stroke: var(--paper); width: 28px; height: 28px; }

/* ================================================================
   HERO
   ================================================================ */
.hero { background: var(--ink); color: var(--paper); padding: 64px 0 0; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 40px; align-items: end; padding-bottom: 56px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); }
.hero h1 span.hl { color: var(--red); }
.hero p.lede { margin-top: 22px; max-width: 480px; font-size: 17px; color: rgba(242,241,236,0.72); line-height: 1.55; }
.hero-side { border-left: 2px solid var(--red); padding-left: 22px; display: flex; flex-direction: column; gap: 16px; }
.hero-side .stat {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(242,241,236,0.6); border-bottom: 1px dashed rgba(242,241,236,0.22); padding-bottom: 12px;
}
.hero-side .stat b { color: var(--paper); font-size: 20px; font-family: 'Archivo Black', sans-serif; display: block; }

/* Ticker */
.ticker { background: var(--red); color: var(--ink); overflow: hidden; white-space: nowrap; border-top: 2px solid var(--ink); }
.ticker-track { display: inline-block; padding: 11px 0; animation: scroll 32s linear infinite; }
.ticker-track span { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; margin-right: 46px; font-weight: 700; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ================================================================
   SECTION Shell
   ================================================================ */
section { padding: 88px 0; border-bottom: 1px solid var(--grey-line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 4vw, 48px); }
.sec-head p { max-width: 340px; color: var(--grey); font-size: 14.5px; line-height: 1.5; }

/* Loading state */
.loading-spinner { text-align: center; padding: 40px; color: var(--grey); font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.loading-spinner::before { content: '⏳ '; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--grey); }
.empty-state p { font-family: 'JetBrains Mono', monospace; font-size: 13px; margin-top: 10px; }

/* ================================================================
   MUSIC section
   ================================================================ */
.music-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.music-col { border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 30px 26px; position: relative; min-height: 250px; display: flex; flex-direction: column; transition: background .2s, color .2s; cursor: pointer; }
.music-col .num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--grey); }
.music-col h3 { font-size: 26px; margin: 14px 0 12px; font-family: 'Archivo Black', sans-serif; text-transform: uppercase; }
.music-col p { font-size: 14px; color: var(--grey); line-height: 1.55; flex-grow: 1; transition: color .2s; }
.music-col .go { margin-top: 18px; font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 6px; }
.music-col:hover { background: var(--ink); color: var(--paper); }
.music-col:hover p { color: rgba(242,241,236,0.7); }
.music-col:hover .num { color: var(--red); }

/* Songs / release radar list */
.releases-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border: 2px solid var(--ink); }
.release-card { padding: 22px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; gap: 10px; transition: background .2s; }
.release-card:hover { background: var(--red-dim); }
.release-card .rc-tag { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--red); }
.release-card h4 { font-family: 'Archivo Black', sans-serif; font-size: 17px; text-transform: uppercase; line-height: 1.1; }
.release-card .rc-artist { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--grey); }
.release-card .rc-date { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--grey); margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--grey-line); }

/* Media embed demo */
.article-demo { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); }
.article-demo .col-a { padding: 34px; border-right: 2px solid var(--ink); }
.article-demo .col-b { padding: 34px; background: #eae8e0; }
.article-demo h4 { font-family: 'Archivo Black', sans-serif; font-size: 24px; text-transform: uppercase; margin-bottom: 14px; }
.article-demo .byline { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--grey); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em; }
.article-demo p.body-text { font-size: 14.5px; line-height: 1.7; color: #2b2b2b; margin-bottom: 14px; }
.embed-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey); margin-bottom: 8px; display: block; }
.embed-box { border: 1.5px solid var(--ink); background: var(--paper); padding: 14px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; transition: transform .15s; cursor: pointer; }
.embed-box:hover { transform: translateX(4px); }
.embed-box:last-child { margin-bottom: 0; }
.embed-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Archivo Black', sans-serif; font-size: 13px; color: #fff; }
.embed-meta b { display: block; font-size: 13.5px; font-family: 'Work Sans', sans-serif; font-weight: 700; }
.embed-meta span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--grey); }
.ic-spotify { background: #1DB954; }
.ic-apple { background: linear-gradient(135deg,#fa5c85,#c644fc); }
.ic-yt { background: #ff0000; }
.ic-tiktok { background: #000; }
.ic-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* ================================================================
   LIFESTYLE
   ================================================================ */
.lifestyle-grid { display: flex; gap: 22px; }
.life-card {
  position: relative; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: var(--paper); clip-path: polygon(0 0,100% 0,100% 96%,92% 100%,0 100%);
  cursor: pointer; flex: 1; transition: flex 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.2s ease;
}
.life-card:hover { flex: 1.5; transform: translateY(-4px); }
.life-1 { background: linear-gradient(160deg,#1a1a1a,#0a0a0a 60%,var(--red) 165%); }
.life-2 { background: linear-gradient(200deg,#20201d,#0a0a0a); }
.life-3 { background: linear-gradient(180deg,#111,#000); }
.life-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 200%; height: 100%;
  background-repeat: repeat-x; background-size: 50% 100%; will-change: transform;
}
.life-1::before {
  background-image: repeating-linear-gradient(115deg, transparent 0 26px, rgba(255,255,255,0.12) 26px 28px, transparent 28px 54px);
  animation: lifeSlide 9s linear infinite;
}
.life-2::before {
  background-image: repeating-linear-gradient(60deg, rgba(255,255,255,0.14) 0 4px, transparent 4px 24px);
  animation: lifeSlideRev 12s linear infinite;
}
.life-3::before {
  background-image: repeating-linear-gradient(48deg, rgba(229,52,42,0.5) 0 20px, transparent 20px 42px);
  animation: lifeSlide 7s linear infinite;
}
.life-card::after { content: ''; position: absolute; inset: 0; }
.life-1::after { background: radial-gradient(circle at 85% 100%, rgba(0,0,0,0.55), transparent 60%); }
.life-2::after { background: radial-gradient(circle at 15% 0%, rgba(0,0,0,0.5), transparent 55%); }
.life-3::after { background: radial-gradient(circle at 75% 20%, rgba(229,52,42,0.5), transparent 55%); }
@keyframes lifeSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lifeSlideRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .life-card::before { animation: none; } }
.life-card .tag { position: relative; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--red); margin-bottom: 10px; }
.life-card h3 { position: relative; z-index: 2; font-size: 27px; font-family: 'Archivo Black', sans-serif; text-transform: uppercase; }
.life-card p { position: relative; z-index: 2; font-size: 13px; margin-top: 8px; color: rgba(242,241,236,0.72); max-width: 230px; }

/* ================================================================
   FEATURES / Editorial
   ================================================================ */
.feature-editorial { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.feature-visual {
  aspect-ratio: 4/5; background: linear-gradient(150deg,#101010,#050505 55%, var(--red) 200%);
  position: relative; clip-path: polygon(0 0,92% 0,100% 8%,100% 100%,8% 100%,0 92%);
}
.feature-visual::after {
  content: 'INTERVIEW'; position: absolute; bottom: 22px; left: 22px; color: var(--paper);
  font-family: 'Archivo Black', sans-serif; font-size: 15px; letter-spacing: 0.02em;
}
.feature-quote { font-family: 'Archivo Black', sans-serif; text-transform: none; font-size: clamp(22px,2.6vw,32px); line-height: 1.28; margin-bottom: 22px; }
.feature-quote .red { color: var(--red); }
.feature-meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.feature-avatar { width: 46px; height: 46px; background: var(--ink); flex-shrink: 0; clip-path: polygon(0 0,100% 0,100% 78%,78% 100%,0 100%); }
.feature-meta b { display: block; font-size: 14px; }
.feature-meta span { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--grey); }

/* ================================================================
   COMMUNITY HUB
   ================================================================ */
.community { background: var(--ink); color: var(--paper); }
.community .sec-head p { color: rgba(242,241,236,0.6); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em;
  border: 1.5px solid rgba(242,241,236,0.3); padding: 8px 16px; color: rgba(242,241,236,0.75);
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--red); color: var(--paper); }
.chip.active { background: var(--red); border-color: var(--red); color: var(--ink); font-weight: 700; }

.collective-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 70px; }
.collective-card { border: 1.5px solid rgba(242,241,236,0.22); padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s; }
.collective-card:hover { border-color: var(--red); transform: translateY(-3px); }
.collective-avatar { width: 100%; aspect-ratio: 1; background: linear-gradient(145deg,#2a2a2a,#0a0a0a); position: relative; overflow: hidden; }
.collective-avatar::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg,transparent 0 8px, rgba(229,52,42,0.18) 8px 9px); }
.collective-avatar span { position: absolute; bottom: 10px; left: 10px; font-family: 'Archivo Black', sans-serif; font-size: 22px; color: var(--paper); }
.collective-card h4 { font-size: 16px; font-family: 'Archivo Black', sans-serif; text-transform: uppercase; }
.collective-card .city { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--red); text-transform: uppercase; }
.collective-card .desc { font-size: 12.5px; color: rgba(242,241,236,0.55); line-height: 1.5; }

/* Event Calendar */
.event-panel { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 0; border: 1.5px solid rgba(242,241,236,0.22); }
.event-filters { padding: 30px; border-right: 1.5px solid rgba(242,241,236,0.22); }
.event-filters h4 { font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 18px; }
.event-filters label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(242,241,236,0.5); margin: 16px 0 6px; }
.event-filters select, .event-filters input {
  width: 100%; background: transparent; border: 1.5px solid rgba(242,241,236,0.3); color: var(--paper);
  padding: 9px 10px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
}
.event-filters select option { background: var(--ink); }
.event-filters .btn-filter {
  width: 100%; margin-top: 20px; background: var(--red); color: var(--paper);
  border: none; padding: 11px; font-family: 'JetBrains Mono', monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: opacity .2s;
}
.event-filters .btn-filter:hover { opacity: 0.85; }
.event-list { padding: 10px 0; }
.event-row { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 18px; padding: 18px 30px; border-bottom: 1px solid rgba(242,241,236,0.14); transition: background .15s; }
.event-row:hover { background: rgba(229,52,42,0.08); }
.event-row:last-child { border-bottom: none; }
.event-date { text-align: center; border-right: 1.5px solid rgba(242,241,236,0.22); padding-right: 16px; }
.event-date .d { font-family: 'Archivo Black', sans-serif; font-size: 26px; line-height: 1; }
.event-date .m { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--red); text-transform: uppercase; }
.event-info h5 { font-size: 15.5px; font-family: 'Archivo Black', sans-serif; text-transform: uppercase; margin-bottom: 4px; }
.event-info span { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: rgba(242,241,236,0.55); }
.event-badge { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; text-transform: uppercase; border: 1px solid var(--red); color: var(--red); padding: 5px 10px; white-space: nowrap; }

/* ================================================================
   PARTNERSHIP / RATE CARD
   ================================================================ */
.partnership { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); }
.partnership-info { padding: 44px; }
.partnership-info h2 { font-size: clamp(28px,3.6vw,42px); margin-bottom: 16px; }
.partnership-info p { color: var(--grey); font-size: 14.5px; line-height: 1.6; max-width: 440px; margin-bottom: 30px; }
.rate-list { display: flex; flex-direction: column; }
.rate-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--grey-line); }
.rate-row:first-child { border-top: 1px dashed var(--grey-line); }
.rate-row b { font-size: 14.5px; font-family: 'Work Sans', sans-serif; }
.rate-row span { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--grey); text-transform: uppercase; }
.partnership-cta { background: var(--ink); color: var(--paper); padding: 44px; display: flex; flex-direction: column; justify-content: space-between; }
.partnership-cta h3 { font-family: 'Archivo Black', sans-serif; font-size: 24px; text-transform: uppercase; margin-bottom: 12px; }
.partnership-cta p { color: rgba(242,241,236,0.65); font-size: 14px; line-height: 1.6; margin-bottom: 26px; }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: var(--ink);
  padding: 16px; font-family: 'JetBrains Mono', monospace; font-weight: 700; text-transform: uppercase; font-size: 13px;
  letter-spacing: 0.06em; clip-path: polygon(0 0,100% 0,100% 72%,90% 100%,0 100%); transition: background .2s;
}
.wa-btn:hover { background: var(--paper); }
.form-mini { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.form-mini input, .form-mini textarea {
  background: transparent; border: 1.5px solid rgba(242,241,236,0.3); color: var(--paper);
  padding: 11px 12px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  transition: border-color .2s;
}
.form-mini input:focus, .form-mini textarea:focus { outline: none; border-color: var(--red); }
.form-mini input::placeholder, .form-mini textarea::placeholder { color: rgba(242,241,236,0.4); }
.form-mini textarea { resize: vertical; min-height: 80px; }
.form-submit {
  background: var(--red); color: var(--paper); border: none; padding: 12px 20px; margin-top: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; width: 100%; transition: opacity .2s;
}
.form-submit:hover { opacity: 0.85; }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Toast notification */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--ink); color: var(--paper); padding: 12px 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  border-left: 4px solid var(--red); z-index: 200;
  transition: transform .3s ease;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ================================================================
   SOCIAL SHARE
   ================================================================ */
.share-demo { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.share-article { flex: 1; min-width: 260px; }
.share-article h3 { font-size: 24px; margin-bottom: 10px; }
.share-article p { color: var(--grey); font-size: 14px; line-height: 1.6; max-width: 380px; }
.share-buttons { display: flex; gap: 16px; }
.share-btn {
  width: 64px; height: 64px; position: relative; background: var(--ink); display: flex; align-items: center; justify-content: center;
  clip-path: polygon(18% 0,100% 0,100% 82%,82% 100%,0 100%,0 18%);
  transition: transform .15s ease; cursor: pointer; border: none;
}
.share-btn:hover { transform: translateY(-4px); }
.share-btn svg { width: 26px; height: 26px; }
.share-btn.ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.share-btn.tiktok { background: #000; }
.share-btn.x { background: #000; }
.share-btn.wa { background: #20BD5C; }
.share-btn svg { fill: #fff; }

/* ================================================================
   FOOTER
   ================================================================ */
footer { background: var(--ink); color: rgba(242,241,236,0.5); padding: 54px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(242,241,236,0.14); }
footer .mark-word { color: var(--paper); }
footer p.about { font-size: 13px; line-height: 1.6; margin-top: 14px; max-width: 260px; }
footer h5 { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--paper); margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
footer ul a { font-size: 13.5px; transition: color .15s; }
footer ul a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; flex-wrap: wrap; gap: 10px; }

/* ================================================================
   KONTAK
   ================================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; max-width: 800px; }
.contact-card {
  background: var(--ink); border: 1.5px solid rgba(242,241,236,0.1); padding: 20px 24px;
  display: flex; align-items: center; gap: 20px; color: var(--paper); text-decoration: none;
  transition: all .2s ease;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.contact-card:hover { border-color: rgba(242,241,236,0.3); transform: translateY(-4px); }
.contact-icon { font-size: 24px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(242,241,236,0.08); border-radius: 50%; color: var(--paper); }
.contact-icon svg { width: 22px; height: 22px; fill: currentColor; }
.contact-info { display: flex; flex-direction: column; }
.contact-info b { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(242,241,236,0.5); margin-bottom: 4px; }
.contact-info span { font-size: 18px; font-weight: 600; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 980px) {
  nav.primary { display: none; }
  .nav-hamburger { display: flex; }
  .btn-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .music-cols { grid-template-columns: 1fr; }
  .releases-grid { grid-template-columns: 1fr; }
  .article-demo { grid-template-columns: 1fr; }
  .article-demo .col-a { border-right: none; border-bottom: 2px solid var(--ink); }
  .lifestyle-grid { flex-direction: column; }
  .feature-editorial { grid-template-columns: 1fr; }
  .collective-grid { grid-template-columns: repeat(2,1fr); }
  .event-panel { grid-template-columns: 1fr; }
  .event-filters { border-right: none; border-bottom: 1.5px solid rgba(242,241,236,0.22); }
  .partnership { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .share-demo { flex-direction: column; align-items: flex-start; gap: 30px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero h1 { font-size: clamp(36px, 12vw, 64px); }
  .collective-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .share-buttons { flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; }
}



body.theme-dark {
  background: var(--ink) !important;
  color: var(--paper) !important;
}
/* Extracted from frontend/music.html */

    .music-page {
      padding-top: 80px;
      min-height: calc(100vh - 100px);
      padding-bottom: 120px; /* space for player */
    }
    
    .search-box {
      width: 100%;
      max-width: 600px;
      margin: 0 auto 40px;
      position: relative;
    }
    
    .search-input {
      width: 100%;
      padding: 16px 24px;
      border-radius: 30px;
      border: 1px solid rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.05);
      color: var(--white);
      font-size: 18px;
      font-family: 'Work Sans', sans-serif;
      transition: all 0.3s ease;
    }
    
    .search-input:focus {
      outline: none;
      border-color: var(--red);
      background: rgba(255,255,255,0.1);
    }
    
    .search-icon {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .song-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-width: 800px;
      margin: 0 auto;
    }

    .song-row {
      display: flex;
      align-items: center;
      padding: 12px 16px;
      border-radius: 12px;
      background: rgba(255,255,255,0.03);
      transition: background 0.2s;
      cursor: pointer;
    }
    
    .song-row:hover {
      background: rgba(255,255,255,0.08);
    }
    
    .song-row.playing {
      border: 1px solid var(--red);
      background: rgba(219, 10, 10, 0.1);
    }

    .song-cover {
      width: 48px;
      height: 48px;
      border-radius: 8px;
      background: #333;
      margin-right: 16px;
      object-fit: cover;
    }

    .song-info {
      flex: 1;
    }

    .song-info h4 {
      margin: 0;
      font-size: 16px;
    }
    
    .song-info span {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--grey);
    }

    .play-btn-list {
      background: transparent;
      border: 1px solid var(--red);
      color: var(--red);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    
    .song-row:hover .play-btn-list {
      background: var(--red);
      color: var(--white);
    }

    /* Player Footer */
    .player-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(18, 18, 18, 0.95);
      color: var(--paper);
      backdrop-filter: blur(10px);
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 16px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transform: translateY(100%);
      transition: transform 0.3s ease;
      z-index: 100;
    }

    .player-footer.active {
      transform: translateY(0);
    }

    .player-info {
      display: flex;
      align-items: center;
      width: 300px;
    }

    .player-cover {
      width: 56px;
      height: 56px;
      border-radius: 8px;
      margin-right: 16px;
      background: #333;
      object-fit: cover;
    }

    .player-text h4 {
      margin: 0 0 4px 0;
      font-size: 16px;
    }
    .player-text span {
      color: var(--grey);
      font-size: 13px;
    }

    .player-controls {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 1;
      max-width: 500px;
    }

    .player-buttons {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 8px;
    }

    .btn-icon {
      background: none;
      border: none;
      color: var(--white);
      cursor: pointer;
      opacity: 0.7;
      transition: opacity 0.2s;
      padding: 4px;
    }
    .btn-icon:hover { opacity: 1; }
    
    .btn-play {
      background: var(--white);
      color: var(--bg);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 1;
      border: none;
      cursor: pointer;
    }

    .progress-container {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--grey);
    }

    .progress-bar-bg {
      flex: 1;
      height: 4px;
      background: rgba(255,255,255,0.2);
      border-radius: 2px;
      cursor: pointer;
      position: relative;
    }

    .progress-bar-fill {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      background: var(--red);
      border-radius: 2px;
      width: 0%;
      pointer-events: none;
    }

    .volume-container {
      width: 300px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
    }

    .volume-slider {
      width: 100px;
      height: 4px;
      -webkit-appearance: none;
      background: linear-gradient(to right, var(--red) var(--vol, 100%), rgba(255,255,255,0.2) var(--vol, 100%));
      border-radius: 2px;
      outline: none;
    }
    .volume-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--paper);
      cursor: pointer;
    }

/* Extracted from frontend/login.html */

    .auth-page {
      min-height: calc(100vh - 74px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 120px 20px 40px;
    }
    .auth-box {
      width: 100%;
      max-width: 500px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 20px;
      padding: 40px;
    }
    .auth-tabs {
      display: flex;
      gap: 16px;
      margin-bottom: 30px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding-bottom: 16px;
    }
    .auth-tab {
      background: none;
      border: none;
      color: var(--grey);
      font-family: 'Archivo Black', sans-serif;
      font-size: 20px;
      cursor: pointer;
      text-transform: uppercase;
      padding: 0;
    }
    .auth-tab.active {
      color: var(--paper);
    }
    .auth-form {
      display: none;
      margin-top: 24px;
    }
    .auth-form.active {
      display: block;
    }
    
    /* Form input styling */
    .field {
      margin-bottom: 20px;
    }
    .field label {
      display: block;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(242,241,236,0.6);
      margin-bottom: 8px;
    }
    .field input {
      width: 100%;
      background: rgba(0,0,0,0.2);
      border: 1.5px solid rgba(242,241,236,0.15);
      color: var(--paper);
      padding: 14px 16px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 14px;
      border-radius: 8px;
      transition: border-color .2s, background .2s;
    }
    .field input:focus {
      outline: none;
      border-color: var(--red);
      background: rgba(0,0,0,0.4);
    }
    
    /* Button styles */
    .btn {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12.5px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 16px;
      border-radius: 8px;
      cursor: pointer;
      border: none;
      font-weight: 700;
      transition: opacity .2s, transform .1s;
    }
    .btn:active {
      transform: scale(0.98);
    }
    .btn.primary {
      background: var(--red);
      color: var(--paper);
    }
    .btn.primary:hover {
      opacity: 0.9;
    }
    .btn.outline {
      background: transparent;
      border: 1.5px solid var(--paper);
      color: var(--paper);
    }
    .btn.outline:hover {
      background: var(--paper);
      color: var(--ink);
    }

/* Extracted from frontend/dashboard.html */

    .dashboard-page {
      padding-top: 80px;
      min-height: calc(100vh - 100px);
    }
    
    .dash-layout {
      display: grid;
      grid-template-columns: 250px 1fr;
      gap: 40px;
      margin-top: 40px;
    }

    .dash-sidebar {
      border-right: 1px solid rgba(255,255,255,0.1);
      padding-right: 20px;
    }

    .dash-nav {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .dash-nav button {
      background: none;
      border: none;
      color: var(--grey);
      font-family: 'Work Sans', sans-serif;
      font-size: 16px;
      text-align: left;
      padding: 12px 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .dash-nav button:hover {
      background: rgba(255,255,255,0.05);
      color: var(--paper);
    }

    .dash-nav button.active {
      background: var(--red);
      color: var(--paper);
      font-weight: 600;
    }

    .dash-nav button.logout {
      margin-top: 40px;
      color: #ff4444;
    }
    .dash-nav button.logout:hover {
      background: rgba(255, 68, 68, 0.1);
    }

    .dash-content section {
      display: none;
      animation: fadeIn 0.3s ease;
    }

    .dash-content section.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Form Styles */
    .dash-box {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      padding: 32px;
      margin-bottom: 24px;
    }

    .dash-box h3 {
      margin-top: 0;
      margin-bottom: 24px;
      font-family: 'Archivo Black', sans-serif;
      font-size: 24px;
      text-transform: uppercase;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding-bottom: 12px;
    }

    /* Form Grid */
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    
    /* Form input styling */
    .field {
      margin-bottom: 20px;
    }
    .field label {
      display: block;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(242,241,236,0.6);
      margin-bottom: 8px;
    }
    .field input, .field select {
      width: 100%;
      background: rgba(0,0,0,0.2) !important;
      border: 1.5px solid rgba(242,241,236,0.15) !important;
      color: var(--paper) !important;
      padding: 14px 16px !important;
      font-family: 'JetBrains Mono', monospace;
      font-size: 14px;
      border-radius: 8px !important;
      transition: border-color .2s, background .2s;
    }
    .field input:focus, .field select:focus {
      outline: none;
      border-color: var(--red) !important;
      background: rgba(0,0,0,0.4) !important;
    }
    .field select option {
      background: var(--ink);
      color: var(--paper);
    }
    
    /* Button styles */
    .btn {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12.5px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 16px;
      border-radius: 8px;
      cursor: pointer;
      border: none;
      font-weight: 700;
      transition: opacity .2s, transform .1s;
    }
    .btn:active {
      transform: scale(0.98);
    }
    .btn.primary {
      background: var(--red);
      color: var(--paper);
    }
    .btn.primary:hover {
      opacity: 0.9;
    }
    
    @media (max-width: 768px) {
      .dash-layout { grid-template-columns: 1fr; min-width: 0; }
      .dash-sidebar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; padding-right: 0; min-width: 0; }
      .dash-content { min-width: 0; }
      .form-grid { grid-template-columns: 1fr; }
    }

/* ================================================================
   MOBILE RESPONSIVE — Global Additions
   ================================================================ */

/* Dashboard — Tab navigation scrollable on mobile */
@media (max-width: 768px) {
  .dash-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: center;
  }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-tab, .dash-nav button.logout {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 14px;
    margin-top: 0;
  }

  /* Dashboard tables — horizontal scroll */
  .dash-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Dashboard sec-head */
  .sec-head h1 { font-size: clamp(28px, 9vw, 48px); }

  /* Dashboard dash-box padding */
  .dash-box { padding: 20px 16px; }
  .dash-box h3 { font-size: 18px; }
}

/* Player Footer — stacked on mobile */
@media (max-width: 600px) {
  .player-footer {
    flex-direction: column;
    height: auto;
    padding: 10px 16px 14px;
    gap: 8px;
  }
  .player-info {
    width: 100%;
    min-width: 0;
  }
  .player-controls {
    width: 100%;
    flex-direction: column;
    gap: 6px;
  }
  .player-buttons {
    justify-content: center;
  }
  .progress-container {
    width: 100%;
  }
  .volume-container {
    width: 100%;
    justify-content: center;
  }
  .volume-slider { width: 100%; max-width: 200px; }

  /* Adjust body padding for taller player footer */
  body { padding-bottom: 140px; }
}

/* Auth / Login Page — mobile adjustments */
@media (max-width: 600px) {
  .auth-page {
    padding: 20px 16px 120px;
    min-height: calc(100vh - 60px);
  }
  .auth-box {
    padding: 24px 16px;
    border-radius: 12px;
    max-width: 100%;
  }
  .auth-tabs {
    gap: 4px;
  }
  .auth-tab {
    font-size: 12px;
    padding: 10px 14px;
  }
}

/* Music Page — song card grid on mobile */
@media (max-width: 600px) {
  .music-page {
    padding-top: 100px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .search-box { margin-bottom: 24px; }
  .song-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .song-card {
    flex-direction: row;
    align-items: center;
  }
}

/* Header — fix overflow on very small screens */
@media (max-width: 380px) {
  .site .wrap {
    padding: 0 12px;
  }
  .mark-word { font-size: 16px; }
}

/* General — prevent content overflow */
@media (max-width: 600px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  img { max-width: 100%; height: auto; }
  table { font-size: 13px; }
}

/* ================================================================
   Premium Table and Button Styles for Admin/Dashboard
   ================================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--grey);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

/* Premium Button Styles */
.btn-primary, .btn-danger {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-out;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background: #ff4d44;
  border-color: #ff4d44;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229,52,42,0.25);
}

.btn-danger {
  background: rgba(229, 52, 42, 0.12);
  border: 1px solid rgba(229, 52, 42, 0.35);
  color: #ff6b6b;
}

.btn-danger:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229,52,42,0.25);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  height: 28px;
}

