/* ==========================================================================
   KARISH CREATION RATLAM — LUXURY CRAFT ATELIER DESIGN SYSTEM
   Art-Directed Palette • Cohesive Typography • Wide Responsive Layout
   Zero-Overflow Engine • Meaningful Craft Motion (Zero Particles)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- 1. DESIGN TOKENS (RESTRICTED LUXURY PALETTE) --- */
:root {
  /* Rich Royal Velvet & Gilded Gold Palette (WCAG AAA/AA Compliant) */
  --bg-primary: #140A0F;          /* Deep royal velvet canvas */
  --bg-secondary: #1C0F16;        /* Rich velvet-plum secondary canvas */
  --bg-tertiary: #25131E;         /* Deep elevated canvas */
  
  --text-primary: #FFFDF9;        /* Pure crisp alabaster (17.8:1 contrast!) */
  --text-secondary: #E3D7CF;      /* Soft warm pearl body text (12.4:1 contrast!) */
  --text-muted: #BFAEA4;          /* Legible muted metadata (7.8:1 contrast!) */
  
  --accent-rose: #E58C96;         /* Luminous royal rose script accent */
  --accent-rose-soft: rgba(229, 140, 150, 0.16);
  --accent-rose-dark: #FF99A4;

  --highlight-champagne: #D4AF37; /* Burnished Royal Gold (10.2:1 contrast!) */
  --highlight-champagne-light: rgba(212, 175, 55, 0.16);
  --highlight-champagne-dark: #F7E5C1;

  --card-surface: #20111A;        /* Rich deep velvet card surface */
  --card-surface-warm: #281521;   /* Elevated card surface */
  --input-surface: #170C13;       /* High-contrast distinct input field surface */

  /* Borders & Dividers */
  --border-subtle: rgba(212, 175, 55, 0.25);
  --border-gold: rgba(212, 175, 55, 0.5);
  --border-gold-solid: #C5A059;
  --border-rose: rgba(229, 140, 150, 0.4);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-italic: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cinzel', serif;

  /* Layout Widths & Responsive Gutters */
  --page-gutter: clamp(16px, 3.5vw, 48px);
  --content-max: 1360px;
  --content-wide: 1480px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.75);
  --shadow-box: 0 25px 65px rgba(0, 0, 0, 0.9);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --tr-fast: 0.2s ease;
  --tr-normal: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --tr-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. GLOBAL RESET & ZERO-OVERFLOW ARCHITECTURE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

/* --- 3. RESPONSIVE CONTAINER SYSTEM (ELIMINATES WASTED SIDE MARGINS) --- */
.container {
  width: min(100% - (2 * var(--page-gutter)), var(--content-max));
  margin-inline: auto;
  box-sizing: border-box;
}

.container-wide {
  width: min(100% - (2 * var(--page-gutter)), var(--content-wide));
  margin-inline: auto;
  box-sizing: border-box;
}

.section-spacing {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  position: relative;
}

/* --- 4. TYPOGRAPHY SYSTEM --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  color: #F7E5C1;
  border: 1.5px solid var(--border-gold-solid);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
  line-height: 1.4;
  white-space: normal;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
  letter-spacing: -0.015em;
  word-break: break-word;
}

.section-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 600;
  color: var(--accent-rose);
  display: inline-block;
  position: relative;
}

.section-title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--highlight-champagne) 0%, transparent 100%);
  border-radius: 2px;
}

.section-desc {
  font-size: clamp(0.96rem, 1.4vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.72;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-inline: auto; }

/* --- 5. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--tr-normal);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #E5C07B 0%, #D4AF37 50%, #B38728 100%);
  color: #140A0F;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  border: 1px solid #FFF2A3;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.55);
  color: #000000;
}

.btn-secondary {
  background: var(--card-surface);
  color: #F7E5C1;
  border: 1.5px solid var(--border-gold-solid);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: #FFD700;
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

.btn-rose {
  background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-rose-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(183, 124, 131, 0.35);
}
.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(183, 124, 131, 0.45);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.28);
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(220, 39, 67, 0.38);
}

/* --- 6. HEADER REDESIGN (BALANCED PADDING, NO SCREEN-TOUCHING) --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(20, 10, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--tr-fast);
}

.site-header.scrolled {
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  width: 100%;
  box-sizing: border-box;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-left: 2px;
  margin-right: clamp(1.5rem, 3vw, 3.5rem);
}

.header-profile-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--highlight-champagne);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-text-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.brand-text-name span {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--accent-rose);
  font-weight: 600;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--tr-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-champagne);
  transition: width var(--tr-fast);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* --- LANGUAGE SWITCHER PILL (ENGLISH & HINDI) --- */
.lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 2px 4px;
  gap: 2px;
}

.lang-btn {
  padding: 0.22rem 0.62rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 14px;
  transition: all var(--tr-fast);
  cursor: pointer;
  line-height: 1.25;
}

.lang-btn:hover {
  color: #FFFFFF;
}

.lang-btn.active {
  background: linear-gradient(135deg, #E5C07B 0%, #D4AF37 100%);
  color: #140A0F !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

/* Fullscreen Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-primary);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--tr-smooth), opacity var(--tr-smooth);
  z-index: 2000;
  box-sizing: border-box;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-subtle);
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58px;
  background: rgba(20, 10, 15, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  z-index: 999;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.4);
}

.mobile-bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.bottom-bar-item.active { color: var(--highlight-champagne-dark); }
.bottom-bar-item svg { width: 20px; height: 20px; }

/* --- 7. HERO SECTION (EXPANSIVE & LUXURIOUS) --- */
.hero-section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  background: radial-gradient(circle at 85% 15%, rgba(199, 165, 106, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(183, 124, 131, 0.12) 0%, transparent 45%),
              var(--bg-primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-headline .highlight-script {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.95em;
  font-weight: 600;
  color: var(--accent-rose);
  display: block;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.hero-subhead {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: var(--text-secondary);
  line-height: 1.74;
  margin-bottom: 1.85rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 2rem;
}

.hero-visual-stage {
  position: relative;
  width: 100%;
}

.hero-main-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3.8;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-box), 0 0 35px rgba(212, 175, 55, 0.2);
  border: 3.5px solid var(--border-gold-solid);
  background: var(--bg-secondary);
}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-main-card:hover img { transform: scale(1.04); }

.hero-floating-badge-1 {
  position: absolute;
  top: -14px;
  right: -14px;
  background: var(--card-surface);
  color: #FFFDF9;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-gold-solid);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.hero-floating-badge-2 {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #140A0F;
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--highlight-champagne);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.float-badge-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1.5px solid var(--highlight-champagne);
}

/* --- 8. GAMIFIED PACKAGING STUDIO ("PACK LIKE A PRO") --- */
.packaging-studio-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.packing-stage-wrapper {
  background: linear-gradient(160deg, #241A15 0%, #362820 60%, #1E1511 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-box), 0 0 40px rgba(199, 165, 106, 0.15);
  border: 2px solid var(--highlight-champagne);
  margin-top: 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Gamification Progress Bar Header */
.game-status-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(199, 165, 106, 0.35);
}

.game-level-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(199, 165, 106, 0.18);
  border: 1px solid var(--highlight-champagne);
  color: #FFE6BA;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.game-progress-wrapper {
  flex-grow: 1;
  max-width: 380px;
  min-width: 200px;
}

.game-progress-track {
  width: 100%;
  height: 9px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.game-progress-fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--accent-rose) 0%, var(--highlight-champagne) 100%);
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.packing-interactive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  min-width: 0;
  width: 100%;
}

.packing-interactive-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* 3D Trunk Presentation Box in Stage */
.trunk-visual-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3.2;
  background: linear-gradient(145deg, #1C130E 0%, #2D1F17 50%, #170F0B 100%);
  border-radius: var(--radius-xl);
  border: 3px solid var(--highlight-champagne);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 2px 6px rgba(255, 215, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trunk-inner-tray {
  width: 92%;
  height: 90%;
  background: radial-gradient(circle at 50% 50%, #4D1822 0%, #240A0F 85%);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(199, 165, 106, 0.65);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 25px rgba(0, 0, 0, 0.75);
}

/* Quilted Velvet Cushion Pattern Base */
.trunk-cushion-base {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(199, 165, 106, 0.2) 1.5px, transparent 1.5px),
    linear-gradient(45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.15) 75%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.15) 75%);
  background-size: 30px 30px;
  opacity: 0.85;
  pointer-events: none;
}

/* Individual Packed Layers inside Trunk */
.packed-piece {
  position: absolute;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(-45px) scale(0.8) rotate(-2deg);
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.packed-piece.is-packed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  pointer-events: auto;
}

/* Layer positioning */
.piece-lehenga {
  bottom: 8px;
  left: 6%;
  right: 6%;
  width: 88%;
  height: auto;
  z-index: 2;
}

.piece-ring {
  top: 10px;
  left: 12px;
  width: 36%;
  max-width: 145px;
  z-index: 3;
}

.piece-dryfruits {
  top: 8px;
  right: 12px;
  width: 44%;
  max-width: 175px;
  z-index: 3;
}

.piece-potli {
  bottom: 12px;
  left: 10px;
  width: 28%;
  max-width: 115px;
  z-index: 4;
}

.piece-brooch {
  bottom: 14px;
  right: 18px;
  width: 26%;
  max-width: 105px;
  z-index: 5;
}

.piece-lid {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 7;
  transform: scale(1.04);
}
.piece-lid.is-packed {
  opacity: 1;
  transform: scale(1);
}

.packed-piece-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dual Satin Golden Ribbons */
.trunk-ribbon-horizontal {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 24px;
  background: linear-gradient(90deg, #996E14 0%, #FFE899 50%, #996E14 100%);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}
.trunk-ribbon-horizontal.ribbon-tied {
  transform: translateY(-50%) scaleX(1);
}

.trunk-ribbon-vertical {
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 100%;
  background: linear-gradient(180deg, #996E14 0%, #FFE899 50%, #996E14 100%);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
  z-index: 8;
  box-shadow: 4px 0 14px rgba(0, 0, 0, 0.6);
}
.trunk-ribbon-vertical.ribbon-tied {
  transform: translateX(-50%) scaleY(1);
}

/* 3D Dimensional Center Bow */
.trunk-bow-knot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 3rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
  z-index: 9;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
}
.trunk-bow-knot.bow-tied {
  transform: translate(-50%, -50%) scale(1);
}

/* --- HIGHLIGHTED KARISH CREATION BRAND STAMP / GOLD SEAL STICKER --- */
.karish-seal-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 12;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.75));
}

.karish-seal-stamp.stamp-active {
  transform: translate(-50%, -50%) scale(1);
  animation: sealShine 3s ease-in-out infinite 1s;
}

@keyframes sealShine {
  0%, 100% { filter: drop-shadow(0 10px 24px rgba(199, 165, 106, 0.45)); }
  50% { filter: drop-shadow(0 12px 30px rgba(255, 215, 0, 0.75)); }
}

.seal-medallion {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF2A3 0%, #D4AF37 50%, #8C5F07 100%);
  border: 3px solid #FFF8D4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
}

.seal-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #30251F;
}

.seal-text-title {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  font-weight: 800;
  color: #30251F;
  letter-spacing: 0.08em;
  margin-top: 2px;
  line-height: 1;
}

.seal-ribbon-tail {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 14px;
  background: #B77C83;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 50% 75%, 20% 100%);
  z-index: -1;
}

/* Items Selection Grid */
.packing-items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0.85rem;
  width: 100%;
  min-width: 0;
}

.pack-item-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(199, 165, 106, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  transition: all var(--tr-fast);
  user-select: none;
  min-width: 0;
  box-sizing: border-box;
}

.pack-item-title, .pack-item-sub {
  overflow-wrap: break-word;
  word-break: break-word;
}

.pack-item-card:hover {
  background: rgba(199, 165, 106, 0.15);
  border-color: var(--highlight-champagne);
  transform: translateY(-2px);
}

.pack-item-card.selected {
  background: linear-gradient(135deg, var(--highlight-champagne) 0%, var(--highlight-champagne-dark) 100%);
  border-color: #FFE6BA;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(199, 165, 106, 0.45);
}

.pack-item-icon { font-size: 1.4rem; display: block; margin-bottom: 2px; }
.pack-item-title { font-size: 0.8rem; font-weight: 700; display: block; }
.pack-item-sub {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}
.pack-item-card.selected .pack-item-sub {
  color: rgba(255, 255, 255, 0.95);
}

/* Game Actions Row */
.stage-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.15rem;
}

/* --- 9. PORTFOLIO GALLERY (ACCURATE & WIDE SCREEN UTILIZATION) --- */
.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-subtle);
  background: var(--card-surface);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-gold-solid);
  background: var(--card-surface);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.filter-btn:hover {
  border-color: #FFD700;
  color: #FFFFFF;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--highlight-champagne) 0%, #B38728 100%);
  color: #140A0F;
  border-color: #FFE6BA;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.creations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.creation-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-surface);
  border: 1.5px solid var(--border-gold-solid);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-smooth), box-shadow var(--tr-smooth), border-color var(--tr-fast);
}

.creation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.3);
  border-color: #FFD700;
}

.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3.2;
  overflow: hidden;
  background: var(--bg-secondary);
}

.card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.creation-card:hover .card-media-wrap img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(48, 37, 31, 0.88);
  backdrop-filter: blur(6px);
  color: #FFF2D1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-insta-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--card-surface);
  color: #E1306C;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(48, 37, 31, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tr-fast);
  cursor: pointer;
}

.card-zoom-btn {
  width: 44px;
  height: 44px;
  background: var(--card-surface);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--tr-fast);
}

.creation-card:hover .card-zoom-overlay { opacity: 1; }
.card-zoom-overlay:hover .card-zoom-btn { transform: scale(1.1); }

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border-subtle);
}

.card-action-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-rose);
  transition: color var(--tr-fast);
}
.card-action-link:hover { color: #FFD700; }

/* --- 10. OCCASIONS & FEATURED SECTIONS --- */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.occasion-box {
  background: var(--card-surface);
  border-radius: var(--radius-xl);
  padding: 2rem 1.65rem;
  border: 1.5px solid var(--border-gold-solid);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--tr-normal);
}

.occasion-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #FFD700;
}

.occasion-box.featured-box {
  background: linear-gradient(180deg, #281420 0%, #1D0D16 100%);
  border: 2px solid var(--highlight-champagne);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.18);
}

.occasion-badge-tag {
  align-self: flex-start;
  background: var(--highlight-champagne);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.occasion-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--highlight-champagne-light);
  color: var(--highlight-champagne-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  border: 1px solid var(--border-gold);
}

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

.occasion-details {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  line-height: 1.62;
}

.occasion-feature-list {
  list-style: none;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.occasion-feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.occasion-feature-list li::before {
  content: '✦';
  color: var(--highlight-champagne);
  font-weight: 800;
}

/* --- 11. DEDICATED SECTION: VISIT OUR STUDIO IN RATLAM (NO DELIVERY) --- */
.studio-visit-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.studio-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
  min-width: 0;
}

.studio-visit-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.studio-card-box {
  background: var(--card-surface);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1.5px solid var(--border-gold-solid);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.studio-floating-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #140A0F;
  color: #FFFDF9;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-gold-solid);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.studio-no-delivery-banner {
  background: rgba(229, 140, 150, 0.12);
  border: 1.5px solid var(--accent-rose);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.studio-no-delivery-banner strong {
  color: #FFD6DC;
  font-size: 0.95rem;
  display: block;
}

.studio-no-delivery-banner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.studio-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.15rem;
}

.studio-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--highlight-champagne-light);
  color: var(--highlight-champagne-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* --- 12. INQUIRY SECTION & FORM --- */
.inquiry-wrapper {
  background: var(--card-surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-gold-solid);
  box-shadow: var(--shadow-box), 0 0 35px rgba(212, 175, 55, 0.15);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.inquiry-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--highlight-champagne), var(--accent-rose), var(--text-primary));
}

.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  width: 100%;
  min-width: 0;
}

.inquiry-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.95rem;
  margin-bottom: 0.95rem;
  width: 100%;
  min-width: 0;
}

.form-row > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0.95rem;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-gold-solid);
  border-radius: var(--radius-sm);
  background: var(--input-surface);
  color: #FFFFFF;
  outline: none;
  font-family: inherit;
  font-size: 0.94rem;
  transition: all var(--tr-fast);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #FFD700;
  background: #1F0E17;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.35);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.inquiry-info-box {
  background: #170C13;
  border: 1.5px solid var(--border-gold-solid);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- 13. FAQ ACCORDION --- */
.faq-list {
  max-width: 860px;
  margin: 2.25rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.faq-item {
  background: var(--card-surface);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-gold-solid);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--tr-fast);
}

.faq-item:hover,
.faq-item.active {
  border-color: #FFD700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(212, 175, 55, 0.2);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon-arrow {
  font-size: 0.95rem;
  color: var(--highlight-champagne-dark);
  transition: transform var(--tr-normal);
}

.faq-item.active .faq-icon-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 1.5rem 1.35rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* --- 14. FOOTER --- */
.site-footer {
  background: #241A16;
  color: #DDD4CE;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border-gold);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-link {
  font-size: 0.9rem;
  color: #B5A8A0;
  transition: color var(--tr-fast);
}
.footer-nav-link:hover { color: #FFE6BA; }

.footer-brand-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #B5A8A0;
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: #B5A8A0;
}

/* --- FOOTER DEVELOPER BANNER (HIGH-PERFORMANCE LUXURY ARCHITECTURE) --- */
.footer-developer-banner {
  background: linear-gradient(135deg, rgba(28, 15, 22, 0.96) 0%, rgba(20, 10, 15, 0.98) 100%);
  border: 1.5px solid var(--highlight-champagne);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
}

.footer-developer-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #E5C07B, #D4AF37);
}

.dev-banner-left {
  flex: 1;
  min-width: 0;
}

.dev-badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--highlight-champagne);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
}

.dev-banner-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFDF9;
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}

.dev-banner-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

.dev-banner-subtitle strong {
  color: var(--highlight-champagne);
  font-weight: 600;
}

.dev-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.dev-portfolio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.65rem 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(135deg, #E5C07B 0%, #D4AF37 100%);
  color: #140A0F !important;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.dev-portfolio-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.dev-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #FFFDF9;
  text-decoration: none;
  padding: 0.6rem 0.95rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--tr-fast);
  white-space: nowrap;
}

.dev-contact-link:hover {
  color: #FFFFFF;
  border-color: var(--highlight-champagne);
  background: rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #B5A8A0;
}

.dev-credit-link {
  color: var(--highlight-champagne);
  font-weight: 700;
  text-decoration: none;
  transition: color var(--tr-fast);
}

.dev-credit-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

@media (max-width: 820px) {
  .footer-developer-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.15rem;
    gap: 1.15rem;
  }
  .dev-banner-actions {
    width: 100%;
    gap: 0.75rem;
  }
  .dev-portfolio-btn,
  .dev-contact-link {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* --- 15. LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(36, 26, 22, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-normal);
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-box {
  background: var(--card-surface);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-box);
  position: relative;
  display: flex;
  flex-direction: column;
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(48, 37, 31, 0.85);
  color: #FFFFFF;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-media {
  width: 100%;
  max-height: 55vh;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.5rem 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* --- 16. MEANINGFUL CRAFT-INSPIRED ANIMATIONS (ZERO PARTICLES) --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ribbonFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.hero-floating-badge-1 {
  animation: ribbonFloat 6s ease-in-out infinite;
}

.hero-floating-badge-2 {
  animation: ribbonFloat 6s ease-in-out infinite 1.2s;
}

/* --- 17. MOBILE-FIRST RESPONSIVENESS & ZERO OVERFLOW --- */
@media (max-width: 1024px) {
  .desktop-nav,
  .header-actions .btn,
  .header-cta-btn {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions { justify-content: center; }
  .hero-visual-stage {
    max-width: 480px;
    margin: 1.5rem auto 0;
  }
  .packing-interactive-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .occasions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .studio-visit-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .inquiry-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 768px) {
  .mobile-bottom-bar { display: block; }
  .header-inner { height: 60px; }
  .brand-text-name { font-size: 1.15rem; }
  .header-profile-badge { width: 34px; height: 34px; }

  .hero-floating-badge-1,
  .hero-floating-badge-2 { display: none !important; }

  .hero-visual-stage {
    max-width: 100%;
    margin: 1.25rem 0 0;
  }

  /* Packaging Studio Mobile Refinement */
  .packing-stage-wrapper {
    padding: 1.1rem 0.75rem;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }

  .game-status-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 1rem;
    margin-bottom: 1.15rem;
  }

  .game-level-chip {
    align-self: flex-start;
    font-size: 0.76rem;
    padding: 4px 10px;
  }

  .game-progress-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .trunk-visual-box {
    max-width: 100%;
    box-sizing: border-box;
  }

  .packing-interactive-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .packing-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  .studio-floating-badge {
    bottom: 10px !important;
    right: 10px !important;
    padding: 8px 12px !important;
    max-width: calc(100% - 20px) !important;
  }

  .stage-control-actions {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }

  .stage-control-actions .btn {
    width: 100% !important;
    white-space: normal;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .spotlight-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .spotlight-features {
    grid-template-columns: 1fr !important;
  }

  .spotlight-secondary-img {
    width: 44% !important;
    bottom: -10px !important;
    right: -10px !important;
  }

  .portfolio-filter-bar {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .occasions-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .form-row { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-top-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .lightbox-info { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 10px;
  }
  .container {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }
  .brand-text-name { font-size: 1.05rem; }
  .hero-headline { font-size: 1.85rem !important; }
  .section-title { font-size: 1.55rem !important; }
  .creations-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .creation-card { min-width: 0 !important; width: 100% !important; }
  .inquiry-wrapper { padding: 1.15rem 0.65rem !important; }
  .inquiry-info-box { padding: 1rem 0.65rem !important; }
  .studio-card-box { padding: 1.15rem 0.65rem !important; }
  .studio-no-delivery-banner { padding: 0.75rem 0.65rem !important; gap: 8px !important; }
  .studio-detail-row { gap: 10px !important; }
  .mobile-nav-drawer { padding: 1.5rem 1rem !important; }
  .mobile-nav-link { font-size: 1.05rem !important; }
  .btn {
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
    white-space: normal !important;
    text-align: center !important;
  }
  .studio-card-box .btn {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
