/* ==========================================================================
   NISA INTIMATE — Luxury Brand Splash Screen
   ========================================================================== */

:root {
  --bg-primary: #F7F1EB;
  --bg-secondary: #EFE4D8;
  --text-dark: #231613;
  --text-muted: #796157;
  --gold-accent: #BFA07A;
  --gold-glow: rgba(191, 160, 122, 0.25);
  --rose-silk: #E6CEBC;
  --card-bg: rgba(255, 255, 255, 0.55);
  --card-border: rgba(214, 188, 164, 0.4);
  --shadow-luxury: 0 24px 60px -12px rgba(42, 27, 24, 0.18), 0 12px 24px -8px rgba(191, 160, 122, 0.15);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  background-color: var(--bg-primary);
  background: radial-gradient(circle at 50% 20%, #FAF6F1 0%, #F5ECE2 60%, #EBDBCB 100%);
  color: var(--text-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: floatAmbient 12s ease-in-out infinite alternate;
}

.ambient-top-left {
  top: -10vw;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(230, 206, 188, 0.8) 0%, rgba(247, 241, 235, 0) 70%);
}

.ambient-bottom-right {
  bottom: -15vw;
  right: -10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(206, 172, 142, 0.6) 0%, rgba(247, 241, 235, 0) 70%);
}

@keyframes floatAmbient {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(30px) scale(1.08); }
}

/* Main Page Wrapper */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100dvh;
  padding: 1.5rem 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Top Bar */
.top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.5rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid rgba(191, 160, 122, 0.2);
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-tag .dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-accent);
}

.status-badge {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 160, 122, 0.3);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.68rem;
}

/* Centerpiece Showcase */
.brand-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1.2rem 0;
  perspective: 1200px;
}

.image-frame-container {
  position: relative;
  max-width: 580px;
  width: 100%;
  display: flex;
  justify-content: center;
  cursor: pointer;
  border-radius: 18px;
  transition: var(--transition-smooth);
}

.frame-aura {
  position: absolute;
  inset: -12px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(230, 206, 188, 0.6), rgba(191, 160, 122, 0.3), rgba(255, 255, 255, 0.7));
  filter: blur(14px);
  opacity: 0.7;
  z-index: 0;
  transition: var(--transition-smooth);
}

.image-frame-container:hover .frame-aura {
  opacity: 1;
  filter: blur(20px);
  transform: scale(1.02);
}

.brand-figure {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #FFFDF9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
}

.image-frame-container:hover .brand-figure {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 32px 70px -10px rgba(42, 27, 24, 0.25), 0 16px 30px -6px rgba(191, 160, 122, 0.25);
}

.brand-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72dvh;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}

/* Hover prompt tooltip */
.hover-prompt {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(35, 22, 19, 0.85);
  backdrop-filter: blur(12px);
  color: #FAF4EE;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.image-frame-container:hover .hover-prompt {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Bottom Bar */
.bottom-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  padding-top: 0.5rem;
}

@media (min-width: 680px) {
  .bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.brand-meta .brand-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-dark);
  text-transform: uppercase;
}

.brand-meta .brand-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Buttons */
.action-buttons {
  display: flex;
  gap: 0.8rem;
}

.btn-luxury {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 160, 122, 0.45);
  color: var(--text-dark);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-luxury:hover {
  background: #FFFFFF;
  border-color: var(--gold-accent);
  box-shadow: 0 8px 24px rgba(191, 160, 122, 0.3);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--text-dark);
  color: #FFFDF9;
  border-color: var(--text-dark);
}

.btn-primary:hover {
  background: #3A2622;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(35, 22, 19, 0.35);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border: none;
  background: rgba(20, 12, 10, 0.92);
  backdrop-filter: blur(20px);
  padding: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal[open] {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.close-lightbox {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-lightbox:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-stage {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.top-bar, .bottom-bar {
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Print and High Contrast support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
