@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;600&display=swap');

:root {
  --bg: #050509;
  --card: #0b0b14;
  --muted: #a3a3a3;
  --text: #f5f5f5;
  --accent: #f973ff;
  --accent-2: #f5c453;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  position: relative;
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('../images/wallpaper.png') center center / cover no-repeat fixed;
  filter: blur(14px) saturate(0.9) brightness(0.45);
  transform: scale(1.03);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(245, 196, 83, 0.06), transparent 25%),
    rgba(5, 5, 9, 0.9);
}

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

header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  background: rgba(8, 8, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  z-index: 20;
}

.navbar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.8px;
  color: var(--text);
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(249, 115, 255, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  transition: all 0.2s ease;
}

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

.nav-links a.active {
  color: var(--text);
  background: linear-gradient(120deg, rgba(249, 115, 255, 0.25), rgba(245, 196, 83, 0.2));
  border: 1px solid rgba(249, 115, 255, 0.2);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}

main {
  padding: 110px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 80px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-header h2,
.section-header h3 {
  margin: 0;
  font-size: 28px;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 36px;
  margin: 0 0 12px;
}

.hero-text p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.hero-kicker {
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 255, 0.45);
  color: var(--text);
  cursor: pointer;
  background: linear-gradient(135deg, #ff5cf0, #f5c453);
  box-shadow: 0 10px 30px rgba(249, 92, 240, 0.25), 0 6px 20px rgba(245, 196, 83, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(249, 115, 255, 0.5);
  color: var(--text);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 34px rgba(249, 92, 240, 0.32), 0 8px 22px rgba(245, 196, 83, 0.22);
}

.button.secondary:hover {
  background: linear-gradient(135deg, rgba(249, 115, 255, 0.18), rgba(245, 196, 83, 0.14));
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 10, 18, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card.explore-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card.explore-link:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 255, 0.25);
  box-shadow: 0 12px 34px rgba(249, 92, 240, 0.22), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.kit-card {
  padding: 12px;
}

.kit-card .cover {
  width: 100%;
  height: 360px;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  margin-bottom: 10px;
  background: #0b0b14;
}

@media (max-width: 900px) {
  .kit-card .cover {
    height: 280px;
  }
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.beats {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cover {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1/1;
  margin-bottom: 10px;
  background: #0f0f18;
}

.hero-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 10px;
}

.hero-media {
  max-width: 320px;
}

.hero-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-gallery img.active {
  opacity: 1;
}

.card h4 {
  margin: 0 0 6px;
}

.card .meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.badge {
  background: rgba(249, 115, 255, 0.14);
  color: var(--text);
  border: 1px solid rgba(249, 115, 255, 0.25);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
}

.license-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.license-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.license-btn:hover {
  background: rgba(249, 115, 255, 0.15);
  transform: translateY(-2px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.65);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 30;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: rgba(14, 14, 22, 0.95);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-header {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.modal-header img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.kit-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}

.kit-list li {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
}

.license-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 0, 10, 0.8);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.license-modal-backdrop.open {
  display: flex;
}

.license-modal {
  background: linear-gradient(160deg, rgba(18, 0, 22, 0.95), rgba(5, 5, 9, 0.95));
  border: 1px solid rgba(249, 115, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  max-width: 960px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 18px;
  padding: 20px;
  position: relative;
}

.license-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.license-left img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  background: #0b0b14;
}

.license-audio {
  margin-top: 10px;
}

.license-right h3 {
  margin: 0 0 10px;
}

.license-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.license-tab {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.license-tab.active {
  border-color: rgba(249, 115, 255, 0.6);
  box-shadow: 0 8px 24px rgba(249, 115, 255, 0.2);
  background: linear-gradient(135deg, rgba(249, 115, 255, 0.14), rgba(245, 196, 83, 0.12));
}

.license-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-2);
  margin: 4px 0 8px;
}

.license-terms ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.license-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
}

select,
option {
  background: #0b0b14;
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

audio {
  width: 100%;
  margin: 8px 0 4px;
}

.floating-cart {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  background: rgba(8, 8, 14, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  z-index: 15;
}

.floating-cart h4 {
  margin: 0 0 10px;
}

.cart-items {
  max-height: 200px;
  overflow: auto;
  margin-bottom: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-weight: 600;
}

footer {
  padding: 30px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(8, 8, 14, 0.85);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.about {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(249, 115, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  min-width: 140px;
}

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.license-card h4 {
  margin: 0 0 6px;
  color: var(--accent-2);
  font-size: 20px;
}

.license-card ul {
  padding-left: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.license-card.silver {
  border-color: rgba(192, 192, 192, 0.4);
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.08), rgba(10, 10, 18, 0.9));
}

.license-card.silver h4 {
  color: #d6d6d6;
}

.license-card.platinum {
  border-color: rgba(143, 200, 255, 0.4);
  background: linear-gradient(180deg, rgba(143, 200, 255, 0.08), rgba(10, 10, 18, 0.9));
}

.license-card.platinum h4 {
  color: #a5d2ff;
}

.license-card.steams {
  border-color: rgba(249, 115, 255, 0.45);
  background: linear-gradient(180deg, rgba(249, 115, 255, 0.08), rgba(10, 10, 18, 0.9));
}

.license-card.steams h4 {
  color: #f973ff;
}

.license-card.exclusive {
  border-color: rgba(245, 196, 83, 0.5);
  background: linear-gradient(180deg, rgba(245, 196, 83, 0.1), rgba(10, 10, 18, 0.9));
}

.license-card.exclusive h4 {
  color: #f5c453;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--muted);
}

.table th {
  color: var(--text);
}

.table td.meta {
  color: var(--muted);
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.hidden {
  display: none !important;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.equip-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.equip-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    flex-direction: column;
    background: rgba(8, 8, 14, 0.98);
    padding: 12px;
    width: 220px;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .floating-cart {
    width: calc(100% - 32px);
    left: 16px;
    right: 16px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .license-modal {
    grid-template-columns: 1fr;
  }
}
