/**
 * TGM 2026 Design System - EXTRA Theme Tokens
 * Non-critical tokens for below-the-fold and alternate themes
 * Loaded non-blocking after critical tokens
 */

:root {
  /* Typography Scale - Extended */
  --font-family-heading: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-weight-medium: 500;
  --font-weight-black: 900;
  --line-height-relaxed: 1.75;

  /* Spacing Scale - Extended */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-3: 0.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius - Extended */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transitions - Extended */
  --transition-slow: 350ms ease;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-toast: 700;

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1400px;
}

/* ================================================
   SIGNATURE 2026 PREMIUM - DARK MODE (Default)
   Extended Colors & Effects
   ================================================ */
:root,
[data-theme="signature-2026"][data-mode="dark"] {
  /* Extended Background Colors */
  --bg-section: #141418;
  --bg-section-alt: #1a1a20;
  --bg-card-hover: #252530;
  --bg-card-alt: #2a2a35;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --surface-elevated: #1e1e26;
  --surface-sunken: #08080a;

  /* Extended Text Colors */
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-disabled: rgba(255, 255, 255, 0.3);
  --text-inverse: #0d0d0f;

  /* Extended Heading Colors */
  --heading-highlight: #ffc107;
  --heading-gradient: linear-gradient(135deg, #e8ce88 0%, #ffc107 50%, #e8ce88 100%);
  --heading-gradient-alt: linear-gradient(135deg, #ffc107 0%, #e8ce88 100%);
  --heading-gradient-gold: linear-gradient(135deg, #e8ce88 0%, #ffd700 50%, #e8ce88 100%);
  --heading-gradient-pink: linear-gradient(135deg, #c82333 0%, #dc3545 50%, #c82333 100%);
  --heading-shadow: 0 0 30px rgba(232, 206, 136, 0.4), 0 0 60px rgba(255, 193, 7, 0.2);
  --heading-shadow-sm: 0 0 15px rgba(232, 206, 136, 0.3);
  --heading-shadow-gold: 0 0 25px rgba(232, 206, 136, 0.5);
  --text-glow: 0 0 8px rgba(232, 206, 136, 0.5);
  --text-glow-strong: 0 0 15px rgba(255, 193, 7, 0.7), 0 0 30px rgba(232, 206, 136, 0.4);
  --accent-underline: linear-gradient(90deg, transparent 0%, #e8ce88 20%, #ffc107 50%, #e8ce88 80%, transparent 100%);
  --accent-border-glow: 0 0 12px rgba(232, 206, 136, 0.5);

  /* Brand Colors - Extended */
  --brand-primary-hover: #a71d2a;
  --brand-secondary: #83010d;
  --brand-secondary-hover: #6d000b;

  /* Accent Colors */
  --accent-gold: #e8ce88;
  --accent-gold-soft: rgba(232, 206, 136, 0.15);
  --accent-warm: #ffc107;
  --accent-warm-soft: rgba(255, 193, 7, 0.15);

  /* Link Colors */
  --link-default: #e8ce88;
  --link-hover: #ffc107;
  --link-visited: #d4b877;
  --link-active: #ffca2c;

  /* Border Colors - Extended */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-accent: #e8ce88;
  --border-brand: #c82333;

  /* Shadow Colors */
  --shadow-color: rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(232, 206, 136, 0.2);

  /* Button Styles */
  --btn-primary-bg: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
  --btn-primary-bg-solid: #c82333;
  --btn-primary-text: #ffffff;
  --btn-primary-border: transparent;
  --btn-primary-hover-bg: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  --btn-primary-hover-text: #ffffff;
  --btn-secondary-bg: transparent;
  --btn-secondary-text: #e8ce88;
  --btn-secondary-border: #e8ce88;
  --btn-secondary-hover-bg: rgba(232, 206, 136, 0.1);
  --btn-secondary-hover-text: #ffc107;
  --btn-secondary-hover-border: #ffc107;
  --btn-ghost-bg: transparent;
  --btn-ghost-text: var(--text-secondary);
  --btn-ghost-hover-bg: rgba(255, 255, 255, 0.05);
  --btn-ghost-hover-text: var(--text-primary);
  --btn-cta-bg: linear-gradient(135deg, #ffc107 0%, #e8b106 100%);
  --btn-cta-text: #1a1a20;
  --btn-cta-hover-bg: linear-gradient(135deg, #ffca2c 0%, #ffc107 100%);

  /* Badge Colors */
  --badge-verified-bg: linear-gradient(135deg, #28a745 0%, #20913d 100%);
  --badge-verified-text: #ffffff;
  --badge-featured-bg: linear-gradient(135deg, #e8ce88 0%, #d4b877 100%);
  --badge-featured-text: #1a1a20;
  --badge-hot-bg: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  --badge-hot-text: #ffffff;
  --badge-new-bg: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  --badge-new-text: #ffffff;
  --badge-premium-bg: linear-gradient(135deg, #ffc107 0%, #e8b106 100%);
  --badge-premium-text: #1a1a20;

  /* Form Colors */
  --input-bg: #1e1e26;
  --input-border: var(--border-default);
  --input-border-focus: #e8ce88;
  --input-text: var(--text-primary);
  --input-placeholder: var(--text-muted);

  /* Section Backgrounds */
  --hero-bg: linear-gradient(180deg, #0d0d0f 0%, #1a1a20 50%, #141418 100%);
  --hero-overlay: linear-gradient(180deg, rgba(13, 13, 15, 0.3) 0%, rgba(13, 13, 15, 0.8) 100%);
  --header-bg: #0d0d0f;
  --header-border: var(--border-subtle);
  --footer-bg: #08080a;
  --footer-border: var(--border-subtle);

  /* Navigation */
  --nav-bg: #83010d;
  --nav-text: #ffffff;
  --nav-hover-bg: rgba(255, 255, 255, 0.1);
  --nav-active-bg: #c82333;
  --nav-mobile-bg: #f6e2c5;
  --nav-mobile-text: #1a1a20;

  /* Card Specific */
  --card-profile-overlay: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.9) 100%);
  --card-border: var(--border-subtle);
  --card-shadow: var(--shadow-soft);
  --card-hover-shadow: var(--shadow-medium);

  /* Status Colors */
  --status-available: #28a745;
  --status-busy: #ffc107;
  --status-offline: #6c757d;

  /* Decorative */
  --pattern-opacity: 0.03;
  --gradient-accent: linear-gradient(135deg, #e8ce88 0%, #ffc107 100%);
  --gradient-brand: linear-gradient(135deg, #c82333 0%, #83010d 100%);
}

/* Signature Light Mode - Extended */
[data-theme="signature-2026"][data-mode="light"] {
  --bg-section: #ffffff;
  --bg-section-alt: #f5f5f7;
  --bg-card-hover: #fafafa;
  --bg-card-alt: #f5f5f7;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --surface-elevated: #ffffff;
  --surface-sunken: #f0f0f2;
  --text-muted: rgba(26, 26, 32, 0.5);
  --text-disabled: rgba(26, 26, 32, 0.3);
  --text-inverse: #f5f5f7;
  --heading-highlight: #c82333;
  --brand-primary-hover: #a71d2a;
  --brand-secondary: #83010d;
  --brand-secondary-hover: #6d000b;
  --accent-gold: #8b6914;
  --accent-gold-soft: rgba(139, 105, 20, 0.1);
  --accent-warm: #996600;
  --accent-warm-soft: rgba(153, 102, 0, 0.1);
  --link-default: #c82333;
  --link-hover: #83010d;
  --link-visited: #6d000b;
  --link-active: #a71d2a;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.2);
  --border-accent: #c82333;
  --border-brand: #c82333;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 20px rgba(200, 35, 51, 0.15);
  --btn-primary-bg: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
  --btn-primary-bg-solid: #c82333;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  --btn-secondary-bg: transparent;
  --btn-secondary-text: #c82333;
  --btn-secondary-border: #c82333;
  --btn-secondary-hover-bg: rgba(200, 35, 51, 0.05);
  --btn-secondary-hover-text: #83010d;
  --btn-secondary-hover-border: #83010d;
  --btn-cta-bg: linear-gradient(135deg, #ffc107 0%, #e8b106 100%);
  --btn-cta-text: #1a1a20;
  --btn-cta-hover-bg: linear-gradient(135deg, #ffca2c 0%, #ffc107 100%);
  --input-bg: #ffffff;
  --input-border: var(--border-default);
  --input-border-focus: #c82333;
  --input-text: var(--text-primary);
  --hero-bg: linear-gradient(180deg, #fafafa 0%, #ffffff 50%, #f5f5f7 100%);
  --hero-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.9) 100%);
  --header-bg: #ffffff;
  --header-border: var(--border-subtle);
  --footer-bg: #1a1a20;
  --footer-border: var(--border-subtle);
  --card-profile-overlay: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  --card-border: var(--border-subtle);
  --card-shadow: var(--shadow-soft);
  --card-hover-shadow: var(--shadow-medium);
}

/* ================================================
   VALENTINE'S THEME - All Modes & Effects
   ================================================ */
[data-theme="valentines"][data-mode="dark"] {
  --bg-page: #120008;
  --bg-section: #1a000c;
  --bg-section-alt: #220010;
  --bg-card: #2a0515;
  --bg-card-hover: #3a0a1f;
  --bg-card-alt: #320818;
  --bg-overlay: rgba(18, 0, 8, 0.85);
  --surface-elevated: #2a0515;
  --surface-sunken: #0a0004;
  --text-primary: #fff0f5;
  --text-secondary: rgba(255, 240, 245, 0.85);
  --text-muted: rgba(255, 240, 245, 0.6);
  --text-disabled: rgba(255, 240, 245, 0.35);
  --text-inverse: #120008;
  --heading-primary: #fff0f5;
  --heading-accent: #f4a9c0;
  --heading-highlight: #ff4081;
  --heading-gradient: linear-gradient(135deg, #f4a9c0 0%, #d4af37 50%, #ff4081 100%);
  --heading-gradient-alt: linear-gradient(135deg, #ff4081 0%, #f4a9c0 50%, #d4af37 100%);
  --heading-gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e6b3 50%, #d4af37 100%);
  --heading-gradient-pink: linear-gradient(135deg, #ff4081 0%, #f48fb1 50%, #ff4081 100%);
  --heading-shadow: 0 0 40px rgba(244, 169, 192, 0.5), 0 0 80px rgba(255, 64, 129, 0.3);
  --heading-shadow-sm: 0 0 20px rgba(244, 169, 192, 0.4);
  --heading-shadow-gold: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.3);
  --text-glow: 0 0 10px rgba(244, 169, 192, 0.6);
  --text-glow-strong: 0 0 20px rgba(255, 64, 129, 0.8), 0 0 40px rgba(244, 169, 192, 0.5);
  --accent-underline: linear-gradient(90deg, transparent 0%, #f4a9c0 20%, #d4af37 50%, #f4a9c0 80%, transparent 100%);
  --accent-border-glow: 0 0 15px rgba(244, 169, 192, 0.6);
  --brand-primary: #d81b60;
  --brand-primary-hover: #c2185b;
  --brand-primary-soft: rgba(216, 27, 96, 0.25);
  --brand-secondary: #880e4f;
  --brand-secondary-hover: #6a0a3e;
  --accent-gold: #e8b4bc;
  --accent-gold-soft: rgba(232, 180, 188, 0.2);
  --accent-warm: #d4af37;
  --accent-warm-soft: rgba(212, 175, 55, 0.2);
  --link-default: #f4a9c0;
  --link-hover: #ffb6c1;
  --link-visited: #dda0a0;
  --link-active: #ff8fab;
  --border-subtle: rgba(244, 169, 192, 0.12);
  --border-default: rgba(244, 169, 192, 0.2);
  --border-strong: rgba(244, 169, 192, 0.35);
  --border-accent: #f4a9c0;
  --border-brand: #d81b60;
  --shadow-color: rgba(216, 27, 96, 0.3);
  --shadow-soft: 0 2px 12px rgba(216, 27, 96, 0.15);
  --shadow-medium: 0 4px 20px rgba(216, 27, 96, 0.25);
  --shadow-strong: 0 8px 40px rgba(216, 27, 96, 0.35);
  --shadow-glow: 0 0 40px rgba(244, 169, 192, 0.35);
  --shadow-glow-strong: 0 0 60px rgba(255, 64, 129, 0.4);
  --btn-primary-bg: linear-gradient(135deg, #d81b60 0%, #880e4f 100%);
  --btn-primary-bg-solid: #d81b60;
  --btn-primary-text: #ffffff;
  --btn-primary-border: transparent;
  --btn-primary-hover-bg: linear-gradient(135deg, #ec407a 0%, #d81b60 100%);
  --btn-primary-hover-text: #ffffff;
  --btn-secondary-bg: transparent;
  --btn-secondary-text: #f4a9c0;
  --btn-secondary-border: #f4a9c0;
  --btn-secondary-hover-bg: rgba(244, 169, 192, 0.15);
  --btn-secondary-hover-text: #ffb6c1;
  --btn-secondary-hover-border: #ffb6c1;
  --btn-ghost-bg: transparent;
  --btn-ghost-text: var(--text-secondary);
  --btn-ghost-hover-bg: rgba(244, 169, 192, 0.08);
  --btn-ghost-hover-text: var(--text-primary);
  --btn-cta-bg: linear-gradient(135deg, #d4af37 0%, #b8960c 100%);
  --btn-cta-text: #120008;
  --btn-cta-hover-bg: linear-gradient(135deg, #e6c240 0%, #d4af37 100%);
  --badge-verified-bg: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  --badge-verified-text: #ffffff;
  --badge-featured-bg: linear-gradient(135deg, #d4af37 0%, #b8960c 100%);
  --badge-featured-text: #120008;
  --badge-hot-bg: linear-gradient(135deg, #ff4081 0%, #d81b60 100%);
  --badge-hot-text: #ffffff;
  --badge-new-bg: linear-gradient(135deg, #ec407a 0%, #d81b60 100%);
  --badge-new-text: #ffffff;
  --badge-premium-bg: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
  --badge-premium-text: #120008;
  --badge-top-bg: linear-gradient(135deg, #f4a9c0 0%, #e890a7 100%);
  --badge-top-text: #120008;
  --input-bg: #2a0515;
  --input-border: var(--border-default);
  --input-border-focus: #f4a9c0;
  --input-text: var(--text-primary);
  --input-placeholder: var(--text-muted);
  --hero-bg: linear-gradient(180deg, #120008 0%, #1a000c 40%, #220010 100%);
  --hero-overlay: linear-gradient(180deg, rgba(18, 0, 8, 0.2) 0%, rgba(18, 0, 8, 0.9) 100%);
  --header-bg: #120008;
  --header-border: var(--border-subtle);
  --footer-bg: #0a0004;
  --footer-border: var(--border-subtle);
  --nav-bg: #880e4f;
  --nav-text: #ffffff;
  --nav-hover-bg: rgba(255, 255, 255, 0.12);
  --nav-active-bg: #d81b60;
  --nav-mobile-bg: #fff0f5;
  --nav-mobile-text: #880e4f;
  --card-profile-overlay: linear-gradient(180deg, transparent 40%, rgba(18, 0, 8, 0.95) 100%);
  --card-border: var(--border-subtle);
  --card-shadow: var(--shadow-soft);
  --card-hover-shadow: var(--shadow-medium);
  --status-available: #4caf50;
  --status-busy: #d4af37;
  --status-offline: #888888;
  --pattern-opacity: 0.04;
  --gradient-accent: linear-gradient(135deg, #f4a9c0 0%, #d4af37 100%);
  --gradient-brand: linear-gradient(135deg, #d81b60 0%, #880e4f 100%);
  --gradient-romantic: linear-gradient(135deg, #ff4081 0%, #f48fb1 50%, #d4af37 100%);
  --gradient-rose-gold: linear-gradient(135deg, #e8b4bc 0%, #d4af37 100%);
  --glow-pink: 0 0 30px rgba(255, 64, 129, 0.4);
  --glow-gold: 0 0 30px rgba(212, 175, 55, 0.4);
}

[data-theme="valentines"][data-mode="light"] {
  --bg-page: #fff5f8;
  --bg-section: #ffffff;
  --bg-section-alt: #ffe8ef;
  --bg-card: #ffffff;
  --bg-card-hover: #fff0f5;
  --bg-card-alt: #fce4ec;
  --bg-overlay: rgba(136, 14, 79, 0.5);
  --surface-elevated: #ffffff;
  --surface-sunken: #fce4ec;
  --text-primary: #4a0e2a;
  --text-secondary: rgba(74, 14, 42, 0.75);
  --text-muted: rgba(74, 14, 42, 0.5);
  --text-inverse: #fff0f5;
  --heading-primary: #4a0e2a;
  --heading-accent: #880e4f;
  --heading-highlight: #d81b60;
  --brand-primary: #d81b60;
  --brand-primary-hover: #c2185b;
  --brand-primary-soft: rgba(216, 27, 96, 0.12);
  --brand-secondary: #880e4f;
  --accent-gold: #8d6e3f;
  --accent-gold-soft: rgba(141, 110, 63, 0.12);
  --accent-warm: #9e7a47;
  --link-default: #d81b60;
  --link-hover: #880e4f;
  --link-visited: #6a0a3e;
  --border-subtle: rgba(216, 27, 96, 0.08);
  --border-default: rgba(216, 27, 96, 0.12);
  --border-accent: #d81b60;
  --shadow-glow: 0 0 20px rgba(216, 27, 96, 0.15);
  --btn-primary-bg: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
  --btn-primary-text: #ffffff;
  --btn-cta-bg: linear-gradient(135deg, #c9a227 0%, #a68a1f 100%);
  --btn-cta-text: #ffffff;
  --nav-bg: #fce4ec;
  --nav-text: #880e4f;
  --hero-bg: linear-gradient(180deg, #fff5f8 0%, #ffe8ef 50%, #ffffff 100%);
  --gradient-accent: linear-gradient(135deg, #d81b60 0%, #9e7a47 100%);
  --gradient-brand: linear-gradient(135deg, #d81b60 0%, #880e4f 100%);
}

/* Additional theme variations (Diwali, Monsoon, etc.) loaded here but not shown for brevity */
