/*
 * ═══════════════════════════════════════════════
 *  SPARROW MUSICALS v2 — DESIGN SYSTEM
 * ═══════════════════════════════════════════════
 *  Color Palette:
 *    --bg-primary:    #060810 (deep space)
 *    --bg-secondary:  #0C1020 (dark navy)
 *    --bg-card:       #111628 (card bg)
 *    --accent-gold:   #D4A843 (primary gold)
 *    --accent-light:  #F0D68A (light gold)
 *    --text-primary:  #F0F0F5 (white)
 *    --text-secondary:#8A8FA8 (muted)
 *    --glow-blue:     rgba(59,130,246,0.15)
 *    --glow-gold:     rgba(212,168,67,0.2)
 *
 *  Fonts:
 *    Headings: 'Clash Display' fallback 'Montserrat'
 *    Body: 'Inter', sans-serif
 *
 *  Spacing: 4px base (0.25rem increments)
 * ═══════════════════════════════════════════════
 */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* ── VARIABLES ── */
:root {
  --bg-primary: #060810;
  --bg-secondary: #0C1020;
  --bg-card: rgba(17,22,40,0.7);
  --bg-card-solid: #111628;
  --accent: #D4A843;
  --accent-light: #F0D68A;
  --accent-dark: #B8922F;
  --text-primary: #F0F0F5;
  --text-secondary: #8A8FA8;
  --text-muted: #555B73;
  --border: rgba(212,168,67,0.15);
  --border-light: rgba(255,255,255,0.06);
  --glow-gold: 0 0 30px rgba(212,168,67,0.2);
  --glow-blue: 0 0 60px rgba(59,130,246,0.08);
  --glass-bg: rgba(12,16,32,0.7);
  --glass-border: rgba(255,255,255,0.08);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --container: 1200px;
  --nav-height: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.4s var(--ease);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}
#bg-canvas {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none; background: #000000;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ── PRELOADER ── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
  color: var(--accent); letter-spacing: 2px;
  animation: pulse-glow 1.5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { opacity: 0.5; text-shadow: 0 0 20px rgba(212,168,67,0.3); }
  50% { opacity: 1; text-shadow: 0 0 40px rgba(212,168,67,0.6); }
}

/* ── CUSTOM CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 9998;
  border-radius: 50%; transform: translate(-50%,-50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(212,168,67,0.4);
  transition: width 0.4s var(--ease-bounce), height 0.4s var(--ease-bounce), border-color 0.3s;
}
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--accent); }
@media (max-width: 768px) { .cursor-dot, .cursor-ring { display: none; } }

/* ── 3D CANVAS BACKGROUND ── */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
  z-index: 100; display: flex; align-items: center; justify-content: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(6,8,16,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}
.nav-container {
  width: 100%; max-width: var(--container); padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-left { display: flex; align-items: center; gap: 40px; }
.nav-logo {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem;
  color: var(--text-primary); text-transform: lowercase; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-secondary); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-btn-account {
  border: 1px solid rgba(212,168,67,0.3); padding: 8px 20px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  border-radius: 6px; letter-spacing: 1px; color: var(--text-secondary);
  transition: var(--transition);
}
.nav-btn-account:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000; border: none; padding: 10px 24px; font-weight: 700;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
  border-radius: 6px; transition: var(--transition); display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,168,67,0.35);
}

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; padding: 8px;
  cursor: pointer; z-index: 200;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text-primary);
  margin: 5px 0; transition: var(--transition); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: rgba(6,8,16,0.97);
  backdrop-filter: blur(20px); z-index: 150;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; opacity: 0; visibility: hidden; transition: var(--transition);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; color: var(--text-secondary);
}
.mobile-menu a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-actions { display: none; }
}

/* ── HERO SECTION ── */
.hero-section {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; z-index: 1;
}
.hero-bg-img {
  position: absolute; top: 50%; right: -5%; height: 80%;
  opacity: 0.15; z-index: 0; transform: translateY(-50%) rotate(-5deg);
  pointer-events: none; filter: blur(2px);
}
.hero-content {
  text-align: center; max-width: 850px; padding: 20px; z-index: 2; position: relative;
}
.logo-container {
  position: relative; width: 280px; height: 360px; margin: 0 auto 40px;
}
.big-p {
  font-family: var(--font-display); font-size: 220px; font-weight: 900;
  position: relative; top: 100px; right: 80px; z-index: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; text-align: center;
  filter: drop-shadow(0 0 40px rgba(212,168,67,0.3));
}
.p-circle {
  position: absolute; top: 110px; left: 140px;
  font-family: var(--font-heading); font-size: 85px; font-weight: 900;
  text-align: center; z-index: 2; color: var(--text-primary);
  letter-spacing: 8px; text-shadow: 0 0 30px rgba(255,255,255,0.1);
}
.p-words {
  position: absolute; top: 228px; left: 100px;
  display: flex; flex-direction: column;
  font-family: var(--font-heading); color: var(--text-primary);
  line-height: 1; text-align: left; letter-spacing: 4px;
}
.p-words span { font-size: 40px; text-transform: uppercase; letter-spacing: 4px; font-weight: 800; }

.hero-subtitle {
  font-size: 1.3rem; color: var(--text-secondary); margin-bottom: 40px;
  max-width: 550px; margin-left: auto; margin-right: auto; margin-top: -30px;
  font-style: italic; line-height: 1.8;
}
.hero-subtitle strong { color: var(--accent); font-style: normal; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 32px; font-family: var(--font-heading);
  font-weight: 700; text-transform: uppercase; font-size: 0.85rem;
  border-radius: 8px; cursor: pointer; transition: var(--transition);
  border: none; letter-spacing: 1.5px; position: relative; overflow: hidden;
}
.btn-secondary {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--text-muted);
}
.scroll-arrow {
  width: 20px; height: 20px; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ── SECTION COMMONS ── */
.section-header { margin-bottom: 60px; position: relative; padding-left: 24px; }
.section-header::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase;
  letter-spacing: -0.5px; font-weight: 800;
}
.section__title {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  text-align: center; letter-spacing: 1px;
}
.section__subtitle { text-align: center; color: var(--text-secondary); font-size: 1.1rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── PRODUCTS ── */
.products-section {
  padding: 120px 24px; max-width: var(--container); margin: 0 auto;
  position: relative; z-index: 1;
}
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px;
}
.product-card {
  background: var(--bg-card); backdrop-filter: blur(12px);
  border-radius: 16px; overflow: hidden; position: relative;
  transition: var(--transition); border: 1px solid var(--border-light);
}
.product-card:hover {
  transform: translateY(-8px); border-color: var(--border);
  box-shadow: var(--glow-gold);
}
.product-img { width: 100%; height: 240px; object-fit: cover; }
.product-info { padding: 28px; }
.product-title { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
.product-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.product-link {
  color: var(--accent); font-weight: 700; text-transform: uppercase;
  font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.3s var(--ease);
}
.product-link:hover { gap: 12px; }
.product-locked .product-img { filter: grayscale(100%) blur(2px); }
.product-locked { pointer-events: none; opacity: 0.6; }

/* ── ZIG-ZAG FEATURES ── */
.feature-section {
  padding: 80px 24px; max-width: var(--container); margin: 0 auto;
  position: relative; z-index: 1;
}
.feature-row {
  display: flex; align-items: center; gap: 60px; margin-bottom: 120px;
}
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.feature-text p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }
.feature-img-box {
  flex: 1; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 1px solid var(--border-light);
  position: relative;
}
.feature-img-box::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(212,168,67,0.05), transparent);
  pointer-events: none;
}
.feature-img-box img { width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.feature-img-box:hover img { transform: scale(1.05); }



/* ── 3D CAROUSEL ── */
.carousel-section {
  padding: 100px 0; display: flex; justify-content: center;
  align-items: center; overflow: hidden; min-height: 550px;
  position: relative; z-index: 1;
}
.carousel-3d {
  position: relative; width: 420px; height: 480px;
  display: flex; align-items: center; justify-content: center; perspective: 1200px;
}
.card-3d {
  position: absolute; width: 220px; height: 400px; border-radius: 20px;
  overflow: hidden; background: var(--bg-card-solid);
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(212,168,67,0.4), 0 0 30px rgba(212,168,67,0.15);
  transition: transform 1s ease, opacity 1s ease;
}
.card-3d img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.card1 { transform: translateX(-200px) scale(.8); opacity:.6; animation: c1 12s infinite; }
.card2 { transform: translateX(0) scale(1); opacity:1; animation: c2 12s infinite; }
.card3 { transform: translateX(200px) scale(.8); opacity:.6; animation: c3 12s infinite; }
@keyframes c1 {
  0%,25% { transform: translateX(-200px) scale(.8); opacity:.6; z-index:1; }
  33%,58% { transform: translateX(0) scale(1); opacity:1; z-index:2; }
  66%,91% { transform: translateX(200px) scale(.8); opacity:.6; z-index:1; }
}
@keyframes c2 {
  0%,25% { transform: translateX(0) scale(1); opacity:1; z-index:2; }
  33%,58% { transform: translateX(200px) scale(.8); opacity:.6; z-index:1; }
  66%,91% { transform: translateX(-200px) scale(.8); opacity:.6; z-index:1; }
}
@keyframes c3 {
  0%,25% { transform: translateX(200px) scale(.8); opacity:.6; z-index:1; }
  33%,58% { transform: translateX(-200px) scale(.8); opacity:.6; z-index:1; }
  66%,91% { transform: translateX(0) scale(1); opacity:1; z-index:2; }
}

/* ── FOUNDERS ── */
.founders-section {
  padding: 120px 24px; position: relative; z-index: 1;
}
.founders-container { max-width: 1000px; margin: 0 auto; }
.founder-row {
  display: flex; align-items: center; gap: 80px; margin-bottom: 100px;
}
.founder-row.reverse { flex-direction: row-reverse; }
.founder-img-box {
  flex: 0 0 400px; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden;
  position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(212,168,67,0.2); transition: transform 0.5s var(--ease);
}
.founder-img-box img { 
  width: 100%; height: 100%; object-fit: cover; 
  filter: grayscale(1); transition: all 0.7s var(--ease);
}
.founder-row:hover .founder-img-box img { filter: grayscale(0); transform: scale(1.05); }
.founder-text { flex: 1; }
.founder-tag {
  display: inline-block; font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 0.85rem; color: var(--accent);
  letter-spacing: 4px; margin-bottom: 12px;
}
.founder-name {
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 3rem; color: #FFFFFF; line-height: 1.1; margin-bottom: 24px;
  text-transform: uppercase;
}
.founder-description p { 
  color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; 
  margin-bottom: 20px; font-weight: 300;
}
@media (max-width: 900px) {
  .founder-row { flex-direction: column; text-align: center; gap: 40px; }
  .founder-row.reverse { flex-direction: column; }
  .founder-img-box { flex: 0 0 auto; width: 100%; max-width: 320px; margin: 0 auto; }
  .founder-name { font-size: 2.2rem; }
}

/* ── FOOTER (Updated to match sparrowmusicalscg.com) ── */
.site-footer {
  background: #000000;
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #FACD05;
  padding-left: 5px;
}

/* Brand Column */
.brand-col .footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.brand-col .footer-logo span {
  color: #FACD05;
}

.brand-col .footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icons a:hover {
  background: #FACD05;
  color: #000000;
  transform: translateY(-3px);
  border-color: #FACD05;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-contact-info a i {
  color: #FACD05;
  font-size: 1rem;
}

.footer-contact-info a:hover {
  color: #FACD05;
}

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Footer */
@media (max-width: 991px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .brand-col .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-social-icons {
    justify-content: center;
  }
  
  .footer-contact-info a {
    justify-content: center;
  }
}

/* ── GLOW DIVIDER ── */
.glow-divider {
  width: 100%; height: 1px; margin: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3; position: relative; z-index: 1;
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ── AUTH PAGES ── */
.auth-wrapper {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px; position: relative; z-index: 1;
}
.auth-box {
  background: var(--bg-card); border-radius: 16px; width: 100%; max-width: 1000px;
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex; overflow: hidden; backdrop-filter: blur(12px);
}
.left-panel {
  flex: 1; background: var(--bg-primary); display: flex; align-items: center;
  justify-content: center; border-right: 1px solid var(--border-light);
  position: relative; overflow: hidden;
}
.auth-carousel { width: 100%; height: 100%; position: relative; }
.auth-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease-in-out;
  display: flex; align-items: flex-end; padding: 40px;
}
.auth-slide.active { opacity: 1; }
.auth-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  pointer-events: none;
}
.auth-overlay { z-index: 2; position: relative; }
.auth-overlay h2 { font-size: 2.2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.right-panel {
  flex: 1; padding: 48px; display: flex; flex-direction: column; justify-content: center;
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.auth-header p { color: var(--text-secondary); }
.auth-input-group label {
  display: block; font-size: 0.8rem; color: var(--text-secondary);
  margin-bottom: 8px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px;
}
.auth-input-group input {
  width: 100%; padding: 14px 16px; background: rgba(6,8,16,0.8);
  border: 1px solid var(--border-light); border-radius: 8px; color: var(--text-primary);
  margin-bottom: 20px; font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.3s;
}
.auth-input-group input:focus { outline: none; border-color: var(--accent); }
.auth-input-group input::placeholder { color: var(--text-muted); }
.auth-actions { display: flex; flex-direction: column; gap: 12px; }
.auth-link-text { text-align: center; color: var(--text-secondary); font-size: 0.9rem; }
.auth-link-text a { color: var(--accent); font-weight: 600; }

/* ── LEGAL/POLICY PAGES ── */
.policy-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 48px;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.policy-sidebar {
  position: sticky; top: calc(var(--nav-height) + 24px); align-self: start;
}
.policy-sidebar h4 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 16px; font-weight: 700;
}
.policy-sidebar ul li { margin-bottom: 8px; }
.policy-sidebar ul li a {
  font-size: 0.85rem; color: var(--text-secondary); padding: 6px 12px;
  display: block; border-left: 2px solid transparent; border-radius: 2px;
  transition: var(--transition);
}
.policy-sidebar ul li a:hover, .policy-sidebar ul li a.active {
  color: var(--accent); border-left-color: var(--accent);
  background: rgba(212,168,67,0.05);
}
.policy-content { max-width: 800px; }
.policy-content h2 {
  color: var(--accent); margin-top: 48px; margin-bottom: 16px;
  font-size: 1.5rem; letter-spacing: 0.5px; padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.policy-content h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.policy-content h3 {
  color: var(--text-primary); margin-top: 24px; margin-bottom: 8px; font-size: 1.15rem;
}
.policy-content p, .policy-content li {
  color: var(--text-secondary); margin-bottom: 12px; line-height: 1.8;
}
.policy-content ul { padding-left: 24px; margin-bottom: 16px; }
.policy-content li { list-style-type: disc; margin-bottom: 6px; }

@media (max-width: 768px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-sidebar { position: static; }
}

/* ── FAQ STYLES ── */
.faq-container { margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 12px; margin-bottom: 16px; overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border); }
.faq-question {
  padding: 20px 24px; font-weight: 600; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; gap: 12px;
  color: var(--text-primary);
}
.faq-question i { color: var(--accent); font-size: 1rem; }
.faq-answer {
  padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8;
}
.faq-answer a { color: var(--accent); }

/* ── COLLECTIONS ── */
.collections-hero {
  padding: 140px 24px 80px; text-align: center; position: relative;
  overflow: hidden; z-index: 1;
}
.collections-hero .hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.collections-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.collections-hero p { font-size: 1.15rem; color: var(--text-secondary); margin-top: 12px; }
.collections-section { padding: 80px 24px; max-width: 1400px; margin: 0 auto; }
.collections-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 32px;
}
.collection-card {
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border-light); border-radius: 16px;
  overflow: hidden; transition: var(--transition); cursor: pointer; display: block;
  position: relative;
}
.collection-card:hover {
  transform: translateY(-8px); border-color: var(--border);
  box-shadow: var(--glow-gold);
}
.collection-image { width: 100%; height: 260px; overflow: hidden; }
.collection-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.collection-card:hover .collection-image img { transform: scale(1.08); }
.collection-info { padding: 28px; }
.collection-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.collection-info p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.6; }
.collection-count, .collection-price {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  padding: 5px 14px; border-radius: 20px; margin-right: 8px;
}
.collection-count { background: rgba(212,168,67,0.12); color: var(--accent); border: 1px solid rgba(212,168,67,0.25); }
.collection-price { background: rgba(255,255,255,0.04); color: var(--text-primary); border: 1px solid var(--border-light); }

/* ── CART ── */
.cart-hero {
  padding: 130px 24px 60px; text-align: center; position: relative;
  overflow: hidden; z-index: 1;
}
.cart-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.cart-hero p { color: var(--text-secondary); font-size: 1.1rem; }
.cart-container {
  max-width: 1400px; margin: 48px auto; padding: 0 24px 60px;
  display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start;
}
.cart-main {
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border-light); border-radius: 16px; padding: 28px; min-height: 400px;
}
.cart-items-list { display: flex; flex-direction: column; gap: 16px; }
.empty-cart {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 40px; text-align: center;
}
.empty-cart svg { color: rgba(212,168,67,0.25); margin-bottom: 24px; }
.empty-cart h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.empty-cart p { color: var(--text-secondary); margin-bottom: 24px; }
.btn-browse {
  display: inline-block; padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000; border-radius: 8px; font-weight: 600; transition: var(--transition);
}
.btn-browse:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,168,67,0.3); }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto auto;
  gap: 16px; align-items: center; padding: 16px; border-radius: 12px;
  background: rgba(6,8,16,0.4); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.cart-item:hover { border-color: var(--border); transform: translateX(4px); }
.item-image { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; }
.item-image img { width: 100%; height: 100%; object-fit: cover; }
.item-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.item-info p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }
.item-quantity {
  display: flex; align-items: center; gap: 10px; padding: 6px 12px;
  border-radius: 8px; border: 1px solid var(--border); background: rgba(6,8,16,0.6);
}
.qty-btn {
  background: none; border: none; color: var(--accent); font-size: 1.1rem;
  padding: 2px 6px; transition: var(--transition);
}
.qty-btn:hover { transform: scale(1.2); }
.qty-display { font-weight: 600; min-width: 24px; text-align: center; }
.item-price { font-weight: 700; color: var(--accent); font-size: 1.15rem; min-width: 70px; text-align: right; }
.remove-btn {
  background: none; border: 1px solid rgba(239,68,68,0.3); color: #ef4444;
  padding: 6px 14px; border-radius: 6px; font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);
}
.remove-btn:hover { background: #ef4444; color: #fff; transform: translateY(-2px); }
.cart-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.cart-summary {
  background: var(--bg-card); backdrop-filter: blur(10px);
  border: 1px solid var(--border-light); border-radius: 16px; padding: 28px;
}
.cart-summary h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--text-secondary); }
.summary-row span:last-child { font-weight: 600; color: var(--text-primary); }
.summary-divider { height: 1px; background: var(--border-light); margin: 12px 0; }
.summary-total { font-size: 1.2rem; font-weight: 700; padding-top: 12px; }
.summary-total span:last-child { color: var(--accent); font-size: 1.5rem; }
.btn-checkout {
  width: 100%; padding: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000; border: none; border-radius: 8px; font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; transition: var(--transition);
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,168,67,0.35); }
.btn-clear {
  width: 100%; padding: 12px; background: none; border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444; border-radius: 8px; font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; transition: var(--transition);
}
.btn-clear:hover { background: rgba(239,68,68,0.1); }
.cart-benefits { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.benefit-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--text-secondary); font-size: 0.9rem; }
.benefit-item svg { color: var(--accent); flex-shrink: 0; }
#rzp-button1 {
  margin-top: 12px; width: 100%; background: linear-gradient(135deg, #3399cc, #2b81ac);
  color: #fff; border: none; border-radius: 8px; padding: 14px; font-weight: 700;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition);
  position: relative; overflow: hidden;
}
#rzp-button1:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(51,153,204,0.4); }



/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1400px; margin: calc(var(--nav-height) + 16px) auto 0;
  padding: 16px 24px; display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { color: var(--accent-light); }

/* ── PRODUCT DETAIL GRID ── */
.collection-hero { padding: 100px 24px 60px; text-align: center; position: relative; z-index: 1; }
.collection-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.collection-hero p { font-size: 1.05rem; color: var(--text-secondary); margin-top: 8px; }
.products-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.products-header h2 { font-size: 1.8rem; font-weight: 700; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-image { width: 100%; height: 260px; overflow: hidden; position: relative; }
.product-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000; font-size: 0.7rem; font-weight: 700; padding: 5px 12px;
  border-radius: 20px; z-index: 2; letter-spacing: 0.5px;
}
.product-artist { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.btn-add-cart {
  width: 100%; background: rgba(212,168,67,0.12); border: 1px solid rgba(212,168,67,0.3);
  color: var(--accent); padding: 10px; border-radius: 8px; font-weight: 600;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);
}
.btn-add-cart:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,168,67,0.25);
}
.sort-dropdown {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary);
  padding: 8px 16px; border-radius: 8px; font-size: 0.9rem;
}
.filter-sort { display: flex; gap: 12px; align-items: center; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .feature-row, .feature-row:nth-child(even) { flex-direction: column !important; text-align: center; }
  .auth-box { flex-direction: column; max-width: 500px; }
  .left-panel { display: none; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .hero-bg-img { display: none; }
  .carousel-3d { width: 100%; }
  .card-3d { width: 170px; height: 300px; }
  .founder-row, .founder-row.reverse { flex-direction: column !important; text-align: center; gap: 32px; }
  .founder-img-box { max-width: 100%; }
  .cart-container { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
  .collections-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-subtitle { font-size: 1rem; }
  .logo-container { transform: scale(0.7); margin-bottom: 0; }
  .cart-item { grid-template-columns: 1fr; text-align: center; }
  .item-image { margin: 0 auto; }
  .item-quantity { justify-content: center; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── FOCUS STATES ── */
:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ── VALIDATION (signup) ── */
.validation-rules { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.rule { transition: color 0.3s; }
.rule.valid { color: var(--accent); }
#match-error { color: #ef4444; font-size: 0.8rem; margin-top: 4px; }

/* ── NEWSLETTER ── */
.newsletter-box {
  background: var(--bg-card); padding: 32px; border-radius: 12px;
  text-align: center; margin-top: 48px; max-width: 600px; margin-left: auto; margin-right: auto;
  border: 1px solid var(--border-light);
}
.newsletter-box h3 { margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-input {
  flex: 1; padding: 12px; background: rgba(6,8,16,0.8); border: 1px solid var(--border-light);
  color: var(--text-primary); border-radius: 8px;
}
.newsletter-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000; border: none; padding: 0 24px; font-weight: 700; border-radius: 8px;
}
/* ── CONTACT INFO ── */
.contact-info a { color: var(--text-secondary); }
.contact-info a:hover { color: var(--accent); }
/* ── PAYMENT MODAL ── */
/* ── PAYMENT MODAL OVERLAY ─────────────────────────────────── */
#payment-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}

#modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

/* ── MODAL CARD ─────────────────────────────────────────────── */
#modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  z-index: 1001;
  box-sizing: border-box;
}

#modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
#modal-close:hover { color: #000; }

.modal-subtitle {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── CUSTOMER DETAILS FORM ──────────────────────────────────── */
#form-state h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

.form-group {
  text-align: left;
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  color: #111;
}

.form-group input:focus {
  border-color: #000;
}

.field-error {
  display: block;
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
}

#proceed-btn {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
#proceed-btn:hover { background: #333; }

/* ── LOADING STATE ──────────────────────────────────────────── */
#loading-state p {
  color: #444;
  font-size: 15px;
  margin-bottom: 6px;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid #f0f0f0;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 24px auto 16px;
}

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

/* ── QR CODE STATE ──────────────────────────────────────────── */
.product-name-label {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  font-weight: 500;
}

#qr-container {
  display: flex;
  justify-content: center;
  margin: 12px auto;
  padding: 8px;
}

#amount-display {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin: 8px 0 16px;
}

/* ── BREAKDOWN TABLE ────────────────────────────────────────── */
#breakdown {
  border-top: 1px solid #eee;
  padding-top: 12px;
  text-align: left;
  margin-bottom: 12px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  padding: 4px 0;
}

.total-row {
  font-weight: 700;
  color: #000;
  font-size: 15px;
  border-top: 1px solid #eee;
  margin-top: 6px;
  padding-top: 8px;
}

/* ── EXPIRY TIMER ────────────────────────────────────────────── */
#expiry-timer {
  font-size: 13px;
  color: #e67e00;
  font-weight: 500;
  margin-top: 8px;
}

#status-text {
  font-size: 13px;
  color: #aaa;
  margin-top: 4px;
}

/* ── SUCCESS STATE ──────────────────────────────────────────── */
.success-icon {
  width: 64px;
  height: 64px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  margin: 0 auto 16px;
}

#success-state h3 {
  color: #16a34a;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

#success-message {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-top: 8px;
}

/* ── EXPIRED STATE ──────────────────────────────────────────── */
.expired-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

#expired-state p:first-of-type {
  font-size: 17px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

/* ── ERROR STATE ────────────────────────────────────────────── */
.error-icon {
  width: 48px;
  height: 48px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 16px auto;
}

#error-message {
  color: #dc2626;
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── SHARED CLOSE BUTTON ────────────────────────────────────── */
.close-btn {
  padding: 11px 28px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
}
.close-btn:hover { background: #333; }

/* ── MOBILE RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 480px) {
  #modal-card {
    padding: 24px 16px;
    border-radius: 12px;
  }
  #amount-display {
    font-size: 22px;
  }
  #proceed-btn {
    font-size: 15px;
  }
}
