/* ============================================
   TICKETLABZ — Global Stylesheet
   v1.0 — Phase 1
   ============================================ */

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --dark:       #050508;
  --card:       #0f0f1a;
  --border:     rgba(168, 85, 247, 0.2);
  --pink:       #ff3cac;
  --blue:       #00d4ff;
  --purple:     #a855f7;
  --text:       #e2e2f0;
  --muted:      #7070a0;

  --nav-height: 72px;
  --radius:     16px;
  --transition: 0.3s ease;
  --max-width:  1200px;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--purple) var(--dark);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 60, 172, 0.4),
                0 0 40px rgba(168, 85, 247, 0.2);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 60, 172, 0.7),
                0 0 64px rgba(168, 85, 247, 0.4);
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

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

@keyframes gradientShift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ============================================
   FADE-UP — driven by Intersection Observer
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays via data-delay attribute */
.fade-up[data-delay="1"] { transition-delay: 0.1s; }
.fade-up[data-delay="2"] { transition-delay: 0.2s; }
.fade-up[data-delay="3"] { transition-delay: 0.3s; }
.fade-up[data-delay="4"] { transition-delay: 0.4s; }
.fade-up[data-delay="5"] { transition-delay: 0.5s; }
.fade-up[data-delay="6"] { transition-delay: 0.6s; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ============================================
   REUSABLE COMPONENTS
   ============================================ */

/* --- PRIMARY BUTTON --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255, 60, 172, 0.35),
              0 0 48px rgba(168, 85, 247, 0.15);
  transition: transform var(--transition),
              box-shadow var(--transition),
              opacity var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(255, 60, 172, 0.6),
              0 0 80px rgba(168, 85, 247, 0.35),
              0 8px 32px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255, 60, 172, 0.4);
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* --- SECONDARY BUTTON --- */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: var(--purple);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  cursor: pointer;
  transition: transform var(--transition),
              box-shadow var(--transition),
              background var(--transition),
              color var(--transition),
              border-color var(--transition);
  text-decoration: none;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn-secondary:hover {
  transform: translateY(-6px);
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--purple);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.3);
  color: #fff;
}

.btn-secondary:active {
  transform: translateY(-2px);
}

.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* --- SECTION LABEL --- */
.section-label {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

/* --- SECTION TITLE --- */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 16px;
}

/* --- SECTION SUBTITLE --- */
.section-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

/* --- GLOW DIVIDER --- */
.glow-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--pink) 30%,
    var(--blue) 70%,
    transparent 100%
  );
  border: none;
  opacity: 0.5;
}

/* --- CARD --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(168, 85, 247, 0.12),
              0 4px 16px rgba(0, 0, 0, 0.4);
  border-color: rgba(168, 85, 247, 0.45);
}

/* ============================================
   FORM ELEMENTS (base)
   ============================================ */
.label {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.input {
  width: 100%;
  background: rgba(15, 15, 26, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

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

.input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.input.error {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 60, 172, 0.15);
}

/* --- Form group spacing --- */
.form-group {
  margin-bottom: 20px;
}

.form-error {
  color: var(--pink);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--card) 25%,
    rgba(168, 85, 247, 0.06) 50%,
    var(--card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 8px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(5, 5, 8, 0.98);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo img {
  height: 68px;
  width: auto;
}

/* Text fallback when logo.png is absent */
.nav__logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.nav__link {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
  text-decoration: none;
  padding-bottom: 2px;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 1px;
  transition: width var(--transition);
}

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

/* Cart link + badge */
.nav__cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav__cart-badge {
  position: absolute;
  top: -10px;
  right: -16px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 0 8px rgba(255, 60, 172, 0.5);
}

.nav__cart-badge.visible {
  display: flex;
}

/* Nav CTA */
.nav__cta {
  padding: 10px 20px;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 5, 8, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  flex-direction: column;
  gap: 22px;
  z-index: 998;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  text-decoration: none;
}

.nav__mobile-link:hover {
  color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(5, 5, 8, 0.8);
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding: 72px 0 56px;
}

.footer__brand-logo {
  height: 42px;
  width: auto;
  margin-bottom: 20px;
}

/* Text fallback when logo absent */
.footer__brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: inline-block;
}

.footer__tagline {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__col-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
  padding: 0;
}

.footer__link {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--text);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer__engineered {
  font-size: 0.82rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PAGE BODY — offset for fixed nav
   ============================================ */
main {
  padding-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
}

/* ============================================
   RESPONSIVE — 768px breakpoint
   ============================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__hamburger { display: flex; }

  /* Content */
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .section-sub {
    font-size: 0.95rem;
  }

  /* Buttons full-width on mobile */
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 40px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }
}

/* ============================================
   PHASE 2 — INDEX PAGE STYLES
   ============================================ */

/* ============================================
   HERO
   ============================================ */
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  /* Background image */
  background-image: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1600&q=80');
  background-size: cover;
  background-position: center top;
  filter: saturate(1.2);
}

/* Brightness/overlay layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(5,5,8,0.92) 100%),
    rgba(5,5,8,0.65);
  z-index: 0;
}

/* Radial glow accents */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(168,85,247,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 40%, rgba(255,60,172,0.14) 0%, transparent 70%);
  z-index: 0;
}

/* Floating orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero__orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(168, 85, 247, 0.25);
  top: 10%;
  left: -5%;
  animation: orbFloat 9s ease-in-out infinite;
}

.hero__orb--2 {
  width: 320px;
  height: 320px;
  background: rgba(255, 60, 172, 0.2);
  bottom: 15%;
  right: -4%;
  animation: orbFloat 12s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(0, 212, 255, 0.15);
  top: 30%;
  right: 20%;
  animation: orbFloat 7s ease-in-out infinite 2s;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  max-width: 820px;
}

/* Hero animation class */
.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 100px;
  background: rgba(168, 85, 247, 0.08);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--purple);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badgePulse 1.8s ease-in-out infinite;
}

/* Logo */
.hero__logo-wrap {
  display: flex;
  justify-content: center;
}

.hero__logo {
  height: 150px;
  width: auto;
  filter: drop-shadow(0 0 28px rgba(168, 85, 247, 0.6))
          drop-shadow(0 0 60px rgba(255, 60, 172, 0.3));
}

.hero__logo-fallback {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* H1 */
.hero__title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 0%, var(--blue) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glowing divider in hero */
.hero__divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(255, 60, 172, 0.7), 0 0 30px rgba(0, 212, 255, 0.4);
}

/* Subtext */
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 300;
  color: rgba(226, 226, 240, 0.82);
  line-height: 1.75;
  max-width: 580px;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  width: 100%;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(13, 13, 20, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stats-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 0;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 48px;
  border-right: 1px solid rgba(168, 85, 247, 0.15);
}

.stats-bar__item:last-child {
  border-right: none;
}

.stats-bar__value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stats-bar__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================
   SECTION HEADER (shared)
   ============================================ */
.section-header {
  margin-bottom: 56px;
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card__top {
  height: 4px;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.service-card__top-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(168, 85, 247, 0.18), 0 4px 16px rgba(0, 0, 0, 0.5);
  border-color: rgba(168, 85, 247, 0.55);
}

.service-card:hover .service-card__top-line {
  opacity: 1;
}

.service-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-card__icon {
  font-size: 2.2rem;
  line-height: 1;
}

.service-card__tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid;
  width: fit-content;
}

.service-card__tag--blue {
  color: var(--blue);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.07);
}

.service-card__tag--pink {
  color: var(--pink);
  border-color: rgba(255, 60, 172, 0.4);
  background: rgba(255, 60, 172, 0.07);
}

.service-card__tag--purple {
  color: var(--purple);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.07);
}

.service-card__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.service-card__link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  text-decoration: none;
  transition: color var(--transition), letter-spacing var(--transition);
}

.service-card__link:hover {
  color: var(--pink);
  letter-spacing: 0.14em;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.how__step {
  padding: 36px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how__num {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(168, 85, 247, 0.5);
}

.how__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.how__desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   WHY TICKETLABZ
   ============================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.why__card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why__card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.08);
}

.why__icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.why__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.why__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================
   DISCORD CTA BANNER
   ============================================ */
.discord-cta .container {
  padding-left: 48px;
  padding-right: 48px;
}

.discord-cta__inner {
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.15),
    rgba(168, 85, 247, 0.15),
    rgba(255, 60, 172, 0.1)
  );
  border: 1px solid rgba(88, 101, 242, 0.3);
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.discord-cta__emoji {
  font-size: 3rem;
  line-height: 1;
}

.discord-cta__title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
}

.discord-cta__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

.discord-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #5865F2;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.35);
}

.discord-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(88, 101, 242, 0.6), 0 2px 12px rgba(0,0,0,0.4);
}

/* ============================================
   PHASE 2 RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(32px, 9vw, 56px);
  }

  .hero__logo {
    height: 110px;
  }

  .stats-bar__inner {
    flex-wrap: wrap;
  }

  .stats-bar__item {
    padding: 20px 28px;
    border-right: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    flex: 1 1 calc(50% - 28px);
  }

  .stats-bar__item:nth-child(3),
  .stats-bar__item:last-child {
    border-bottom: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .how__grid {
    grid-template-columns: 1fr;
  }

  .discord-cta .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .discord-cta__inner {
    padding: 48px 24px;
    border-radius: 16px;
  }

  .hero__ctas .btn-primary,
  .hero__ctas .btn-secondary {
    width: auto;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn-primary,
  .hero__ctas .btn-secondary {
    width: 100%;
  }

  .stats-bar__item {
    flex: 1 1 100%;
  }
}

/* ============================================
   PHASE 3 — SHOP PAGE STYLES
   ============================================ */

/* ============================================
   SHOP PAGE HEADER
   ============================================ */
.shop-header {
  position: relative;
  padding-top: calc(var(--nav-height) + 68px);
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

/* Radial purple glow at top */
.shop-header__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(168,85,247,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.shop-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.shop-header__title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.shop-header__sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 8px;
}

/* ============================================
   FILTER TABS
   ============================================ */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.shop-filter {
  padding: 9px 22px;
  border-radius: 100px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: transparent;
  color: var(--muted);
  transition: background var(--transition),
              color var(--transition),
              border-color var(--transition),
              box-shadow var(--transition);
}

.shop-filter:hover {
  border-color: var(--purple);
  color: var(--text);
}

.shop-filter.active {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 60, 172, 0.35);
}

/* ============================================
   PRODUCTS GRID SECTION
   ============================================ */
.shop-grid-section {
  padding: 60px 48px 100px;
}

.shop-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(168, 85, 247, 0.18),
              0 4px 16px rgba(0, 0, 0, 0.5);
  border-color: rgba(168, 85, 247, 0.55);
}

/* Image area */
.product-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(15, 15, 26, 0.9);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.product-card .product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px 12px 0 0;
  display: block;
}

.product-card:hover .product-card__img {
  transform: scale(1.01);
}

/* Placeholder when no image */
.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 26, 0.9);
  opacity: 0.6;
}

/* Card body */
.product-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Category tag */
.product-card__tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid;
  width: fit-content;
}

.product-card__tag.tag--blue {
  color: var(--blue);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.07);
}

.product-card__tag.tag--pink {
  color: var(--pink);
  border-color: rgba(255, 60, 172, 0.4);
  background: rgba(255, 60, 172, 0.07);
}

.product-card__tag.tag--purple {
  color: var(--purple);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.07);
}

/* Product name */
.product-card__name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* Short description */
.product-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Price */
.product-card__price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 4px;
}

/* Add to Cart button */
.product-card__btn {
  width: 100%;
  margin-top: auto;
  padding: 13px 20px;
  font-size: 0.7rem;
}

/* Sold out state */
.product-card__btn--soldout {
  background: rgba(112, 112, 160, 0.2) !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   SKELETON CARD
   ============================================ */
.product-card--skeleton {
  pointer-events: none;
}

.product-card--skeleton .product-card__img-wrap {
  background: transparent;
}

/* Skeleton shimmer overrides */
.skel-tag {
  height: 22px;
  width: 80px;
  border-radius: 100px;
}

.skel-title {
  height: 20px;
  width: 75%;
  margin-top: 4px;
}

.skel-desc {
  height: 14px;
  width: 100%;
}

.skel-desc--short {
  width: 65%;
}

.skel-price {
  height: 22px;
  width: 50%;
  margin-top: 6px;
}

.skel-btn {
  height: 46px;
  width: 100%;
  border-radius: 8px;
  margin-top: 6px;
}

/* ============================================
   EMPTY / ERROR STATE
   ============================================ */
.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 80px 24px;
}

.shop-empty__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.shop-empty__sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: -4px;
}

/* ============================================
   PHASE 3 RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .shop-grid-section {
    padding: 40px 16px 72px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .shop-header {
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .shop-filters {
    gap: 8px;
  }

  .shop-filter {
    font-size: 0.58rem;
    padding: 8px 16px;
  }
}


/* ============================================
   PAGE HEADER (shared  cart, checkout, etc.)
   ============================================ */
.page-header {
  position: relative;
  padding: 80px 24px 48px;
  text-align: center;
  overflow: hidden;
}

.page-header__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-header__title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-header__sub {
  color: var(--muted);
  font-size: 1rem;
}


/* ============================================
   PHASE 4  CART PAGE
   ============================================ */

.cart-section {
  padding: 20px 24px 100px;
}

.cart-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* ---------- Empty State ---------- */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 24px;
  text-align: center;
}

.cart-empty__msg {
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------- Items List ---------- */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Cart Item Row ---------- */
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color var(--transition);
}

.cart-item:hover {
  border-color: rgba(168, 85, 247, 0.4);
}

.cart-item__media {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.cart-item__img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.cart-item__img-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border);
}

.cart-item__info {
  min-width: 0;
}

.cart-item__name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cart-item__price {
  font-size: 0.85rem;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* ---------- Quantity Controls ---------- */
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.qty-btn:hover {
  color: var(--text);
  background: rgba(168, 85, 247, 0.15);
}

.qty-value {
  color: var(--text);
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  font-size: 0.95rem;
}

/* ---------- Line Total & Remove ---------- */
.cart-item__line-total {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  white-space: nowrap;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: color var(--transition), background var(--transition);
}

.cart-item__remove:hover {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.1);
}

/* ---------- Summary Card (shared  cart + checkout) ---------- */
.summary-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.summary-card__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.summary-row__label {
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-row__value {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.summary-row--total .summary-row__label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary-row--total .summary-row__value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.summary-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.summary-card__continue {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
}

.summary-card__continue:hover {
  color: var(--text);
}


/* ============================================
   PHASE 4  CHECKOUT PAGE
   ============================================ */

.checkout-section {
  padding: 20px 24px 100px;
}

.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.checkout-form-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- Checkout Card ---------- */
.checkout-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-card__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Form Fields ---------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-label__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input:focus {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

/* ---------- Payment Tabs ---------- */
.payment-tabs {
  display: flex;
  gap: 12px;
}

.payment-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 20px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  flex: 1;
  justify-content: center;
}

.payment-tab:hover {
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--text);
}

.payment-tab.active {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.1);
  color: var(--text);
}

/* ---------- Payment Panel ---------- */
.payment-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stripe-card-element {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color var(--transition);
}

.stripe-card-element:focus-within {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.payment-error {
  color: var(--pink);
  font-size: 0.82rem;
  min-height: 18px;
}

/* ---------- Error Banner ---------- */
.checkout-error {
  background: rgba(255, 60, 172, 0.08);
  border: 1px solid rgba(255, 60, 172, 0.3);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--pink);
  font-size: 0.9rem;
}

/* ---------- Submit Button ---------- */
.checkout-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ---------- Order Summary (checkout right col) ---------- */
.checkout-summary-col {
  position: sticky;
  top: 100px;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-item__name {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-item__meta {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.checkout-item__price {
  font-weight: 600;
  color: var(--text);
  font-size: 0.88rem;
  white-space: nowrap;
}

.checkout-empty-note {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 8px 0;
}

.checkout-summary-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.checkout-summary-link {
  color: var(--purple);
  text-decoration: none;
  transition: color var(--transition);
}

.checkout-summary-link:hover {
  color: var(--text);
}


/* ============================================
   PHASE 4 RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cart-container,
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary-col {
    position: static;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-section,
  .checkout-section {
    padding: 20px 16px 72px;
  }

  .cart-item {
    grid-template-columns: 60px 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 10px;
  }

  .cart-item__media {
    grid-row: 1 / 3;
  }

  .cart-item__info {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-item__qty {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .cart-item__line-total {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .cart-item__remove {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    justify-self: end;
  }

  .payment-tabs {
    flex-direction: column;
  }

  .checkout-card {
    padding: 20px;
  }

  .page-header {
    padding: 60px 16px 36px;
  }
}


/* ============================================
   CART PAGE STYLES
   ============================================ */
.cart-page { padding: 120px 48px 80px; max-width: 1200px; margin: 0 auto; }
.cart-page h1 { font-family: 'Orbitron', monospace; font-size: 40px; font-weight: 900; margin-bottom: 8px; }
.cart-page .page-sub { color: var(--muted); margin-bottom: 48px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; align-items: center; gap: 20px; }
.cart-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: 'Orbitron', monospace; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 13px; color: var(--muted); }
.cart-item-qty { display: flex; align-items: center; gap: 12px; }
.cart-item-qty button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text); font-size: 18px; cursor: pointer; transition: border-color .2s, color .2s; }
.cart-item-qty button:hover { border-color: var(--purple); color: var(--purple); }
.cart-item-qty span { font-family: 'Orbitron', monospace; font-size: 15px; font-weight: 700; min-width: 24px; text-align: center; }
.cart-item-total { font-family: 'Orbitron', monospace; font-size: 16px; font-weight: 700; background: linear-gradient(135deg, var(--pink), var(--blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; }
.cart-item-remove { background: transparent; border: none; color: var(--muted); font-size: 20px; cursor: pointer; transition: color .2s; padding: 4px 8px; }
.cart-item-remove:hover { color: #ef4444; }
.cart-empty { text-align: center; padding: 80px 24px; }
.cart-empty p { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.order-summary { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: sticky; top: 100px; }
.order-summary h3 { font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.summary-total { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.continue-shopping { display: block; text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); text-decoration: none; transition: color .2s; }
.continue-shopping:hover { color: var(--text); }

@media (max-width: 768px) {
  .cart-page { padding: 100px 20px 60px; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

/* ============================================
   LEGAL PAGE
   ============================================ */
.legal-page {
  padding-top: var(--nav-height);
}

.legal-hero {
  position: relative;
  padding: 64px 0 36px;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(168, 85, 247, 0.18), transparent 45%);
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
}

.legal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.legal-sub {
  color: var(--muted);
  max-width: 760px;
}

.legal-content {
  padding: 20px 0 90px;
}

.legal-content__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.legal-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.legal-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--purple);
  margin: 22px 0 8px;
}

.legal-card p,
.legal-card li {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.75;
}

.legal-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 8px 0 12px;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 52px 0 24px;
  }

  .legal-content {
    padding-bottom: 64px;
  }

  .legal-card {
    padding: 20px;
  }
}
