/**
 * TGM 2026 Design System - Theme Tokens
 * Master CSS variables file
 * All components must use these variables
 */

/* ================================================
   BASE DESIGN TOKENS (Mode Independent)
   ================================================ */
:root {
  /* Typography Scale */
  --font-family-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing Scale */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --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)
   ================================================ */
:root,
[data-theme="signature-2026"][data-mode="dark"] {
  /* Page Backgrounds */
  --bg-page: #0d0d0f;
  --bg-section: #141418;
  --bg-section-alt: #1a1a20;
  --bg-card: #1e1e26;
  --bg-card-hover: #252530;
  --bg-card-alt: #2a2a35;
  --bg-overlay: rgba(0, 0, 0, 0.7);

  /* Surface Colors */
  --surface-elevated: #1e1e26;
  --surface-sunken: #08080a;

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

  /* Heading Colors */
  --heading-primary: #f5f5f7;
  --heading-accent: #e8ce88;
  --heading-highlight: #ffc107;

  /* PREMIUM TYPOGRAPHY TOKENS */
  --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 */
  --brand-primary: #c82333;
  --brand-primary-hover: #a71d2a;
  --brand-primary-soft: rgba(200, 35, 51, 0.15);
  --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 */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.12);
  --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 - Primary */
  --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;

  /* Button - Secondary */
  --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;

  /* Button - Ghost */
  --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);

  /* Button - Warning/CTA */
  --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);

  /* Hero Section */
  --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/Footer */
  --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 2026 PREMIUM - LIGHT MODE
   ================================================ */
[data-theme="signature-2026"][data-mode="light"] {
  /* Page Backgrounds */
  --bg-page: #fafafa;
  --bg-section: #ffffff;
  --bg-section-alt: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-card-alt: #f5f5f7;
  --bg-overlay: rgba(0, 0, 0, 0.5);

  /* Surface Colors */
  --surface-elevated: #ffffff;
  --surface-sunken: #f0f0f2;

  /* Text Colors */
  --text-primary: #1a1a20;
  --text-secondary: rgba(26, 26, 32, 0.75);
  --text-muted: rgba(26, 26, 32, 0.5);
  --text-disabled: rgba(26, 26, 32, 0.3);
  --text-inverse: #f5f5f7;

  /* Heading Colors */
  --heading-primary: #1a1a20;
  --heading-accent: #83010d;
  --heading-highlight: #c82333;

  /* Brand Colors - Same */
  --brand-primary: #c82333;
  --brand-primary-hover: #a71d2a;
  --brand-primary-soft: rgba(200, 35, 51, 0.1);
  --brand-secondary: #83010d;
  --brand-secondary-hover: #6d000b;

  /* Accent Colors */
  --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 Colors */
  --link-default: #c82333;
  --link-hover: #83010d;
  --link-visited: #6d000b;
  --link-active: #a71d2a;

  /* Border Colors */
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-default: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.2);
  --border-accent: #c82333;
  --border-brand: #c82333;

  /* Shadow Colors */
  --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);

  /* Button - Primary */
  --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%);

  /* Button - Secondary */
  --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;

  /* Button - CTA */
  --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 */
  --input-bg: #ffffff;
  --input-border: var(--border-default);
  --input-border-focus: #c82333;
  --input-text: var(--text-primary);

  /* Hero Section */
  --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/Footer */
  --header-bg: #ffffff;
  --header-border: var(--border-subtle);
  --footer-bg: #1a1a20;
  --footer-border: var(--border-subtle);

  /* Card Specific */
  --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 - DARK MODE
   Luxurious Dark Pink & Rose Gold
   ================================================ */
[data-theme="valentines"][data-mode="dark"] {
  /* Deep romantic backgrounds */
  --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 Colors */
  --surface-elevated: #2a0515;
  --surface-sunken: #0a0004;

  /* Romantic pink text */
  --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 Colors - Rose Gold & Hot Pink */
  --heading-primary: #fff0f5;
  --heading-accent: #f4a9c0;
  --heading-highlight: #ff4081;

  /* PREMIUM TYPOGRAPHY - Valentine's Special */
  --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 Colors - Deep Pink */
  --brand-primary: #d81b60;
  --brand-primary-hover: #c2185b;
  --brand-primary-soft: rgba(216, 27, 96, 0.25);
  --brand-secondary: #880e4f;
  --brand-secondary-hover: #6a0a3e;

  /* Accent Colors - Rose Gold */
  --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 Colors */
  --link-default: #f4a9c0;
  --link-hover: #ffb6c1;
  --link-visited: #dda0a0;
  --link-active: #ff8fab;

  /* Border Colors */
  --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 Colors - Pink Glow */
  --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);

  /* Button - Primary (Deep Pink) */
  --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;

  /* Button - Secondary (Rose Gold outline) */
  --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;

  /* Button - Ghost */
  --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);

  /* Button - CTA (Gold) */
  --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 Colors */
  --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;

  /* Form Colors */
  --input-bg: #2a0515;
  --input-border: var(--border-default);
  --input-border-focus: #f4a9c0;
  --input-text: var(--text-primary);
  --input-placeholder: var(--text-muted);

  /* Hero Section */
  --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/Footer */
  --header-bg: #120008;
  --header-border: var(--border-subtle);
  --footer-bg: #0a0004;
  --footer-border: var(--border-subtle);

  /* Navigation - Deep Maroon/Pink */
  --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 Specific */
  --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 Colors */
  --status-available: #4caf50;
  --status-busy: #d4af37;
  --status-offline: #888888;

  /* Decorative - Valentine Special */
  --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%);
}

/* ================================================
   DIWALI THEME - DARK MODE
   ================================================ */
[data-theme="diwali"][data-mode="dark"] {
  --bg-page: #0f0a15;
  --bg-section: #1a1025;
  --bg-section-alt: #221530;
  --bg-card: #2a1a38;
  --bg-card-hover: #352245;
  --bg-card-alt: #301e40;

  --text-primary: #fff8e7;
  --text-secondary: rgba(255, 248, 231, 0.8);
  --text-muted: rgba(255, 248, 231, 0.5);

  --heading-primary: #fff8e7;
  --heading-accent: #ffd700;
  --heading-highlight: #ff9933;

  --brand-primary: #ff6600;
  --brand-primary-hover: #e65c00;
  --brand-primary-soft: rgba(255, 102, 0, 0.2);
  --brand-secondary: #993d00;

  --accent-gold: #ffd700;
  --accent-gold-soft: rgba(255, 215, 0, 0.2);
  --accent-warm: #ff9933;
  --accent-warm-soft: rgba(255, 153, 51, 0.2);

  --link-default: #ffd700;
  --link-hover: #ffea00;

  --border-subtle: rgba(255, 215, 0, 0.1);
  --border-default: rgba(255, 215, 0, 0.15);
  --border-accent: #ffd700;

  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);

  --btn-primary-bg: linear-gradient(135deg, #ff6600 0%, #cc5200 100%);
  --btn-primary-bg-solid: #ff6600;
  --btn-secondary-text: #ffd700;
  --btn-secondary-border: #ffd700;

  --btn-cta-bg: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  --btn-cta-text: #1a1025;

  --badge-featured-bg: linear-gradient(135deg, #ffd700 0%, #ff9933 100%);
  --badge-premium-bg: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);

  --nav-bg: #993d00;
  --hero-bg: linear-gradient(180deg, #0f0a15 0%, #221530 50%, #1a1025 100%);
  --gradient-accent: linear-gradient(135deg, #ffd700 0%, #ff9933 100%);
  --gradient-brand: linear-gradient(135deg, #ff6600 0%, #993d00 100%);
}

[data-theme="diwali"][data-mode="light"] {
  --bg-page: #fffbf0;
  --bg-section: #ffffff;
  --bg-section-alt: #fff5e0;
  --bg-card: #ffffff;

  --text-primary: #3d2800;
  --heading-accent: #b37400;
  --heading-highlight: #ff6600;

  --link-default: #cc5200;
  --link-hover: #993d00;

  --hero-bg: linear-gradient(180deg, #fffbf0 0%, #fff5e0 50%, #ffffff 100%);
}

/* ================================================
   NEW YEAR THEME - DARK MODE
   ================================================ */
[data-theme="newyear"][data-mode="dark"] {
  --bg-page: #050505;
  --bg-section: #0a0a0a;
  --bg-section-alt: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --bg-card-alt: #1a1a1a;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.5);

  --heading-primary: #ffffff;
  --heading-accent: #ffd700;
  --heading-highlight: #ffea00;

  --brand-primary: #1a1a1a;
  --brand-primary-hover: #2a2a2a;
  --brand-primary-soft: rgba(255, 215, 0, 0.1);
  --brand-secondary: #000000;

  --accent-gold: #ffd700;
  --accent-gold-soft: rgba(255, 215, 0, 0.15);
  --accent-warm: #c9a400;
  --accent-warm-soft: rgba(201, 164, 0, 0.15);

  --link-default: #ffd700;
  --link-hover: #ffea00;

  --border-subtle: rgba(255, 215, 0, 0.08);
  --border-default: rgba(255, 215, 0, 0.12);
  --border-accent: #ffd700;

  --shadow-glow: 0 0 25px rgba(255, 215, 0, 0.2);

  --btn-primary-bg: linear-gradient(135deg, #ffd700 0%, #c9a400 100%);
  --btn-primary-bg-solid: #ffd700;
  --btn-primary-text: #050505;
  --btn-secondary-text: #ffd700;
  --btn-secondary-border: #ffd700;

  --btn-cta-bg: linear-gradient(135deg, #ffd700 0%, #ffea00 100%);
  --btn-cta-text: #050505;

  --badge-featured-bg: linear-gradient(135deg, #ffd700 0%, #c9a400 100%);
  --badge-featured-text: #050505;

  --nav-bg: #1a1a1a;
  --hero-bg: linear-gradient(180deg, #050505 0%, #0f0f0f 50%, #0a0a0a 100%);
  --gradient-accent: linear-gradient(135deg, #ffd700 0%, #c9a400 100%);
  --gradient-brand: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 100%);
}

/* ================================================
   MONSOON THEME - DARK MODE
   ================================================ */
[data-theme="monsoon"][data-mode="dark"] {
  --bg-page: #071318;
  --bg-section: #0c1e26;
  --bg-section-alt: #102830;
  --bg-card: #143238;
  --bg-card-hover: #1a3d45;
  --bg-card-alt: #163840;

  --text-primary: #e8f4f8;
  --text-secondary: rgba(232, 244, 248, 0.8);
  --text-muted: rgba(232, 244, 248, 0.5);

  --heading-primary: #e8f4f8;
  --heading-accent: #4dd0e1;
  --heading-highlight: #00bcd4;

  --brand-primary: #0097a7;
  --brand-primary-hover: #00838f;
  --brand-primary-soft: rgba(0, 151, 167, 0.2);
  --brand-secondary: #006064;

  --accent-gold: #4dd0e1;
  --accent-gold-soft: rgba(77, 208, 225, 0.2);
  --accent-warm: #26c6da;
  --accent-warm-soft: rgba(38, 198, 218, 0.15);

  --link-default: #4dd0e1;
  --link-hover: #80deea;

  --border-subtle: rgba(77, 208, 225, 0.1);
  --border-default: rgba(77, 208, 225, 0.15);
  --border-accent: #4dd0e1;

  --shadow-glow: 0 0 25px rgba(0, 188, 212, 0.25);

  --btn-primary-bg: linear-gradient(135deg, #0097a7 0%, #00838f 100%);
  --btn-primary-bg-solid: #0097a7;
  --btn-secondary-text: #4dd0e1;
  --btn-secondary-border: #4dd0e1;

  --btn-cta-bg: linear-gradient(135deg, #26c6da 0%, #00bcd4 100%);
  --btn-cta-text: #071318;

  --badge-featured-bg: linear-gradient(135deg, #4dd0e1 0%, #26c6da 100%);
  --badge-featured-text: #071318;

  --nav-bg: #006064;
  --hero-bg: linear-gradient(180deg, #071318 0%, #102830 50%, #0c1e26 100%);
  --gradient-accent: linear-gradient(135deg, #4dd0e1 0%, #00bcd4 100%);
  --gradient-brand: linear-gradient(135deg, #0097a7 0%, #006064 100%);
}

[data-theme="monsoon"][data-mode="light"] {
  --bg-page: #f0f9fa;
  --bg-section: #ffffff;
  --bg-section-alt: #e0f7fa;
  --bg-card: #ffffff;

  --text-primary: #004d54;
  --heading-accent: #00838f;
  --heading-highlight: #0097a7;

  --link-default: #00838f;
  --link-hover: #006064;

  --hero-bg: linear-gradient(180deg, #f0f9fa 0%, #e0f7fa 50%, #ffffff 100%);
}

/* ================================================
   MINIMAL LIGHT THEME
   ================================================ */
[data-theme="minimal"][data-mode="light"] {
  --bg-page: #ffffff;
  --bg-section: #ffffff;
  --bg-section-alt: #f8f9fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fa;
  --bg-card-alt: #f5f5f5;

  --text-primary: #212529;
  --text-secondary: #495057;
  --text-muted: #6c757d;

  --heading-primary: #212529;
  --heading-accent: #495057;
  --heading-highlight: #343a40;

  --brand-primary: #c82333;
  --brand-primary-hover: #a71d2a;
  --brand-primary-soft: rgba(200, 35, 51, 0.08);
  --brand-secondary: #6c757d;

  --accent-gold: #6c757d;
  --accent-gold-soft: rgba(108, 117, 125, 0.1);
  --accent-warm: #495057;

  --link-default: #c82333;
  --link-hover: #a71d2a;

  --border-subtle: #f0f0f0;
  --border-default: #e9ecef;
  --border-strong: #dee2e6;
  --border-accent: #c82333;

  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-glow: none;

  --btn-primary-bg: #c82333;
  --btn-primary-bg-solid: #c82333;
  --btn-secondary-text: #495057;
  --btn-secondary-border: #dee2e6;

  --btn-cta-bg: #c82333;
  --btn-cta-text: #ffffff;

  --badge-featured-bg: #6c757d;
  --badge-featured-text: #ffffff;

  --nav-bg: #f8f9fa;
  --nav-text: #212529;
  --hero-bg: #ffffff;
  --gradient-accent: #6c757d;
  --gradient-brand: #c82333;
}

[data-theme="minimal"][data-mode="dark"] {
  --bg-page: #121212;
  --bg-section: #1e1e1e;
  --bg-section-alt: #2d2d2d;
  --bg-card: #1e1e1e;
  --bg-card-hover: #2d2d2d;

  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-muted: #707070;

  --heading-primary: #e0e0e0;
  --heading-accent: #a0a0a0;

  --link-default: #90caf9;
  --link-hover: #64b5f6;

  --border-subtle: #2d2d2d;
  --border-default: #3d3d3d;

  --nav-bg: #1e1e1e;
  --nav-text: #e0e0e0;
  --hero-bg: linear-gradient(180deg, #121212 0%, #1e1e1e 100%);
}
