@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0ABFB8;
  --teal-dark: #089E98;
  --teal-light: rgba(10, 191, 184, 0.12);
  --teal-glow: rgba(10, 191, 184, 0.25);
  --black: #080808;
  --gray-900: #111111;
  --gray-800: #1C1C1E;
  --gray-700: #2C2C2E;
  --gray-500: #636366;
  --gray-400: #8E8E93;
  --gray-300: #C7C7CC;
  --gray-200: #E5E5EA;
  --gray-100: #F2F2F7;
  --white: #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.18);
  --header-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
img { display: block; max-width: 100%; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  color: var(--black);
  flex-shrink: 0;
}
.logo-icon svg { display: block; }
.logo-accent { color: var(--teal); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.main-nav a.active { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-connect {
  background: var(--teal);
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.15s;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.btn-connect:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-user {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
}
.btn-user .user-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 580px;
  padding-top: var(--header-h);
  background: var(--black);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(10,191,184,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(10,191,184,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10,191,184,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10,191,184,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 64px 28px 32px;
  max-width: 760px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--teal);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-title .teal { color: var(--teal); }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.search-wrap { width: 100%; max-width: 580px; margin: 0 auto; }

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(12px);
}
.search-bar:focus-within {
  border-color: var(--teal);
  background: rgba(255,255,255,0.09);
}
.search-bar svg { color: rgba(255,255,255,0.35); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
}
.search-bar input::placeholder { color: rgba(255,255,255,0.35); }
.search-bar button {
  background: var(--teal);
  color: var(--black);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-display);
  padding: 10px 22px;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.search-bar button:hover { opacity: 0.85; }

.search-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.search-tags span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.search-tags span:hover { color: var(--teal); border-color: var(--teal); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  justify-content: center;
  position: relative;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}
.stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   CONTENT SECTIONS
============================================================ */
.site-main { padding-bottom: 80px; }

.content-section {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--gray-200);
}
.content-section.section-alt { background: var(--gray-100); }

.section-head {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 5px;
}
.section-sub {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 400;
}

.see-all-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal);
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.see-all-btn:hover { background: var(--teal); color: var(--black); }
.see-all-btn span { transition: transform 0.2s; display: inline-block; margin-left: 2px; }
.see-all-btn:hover span { transform: translateX(3px); }

/* ============================================================
   CATEGORIES ROW
============================================================ */
.categories-row {
  max-width: 1400px;
  margin: 0 auto 24px;
  padding: 0 28px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories-row::-webkit-scrollbar { display: none; }

.cat-card {
  flex-shrink: 0;
  position: relative;
  width: 130px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}
.cat-card:hover { transform: translateY(-2px); }
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cat-card .cat-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-dark), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 10px;
}
.cat-card-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  font-family: var(--font-display);
}
.cat-card-count {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}
.cat-card.active .cat-card-overlay { background: rgba(10,191,184,0.55); }

/* ============================================================
   ASSETS SCROLL
============================================================ */
.assets-scroll-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

.assets-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}
.assets-scroll::-webkit-scrollbar { display: none; }

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  font-size: 20px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1;
}
.scroll-btn:hover { background: var(--teal); color: var(--black); border-color: var(--teal); }
.scroll-left { left: 0; }
.scroll-right { right: 0; }

/* Photo Card */
.photo-card {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  position: relative;
  background: var(--gray-200);
  transition: transform 0.2s;
}
.photo-card:hover { transform: translateY(-3px); }
.photo-card:hover .photo-card-overlay { opacity: 1; }
.photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.photo-card .photo-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.photo-card-overlay-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
}
.photo-card-overlay-cat {
  font-size: 11px;
  color: var(--teal);
  margin-top: 2px;
}
.photo-card-overlay-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.card-action-btn {
  flex: 1;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 7px;
  border-radius: 6px;
  text-align: center;
  font-family: var(--font-body);
}
.card-action-btn.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--black);
}

/* Background Card */
.bg-card {
  flex-shrink: 0;
  width: 240px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.2s;
}
.bg-card:hover { transform: translateY(-3px); }
.bg-card:hover .photo-card-overlay { opacity: 1; }
.bg-card img, .bg-card .bg-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bg-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* Icon Card */
.icon-card {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.icon-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.icon-card .icon-preview { font-size: 36px; }
.icon-card .icon-name { font-size: 10px; font-weight: 600; color: var(--gray-500); text-align: center; padding: 0 6px; }

/* Word Art Card */
.wordart-card {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  position: relative;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wordart-card:hover { transform: translateY(-3px); }
.wordart-card:hover .photo-card-overlay { opacity: 1; }

/* ============================================================
   TRACK LIST (Instrumentals)
============================================================ */
.track-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
}
.track-item:hover { background: rgba(10,191,184,0.06); }
.track-item:hover .track-play { opacity: 1; transform: scale(1); }
.track-item:hover .track-num { opacity: 0; }

.track-thumb {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  position: relative;
}
.track-thumb-wrap {
  position: relative;
  width: 48px; height: 48px;
  flex-shrink: 0;
}
.track-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  font-family: var(--font-display);
  transition: opacity 0.15s;
  background: transparent;
}
.track-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,191,184,0.85);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s, transform 0.15s;
  color: var(--black);
  font-size: 16px;
}

.track-cover {
  width: 48px; height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.track-info { flex: 1; min-width: 0; }
.track-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-display);
}
.track-meta {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.track-meta span { display: flex; align-items: center; gap: 3px; }

.track-tags {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.track-tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 500;
}
.track-tag.mood { background: var(--teal-light); color: var(--teal-dark); }
.track-tag.genre { background: var(--gray-100); color: var(--gray-500); }

.track-dur {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  font-family: var(--font-display);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}
.track-bpm {
  font-size: 12px;
  color: var(--gray-400);
  flex-shrink: 0;
  min-width: 50px;
  text-align: center;
}
.track-dl-btn {
  flex-shrink: 0;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font-display);
}
.track-dl-btn:hover { background: var(--teal); color: var(--black); }
.track-waveform {
  width: 80px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.waveform-bar {
  flex: 1;
  background: var(--gray-300);
  border-radius: 2px;
  transition: background 0.15s;
}
.track-item:hover .waveform-bar { background: var(--teal); }

/* ============================================================
   ASSET MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.asset-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: slideUp 0.25s ease;
  display: flex;
  flex-direction: column;
}
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  font-size: 14px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.15); }

.modal-inner {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.modal-preview {
  flex: 1.1;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.modal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  min-height: 400px;
}

.modal-info {
  width: 320px;
  flex-shrink: 0;
  padding: 32px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid var(--gray-200);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
.modal-category {
  font-size: 12px;
  color: var(--teal-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.modal-download-btn {
  width: 100%;
  background: var(--teal);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
}
.modal-download-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.modal-download-btn.locked {
  background: var(--gray-900);
  color: var(--white);
}

.modal-credit-box {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 14px;
}
.modal-credit-box h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.modal-credit-text {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 10px;
}
.copy-credit-btn {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  border-radius: 7px;
  transition: border-color 0.2s, color 0.2s;
}
.copy-credit-btn:hover { border-color: var(--teal); color: var(--teal-dark); }

.modal-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.modal-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-500);
  font-weight: 500;
}

/* ============================================================
   PATREON MODAL
============================================================ */
.patreon-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: slideUp 0.25s ease;
  overflow: hidden;
}

.patreon-modal-inner {
  padding: 40px 32px 36px;
  text-align: center;
}
.patreon-icon {
  width: 64px; height: 64px;
  background: var(--teal-light);
  border: 1.5px solid rgba(10,191,184,0.35);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--teal);
  box-shadow: 0 0 18px rgba(10,191,184,0.15);
}
.patreon-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.patreon-sub {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 28px;
}
.patreon-sub strong { color: var(--gray-700); }
.btn-patreon-connect {
  width: 100%;
  background: #FF424D;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.btn-patreon-connect:hover { opacity: 0.88; }
.patreon-note {
  font-size: 12px;
  color: var(--gray-400);
}
.patreon-note a { color: var(--teal-dark); font-weight: 600; }

.patreon-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 24px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-700);
}
.perk-icon {
  width: 28px; height: 28px;
  background: var(--teal-light);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 60px 28px 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { flex: 1; max-width: 300px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-parent {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   GALLERY PAGE
============================================================ */
.gallery-hero {
  padding-top: var(--header-h);
  background: var(--black);
  padding-bottom: 40px;
}
.gallery-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 28px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.gallery-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.gallery-hero-title span { color: var(--teal); }
.gallery-count {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

.gallery-filters {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--black);
}

.gallery-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.gallery-grid.backgrounds-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery-grid.icons-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gallery-grid .photo-card { width: 100%; }
.gallery-grid .photo-card img { height: 260px; }
.gallery-grid .bg-card { width: 100%; height: 180px; }
.gallery-grid .icon-card { width: 100%; height: 150px; }
.gallery-grid .wordart-card { width: 100%; height: 200px; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 0;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  font-family: var(--font-display);
  transition: all 0.15s;
  padding: 0 12px;
}
.page-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.page-btn.active { background: var(--teal); border-color: var(--teal); color: var(--black); }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }

/* Track list full page */
.full-track-list { display: flex; flex-direction: column; gap: 3px; margin-bottom: 48px; }

/* ============================================================
   LOCKED OVERLAY
============================================================ */
.locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s;
}
.photo-card:hover .locked-overlay,
.bg-card:hover .locked-overlay,
.wordart-card:hover .locked-overlay { opacity: 1; }
.lock-icon {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .modal-inner { flex-direction: column; }
  .modal-info { width: 100%; border-left: none; border-top: 1px solid var(--gray-200); padding: 20px; }
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-brand { max-width: 100%; }
  .track-waveform { display: none; }
  .track-bpm { display: none; }
}
@media (max-width: 600px) {
  .hero-content { padding: 48px 20px 24px; }
  .section-head { padding: 0 16px; }
  .categories-row { padding: 0 16px; }
  .assets-scroll-wrap { padding: 0 16px; }
  .gallery-content { padding: 24px 16px; }
  .gallery-hero-inner { padding: 32px 16px 0; }
  .gallery-filters { padding: 16px 16px 0; }
  .track-list, .full-track-list { padding: 0 16px; }
  .track-tags { display: none; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  .stat {
    padding: 20px 16px;
    border: 1px solid rgba(255,255,255,0.07);
  }
  .stat strong { font-size: 22px; }
  .stat-divider { display: none; }
}

/* ============================================================
   IMAGE PROTECTION
============================================================ */
.img-protect {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Transparent overlay that intercepts right-clicks */
.img-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
}

/* Lock badge shown in modal when not connected */
.img-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(8, 8, 8, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  pointer-events: none;
}
.img-lock-badge {
  background: rgba(8,8,8,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
}

/* Prevent image selection globally */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ============================================================
   SVG ICON SYSTEM
============================================================ */
.cd-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Category card icons */
.cat-icon {
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}

/* Icon section preview (the actual icon items) */
.icon-preview-svg {
  color: var(--gray-700);
}

/* Track cover icons */
.track-cover-icon {
  color: rgba(255, 255, 255, 0.9);
}

/* Modal icon large preview */
.modal-icon-preview {
  color: var(--gray-700);
  opacity: 0.85;
}

/* Modal background placeholder */
.modal-placeholder-icon {
  color: rgba(255, 255, 255, 0.3);
}

/* Patreon modal icons */
.patreon-diamond-icon,
.patreon-check-icon {
  color: inherit;
}

/* Perk row icons */
.perk-svg {
  color: var(--teal);
  margin-right: 4px;
}

/* Type tabs in gallery — icon + text inline */
.type-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.type-tab svg {
  flex-shrink: 0;
}

/* Button icon alignment */
.card-action-btn.primary .cd-icon,
.modal-download-btn .cd-icon,
.copy-credit-btn .cd-icon,
.track-dl-btn .cd-icon,
.page-btn .cd-icon {
  vertical-align: -3px;
  margin-right: 3px;
}