/* ==========================================================================
   SAN FRANCISCO FONT FAMILY DEFINITIONS (Display & Text from font/ folder)
   ========================================================================== */
@font-face {
  font-family: 'San Francisco Display';
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Ultralight.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Ultralight.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Thin.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Thin.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Light.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Light.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Regular.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Medium.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Semibold.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Semibold.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Bold.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Heavy.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Heavy.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Display';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Black.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Black.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Thin.otf') format('opentype'),
       url('../font/._SanFranciscoText-Thin.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 200;
  font-style: italic;
  font-display: swap;
  src: url('../font/SanFranciscoText-ThinItalic.otf') format('opentype'),
       url('../font/._SanFranciscoText-ThinItalic.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Light.otf') format('opentype'),
       url('../font/._SanFranciscoText-Light.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  src: url('../font/SanFranciscoText-LightItalic.otf') format('opentype'),
       url('../font/._SanFranciscoText-LightItalic.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Regular.otf') format('opentype'),
       url('../font/._SanFranciscoText-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('../font/SanFranciscoText-Italic.otf') format('opentype'),
       url('../font/._SanFranciscoText-Italic.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Medium.otf') format('opentype'),
       url('../font/._SanFranciscoText-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  src: url('../font/SanFranciscoText-MediumItalic.otf') format('opentype'),
       url('../font/._SanFranciscoText-MediumItalic.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Semibold.otf') format('opentype'),
       url('../font/._SanFranciscoText-Semibold.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url('../font/SanFranciscoText-SemiboldItalic.otf') format('opentype'),
       url('../font/._SanFranciscoText-SemiboldItalic.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Bold.otf') format('opentype'),
       url('../font/._SanFranciscoText-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  src: url('../font/SanFranciscoText-BoldItalic.otf') format('opentype'),
       url('../font/._SanFranciscoText-BoldItalic.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Heavy.otf') format('opentype'),
       url('../font/._SanFranciscoText-Heavy.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco Text';
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  src: url('../font/SanFranciscoText-HeavyItalic.otf') format('opentype'),
       url('../font/._SanFranciscoText-HeavyItalic.otf') format('opentype');
}

/* Generalized family name 'San Francisco' */
@font-face {
  font-family: 'San Francisco';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Regular.otf') format('opentype'),
       url('../font/._SanFranciscoText-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Medium.otf') format('opentype'),
       url('../font/._SanFranciscoText-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoText-Semibold.otf') format('opentype'),
       url('../font/._SanFranciscoText-Semibold.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Bold.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'San Francisco';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../font/SanFranciscoDisplay-Heavy.otf') format('opentype'),
       url('../font/._SanFranciscoDisplay-Heavy.otf') format('opentype');
}

:root {
  /* Color Palette — Luxury Deep Emerald Green, Obsidian Black & Pure Gold System */
  --ground: #061a0e;
  --ground-deep: #020a05;
  --ground-elevated: #0c2e1b;
  --ground-secondary: #114227;
  --ground-glass: rgba(8, 32, 18, 0.82);
  --ground-glass-subtle: rgba(12, 46, 27, 0.65);
  
  --ink: #fbfbfa;
  --ink-secondary: #a3d9bc;
  --muted: #6b9e82;
  
  --hairline: rgba(212, 175, 55, 0.2);
  --hairline-strong: rgba(212, 175, 55, 0.4);
  --hairline-green: rgba(34, 158, 92, 0.35);
  
  /* Pure Imperial Gold Gradient & Solid Accents (Vàng Tuyền) */
  --amber: #d4af37;
  --gold: #d4af37;
  --gold-light: #f7e7a9;
  --gold-bright: #ffe885;
  --gold-dark: #9a7419;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f7e7a9 28%, #c59b27 55%, #f2d886 78%, #9a7419 100%);
  --gold-gradient-shine: linear-gradient(135deg, #fff3b8 0%, #d4af37 25%, #f9ebad 50%, #b8860b 75%, #f5db7b 100%);
  --gold-gradient-glass: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(247, 231, 169, 0.1) 50%, rgba(154, 116, 25, 0.28) 100%);
  --gold-glow: rgba(212, 175, 55, 0.45);
  --gold-glow-soft: rgba(212, 175, 55, 0.22);

  /* Deep Luxury Emerald / Jade Green Palette (Màu Xanh Lá Hơi Đậm) */
  --teal: #0d4d2b;
  --green-night: #030d07;
  --green-deep: #062112;
  --green-emerald: #0a3d22;
  --green-royal: #126338;
  --green-jade: #187d47;
  --green-accent: #229e5c;
  --green-glow: rgba(18, 99, 56, 0.55);
  --green-glow-soft: rgba(18, 99, 56, 0.28);

  /* Legacy aliases mapped to luxury gold/emerald */
  --lime: #e8d070;

  /* Typography — Synchronized with Local San Francisco Font */
  --font-display: 'San Francisco Display', 'San Francisco', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'San Francisco Text', 'San Francisco', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout dimensions */
  --max-width: min(94vw, 1720px);
  --gutter-x: clamp(16px, 3.5vw, 64px);
  --nav-height: 72px;

  /* Transitions */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  width: 100%;
  max-width: 100%;
  background-color: var(--ground-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #030d07;
  background-image: 
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(18, 99, 56, 0.55) 0%, transparent 70%),
    radial-gradient(circle 900px at 95% 15%, rgba(212, 175, 55, 0.16) 0%, transparent 60%),
    radial-gradient(circle 1000px at 5% 50%, rgba(13, 77, 43, 0.48) 0%, transparent 65%),
    radial-gradient(ellipse 90% 60% at 90% 75%, rgba(24, 125, 71, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(10, 58, 32, 0.5) 0%, transparent 75%),
    linear-gradient(180deg, #051a0e 0%, #020804 45%, #072213 80%, #020905 100%);
  background-attachment: fixed;
  color: var(--ink);
  position: relative;
}

#main-content {
  width: 100%;
  max-width: 100%;
  position: relative;
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

input, button, textarea, select {
  font-family: inherit;
}

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

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

ul, ol {
  list-style: none;
}

::selection {
  background-color: #d4af37;
  color: #030712;
}

