/**
 * NSM Idol Live Theme - Main Stylesheet
 * 
 * Obsidian Slate Luxury & Modern Creator Studio
 * Clean, High Contrast, Anti-Overlapping Architecture
 * 
 * @package NSM_Idol_Live_Theme
 * @version 6.2.0
 */

/* ==========================================================================
   1.0 - HEADER & NAVBAR
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height, 72px);
  z-index: var(--z-fixed, 1030);
  background: rgba(7, 9, 14, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-wrapper {
  height: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Offset for main site content */
.site-content,
main.site-main {
  padding-top: var(--header-height, 72px);
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-branding a {
  display: flex;
  align-items: center;
}

.custom-logo,
.site-branding img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.site-branding a:hover img {
  transform: scale(1.03);
}

.site-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Navigation Menu */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-menu > li > a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: #ffffff;
  background: rgba(255, 0, 80, 0.12);
  border: 1px solid rgba(255, 0, 80, 0.28);
  font-weight: 600;
}

/* Header Actions / CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-cta .cta-button {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  gap: 7px;
  border-radius: 50px;
}

.header-cta .cta-text-short {
  display: none;
}

@media (max-width: 1200px) {
  .header-cta .cta-text-full { display: none; }
  .header-cta .cta-text-short { display: inline; }
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  z-index: 1040;
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: fixed;
    top: var(--header-height, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-navigation.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    width: 100%;
  }

  .nav-menu > li > a {
    padding: 0.85rem 1.15rem;
    font-size: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: space-between;
  }
}

/* ==========================================================================
   2.0 - HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: calc(88vh - var(--header-height, 72px));
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, rgba(255, 0, 80, 0.1) 0%, rgba(56, 189, 248, 0.05) 35%, transparent 65%);
}

.hero-layout-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-col-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  width: 100%;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-lbl {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hero Visual Card */
.hero-col-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  position: relative;
}

.hero-visual-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.hero-img-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-visual-card:hover .hero-img-element {
  transform: scale(1.04);
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  pointer-events: none;
}

.visual-badge-top,
.visual-badge-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  align-self: flex-start;
}

.visual-badge-bottom {
  align-self: flex-start;
  color: var(--brand-gold);
  border-color: rgba(245, 158, 11, 0.3);
}

@media (max-width: 992px) {
  .hero-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-col-content {
    align-items: center;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats-bar {
    justify-content: center;
  }
}

/* ==========================================================================
   3.0 - SERVICES SECTION
   ========================================================================== */

.services-section {
  background-color: var(--bg-dark-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-unified-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.service-unified-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-unified-card:hover {
  transform: translateY(-5px);
  border-color: var(--bg-dark-border-hover);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}

.service-unified-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #000;
}

.service-unified-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-unified-card:hover .service-unified-thumb img {
  transform: scale(1.06);
}

.service-unified-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 0, 80, 0.12);
  border: 1px solid rgba(255, 0, 80, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.service-icon-box i,
.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-unified-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.service-unified-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-unified-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-primary);
  transition: gap var(--transition-fast);
}

.service-unified-card:hover .service-unified-link {
  gap: 10px;
  color: #ffffff;
}

/* ==========================================================================
   4.0 - REWARDS SECTION
   ========================================================================== */

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.reward-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.reward-card.featured {
  border-color: var(--brand-primary);
  background: linear-gradient(180deg, rgba(255, 0, 80, 0.08) 0%, var(--bg-dark-card) 60%);
  box-shadow: 0 15px 40px -10px rgba(255, 0, 80, 0.25);
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(255, 0, 80, 0.4);
}

.reward-card:hover {
  transform: translateY(-5px);
}

.reward-card.featured:hover {
  transform: scale(1.02) translateY(-5px);
}

/* ==========================================================================
   5.0 - REGISTRATION MASTER CARD
   ========================================================================== */

.registration-master-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  max-width: 820px;
  margin: 0 auto;
}

.form-audition-header {
  margin-bottom: 2rem;
}

.form-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 0, 80, 0.1);
  border: 1px solid rgba(255, 0, 80, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff3b69;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.form-trust-pills {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.form-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-trust-pills i,
.form-trust-pills svg {
  color: var(--brand-emerald);
  width: 16px;
  height: 16px;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-field-group {
  display: flex;
  flex-direction: column;
}

.form-field-group.full-width {
  margin-bottom: 1.5rem;
}

.form-field-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-field-group input,
.form-field-group select,
.form-field-group textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-dark-input);
  border: 1.5px solid #334155;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field-group input:focus,
.form-field-group select:focus,
.form-field-group textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(255, 0, 80, 0.2);
}

.form-field-group input::placeholder,
.form-field-group textarea::placeholder {
  color: #64748b;
}

.form-action-box .btn {
  width: 100%;
  padding: 14px 28px;
  font-size: 1.1rem;
}

.form-response {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-response.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-response.error {
  display: block;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
}

/* ==========================================================================
   6.0 - FOOTER
   ========================================================================== */

.site-footer.mega-footer {
  background: #05070a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
}

.footer-master-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-master-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-master-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4,
.footer-col .footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact-item i,
.footer-contact-item svg {
  color: var(--brand-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.social-links-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link-item:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ==========================================================================
   10.0 - NSMEDIA ECOSYSTEM SWITCHER BAR & NEW HUB SECTIONS
   ========================================================================== */

/* 1. Top Ecosystem Switcher Bar */
.nsm-ecosystem-bar {
  background: rgba(6, 9, 15, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  position: relative;
  z-index: 1002;
  padding: 6px 0;
  backdrop-filter: blur(14px);
}
.nsm-ecosystem-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nsm-ecosystem-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #facc15;
  white-space: nowrap;
  font-size: 11px;
}
.nsm-pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: nsmPulse 2s infinite;
}
@keyframes nsmPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.nsm-ecosystem-links {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nsm-ecosystem-links::-webkit-scrollbar {
  display: none;
}
.nsm-eco-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 11px;
}
.nsm-eco-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}
.eco-pill-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}
.eco-pill-tag.tag-admin { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.eco-pill-tag.tag-ctv { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.eco-pill-tag.tag-idol { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.eco-pill-tag.tag-academy { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.eco-pill-tag.tag-stars { background: rgba(234, 179, 8, 0.2); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.eco-pill-name {
  font-weight: 600;
}
.nsm-ecosystem-auth {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.nsm-user-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}
.nsm-user-dot {
  width: 6px;
  height: 6px;
  background: #38bdf8;
  border-radius: 50%;
}
.nsm-user-name {
  color: #f1f5f9;
  font-weight: 600;
}
.nsm-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nsm-auth-login {
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.25), rgba(118, 214, 30, 0.25));
  border: 1px solid rgba(255, 0, 80, 0.4);
  color: #f8fafc;
}
.nsm-auth-login:hover {
  border-color: #76d61e;
  color: #76d61e;
}
.nsm-auth-dash {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}
.nsm-auth-logout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* 2. Interactive Calculator Section */
.calculator-section {
  background: #090d16;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.calculator-card-wrapper {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.calc-slider-group {
  margin-bottom: 1.8rem;
}
.calc-slider-group:last-child {
  margin-bottom: 0;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.slider-header label {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.slider-header label i {
  color: #facc15;
  width: 16px;
  height: 16px;
}
.slider-val {
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.calc-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff0050, #76d61e);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.6);
  border: 2px solid #ffffff;
  transition: transform 0.1s;
}
.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}

/* Result Column */
.calc-result-box {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.calc-diamond-total {
  text-align: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.2rem;
}
.calc-res-label {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}
.calc-diamond-num {
  font-size: 28px;
  font-weight: 800;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.calc-diamond-num .gem-icon {
  width: 26px;
  height: 26px;
  color: #38bdf8;
}
.calc-diamond-num .unit {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}
.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.4rem;
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #cbd5e1;
}
.bonus-highlight {
  color: #4ade80;
}
.badge-free {
  font-size: 10px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.calc-total-payout {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 0, 80, 0.3);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.total-label {
  font-size: 11px;
  font-weight: 700;
  color: #f43f5e;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 4px;
}
.total-amount-box {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.total-vnd {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 0, 80, 0.5);
}
.total-currency {
  font-size: 14px;
  color: #facc15;
  font-weight: 700;
}
.calc-cta-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-policy-link {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: color 0.2s;
}
.calc-policy-link:hover {
  color: #facc15;
}

/* 3. Knowledge Hub Section */
.knowledge-hub-section {
  background: #07090e;
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.knowledge-card {
  background: rgba(18, 24, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}
.knowledge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.knowledge-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.knowledge-card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.knowledge-cat-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.25);
  padding: 2px 8px;
  border-radius: 12px;
}
.knowledge-date {
  font-size: 11px;
  color: #64748b;
}
.knowledge-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.knowledge-card-title a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.2s;
}
.knowledge-card-title a:hover {
  color: #38bdf8;
}
.knowledge-card-excerpt {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}
.knowledge-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.8rem;
}
.knowledge-read-btn {
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.knowledge-read-btn:hover {
  gap: 8px;
  color: #7dd3fc;
}
.knowledge-read-btn i {
  width: 14px;
  height: 14px;
}

/* 4. Subdomain Ecosystem Bento Section */
.ecosystem-bento-section {
  background: #090d16;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ecosystem-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.bento-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}
.bento-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.bento-badge-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.bento-icon i {
  width: 22px;
  height: 22px;
}
.bento-admin .bento-icon { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.bento-ctv .bento-icon   { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.bento-idol .bento-icon  { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.bento-academy .bento-icon { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.bento-stars .bento-icon { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }

.bento-title {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 2px;
}
.bento-domain {
  font-family: monospace;
  font-size: 12px;
  color: #76d61e;
  margin-bottom: 0.8rem;
}
.bento-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}
.bento-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
}
.bento-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bento-features li i {
  width: 14px;
  height: 14px;
  color: #22c55e;
}
.bento-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.bento-cta-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38bdf8;
  color: #38bdf8;
}
.bento-cta-btn i {
  width: 14px;
  height: 14px;
}

/* Fix Mobile Nav Toggle & Overlay */
@media (max-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
  }
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 1005;
  }
  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .main-navigation {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    overflow-y: auto;
    display: none !important;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-navigation.active {
    display: flex !important;
    flex-direction: column;
  }
  .header-cta .cta-text-full {
    display: none;
  }
  .header-cta .cta-text-short {
    display: inline;
  }
}
