/*
Theme Name: NSM Idol Live Theme
Theme URI: https://ngoisaomedia.com
Author: NSM Development Team
Author URI: https://ngoisaomedia.com
Description: Theme chuyên nghiệp cho hệ thống quản lý Idol Live TikTok với phong cách Neon - Holographic - Gradient động. Thiết kế hiện đại, năng lượng cao, tối ưu cho trải nghiệm idol và người dùng.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: nsm-idol-live
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, blog, entertainment, portfolio

NSM Idol Live Theme, Copyright 2025 NSM Development Team
NSM Idol Live Theme is distributed under the terms of the GNU GPL
*/

/**
 * Table of Contents:
 * 
 * 1.0 - CSS Variables & Design System
 * 2.0 - Reset & Base Styles
 * 3.0 - Typography
 * 4.0 - Layout & Grid
 * 5.0 - Components
 * 6.0 - Animations & Effects
 * 7.0 - Responsive Design
 * 8.0 - Dark Mode
 */

/* ==========================================================================
   1.0 - CSS Variables & Design System
   ========================================================================== */

:root {
  /* Primary Neon Colors */
  --neon-pink: #FF2FD4;
  --neon-aqua: #00FFFF;
  --neon-purple: #B026FF;
  --neon-yellow: #FFD600;
  --neon-green: #39FF14;
  
  /* Background Colors */
  --bg-dark: #0B0014;
  --bg-dark-secondary: #1A0B2E;
  --bg-dark-tertiary: #2D1B4E;
  --bg-gradient: linear-gradient(135deg, #0B0014 0%, #1A0B2E 50%, #2D1B4E 100%);
  --bg-overlay: rgba(11, 0, 20, 0.85);
  
  /* Text Colors - High Contrast */
  --text-primary: #FFFFFF;
  --text-secondary: #E0E0E0;
  --text-muted: #B0B0B0; /* Lightened for better readability */
  --text-neon: var(--neon-pink);
  
  /* Gradient Combinations */
  --gradient-primary: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--neon-aqua) 0%, var(--neon-purple) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255, 47, 212, 0.3) 0%, rgba(176, 38, 255, 0.3) 100%);
  
  /* Shadows & Glows */
  --glow-pink: 0 0 20px rgba(255, 47, 212, 0.6), 0 0 40px rgba(255, 47, 212, 0.4);
  --glow-aqua: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.4);
  --glow-purple: 0 0 20px rgba(176, 38, 255, 0.6), 0 0 40px rgba(176, 38, 255, 0.4);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-text: 2px 2px 4px rgba(0, 0, 0, 0.8);

  /* RGBA variants for existing colors */
  --neon-pink-rgba-05: rgba(255, 47, 212, 0.05);
  --neon-pink-rgba-10: rgba(255, 47, 212, 0.1);
  --neon-pink-rgba-20: rgba(255, 47, 212, 0.2);
  --neon-pink-rgba-30: rgba(255, 47, 212, 0.3);
  --neon-pink-rgba-50: rgba(255, 47, 212, 0.5);
  --neon-pink-rgba-60: rgba(255, 47, 212, 0.6);
  --neon-pink-rgba-90: rgba(255, 47, 212, 0.9);
  --neon-aqua-rgba-08: rgba(0, 255, 255, 0.08);
  --neon-aqua-rgba-10: rgba(0, 255, 255, 0.1);
  --neon-aqua-rgba-20: rgba(0, 255, 255, 0.2);
  --neon-red: #FF3B30;
  --neon-red-rgba-0: rgba(255, 59, 48, 0);
  --neon-red-rgba-10: rgba(255, 59, 48, 0.1);
  --neon-red-rgba-15: rgba(255, 59, 48, 0.15);
  --neon-red-rgba-20: rgba(255, 59, 48, 0.2);
  --neon-red-rgba-30: rgba(255, 59, 48, 0.3);
  --neon-red-rgba-40: rgba(255, 59, 48, 0.4);
  --neon-red-rgba-50: rgba(255, 59, 48, 0.5);
  --neon-red-rgba-60: rgba(255, 59, 48, 0.6);
  --neon-red-rgba-70: rgba(255, 59, 48, 0.7);
  --neon-red-rgba-80: rgba(255, 59, 48, 0.8);
  --neon-red-rgba-100: rgba(255, 59, 48, 1);
  --neon-magenta: #FF006E;
  --text-primary-rgba-02: rgba(255, 255, 255, 0.02);
  --text-primary-rgba-03: rgba(255, 255, 255, 0.03);
  --text-primary-rgba-05: rgba(255, 255, 255, 0.05);
  --text-primary-rgba-08: rgba(255, 255, 255, 0.08);
  --text-primary-rgba-10: rgba(255, 255, 255, 0.1);
  --text-primary-rgba-20: rgba(255, 255, 255, 0.2);
  --text-primary-rgba-30: rgba(255, 255, 255, 0.3);
  --text-primary-rgba-40: rgba(255, 255, 255, 0.4);
  --text-primary-rgba-80: rgba(255, 255, 255, 0.8);
  --text-muted-rgba-10: rgba(160, 160, 160, 0.1);
  --text-muted-rgba-15: rgba(160, 160, 160, 0.15);
  --text-muted-rgba-20: rgba(160, 160, 160, 0.2);
  --text-muted-rgba-30: rgba(160, 160, 160, 0.3);
  --bg-dark-rgba-60: rgba(11, 0, 20, 0.6);
  --bg-dark-rgba-80: rgba(11, 0, 20, 0.8);
  --bg-dark-rgba-95: rgba(11, 0, 20, 0.95);
  --bg-dark-rgba-98: rgba(11, 0, 20, 0.98);
  --bg-dark-tertiary-rgba-50: rgba(45, 27, 78, 0.5);
  --bg-dark-tertiary-rgba-80: rgba(45, 27, 78, 0.8);
  --neon-green-rgba-15: rgba(57, 255, 20, 0.15);
  --neon-green-rgba-30: rgba(57, 255, 20, 0.3);
  --neon-yellow-rgba-15: rgba(255, 214, 0, 0.15);
  --neon-yellow-rgba-30: rgba(255, 214, 0, 0.3);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================================================
   2.0 - Reset & Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ==========================================================================
   3.0 - Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--neon-aqua);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

/* Neon Text Effect */
.neon-text {
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
  animation: neon-flicker 3s infinite alternate;
}

.neon-text-aqua {
  color: var(--neon-aqua);
  text-shadow: var(--glow-aqua);
}

/* ==========================================================================
   4.0 - Layout & Grid
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

/* ==========================================================================
   5.0 - Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--glow-pink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 47, 212, 0.8), 0 0 60px rgba(255, 47, 212, 0.5);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--text-primary);
  box-shadow: var(--glow-aqua);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.5);
}

/* Cards */
.card {
  background: rgba(26, 11, 46, 0.8);
  border: 1px solid rgba(255, 47, 212, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink), var(--shadow-card);
}

/* ==========================================================================
   6.0 - Animations & Effects
   ========================================================================== */

@keyframes neon-flicker {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 47, 212, 0.8),
                 0 0 20px rgba(255, 47, 212, 0.6),
                 0 0 30px rgba(255, 47, 212, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 47, 212, 1),
                 0 0 40px rgba(255, 47, 212, 0.8),
                 0 0 60px rgba(255, 47, 212, 0.6);
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ==========================================================================
   7.0 - Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* ==========================================================================
   8.0 - Dark Mode (Always Active)
   ========================================================================== */

/* Theme is designed for dark mode by default */
