/* Import Google Fonts - Museo Moderno & Barlow Condensed as Lucidity fallback */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,700;1,400&family=MuseoModerno:wght@300;400;600;900&family=Plus+Jakarta+Sans:wght@300;400;600&display=swap');

:root {
  --off-black: #121212;
  --color-red: #f82639;
  --color-pink: #ff0a76;
  --color-orange-red: #ff5e4a;
  --color-peach: #ff9d6c;
  --text-light: #f5f5f5;
  --text-muted: #a0a0a0;
  --bg-card: #1c1c1c;
  --font-logo: 'MuseoModerno', sans-serif;
  --font-sub: 'Barlow Condensed', sans-serif; /* Fallback for Lucidity Condensed */
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--off-black);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-logo);
  font-weight: 700;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-pink);
}

/* Header & Navigation Styles */
header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(18, 18, 18, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px; /* Enforce a uniform height on desktop */
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem; 
  height: 100%;    
}

/* Prevents default hover color inheritance from leaking into the logo elements */
.logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-group:hover {
  color: inherit !important; /* Prevents text transition conflicts */
}

/* Base style: Solid neon pink for perfect mobile rendering and zero lag */
.logo-main {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-pink); /* High-contrast safe color for mobile */
  display: inline-block;
  width: max-content;
}

/* Applies the elegant gradient ONLY on desktop screens where WebKit rendering is stable */
@media (min-width: 769px) {
  @supports (-webkit-background-clip: text) or (background-clip: text) {
    .logo-main {
      background: linear-gradient(45deg, var(--color-red), var(--color-pink));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }
  }
}

.logo-sub {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--color-peach);
  margin-top: -4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 1px;
  display: inline-block;
  border-bottom: 2px solid transparent; 
  padding-bottom: 2px;
}

.nav-links a:hover {
  border-bottom: 2px solid var(--color-pink);
}

.nav-links a.active {
  color: var(--color-pink);
  border-bottom: 2px solid var(--color-pink);
}

/* Base style: Uses flat brand color to guarantee compatibility */
.logo-main {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-pink); 
  display: inline-block;
  width: max-content;
}

/* Feature Query: Applies gradient only if the browser supports clipping safely */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .logo-main {
    background: linear-gradient(45deg, var(--color-red), var(--color-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.logo-sub {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--color-peach);
  margin-top: -4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 1px;
  display: inline-block;
  border-bottom: 2px solid transparent; 
  padding-bottom: 2px;
}

.nav-links a:hover {
  border-bottom: 2px solid var(--color-pink);
}

.nav-links a.active {
  color: var(--color-pink);
  border-bottom: 2px solid var(--color-pink);
}

/* Social Icon Group nested directly inside the navigation list */
.header-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 1rem;
  margin-left: 0.5rem; 
  height: 18px; 
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  text-decoration: none;
}

.social-icon svg {
  width: 16px !important;
  height: 16px !important;
  color: var(--text-light);
  display: block;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover svg {
  color: var(--color-pink);
  transform: scale(1.1);
}

/* Main Container: 960px max-width creates future-ready side margins */
main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section with Video Background (Full-Width) */
.hero {
  position: relative;
  text-align: center;
  padding: 8rem 1.5rem; 
  overflow: hidden;
  width: 100%;
  background-color: var(--off-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    
  z-index: 1;           
  pointer-events: none; 
  display: block;
}

/* Dark gradient overlay utilizing brand colors */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;           
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(18, 18, 18, 0.92) 10%,
    rgba(255, 10, 118, 0.18) 60%,
    rgba(18, 18, 18, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;           
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-pink) 100%);
  color: white !important; 
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 10, 118, 0.4);
}

/* Grid Layouts for Inventory */
.section-title {
  margin: 3rem 0 1.5rem;
  border-left: 4px solid var(--color-red);
  padding-left: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-orange-red);
}

.card-img-container {
  position: relative;
  width: 100%;
  padding-top: 100%; 
  background-color: #2a2a2a;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-artist {
  font-size: 0.85rem;
  color: var(--color-peach);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch; 
  gap: 0.8rem;
  width: 100%;
}

.card-price {
  font-family: var(--font-logo);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-pink);
  text-align: left;
}

/* Reviews Styling */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.review-card {
  background-color: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 3px solid var(--color-orange-red);
}

.review-stars {
  color: var(--color-peach);
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: bold;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* About & Contact forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: 4px;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-pink);
}

/* Shop Filters & Pagination */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input {
  max-width: 300px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
}

/* Footer Styles */
footer {
  background-color: #0b0b0b;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Skeleton loader for dynamic lists */
.skeleton {
  background: linear-gradient(90deg, #1c1c1c 25%, #2a2a2a 50%, #1c1c1c 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsive design adjustments */
@media (max-width: 768px) {
  header {
    position: relative; /* Scrolls away to free up mobile screen space */
    height: auto; 
  }
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    height: auto;
  }
  .logo-group {
    align-items: center; /* Centers logo elements on mobile views */
  }
  .logo-main {
    font-size: 1.6rem; /* Prevents text overflow on narrow displays */
  }
  .logo-sub {
    font-size: 0.75rem;
  }
  .nav-right {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .nav-links {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap; /* Wraps links cleanly on small mobile screens */
    gap: 1rem;
  }
  .header-socials {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 0;
    padding-top: 1rem;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}