/* ==========================================================================
   BURKINO CINEMA — LUXURY RESET & DESIGN SYSTEM TOKENS
   Editorial / Minimalist Luxury Aesthetic
   ========================================================================== */

:root {
  /* Core Backgrounds */
  --bg-primary: #09090b;
  --bg-secondary: #111114;
  --bg-surface: #16161a;
  --bg-surface-elevated: #1f1f25;
  --bg-card: rgba(20, 20, 24, 0.75);
  --bg-glass: rgba(12, 12, 14, 0.75);
  --bg-modal: rgba(8, 8, 10, 0.96);

  /* Typography Colors */
  --text-primary: #f7f6f2;
  --text-secondary: #a8a7a2;
  --text-muted: #6e6d68;
  --text-dim: #55555c;

  /* Editorial Accents — Warm Pastel Gold & Champagne */
  --accent-gold: #c8b082;
  --accent-gold-hover: #dbcaa3;
  --accent-gold-dim: rgba(200, 176, 130, 0.12);
  --accent-champagne: #ede6d8;
  --accent-warm-white: #faf9f6;
  --accent-border: rgba(255, 255, 255, 0.08);

  /* Borders & Dividers (Clean & Minimalist, No Yellow Outlines) */
  --border-ultra-subtle: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-strong: rgba(255, 255, 255, 0.24);

  /* Shadows & Glows (Restrained & Deep) */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
  --glow-gold: 0 4px 20px rgba(200, 176, 130, 0.12);

  /* Typography Stacks */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, monospace;

  /* Spacing Scale - Fluid Scaling */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: clamp(1.2rem, 1.5vw, 1.5rem);
  --space-xl: clamp(1.5rem, 2vw, 2rem);
  --space-2xl: clamp(2.25rem, 3vw, 3rem);
  --space-3xl: clamp(3rem, 4.5vw, 4.5rem);
  --space-4xl: clamp(4rem, 6vw, 6rem);
  --space-5xl: clamp(5.5rem, 8vw, 8rem);

  /* Layout */
  --container-max-width: 1440px;
  --container-pad: clamp(1rem, 3.5vw, 3.5rem);
  --header-height: clamp(70px, 5.5vw, 84px);

  /* Transitions */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-cinematic);
  --transition-slow: 0.65s var(--ease-cinematic);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  /* Fluid proportional scaling across screen sizes */
  font-size: clamp(14px, 0.85rem + 0.25vw, 17.5px);
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font-sans);
  font-weight: 350;
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
  position: relative;
  min-height: 100vh;
}

/* Film Grain Texture Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Minimal Luxury Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Focus Outline for Accessibility */
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

/* Links & Buttons Reset */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Selection Highlight */
::selection {
  background-color: var(--accent-gold);
  color: #000;
}
