/* Glass City Studio - Synthwave/Noir Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Outfit:wght@300;400;500;700&family=Share+Tech+Mono&display=swap');

:root {
  --neon-blue: #50E8F4;
  --thin-air: #C7F8FE;
  --blue-charcoal: #001619;
  --charcoal-light: #00282d;
  --charcoal-dark: #000c0e;
  --glass-bg: rgba(0, 22, 25, 0.65);
  --glass-border: rgba(80, 232, 244, 0.2);
  --glow-shadow: 0 0 10px rgba(80, 232, 244, 0.4), 0 0 20px rgba(80, 232, 244, 0.2);
  --glow-shadow-strong: 0 0 15px rgba(80, 232, 244, 0.8), 0 0 30px rgba(80, 232, 244, 0.4);
  --transition-speed: 0.3s;
}

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

body {
  background-color: var(--blue-charcoal);
  color: var(--thin-air);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--charcoal-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(80, 232, 244, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-blue);
  box-shadow: var(--glow-shadow);
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

h1 {
  text-shadow: var(--glow-shadow);
}

.mono {
  font-family: 'Share Tech Mono', monospace;
}

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* Dynamic Synthwave 3D Grid Background */
.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--charcoal-dark) 0%, var(--blue-charcoal) 100%);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, transparent 20%, var(--blue-charcoal) 85%);
  z-index: 2;
}

.perspective-grid {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 200%;
  height: 60vh;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(80, 232, 244, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(80, 232, 244, 0.08) 1px, transparent 1px);
  transform: translateX(-50%) perspective(400px) rotateX(65deg);
  transform-origin: center bottom;
  animation: grid-scroll 25s linear infinite;
  z-index: 1;
}

@keyframes grid-scroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 500px;
  }
}

/* Scanlines overlay for CRT/Noir look */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.15) 50%
  );
  background-size: 100% 4px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.4;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel:hover {
  border-color: rgba(80, 232, 244, 0.4);
  box-shadow: 0 12px 40px 0 rgba(80, 232, 244, 0.15), 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 12, 14, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-img {
  max-height: 35px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(80, 232, 244, 0.6));
  transition: transform var(--transition-speed);
}

.logo:hover .logo-img {
  transform: scale(1.05) rotate(-1deg);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--neon-blue);
  border-radius: 4px;
  position: relative;
  box-shadow: var(--glow-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', monospace;
  color: var(--neon-blue);
  font-weight: bold;
}

.logo-text {
  color: var(--thin-air);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo-text span {
  color: var(--neon-blue);
  text-shadow: var(--glow-shadow);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--thin-air);
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-speed);
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
  transition: width var(--transition-speed);
}

nav a:hover {
  color: var(--neon-blue);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

nav a.active {
  color: var(--neon-blue);
}

/* Nav Icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--thin-air);
  cursor: pointer;
  font-size: 1.2rem;
  position: relative;
  transition: color var(--transition-speed);
}

.icon-btn:hover {
  color: var(--neon-blue);
  text-shadow: var(--glow-shadow);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--neon-blue);
  color: var(--blue-charcoal);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-shadow);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  font-family: 'Share Tech Mono', monospace;
  color: var(--neon-blue);
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--thin-air);
}

.hero-title span {
  color: transparent;
  -webkit-text-stroke: 1px var(--neon-blue);
  text-shadow: none;
  animation: flicker 4s infinite alternate;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow: var(--glow-shadow);
    color: var(--neon-blue);
  }
  20%, 24%, 55% {
    text-shadow: none;
    color: transparent;
  }
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(199, 248, 254, 0.8);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Interactive Synthwave Radio Widget in Hero */
.radio-widget {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  padding: 1.5rem;
  z-index: 20;
}

.radio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
}

.radio-title {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--neon-blue);
  text-transform: uppercase;
}

.radio-freq {
  color: rgba(80, 232, 244, 0.5);
  font-size: 0.8rem;
}

.radio-screen {
  background: var(--charcoal-dark);
  border: 1px solid rgba(80, 232, 244, 0.1);
  border-radius: 6px;
  padding: 1rem;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.radio-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(transparent 50%, rgba(80, 232, 244, 0.05) 50%);
  background-size: 100% 4px;
  pointer-events: none;
}

.track-artist {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--neon-blue);
  letter-spacing: 1px;
}

.track-name {
  font-size: 1.1rem;
  font-family: 'Share Tech Mono', monospace;
  color: var(--thin-air);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: scrollText 12s linear infinite;
}

.radio-visualizer {
  display: flex;
  align-items: flex-end;
  height: 20px;
  gap: 3px;
  margin-top: 5px;
}

.bar {
  flex: 1;
  background: var(--neon-blue);
  height: 3px;
  transition: height 0.1s ease;
}

.radio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.radio-btn {
  background: rgba(0, 40, 45, 0.6);
  border: 1px solid var(--neon-blue);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-blue);
  cursor: pointer;
  transition: all var(--transition-speed);
}

.radio-btn:hover {
  background: var(--neon-blue);
  color: var(--blue-charcoal);
  box-shadow: var(--glow-shadow);
}

.radio-btn.play-btn {
  width: 50px;
  height: 50px;
  box-shadow: var(--glow-shadow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--neon-blue);
  color: var(--blue-charcoal);
  border: none;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-shadow-strong);
}

.btn-secondary {
  background: rgba(0, 22, 25, 0.6);
  color: var(--neon-blue);
  border: 1px solid var(--neon-blue);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(80, 232, 244, 0.1);
  color: var(--thin-air);
  transform: translateY(-2px);
  box-shadow: var(--glow-shadow);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Catalog Filter Section */
.catalog-section {
  padding: 80px 0;
  position: relative;
  z-index: 10;
}

.section-header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.section-title {
  font-size: 2.2rem;
  text-transform: uppercase;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1.6rem;
  left: 0;
  width: 100px;
  height: 3px;
  background-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
}

.filters {
  display: flex;
  gap: 1rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(80, 232, 244, 0.2);
  color: var(--thin-air);
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.filter-btn:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 5px rgba(80, 232, 244, 0.2);
}

.filter-btn.active {
  background: var(--neon-blue);
  color: var(--blue-charcoal);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
  font-weight: bold;
}

.sorting-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sorting-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  color: rgba(199, 248, 254, 0.6);
  text-transform: uppercase;
}

.sort-select {
  background: var(--charcoal-dark);
  border: 1px solid var(--glass-border);
  color: var(--thin-air);
  font-family: 'Outfit', sans-serif;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--charcoal-dark);
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  border-bottom: 1px solid var(--glass-border);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 12, 14, 0.8);
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  padding: 0.3rem 0.8rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  border-radius: 4px;
  box-shadow: var(--glow-shadow);
  text-transform: uppercase;
  z-index: 5;
}

.product-specs {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: rgba(0, 12, 14, 0.85);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: rgba(199, 248, 254, 0.8);
  border: 1px solid rgba(80, 232, 244, 0.1);
  z-index: 5;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--thin-air);
}

.product-desc {
  font-size: 0.9rem;
  color: rgba(199, 248, 254, 0.7);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  color: var(--thin-air);
  font-weight: 700;
}

.product-price span {
  font-size: 0.9rem;
  color: var(--neon-blue);
  margin-right: 2px;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  z-index: 200;
  background: rgba(0, 12, 14, 0.95);
  border-left: 1px solid var(--neon-blue);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 2rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title {
  font-size: 1.5rem;
  text-transform: uppercase;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--thin-air);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-speed);
}

.close-btn:hover {
  color: var(--neon-blue);
  text-shadow: var(--glow-shadow);
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  color: rgba(199, 248, 254, 0.5);
  gap: 1rem;
}

.cart-empty i {
  font-size: 3rem;
  color: rgba(80, 232, 244, 0.3);
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(80, 232, 244, 0.1);
  align-items: center;
}

.cart-item-img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(80, 232, 244, 0.2);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cart-item-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: rgba(199, 248, 254, 0.6);
}

.cart-item-price {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: var(--neon-blue);
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: rgba(199, 248, 254, 0.4);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color var(--transition-speed);
}

.cart-item-remove:hover {
  color: #ff2d55;
  text-shadow: 0 0 5px rgba(255, 45, 85, 0.5);
}

.cart-footer {
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
  background: var(--charcoal-dark);
}

.cart-promo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.promo-input {
  flex-grow: 1;
  background: var(--blue-charcoal);
  border: 1px solid var(--glass-border);
  color: var(--thin-air);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
}

.promo-input:focus {
  border-color: var(--neon-blue);
  outline: none;
  box-shadow: var(--glow-shadow);
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-family: 'Share Tech Mono', monospace;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
}

.cart-total-row.grand-total {
  font-size: 1.3rem;
  color: var(--neon-blue);
  border-top: 1px solid rgba(80, 232, 244, 0.2);
  padding-top: 0.8rem;
  font-weight: bold;
}

.cart-checkout-btn {
  width: 100%;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 190;
  background: rgba(0, 12, 14, 0.7);
  backdrop-filter: blur(4px);
  display: none;
}

.cart-overlay.show {
  display: block;
}

/* Modals (Product Details & Checkout) */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 300;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.modal-content {
  display: flex;
  flex-direction: row;
  height: 100%;
}

@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
  }
}

.modal-left {
  flex: 1.2;
  background: var(--charcoal-dark);
  border-right: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.modal-img {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(80, 232, 244, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-right {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  background: transparent;
  border: none;
  color: var(--thin-air);
  cursor: pointer;
  transition: color var(--transition-speed);
  z-index: 10;
}

.modal-close:hover {
  color: var(--neon-blue);
  text-shadow: var(--glow-shadow);
}

.modal-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.modal-category {
  font-family: 'Share Tech Mono', monospace;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.modal-desc {
  font-size: 1rem;
  color: rgba(199, 248, 254, 0.8);
  margin-bottom: 2rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(80, 232, 244, 0.1);
  border-bottom: 1px solid rgba(80, 232, 244, 0.1);
  padding: 1.5rem 0;
}

.meta-item-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: rgba(199, 248, 254, 0.5);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.meta-item-val {
  font-size: 1rem;
  font-weight: 500;
  color: var(--thin-air);
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.modal-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.modal-price span {
  font-size: 1.2rem;
  color: var(--neon-blue);
}

/* Checkout Form Layout (Retro-Terminal Style) */
.terminal-checkout {
  padding: 2.5rem;
  background: var(--charcoal-dark);
  border: 1px solid var(--neon-blue);
  box-shadow: var(--glow-shadow);
  border-radius: 8px;
}

.terminal-title {
  color: var(--neon-blue);
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-shadow: var(--glow-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal-blink {
  animation: blink 1s step-end infinite;
  display: inline-block;
  width: 10px;
  height: 20px;
  background: var(--neon-blue);
}

@keyframes blink {
  from, to { background-color: transparent }
  50% { background-color: var(--neon-blue) }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: var(--neon-blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(0, 22, 25, 0.8);
  border: 1px solid rgba(80, 232, 244, 0.3);
  color: var(--thin-air);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  transition: all var(--transition-speed);
}

.form-input:focus {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
  outline: none;
}

.checkout-summary-box {
  background: var(--blue-charcoal);
  border: 1px solid rgba(80, 232, 244, 0.1);
  padding: 1.2rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-family: 'Share Tech Mono', monospace;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.checkout-summary-row.total {
  font-size: 1.2rem;
  color: var(--neon-blue);
  border-top: 1px solid rgba(80, 232, 244, 0.2);
  padding-top: 0.5rem;
  margin-bottom: 0;
  margin-top: 0.5rem;
}

/* Success Terminal Screens */
.matrix-success {
  text-align: center;
  padding: 3rem;
  font-family: 'Share Tech Mono', monospace;
  color: var(--neon-blue);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(80, 232, 244, 0.5); }
  50% { text-shadow: 0 0 25px rgba(80, 232, 244, 1); }
}

.download-link-box {
  background: var(--blue-charcoal);
  border: 1px solid var(--neon-blue);
  box-shadow: var(--glow-shadow-strong);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(80, 232, 244, 0.2);
}

.download-item:last-child {
  border-bottom: none;
}

.download-title {
  font-weight: bold;
}

.download-btn-art {
  color: var(--blue-charcoal);
  background: var(--neon-blue);
  border: none;
  font-family: 'Share Tech Mono', monospace;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.download-btn-art:hover {
  box-shadow: var(--glow-shadow);
  transform: scale(1.05);
}

/* About / Footer Section */
footer {
  background: var(--charcoal-dark);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-about .logo {
  margin-bottom: 1.5rem;
}

.footer-about-text {
  color: rgba(199, 248, 254, 0.7);
  margin-bottom: 1.5rem;
  max-width: 450px;
}

.footer-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--neon-blue);
  text-shadow: var(--glow-shadow);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(199, 248, 254, 0.7);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--neon-blue);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  background: rgba(0, 22, 25, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thin-air);
  text-decoration: none;
  transition: all var(--transition-speed);
}

.social-icon:hover {
  color: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
  transform: translateY(-2px);
}

.copyright {
  text-align: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: rgba(199, 248, 254, 0.4);
  border-top: 1px solid rgba(80, 232, 244, 0.1);
  padding-top: 2rem;
}

/* Modal Overlay backdrop */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 290;
  background: rgba(0, 12, 14, 0.8);
  backdrop-filter: blur(8px);
  display: none;
}

.modal-overlay.show {
  display: block;
}

/* Toast Notification Styles */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: rgba(0, 22, 25, 0.9);
  border: 1px solid var(--neon-blue);
  color: var(--thin-air);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  box-shadow: var(--glow-shadow);
  font-family: 'Share Tech Mono', monospace;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-width: 280px;
}

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-success-icon {
  color: var(--neon-blue);
  font-weight: bold;
}

/* =============================================================
   New Store Features: Toolbar, Search & Wishlist
   ============================================================= */
.toolbar-wrapper {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  margin-top: 1rem;
}

.search-wrapper {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}

.search-input {
  width: 100%;
  background: rgba(0, 12, 14, 0.6);
  border: 1px solid var(--glass-border);
  color: var(--thin-air);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all var(--transition-speed);
}

.search-input:focus {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
  outline: none;
  background: rgba(0, 22, 25, 0.9);
}

.btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 12, 14, 0.7);
  border: 1px solid rgba(80, 232, 244, 0.3);
  color: rgba(199, 248, 254, 0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-speed);
  backdrop-filter: blur(4px);
}

.btn-wishlist:hover {
  border-color: #ff2d55;
  color: #ff2d55;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 45, 85, 0.4);
}

.btn-wishlist.active {
  background: rgba(255, 45, 85, 0.2);
  border-color: #ff2d55;
  color: #ff2d55;
  text-shadow: 0 0 8px rgba(255, 45, 85, 0.8);
}

/* =============================================================
   Modal View Switcher & Mockups (Art Zoom / Room / Battlestation)
   ============================================================= */
.modal-view-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(80, 232, 244, 0.15);
  padding-bottom: 0.8rem;
  width: 100%;
}

.view-tab {
  background: rgba(0, 40, 45, 0.4);
  border: 1px solid rgba(80, 232, 244, 0.2);
  color: rgba(199, 248, 254, 0.7);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-speed);
  font-family: 'Share Tech Mono', monospace;
}

.view-tab:hover, .view-tab.active {
  background: rgba(80, 232, 244, 0.15);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
}

.modal-media-stage {
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #020b0d;
}

/* Interactive Zoom Lens */
.zoom-stage {
  position: relative;
  display: inline-block;
  cursor: crosshair;
  max-width: 100%;
}

.zoom-lens {
  position: absolute;
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  pointer-events: none;
  box-shadow: var(--glow-shadow-strong), inset 0 0 15px rgba(80, 232, 244, 0.3);
  display: none;
  background-repeat: no-repeat;
  z-index: 20;
}

/* Framed Canvas Mockup */
.mockup-wall {
  width: 100%;
  height: 380px;
  background: radial-gradient(circle at 50% 25%, #182428 0%, #03080a 80%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(80, 232, 244, 0.1);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9);
}

.mockup-spotlight {
  position: absolute;
  top: 0;
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 235, 180, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.mockup-frame {
  padding: 12px;
  background: #0b0b0b;
  border: 3px solid #1c1c1c;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 70%;
  max-height: 300px;
}

.mockup-frame-inner {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-frame-inner img {
  max-height: 250px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

/* Battlestation Desk Mockup */
.mockup-desk-room {
  width: 100%;
  height: 380px;
  background: #020709;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.mockup-monitor-housing {
  position: relative;
  border: 6px solid #14181b;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 0 30px rgba(80, 232, 244, 0.35);
  max-width: 85%;
  max-height: 240px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-monitor-housing img {
  max-height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.mockup-stand {
  width: 40px;
  height: 25px;
  background: #1e2429;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid #333;
}

.mockup-desk-surface {
  width: 100%;
  height: 35px;
  background: linear-gradient(180deg, #10161a 0%, #06090b 100%);
  border-top: 2px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(80, 232, 244, 0.4);
  position: relative;
}

/* =============================================================
   Payment Tabs & Terminal Progress Styles
   ============================================================= */
.payment-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.payment-tab {
  flex: 1;
  background: rgba(0, 22, 25, 0.6);
  border: 1px solid var(--glass-border);
  color: rgba(199, 248, 254, 0.7);
  padding: 0.7rem 0.5rem;
  border-radius: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.payment-tab:hover, .payment-tab.active {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  background: rgba(80, 232, 244, 0.1);
  box-shadow: var(--glow-shadow);
}

.payment-panel {
  display: none;
}

.payment-panel.active {
  display: block;
}

.crypto-box {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: rgba(0, 12, 14, 0.6);
  border: 1px solid var(--glass-border);
  padding: 1.2rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.crypto-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-matrix-sim {
  width: 90px;
  height: 90px;
  background: #000;
  border: 2px solid var(--neon-blue);
  position: relative;
  background-image: 
    radial-gradient(var(--neon-blue) 15%, transparent 16%),
    radial-gradient(var(--neon-blue) 15%, transparent 16%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  box-shadow: var(--glow-shadow);
}

.crypto-details {
  flex: 1;
}

.crypto-currency-selector {
  display: flex;
  gap: 0.5rem;
  margin-top: 4px;
}

.crypto-pill {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  background: rgba(0, 40, 45, 0.7);
  border: 1px solid rgba(80, 232, 244, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--thin-air);
}

.crypto-pill.active {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
}

.crypto-address {
  font-size: 0.85rem;
  color: var(--neon-blue);
  background: rgba(0, 22, 25, 0.8);
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px dashed rgba(80, 232, 244, 0.4);
  margin-top: 4px;
  user-select: all;
}

.quickpay-box {
  background: rgba(0, 12, 14, 0.6);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.quickpay-icon {
  font-size: 1.1rem;
  color: var(--neon-blue);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* Decryption Loader Progress */
.decryption-container {
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.terminal-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(80, 232, 244, 0.2);
  border-top-color: var(--neon-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: var(--glow-shadow);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-bar-container {
  width: 80%;
  max-width: 400px;
  height: 8px;
  background: var(--charcoal-dark);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #50E8F4, #C7F8FE);
  box-shadow: var(--glow-shadow);
  transition: width 0.2s ease;
}

.download-bundle-btn {
  margin-bottom: 1.5rem;
  width: 100%;
  background: linear-gradient(90deg, rgba(80, 232, 244, 0.2), rgba(0, 40, 45, 0.8));
  border: 1px solid var(--neon-blue);
  color: var(--thin-air);
}

.receipt-key {
  font-size: 0.8rem;
  color: rgba(80, 232, 244, 0.7);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* =============================================================
   Color Palette Spectrum Themes
   ============================================================= */
body.theme-magenta {
  --neon-blue: #ff2d95;
  --thin-air: #ffe6f5;
  --blue-charcoal: #170014;
  --charcoal-light: #2d0028;
  --charcoal-dark: #0e000c;
  --glow-shadow: 0 0 10px rgba(255, 45, 149, 0.4), 0 0 20px rgba(255, 45, 149, 0.2);
  --glow-shadow-strong: 0 0 15px rgba(255, 45, 149, 0.8), 0 0 30px rgba(255, 45, 149, 0.4);
  --glass-border: rgba(255, 45, 149, 0.25);
}

body.theme-matrix {
  --neon-blue: #00ff66;
  --thin-air: #e6ffe6;
  --blue-charcoal: #001705;
  --charcoal-light: #002d0b;
  --charcoal-dark: #000e03;
  --glow-shadow: 0 0 10px rgba(0, 255, 102, 0.4), 0 0 20px rgba(0, 255, 102, 0.2);
  --glow-shadow-strong: 0 0 15px rgba(0, 255, 102, 0.8), 0 0 30px rgba(0, 255, 102, 0.4);
  --glass-border: rgba(0, 255, 102, 0.25);
}

/* =============================================================
   Radio Oscilloscope & Volume Controls
   ============================================================= */
.radio-oscilloscope {
  width: 100%;
  height: 35px;
  background: rgba(0, 8, 10, 0.9);
  border-radius: 4px;
  border: 1px solid rgba(80, 232, 244, 0.15);
  margin-top: 6px;
  display: block;
}

.radio-controls-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.radio-volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 12, 14, 0.5);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(80, 232, 244, 0.2);
}

.radio-vol-slider {
  width: 65px;
  height: 4px;
  accent-color: var(--neon-blue);
  cursor: pointer;
}

/* =============================================================
   Display FX Deck & CRT Settings Modal
   ============================================================= */
.fx-deck-content {
  padding: 2.5rem;
  background: var(--charcoal-dark);
  border: 1px solid var(--neon-blue);
  box-shadow: var(--glow-shadow);
  border-radius: 8px;
}

.fx-control-group {
  margin-bottom: 1.2rem;
  background: rgba(0, 22, 25, 0.5);
  border: 1px solid var(--glass-border);
  padding: 1.1rem;
  border-radius: 6px;
}

.fx-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--thin-air);
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.fx-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.theme-palette-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.theme-btn {
  background: rgba(0, 12, 14, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--thin-air);
  padding: 0.6rem 0.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition-speed);
}

.theme-btn:hover, .theme-btn.active {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
  color: var(--neon-blue);
}

.theme-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px currentColor;
}

.fx-slider {
  width: 100%;
  height: 6px;
  accent-color: var(--neon-blue);
  cursor: pointer;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 22px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 40, 45, 0.8);
  border: 1px solid var(--glass-border);
  transition: .3s;
  border-radius: 22px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--thin-air);
  transition: .3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: rgba(80, 232, 244, 0.3);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-shadow);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
  background-color: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}


