/* ==========================================================================
   COTTON CITY — LUXURY COMING SOON STYLESHEET
   Egyptian Heritage • Modern Craftsmanship • Bespoke Comfort
   ========================================================================== */

/* --- Fonts & CSS Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Cairo:wght@400;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0a0908;
  --bg-secondary: #14120e;
  --bg-tertiary: #1c1813;
  --bg-card: rgba(24, 21, 16, 0.65);
  --bg-card-hover: rgba(36, 31, 24, 0.85);
  --glass-border: rgba(212, 175, 55, 0.18);
  --glass-border-hover: rgba(212, 175, 55, 0.45);
  --glass-glow: rgba(212, 175, 55, 0.12);

  /* Gold & Champagne Gradients */
  --gold-primary: #d4af37;
  --gold-light: #f5e6b3;
  --gold-dark: #997a23;
  --bronze: #b3884d;
  --sand: #dfc89d;
  --gold-gradient: linear-gradient(135deg, #f5e6b3 0%, #d4af37 50%, #aa8021 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(245, 230, 179, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  --text-gold-gradient: linear-gradient(135deg, #ffffff 0%, #f7e7be 40%, #d4af37 80%, #b3884d 100%);

  /* Text Colors */
  --text-primary: #fdfbf7;
  --text-secondary: #bfb5a3;
  --text-muted: #807767;
  --text-accent: #e5cb8f;

  /* Typography */
  --font-serif: 'Cinzel', serif;
  --font-editorial: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] {
  --font-sans: 'Cairo', sans-serif;
  --font-editorial: 'Cairo', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* --- 3D Grid Matrix & Ambient Glow Orbs --- */
.grid-matrix {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 55px 55px;
  background-image:
    linear-gradient(to right, rgba(212, 175, 55, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
}

.glow-orb-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.13) 0%, rgba(212, 175, 55, 0.03) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  animation: pulseCore 8s ease-in-out infinite alternate;
}

@keyframes pulseCore {
  0% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.95; }
}

/* --- Interactive Spotlight Cursor Glow Follower --- */
#cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.04) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.06s ease-out;
}

@media (max-width: 768px) {
  #cursor-glow {
    display: none;
  }
}

/* --- Kinetic 3D Stage & Preserved 3D Context --- */
.stage-wrapper {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  will-change: transform;
}

/* --- Interactive Magnetic Word Hover --- */
.hover-word {
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
  cursor: default;
  margin: 0 1.5px;
}

.hover-word:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.9), 0 0 3px #d4af37;
}

/* --- 3D Tilt Card Elevate --- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  perspective: 1000px;
}

.tilt-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.45);
}

/* --- Rotating Orbit Rings --- */
.emblem-ring-mini {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(212, 175, 55, 0.7);
  animation: rotateRing 10s linear infinite;
  display: inline-block;
}

@keyframes rotateRing {
  100% { transform: rotate(360deg); }
}

/* --- Navigation VIP Button --- */
.nav-vip-btn {
  background: var(--gold-gradient-subtle);
  border: 1px solid var(--glass-border-hover);
  color: var(--gold-light);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.nav-vip-btn:hover {
  background: var(--gold-gradient);
  color: #0a0908;
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px) scale(1.04);
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  inset: 0;
  background: #080706;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.preloader-emblem {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold-primary);
  border-bottom-color: var(--gold-light);
  animation: spin 1.4s linear infinite;
}

.preloader-initials {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.preloader-bar-container {
  width: 220px;
  height: 3px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.preloader-text {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

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

/* --- Background Video & Canvas Effects --- */
.background-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background-color: #080706;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.6) contrast(1.15) saturate(1.1);
  opacity: 0.75;
  transition: opacity 1.2s ease;
}

.bg-overlay-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(10, 9, 8, 0.25) 0%, rgba(10, 9, 8, 0.7) 65%, #080706 100%),
              linear-gradient(to bottom, rgba(10, 9, 8, 0.6) 0%, rgba(10, 9, 8, 0.15) 35%, rgba(10, 9, 8, 0.85) 85%, #080706 100%);
  pointer-events: none;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* --- Navigation / Top Bar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 9, 8, 0.82);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  opacity: 1 !important;
  visibility: visible !important;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.header-brand:hover {
  transform: scale(1.02);
}

.brand-mini-logo {
  height: 56px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 16px rgba(212, 175, 55, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.header-brand:hover .brand-mini-logo {
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 24px rgba(212, 175, 55, 0.7));
}

.brand-name-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--gold-light);
  opacity: 0.9;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch-btn, .sound-toggle-btn {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.lang-switch-btn:hover, .sound-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: 0 0 15px var(--glass-glow);
}

/* --- Container & Layout --- */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  position: relative;
  z-index: 10;
}

/* --- Hero Section with logo_2_video.mp4 Backdrop --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.8rem 1.5rem 2.5rem;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: center center;
}

.hero-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #080706;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.68) contrast(1.18) saturate(1.12);
  opacity: 0.85;
  transition: opacity 1.2s ease;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(10, 9, 8, 0.15) 0%, rgba(10, 9, 8, 0.6) 65%, #0a0908 100%),
              linear-gradient(to bottom, rgba(10, 9, 8, 0.6) 0%, rgba(10, 9, 8, 0.15) 35%, rgba(10, 9, 8, 0.85) 85%, #0a0908 100%);
  pointer-events: none;
}

.hero-video-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 90vw);
  height: 420px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  transform-origin: center center;
}

.badge-luxury {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(20, 18, 15, 0.65);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-family: var(--font-serif);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 1px;
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  max-width: 900px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-subheadline {
  font-family: var(--font-editorial);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 1.8rem;
  line-height: 1.5;
}

/* --- Countdown Grid --- */
.countdown-wrapper {
  margin-bottom: 1.8rem;
  width: 100%;
  max-width: 680px;
}

.countdown-title {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.countdown-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 0.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.6;
}

.countdown-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.15);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.countdown-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- Hero CTA Group --- */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-luxury-primary {
  background: var(--gold-gradient);
  color: #0d0b08;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-luxury-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.8s ease;
}

.btn-luxury-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.55);
}

.btn-luxury-primary:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-luxury-secondary {
  background: rgba(24, 21, 16, 0.8);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-luxury-secondary:hover {
  background: rgba(40, 35, 26, 0.9);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.2);
}

.hero-scroll-indicator {
  margin-top: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  opacity: 0.7;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateY(3px);
}

.scroll-text {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
}

.scroll-icon {
  width: 18px;
  height: 18px;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Pillars / Badges --- */
.pillars-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--glass-glow);
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--gold-primary);
  color: #0d0b08;
  transform: rotate(6deg) scale(1.08);
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: 0.5px;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Signature Collections --- */
.collections-section {
  text-align: center;
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

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

.collection-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: var(--transition-smooth);
}

[dir="rtl"] .collection-card {
  text-align: right;
}

.collection-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

[dir="rtl"] .collection-card::after {
  transform-origin: right;
}

.collection-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
}

.collection-card:hover::after {
  transform: scaleX(1);
}

.collection-badge {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1.2rem;
}

.collection-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.collection-items {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- VIP Early Access Section --- */
.vip-section {
  background: linear-gradient(135deg, rgba(28, 24, 19, 0.9) 0%, rgba(16, 14, 11, 0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.vip-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.vip-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  background: var(--text-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}

.vip-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.2rem;
}

.vip-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 0.6rem;
  background: rgba(10, 9, 8, 0.7);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.vip-form:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 25px var(--glass-glow);
}

.vip-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.85rem 1.4rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}

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

.vip-btn {
  background: var(--gold-gradient);
  color: #0d0b08;
  border: none;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.vip-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.vip-counter-note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.vip-counter-highlight {
  color: var(--gold-light);
  font-weight: 600;
}

/* --- Video Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 3, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #120f0c;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px var(--glass-glow);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 18, 14, 0.8);
  border: 1px solid var(--glass-border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.2rem;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #000;
  transform: rotate(90deg);
}

.modal-video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

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

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

[dir="rtl"] .toast-container {
  right: auto;
  left: 2rem;
}

.toast {
  background: rgba(20, 17, 13, 0.95);
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--glass-glow);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  backdrop-filter: blur(10px);
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.4s forwards;
}

@keyframes toastIn {
  to { transform: translateY(0); opacity: 1; }
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
  background: rgba(8, 7, 6, 0.7);
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-categories {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-categories li {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine
   ========================================================================== */

/* --- Tablet / Medium Devices (max-width: 992px) --- */
@media (max-width: 992px) {
  .hero-section {
    padding: 6.2rem 1.5rem 2.5rem;
  }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-section {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-section .pillar-card:last-child {
    grid-column: span 2;
  }
}

/* --- Mobile Standard (max-width: 768px) --- */
@media (max-width: 768px) {
  .site-header {
    padding: 0.85rem 1.2rem;
  }
  .brand-mini-logo {
    height: 42px;
  }
  .brand-title {
    font-size: 1.05rem;
    letter-spacing: 2px;
  }
  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 2px;
  }
  .nav-vip-btn {
    padding: 0.42rem 0.95rem;
    font-size: 0.75rem;
  }

  .hero-section {
    min-height: 100svh;
    padding: 5.8rem 1.2rem 2.2rem;
  }
  .badge-luxury {
    font-size: 0.72rem;
    padding: 0.35rem 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }
  .hero-headline {
    font-size: clamp(1.8rem, 6.8vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  .hero-subheadline {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .countdown-wrapper {
    margin-bottom: 1.6rem;
    max-width: 440px;
  }
  .countdown-title {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    margin-bottom: 0.8rem;
  }
  .countdown-grid {
    gap: 0.55rem;
  }
  .countdown-card {
    padding: 0.85rem 0.25rem;
    border-radius: 12px;
  }
  .countdown-number {
    font-size: 1.65rem;
    margin-bottom: 0.25rem;
  }
  .countdown-label {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
  }
  .btn-luxury-primary,
  .btn-luxury-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.82rem;
  }

  .page-container {
    padding: 3rem 1.2rem 2rem;
    gap: 3.5rem;
  }

  .pillars-section {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .pillars-section .pillar-card:last-child {
    grid-column: auto;
  }
  .pillar-card {
    padding: 1.8rem 1.4rem;
    border-radius: 18px;
  }

  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .collection-card {
    padding: 1.6rem 1.4rem;
    border-radius: 18px;
  }

  .vip-section {
    padding: 2.5rem 1.4rem;
    border-radius: 20px;
  }
  .vip-title {
    font-size: 1.7rem;
  }
  .vip-desc {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }
  .vip-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.75rem;
    box-shadow: none;
  }
  .vip-input {
    background: rgba(14, 12, 10, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 0.85rem 1.3rem;
    font-size: 0.92rem;
    width: 100%;
  }
  .vip-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.82rem;
  }

  .modal-backdrop {
    padding: 1rem;
  }
  .modal-close-btn {
    top: 0.8rem;
    right: 0.8rem;
    width: 36px;
    height: 36px;
  }
  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    align-items: center;
  }
  .toast {
    width: 100%;
    max-width: 420px;
    font-size: 0.84rem;
    padding: 0.85rem 1.2rem;
  }
}

/* --- Compact Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
  .site-header {
    padding: 0.75rem 1rem;
  }
  .header-brand {
    gap: 0.75rem;
  }
  .brand-mini-logo {
    height: 36px;
  }
  .brand-title {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
  }
  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 1.2px;
  }
  .nav-vip-btn {
    padding: 0.38rem 0.75rem;
    font-size: 0.72rem;
    gap: 0.35rem;
  }

  .hero-section {
    padding: 5.2rem 1rem 1.8rem;
  }
  .badge-luxury {
    font-size: 0.66rem;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.8rem;
  }
  .hero-headline {
    font-size: 1.65rem;
    line-height: 1.22;
  }
  .hero-subheadline {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.3rem;
  }

  .countdown-wrapper {
    margin-bottom: 1.4rem;
    max-width: 340px;
  }
  .countdown-grid {
    gap: 0.4rem;
  }
  .countdown-card {
    padding: 0.65rem 0.15rem;
    border-radius: 10px;
  }
  .countdown-number {
    font-size: 1.4rem;
    margin-bottom: 0.15rem;
  }
  .countdown-label {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }

  .hero-cta-group {
    max-width: 280px;
    gap: 0.65rem;
  }
  .btn-luxury-primary,
  .btn-luxury-secondary {
    padding: 0.78rem 1.1rem;
    font-size: 0.78rem;
    letter-spacing: 1px;
  }

  .scroll-text {
    font-size: 0.6rem;
    letter-spacing: 1.8px;
  }

  .page-container {
    padding: 2.2rem 1rem 1.5rem;
    gap: 2.8rem;
  }
  .pillar-card,
  .collection-card,
  .vip-section {
    padding: 1.5rem 1.1rem;
    border-radius: 16px;
  }
  .pillar-title,
  .collection-name {
    font-size: 1.15rem;
  }
  .section-title {
    font-size: 1.55rem;
  }

  .footer-categories {
    gap: 0.6rem 0.8rem;
    font-size: 0.68rem;
  }
}

/* --- Ultra-Compact Mobile (max-width: 360px) --- */
@media (max-width: 360px) {
  .brand-title {
    font-size: 0.85rem;
  }
  .brand-tagline {
    display: none;
  }
  .hero-headline {
    font-size: 1.45rem;
  }
  .countdown-number {
    font-size: 1.25rem;
  }
}
