/*
Theme Name: NSM Idol Live Theme
Theme URI: https://ngoisaomedia.biz.vn
Author: NSM Development Team
Author URI: https://ngoisaomedia.biz.vn
Description: Giao diện chuyên nghiệp, sang trọng chuẩn Quốc tế cho Hệ sinh thái Quản lý & Đào tạo Idol Live TikTok NSMEDIA. Phong cách Obsidian Slate Luxury & Modern Creator Studio.
Version: 6.2.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: nsm-idol-live
*/

/* ==========================================================================
   1.0 - DESIGN SYSTEM TOKENS (Obsidian Slate Luxury)
   ========================================================================== */

:root {
  /* Brand Core Colors - High Energy TikTok Crimson & Electric Cyan */
  --brand-primary: #ff0050;
  --brand-primary-hover: #e00045;
  --brand-primary-glow: rgba(255, 0, 80, 0.3);
  --brand-secondary: #00f2fe;
  --brand-accent: #38bdf8;
  --brand-gold: #f59e0b;
  --brand-emerald: #10b981;
  --brand-purple: #8b5cf6;

  /* Background Hierarchy - Deep Rich Obsidian & Slate */
  --bg-dark: #07090e;
  --bg-dark-secondary: #0f172a;
  --bg-dark-card: #131f37;
  --bg-dark-card-hover: #1a2948;
  --bg-dark-elevated: #1e293b;
  --bg-dark-input: #0a0f1d;
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  --bg-dark-border-hover: rgba(255, 0, 80, 0.4);
  --bg-overlay: rgba(7, 9, 14, 0.85);

  /* Text & Typography - High Contrast, Razor-Sharp */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-accent: #38bdf8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff0050 0%, #ff2b6d 50%, #f43f5e 100%);
  --gradient-secondary: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 35px -5px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-button: 0 4px 14px rgba(255, 0, 80, 0.35);
  --shadow-button-hover: 0 8px 24px rgba(255, 0, 80, 0.5);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4.5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Layout */
  --header-height: 72px;
  --container-max: 1240px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 9999;
  --z-modal: 10000;

  /* Aliases */
  --neon-pink: var(--brand-primary);
  --neon-aqua: var(--brand-accent);
  --neon-purple: var(--brand-purple);
  --neon-yellow: var(--brand-gold);
  --neon-green: var(--brand-emerald);
}

/* ==========================================================================
   2.0 - RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  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, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

a:hover {
  color: #ffffff;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   3.0 - TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

h4 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.neon-text {
  color: #ffffff;
  font-weight: 800;
}

.neon-text-aqua {
  color: var(--brand-accent);
  font-weight: 700;
}

/* ==========================================================================
   4.0 - CONTAINER & LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

.section-padding {
  padding: var(--spacing-2xl) 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--spacing-xl) 0;
  }
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   5.0 - PROPORTIONAL & HARMONIOUS BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  min-height: 42px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}

.btn svg,
.btn i {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke-width: 2.2;
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-button), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 0, 80, 0.3);
}

/* Secondary / Glass Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #ffffff !important;
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Outline Button */
.btn-outline {
  background: rgba(255, 0, 80, 0.04);
  border: 1.5px solid rgba(255, 0, 80, 0.45);
  color: #ff3b69 !important;
}

.btn-outline:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Button Sizing Variations */
.btn-lg {
  padding: 14px 32px;
  min-height: 48px;
  font-size: 15.5px;
}

.btn-lg svg,
.btn-lg i {
  width: 19px;
  height: 19px;
}

.btn-sm {
  padding: 7px 18px;
  min-height: 34px;
  font-size: 13px;
}

.btn-sm svg,
.btn-sm i {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   6.0 - CARDS & SURFACES
   ========================================================================== */

.card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--bg-dark-card-hover);
  border-color: var(--bg-dark-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   7.0 - LIVE BADGE & PILL UTILITIES
   ========================================================================== */

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 0, 80, 0.1);
  border: 1px solid rgba(255, 0, 80, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff3b69;
  margin-bottom: var(--spacing-sm);
}

.live-dot, .live-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 0, 80, 0.8);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 3.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  .btn-login-portal .cta-text-full {
    display: none;
  }
  .btn-login-portal .cta-text-short {
    display: inline;
  }
}

@media (min-width: 769px) {
  .btn-login-portal .cta-text-short {
    display: none;
  }
}

/* ==========================================================================
   8.0 - LOGIN PORTAL BUTTON & OBSIDIAN GLASS LUXURY
   ========================================================================== */

.btn-login-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: var(--radius-full);
  color: #facc15 !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-login-portal:hover {
  background: rgba(250, 204, 21, 0.18);
  border-color: #facc15;
  color: #fef08a !important;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.35);
  transform: translateY(-1px);
}

.btn-login-portal i {
  color: #facc15;
}

/* Navigation enhancement */
.site-header {
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-menu a {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.01em;
}

