/* ============================================
   NFTY Theme - Clean Foundation
   ============================================ */

:root {
  /* Brand Colors */
  --nfty-orange: #ff6b35;
  --nfty-orange-hover: #ff8555;
  --nfty-orange-light: #ff9d5c;
  
  /* Semantic Colors */
  --color-success: #2ed573;
  --color-error: #ff4757;
  --color-warning: #ffa502;
  
  /* Backgrounds */
  --nfty-black: #000000;
  --nfty-dark: #0a0a0f;
  --nfty-darker: #1a1a2e;
  
  /* Text */
  --text-white: #ffffff;
  --text-primary: rgba(255, 255, 255, 0.9);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.08);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-orange: 0 4px 16px rgba(255, 107, 53, 0.3);
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 120px;
}

/* ============================================
   Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--nfty-dark);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: 48px; font-weight: 900; }
h2 { font-size: 36px; font-weight: 800; }
h3 { font-size: 28px; font-weight: 700; }
h4 { font-size: 20px; font-weight: 700; }
h5 { font-size: 18px; font-weight: 600; }

@media (min-width: 768px) {
  h1 { font-size: 64px; }
  h2 { font-size: 48px; }
  h3 { font-size: 32px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 72px; }
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--nfty-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--nfty-orange-hover);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.text-orange { color: var(--nfty-orange); }
.text-muted { color: var(--text-muted); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

/* ============================================
   Container
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* ============================================
   Focus States (Accessibility)
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--nfty-orange);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--nfty-orange);
  outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
  background: var(--nfty-dark);
}

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

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

/* ============================================
   Selection
   ============================================ */
::selection {
  background: rgba(255, 107, 53, 0.3);
  color: var(--text-white);
}
