/* ==========================================================================
   Kaluna Creative - Custom Stylesheet
   Brand Colors: Deep Pine/Emerald (#042a27, #022c22) & Champagne Gold (#c59b6b, #d4a373)
   Aesthetic: Editorial Luxury, Anti-AI Slop, High Typography Contrast
   ========================================================================== */

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

:root {
  --color-brand-bg: #042a27;
  --color-brand-bg-dark: #021a18;
  --color-brand-surface: rgba(4, 42, 39, 0.65);
  --color-gold: #c59b6b;
  --color-gold-light: #e0b98d;
  --color-gold-dark: #a17849;
  --color-border-gold: rgba(197, 155, 107, 0.25);
  --color-text-offwhite: #f8fafc;
  --color-text-muted: #94a3b8;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-brand-bg-dark);
  color: var(--color-text-offwhite);
  overflow-x: hidden;
}

::selection {
  background-color: #c59b6b;
  color: #021a18;
}

.font-heading {
  font-family: 'Syne', sans-serif;
}

.font-editorial {
  font-family: 'Cinzel', serif;
}

/* Custom Glass & Card Effects - Anti-AI Slop (No Neon, Subtle Organic Borders) */
.glass-panel {
  background: rgba(4, 42, 39, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 155, 107, 0.18);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-hover:hover {
  background: rgba(6, 56, 52, 0.7);
  border-color: rgba(197, 155, 107, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fce8d5 0%, #c59b6b 50%, #dfb789 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-border {
  border-color: rgba(197, 155, 107, 0.28);
}

.gold-border-focus:focus {
  border-color: #c59b6b;
  outline: none;
  box-shadow: 0 0 0 2px rgba(197, 155, 107, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #021a18;
}

::-webkit-scrollbar-thumb {
  background: rgba(197, 155, 107, 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 155, 107, 0.65);
}

/* Studio Overlay Utility */
.studio-overlay {
  background: linear-gradient(
    180deg,
    rgba(2, 26, 24, 0.75) 0%,
    rgba(4, 42, 39, 0.88) 60%,
    rgba(2, 26, 24, 0.95) 100%
  );
}

.studio-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(4, 42, 39, 0.3) 0%,
    rgba(2, 26, 24, 0.85) 60%,
    rgba(2, 26, 24, 0.96) 100%
  );
}

/* Three.js Canvas Container */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 14px 20px;
  border-radius: 8px;
  background: #03201e;
  border: 1px solid #c59b6b;
  color: #f8fafc;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  animation: slideIn 0.3s ease-out forwards;
}

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