@font-face {
  font-family: 'Chopsic';
  src: url('Chopsic.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #080808;
  --surface:  #101010;
  --card:     #161616;
  --border:   #242424;
  --border2:  #2e2e2e;
  --accent:   #6a0dad;
  --accent2:  #9b30ff;
  --accent3:  #b060ff;
  --text:     #f0f0f0;
  --text2:    #c8c8c8;
  --muted:    #707070;
  --muted2:   #505050;
  --font:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:   12px;
  --radius-lg: 18px;
  --shadow:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-accent: 0 4px 32px rgba(106,13,173,0.25);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon { display: block; flex-shrink: 0; }

.logo-text {
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.logo-bitz {
  background: linear-gradient(135deg, #c070ff 0%, #9b30ff 45%, #ff3cac 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a.logo { text-decoration: none; }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

nav ul a {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--transition);
  padding: 6px 12px;
  border-radius: 6px;
}

nav ul a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
nav ul a.active { color: var(--accent2); }

/* ===== HERO ===== */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(106,13,173,0.3) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(155,48,255,0.07) 0%, transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(106,13,173,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-content h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #c8a0ff 60%, #9b30ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #7a1aee, #6a0dad);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition), transform 0.1s, box-shadow var(--transition);
  font-family: var(--font);
  box-shadow: 0 2px 16px rgba(106,13,173,0.35);
  letter-spacing: 0.01em;
}

.btn:hover { opacity: 0.88; box-shadow: 0 4px 24px rgba(106,13,173,0.5); }
.btn:active { transform: scale(0.97); }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.section.alt {
  max-width: 100%;
  background: var(--surface);
  padding: 80px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.alt > h2,
.section.alt > p,
.section.alt > .grid,
.section.alt > div {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.card-inner { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card-featured {
  border-color: rgba(155,48,255,0.4);
  box-shadow: 0 0 40px rgba(155,48,255,0.12);
}

.card-featured:hover {
  border-color: rgba(155,48,255,0.65);
  box-shadow: 0 8px 48px rgba(155,48,255,0.2);
  transform: translateY(-2px);
}

.featured-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  background: linear-gradient(135deg,#8a10d4,#6a0dad);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
}

.card-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent2);
  font-weight: 700;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent2);
}

.pack-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== PRODUCT IMAGE ===== */
.product-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ===== SOUNDCLOUD EMBED ===== */
.sc-embed {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  display: block;
}

/* ===== PRODUCT DESCRIPTION ===== */
.product-description {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #bbb;
}

.product-description p { margin: 0; }
.product-description strong { color: var(--text); }

.product-description ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-description li { color: #aaa; }

/* ===== SHARE BUTTON ===== */
.share-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding: 6px;
  border-radius: 6px;
  transition: color var(--transition);
}
.share-link:hover { color: var(--accent2); }

/* ===== DISCOUNT CODE ===== */
.discount-row {
  display: flex;
  gap: 8px;
}

.discount-input {
  flex: 1;
  padding: 10px 14px;
  background: #0c0c0c;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.discount-input:focus { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(155,48,255,0.12); }

.discount-apply-btn {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent2);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition), box-shadow var(--transition);
}

.discount-apply-btn:hover { background: rgba(106,13,173,0.2); box-shadow: 0 0 0 3px rgba(155,48,255,0.1); }

.discount-msg {
  font-size: 0.85rem;
  min-height: 1.2em;
}

/* ===== BUY FORM ===== */
.buy-form { margin-top: auto; }

.buy-btn {
  width: 100%;
  padding: 14px;
  font-size: 0.97rem;
  border-radius: 8px;
}

/* ===== CONTACT ===== */
#contact {
  text-align: center;
}

#contact p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 36px 28px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  font-size: 0.82rem;
  background: var(--surface);
}

footer a { color: var(--muted); transition: color var(--transition); }
footer a:hover { color: var(--accent2); }

/* ===== PRE-CHECKOUT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-box {
  background: var(--card);
  border: 1px solid rgba(155,48,255,0.35);
  border-radius: 20px;
  padding: 44px 36px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}

.modal-icon { font-size: 2.8rem; margin-bottom: 14px; }

.modal-box h2 {
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.modal-benefit {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.modal-benefit strong { color: var(--text); }

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-btn-google {
  width: 100%;
  padding: 13px;
  background: #fff;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
}

.modal-btn-google:hover { background: #f5f5f5; }

.modal-btn-login {
  width: 100%;
  padding: 13px;
  text-align: center;
}

.modal-btn-guest {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font);
  padding: 8px;
  transition: color var(--transition);
}

.modal-btn-guest:hover { color: var(--text); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  font-family: var(--font);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }

/* ===== TRACK PAGE ===== */
.track-page { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; }
.track-header { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 32px; flex-wrap: wrap; }
.track-info { flex: 1; min-width: 200px; }
.track-info h1 { font-size: 1.9rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.02em; line-height: 1.15; }
.track-meta { font-size: 0.84rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.track-meta a { color: var(--accent2); }
.waveform-wrap { position: relative; margin: 24px 0 8px; }
.comment-pin { position: absolute; top: 0; height: 100%; transform: translateX(-50%); cursor: pointer; z-index: 10; width: 10px; }
.comment-pin::after { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 6px rgba(155,48,255,0.9); }
.comment-ts { background: var(--accent); color: #fff; border-radius: 4px; padding: 2px 7px; font-size: 0.75rem; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.comment-name { color: var(--accent2); font-weight: 700; flex-shrink: 0; }
.comment-text { color: #bbb; }
.comment-item { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: 1px solid #1c1c1c; font-size: 0.88rem; flex-wrap: wrap; }
.comments-section { margin-top: 40px; }
.comments-section h3 { font-size: 1rem; font-weight: 800; margin-bottom: 18px; color: #ccc; border-bottom: 1px solid #1e1e1e; padding-bottom: 12px; }

/* ===== HERO BADGE ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(155,48,255,0.12);
  border: 1px solid rgba(155,48,255,0.3);
  color: var(--accent3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

/* ===== HAMBURGER NAV ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--muted);
  flex-shrink: 0;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-toggle svg { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  nav {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 18px;
    gap: 0;
    position: relative;
  }
  .logo-text { font-size: 1.15rem; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }
  nav ul.open { display: flex; }
  nav ul li a {
    display: block;
    padding: 10px 4px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .section { padding: 56px 18px; }
  .hero { min-height: 400px; padding: 72px 18px; }
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(155,48,255,0.18);
  border: 1px solid rgba(155,48,255,0.35);
  color: var(--accent2);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  z-index: 90;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: rgba(155,48,255,0.3); transform: translateY(-2px); }
