/* PRINCE Master Ultra-High-Contrast Gold & Obsidian Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary-gold: #FFD54A;
  --bright-gold: #FFF2A6;
  --orange-gold: #F5A623;
  --deep-orange: #C87500;
  --cream-white: #FFF8E7;
  --matte-black: #050505;
  --charcoal-black: #0B0B0B;
  --card-bg-solid: #0E0E0E;
  
  --primary-cyan: var(--primary-gold);
  --secondary-purple: var(--orange-gold);
  --dark-bg: var(--matte-black);
  --card-bg: var(--charcoal-black);

  --cf-bg: var(--dark-bg);
  --cf-bg-surface: var(--charcoal-black);
  --cf-bg-card: var(--charcoal-black);
  --cf-bg-card-hover: var(--card-bg-solid);
  --cf-border: rgba(245, 166, 35, 0.25);
  --cf-border-glow: rgba(255, 213, 74, 0.35);
  
  --cf-gold-main: #FFD54A;
  --cf-gold-bright: #FFF2A6;
  --cf-gold-orange: #F5A623;
  --cf-gold-deep: #C87500;
  --cf-text-cream: #FFF8E7;
  --cf-text-warm-gray: #D8D1C4;
  --cf-text-dim-gold: #B9B0A0;

  --cf-neon-cyan: var(--primary-gold);
  --cf-neon-blue: var(--orange-gold);
  --cf-neon-purple: var(--orange-gold);
  --cf-neon-violet: var(--deep-orange);
  --cf-neon-green: #00E676;
  --cf-neon-pink: #FF6B6B;
  --cf-neon-orange: var(--orange-gold);

  --cf-gradient-gold: linear-gradient(135deg, #FFF2A6 0%, #FFD54A 50%, #F5A623 100%);
  --cf-gradient-orange: linear-gradient(135deg, #FFD54A 0%, #F5A623 50%, #C87500 100%);
  --cf-gradient-cyan: var(--cf-gradient-gold);
  --cf-gradient-purple: var(--cf-gradient-orange);
  --cf-gradient-fire: linear-gradient(135deg, #FFD54A 0%, #F5A623 50%, #C87500 100%);
  --cf-gradient-emerald: linear-gradient(135deg, #FFF2A6 0%, #00E676 100%);

  --cf-text-main: #FFF8E7;
  --cf-text-muted: #D8D1C4;
  --cf-text-dim: #B9B0A0;

  --cf-shadow-card: 0 14px 40px -10px rgba(0, 0, 0, 0.95);
  --cf-shadow-neon: 0 0 25px rgba(245, 166, 35, 0.25);
  --cf-shadow-purple: 0 0 25px rgba(200, 117, 0, 0.25);
  --cf-shadow-gold: 0 0 25px rgba(255, 213, 74, 0.35);

  --cf-radius-lg: 16px;
  --cf-radius-md: 10px;
  --cf-font-main: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --cf-font-code: 'JetBrains Mono', monospace;

  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

/* ========================================================
   UNIVERSAL RESPONSIVE ROOT SCALING ENGINE
   Guarantees proportional compactness across iPhone SE, Galaxy, iPad, Mac & PC
   ======================================================== */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

@media (max-width: 575.98px) {
  html {
    font-size: 14.5px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  html {
    font-size: 15.2px;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 16px;
  }
}

body {
  background-color: #050505;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(245, 166, 35, 0.07) 0px, transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(200, 117, 0, 0.05) 0px, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 213, 74, 0.03) 0px, transparent 75%);
  background-attachment: fixed;
  color: #FFF8E7 !important;
  font-family: var(--cf-font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.2px;
  width: 100%;
  max-width: 100vw;
}

main {
  flex: 1 0 auto;
}

/* HIGH-CONTRAST GLOBAL TEXT OVERRIDES */
p, span, div, h1, h2, h3, h4, h5, h6, label, li, td, th {
  color: #FFF8E7;
}

h1, h2, h3, h4, h5, h6 {
  color: #FFF8E7 !important;
}

.text-muted {
  color: #D8D1C4 !important;
  font-weight: 400;
}

.extra-small {
  font-size: 0.82rem;
  color: #B9B0A0 !important;
  font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1C1810 0%, #F5A623 100%);
  border-radius: 6px;
}

/* --- PAGE LOADER OVERLAY (LOD CSS) --- */
#cyber-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #050505;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease-out, visibility 0.45s ease-out;
}

#cyber-page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.cyber-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(245, 166, 35, 0.15);
  border-top-color: #FFD54A;
  border-right-color: #F5A623;
  border-bottom-color: #C87500;
  border-radius: 50%;
  animation: cyberSpin 0.75s linear infinite;
  filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.5));
}

.loader-brand {
  font-family: var(--cf-font-code);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFD54A !important;
}

.loader-bar-bg {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FFF2A6, #FFD54A, #F5A623);
  animation: cyberBar 1.2s ease-in-out infinite;
}

@keyframes cyberSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes cyberBar {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* Mouse Spotlight & Cursor */
#mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(700px circle at var(--mouse-x) var(--mouse-y), rgba(255, 213, 74, 0.05), rgba(245, 166, 35, 0.02) 45%, transparent 85%);
  transition: opacity 0.3s ease;
}

#cyber-cursor,
#cyber-cursor-dot {
  display: none !important;
}

/* Glass Card Component with Subtle Gold Highlight */
.glass-card {
  background: #0B0B0B !important;
  border: 1px solid rgba(245, 166, 35, 0.25) !important;
  border-radius: var(--cf-radius-lg);
  box-shadow: var(--cf-shadow-card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  color: #FFF8E7 !important;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD54A 50%, transparent);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card-hover:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.95), 0 0 25px rgba(245, 166, 35, 0.2);
  border-color: rgba(255, 213, 74, 0.5) !important;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Navigation Bar */
.navbar-custom {
  background: rgba(11, 11, 11, 0.95) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.25);
  padding: 1rem 0;
}

.site-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.navbar-brand-text {
  font-family: var(--cf-font-main);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.6px;
  background: linear-gradient(135deg, #FFF2A6 0%, #FFD54A 50%, #F5A623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.nav-item {
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
}

.nav-link-custom {
  color: #C8C0B2 !important;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: 8px;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 0.5rem;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.nav-link-custom i {
  font-size: 1.05rem;
  color: #9E9688;
  transition: color 0.2s ease;
  display: inline-block;
  line-height: 1;
}

.nav-link-custom:hover {
  color: #FFFFFF !important;
  background: rgba(255, 213, 74, 0.08);
  border-color: rgba(255, 213, 74, 0.25);
}

.nav-link-custom:hover i {
  color: #FFD54A !important;
}

.nav-link-custom.active {
  color: #FFD54A !important;
  background: rgba(255, 213, 74, 0.12);
  border: 1px solid rgba(255, 213, 74, 0.35);
  font-weight: 800;
  box-shadow: 0 0 16px rgba(255, 213, 74, 0.15);
}

.nav-link-custom.active i {
  color: #FFD54A !important;
}

/* Social Media Community Buttons */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.25);
  color: #FFF8E7 !important;
  font-size: 1.15rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: linear-gradient(135deg, #FFF2A6 0%, #FFD54A 50%, #F5A623 100%);
  color: #050505 !important;
  border-color: #FFD54A;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.45);
}

.social-icon-btn:hover i {
  color: #050505 !important;
}

.social-icon-btn.btn-discord:hover {
  background: #5865F2;
  border-color: #5865F2;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.5);
}

.social-icon-btn.btn-discord:hover i {
  color: #ffffff !important;
}

.social-icon-btn.btn-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #e6683c;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.5);
}

.social-icon-btn.btn-instagram:hover i {
  color: #ffffff !important;
}

/* ========================================================
   MASTER UNIFIED BUTTON SYSTEM (TOUCH-FRIENDLY & BALANCED)
   ======================================================== */
.btn-cf-primary, 
.btn-cf-outline, 
.btn-cf-purple {
  font-family: var(--cf-font-main);
  font-weight: 800;
  border-radius: var(--cf-radius-md);
  padding: 0.65rem 1.4rem;
  font-size: 0.96rem;
  line-height: 1.25;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.btn-cf-primary {
  background: linear-gradient(135deg, #FFF2A6 0%, #FFD54A 50%, #F5A623 100%);
  color: #050505 !important;
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.35);
}

.btn-cf-primary:hover {
  color: #050505 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(245, 166, 35, 0.65);
  filter: brightness(1.08);
}

.btn-cf-outline {
  background: #0B0B0B;
  color: #FFF8E7 !important;
  border: 1px solid rgba(245, 166, 35, 0.35) !important;
}

.btn-cf-outline:hover {
  background: rgba(255, 213, 74, 0.12) !important;
  border-color: rgba(255, 213, 74, 0.65) !important;
  color: #FFD54A !important;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.25);
  transform: translateY(-2px);
}

.btn-cf-purple {
  background: linear-gradient(135deg, #FFD54A 0%, #F5A623 50%, #C87500 100%);
  color: #050505 !important;
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(200, 117, 0, 0.35);
}

.btn-cf-purple:hover {
  color: #050505 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(200, 117, 0, 0.6);
  filter: brightness(1.08);
}

/* Compact / Standard Small Buttons (.btn-sm) */
.btn-cf-primary.btn-sm,
.btn-cf-outline.btn-sm,
.btn-cf-purple.btn-sm,
.btn.btn-sm {
  padding: 0.5rem 1.15rem !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  min-height: 40px !important;
  border-radius: 8px !important;
  line-height: 1.2;
}

/* Large Prominent CTA Buttons (.btn-lg) */
.btn-cf-primary.btn-lg,
.btn-cf-outline.btn-lg,
.btn-cf-purple.btn-lg,
.btn.btn-lg {
  padding: 0.85rem 1.75rem !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  min-height: 50px !important;
  border-radius: 12px !important;
  letter-spacing: 0.4px;
}

/* Fixed-dimension Icon Action Buttons (e.g. Card Cart, Copy, Mask) */
.card-icon-action-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
}

/* Form Controls & Seamless Input System */
.form-control-cf, .form-select-cf {
  background-color: #0E0E0E !important;
  border: 1px solid rgba(245, 166, 35, 0.3) !important;
  color: #FFF8E7 !important;
  border-radius: var(--cf-radius-md) !important;
  padding: 0.78rem 1.15rem !important;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--cf-font-main);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control-cf:focus, .form-select-cf:focus {
  background-color: #080808 !important;
  border-color: #FFD54A !important;
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.35) !important;
  color: #FFF8E7 !important;
  outline: none !important;
}

.form-control-cf::placeholder {
  color: #8E887D !important;
}

.form-label {
  color: #FFF8E7 !important;
  font-weight: 800 !important;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ========================================================
   SINGLE UNIFIED INPUT BOX WITH EMBEDDED ICON (ONE BOX)
   ======================================================== */
.input-field-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.input-field-wrapper .input-field-icon {
  position: absolute;
  top: 50%;
  left: 1.15rem;
  transform: translateY(-50%);
  color: #A39B8B;
  font-size: 1.15rem;
  pointer-events: none !important; /* Clicking the icon clicks directly into the single input box */
  z-index: 5;
  transition: color 0.25s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-field-wrapper .form-control-cf,
.input-field-wrapper input.form-control {
  width: 100% !important;
  background-color: #0E0E0E !important;
  border: 1px solid rgba(245, 166, 35, 0.3) !important;
  border-radius: var(--cf-radius-md) !important;
  color: #FFF8E7 !important;
  padding: 0.8rem 1.15rem 0.8rem 2.85rem !important; /* Embedded icon offset inside single box */
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--cf-font-main);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-field-wrapper .form-control-cf:focus,
.input-field-wrapper input.form-control:focus {
  background-color: #080808 !important;
  border-color: #FFD54A !important;
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.35) !important;
  color: #FFF8E7 !important;
  outline: none !important;
}

.input-field-wrapper:focus-within .input-field-icon {
  color: #FFD54A !important;
}

/* Seamless Integrated Input Groups (Unified single-box aesthetic) */
.input-group {
  position: relative;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100%;
  background-color: #0E0E0E !important;
  border: 1px solid rgba(245, 166, 35, 0.3) !important;
  border-radius: var(--cf-radius-md) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.input-group:focus-within {
  background-color: #080808 !important;
  border-color: #FFD54A !important;
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.35) !important;
}

.input-group > .input-group-text {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #B9B0A0 !important;
  padding: 0.75rem 0.6rem 0.75rem 1.15rem !important;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
  z-index: 1;
}

.input-group:focus-within > .input-group-text {
  color: #FFD54A !important;
}

.input-group > .form-control,
.input-group > .form-control-cf {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #FFF8E7 !important;
  padding: 0.75rem 1.15rem 0.75rem 0.5rem !important;
  font-size: 0.98rem;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.input-group > .form-control:first-child,
.input-group > .form-control-cf:first-child {
  padding-left: 1.15rem !important;
}

.input-group > .form-control:focus,
.input-group > .form-control-cf:focus {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.input-group > .btn,
.input-group > .btn-cf-primary,
.input-group > .btn-cf-outline {
  border-radius: 0 !important;
  border: none !important;
  border-left: 1px solid rgba(245, 166, 35, 0.3) !important;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.input-group > .btn-cf-primary:hover {
  transform: none !important;
  box-shadow: none !important;
  filter: brightness(1.15);
}

.input-group.input-group-sm {
  border-radius: 8px !important;
}

.input-group.input-group-sm > .input-group-text {
  padding: 0.45rem 0.5rem 0.45rem 0.85rem !important;
  font-size: 0.95rem;
}

.input-group.input-group-sm > .form-control,
.input-group.input-group-sm > .form-control-cf {
  padding: 0.45rem 0.85rem 0.45rem 0.5rem !important;
  font-size: 0.88rem;
}

.input-group.input-group-sm > .form-control:first-child,
.input-group.input-group-sm > .form-control-cf:first-child {
  padding-left: 0.85rem !important;
}

.input-group.input-group-sm > .btn {
  padding: 0.45rem 0.95rem !important;
  font-size: 0.82rem !important;
}

/* Badges */
.badge-cf {
  background: rgba(255, 213, 74, 0.15);
  color: #FFD54A !important;
  border: 1px solid rgba(255, 213, 74, 0.4);
  font-weight: 800;
  padding: 0.45em 0.9em;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.badge-purple {
  background: rgba(245, 166, 35, 0.15);
  color: #F5A623 !important;
  border: 1px solid rgba(245, 166, 35, 0.4);
  font-weight: 800;
  padding: 0.45em 0.9em;
  border-radius: 20px;
  font-size: 0.8rem;
}

.badge-success-cf {
  background: rgba(0, 230, 118, 0.15);
  color: #00E676 !important;
  border: 1px solid rgba(0, 230, 118, 0.35);
  font-weight: 800;
}

.badge-green-solid {
  background: #198754 !important;
  color: #FFFFFF !important;
  border: 1px solid #20c997 !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(25, 135, 84, 0.4);
}

.badge-green-solid * {
  color: #FFFFFF !important;
}

.badge-warning-cf {
  background: rgba(200, 117, 0, 0.2);
  color: #FFD54A !important;
  border: 1px solid rgba(245, 166, 35, 0.4);
  font-weight: 800;
}

.badge-danger-cf {
  background: rgba(255, 77, 77, 0.18);
  color: #FF6B6B !important;
  border: 1px solid rgba(255, 77, 77, 0.4);
  font-weight: 800;
}

/* Text Gradients & Monospace */
.text-gradient {
  background: linear-gradient(135deg, #FFF2A6 0%, #FFD54A 50%, #F5A623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #FFD54A 0%, #F5A623 50%, #C87500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.font-monospace {
  font-family: var(--cf-font-code) !important;
}

/* License Box with Masking Support */
.license-box {
  background: #050505;
  border: 1px dashed rgba(255, 213, 74, 0.6);
  color: #FFD54A !important;
  font-family: var(--cf-font-code);
  font-size: clamp(0.82rem, 2.4vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.65rem 0.95rem;
  border-radius: var(--cf-radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.license-box span {
  word-break: break-all;
  overflow-wrap: anywhere;
  min-width: 0;
}

.star-masked {
  font-family: var(--cf-font-code);
  letter-spacing: 1px;
  color: #D8D1C4 !important;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Hero Section */
.hero-header {
  padding: 6.5rem 0 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.8rem) !important;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  color: #FFF8E7 !important;
}

.hero-subtitle {
  font-size: clamp(0.94rem, 1.6vw, 1.15rem) !important;
  line-height: 1.6;
  color: #D8D1C4 !important;
}

/* Footer */
footer {
  background: #030303;
  border-top: 1px solid rgba(245, 166, 35, 0.2);
  padding: 3.8rem 0 2rem 0;
  color: #D8D1C4 !important;
  font-size: 0.98rem;
  margin-top: auto;
}

/* Modals & Dialogs (Gold & Obsidian Theme) */
.modal-content,
.modal-content-cf {
  background-color: #0B0B0B !important;
  background: linear-gradient(145deg, #0D0D0D 0%, #060606 100%) !important;
  border: 1px solid rgba(245, 166, 35, 0.35) !important;
  color: #FFF8E7 !important;
  border-radius: var(--cf-radius-lg) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(245, 166, 35, 0.22) !important;
}

.modal-header,
.modal-header-cf {
  background: #0E0E0E !important;
  border-bottom: 1px solid rgba(245, 166, 35, 0.25) !important;
  border-top-left-radius: calc(var(--cf-radius-lg) - 1px) !important;
  border-top-right-radius: calc(var(--cf-radius-lg) - 1px) !important;
}

.modal-body {
  background: transparent !important;
  color: #FFF8E7 !important;
}

.modal-footer,
.modal-footer-cf {
  background: #0B0B0B !important;
  border-top: 1px solid rgba(245, 166, 35, 0.2) !important;
  border-bottom-left-radius: calc(var(--cf-radius-lg) - 1px) !important;
  border-bottom-right-radius: calc(var(--cf-radius-lg) - 1px) !important;
}

@media (min-width: 992px) {
  .border-start-lg {
    border-left: 1px solid rgba(245, 166, 35, 0.25) !important;
  }
}

.modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
}

.modal .btn-close:hover {
  opacity: 1;
}


/* --- SHOPPING CART DRAWER (OFFCANVAS) --- */
.offcanvas-cart {
  background: #0B0B0B !important;
  background: linear-gradient(165deg, #0F0F0F 0%, #060606 100%) !important;
  border-left: 1px solid rgba(245, 166, 35, 0.3) !important;
  color: #FFF8E7 !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
  max-width: 420px;
}

.offcanvas-cart .offcanvas-header {
  border-bottom: 1px solid rgba(245, 166, 35, 0.25);
  padding: 1.25rem 1.5rem;
  background: #0E0E0E;
}

.offcanvas-cart .offcanvas-footer {
  border-top: 1px solid rgba(245, 166, 35, 0.25);
  padding: 1.25rem 1.5rem;
  background: #0E0E0E;
}

.cart-qty-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--cf-radius-sm);
  padding: 2px 4px;
}

.cart-qty-control button {
  border: none !important;
  background: transparent !important;
  font-weight: bold;
}

.cart-qty-control button:hover {
  color: #FFD54A !important;
}

.cart-count-badge {
  background: linear-gradient(135deg, #FFF2A6 0%, #FFD54A 50%, #F5A623 100%);
  color: #050505;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  position: absolute;
  top: -4px;
  right: -6px;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.6);
  line-height: 1;
}

.cart-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- TOP ANNOUNCEMENT BAR --- */
.site-announcement-bar {
  background: linear-gradient(90deg, #161005 0%, #241705 50%, #161005 100%);
  border-bottom: 1px solid rgba(245, 166, 35, 0.3);
  color: #FFFFFF !important;
  font-size: 0.88rem;
  position: relative;
  z-index: 1040;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.site-announcement-bar #announcement-badge,
.site-announcement-bar .badge,
.site-announcement-bar .badge-warning-cf {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  padding: 0.35em 0.75em;
  border-radius: 20px;
}

.site-announcement-bar .announcement-text,
.site-announcement-bar .announcement-text *,
.site-announcement-bar strong {
  color: #FFFFFF !important;
}

.site-announcement-bar #announcement-link,
.site-announcement-bar #announcement-link * {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}

.site-announcement-bar #announcement-link:hover {
  color: #FFD54A !important;
}

.site-announcement-bar button,
.site-announcement-bar .bi-x-lg {
  color: #FFFFFF !important;
  opacity: 0.85;
}

.site-announcement-bar button:hover {
  opacity: 1;
}

/* ========================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM (MOBILE, TABLET & PC)
   Tested across iPhone 16 Pro, iPad Pro, Samsung Galaxy, & Desktop
   ======================================================== */

/* Navbar Toggler Custom High-Contrast Styling */
.navbar-toggler {
  border: 1px solid rgba(245, 166, 35, 0.45) !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.75rem !important;
  background: rgba(255, 255, 255, 0.04) !important;
  transition: all 0.25s ease;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background: rgba(255, 213, 74, 0.12) !important;
  border-color: #FFD54A !important;
  box-shadow: 0 0 14px rgba(255, 213, 74, 0.35) !important;
  outline: none !important;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFD54A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 1.45em;
  height: 1.45em;
}

/* Mobile & Tablet Navigation Drawer (< 992px) */
@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 0.75rem 0 !important;
  }

  .navbar-brand-text {
    font-size: 1.35rem !important;
  }

  .site-logo-img {
    width: 32px !important;
    height: 32px !important;
  }

  .navbar-collapse {
    background: #0E0E0E !important;
    border: 1px solid rgba(245, 166, 35, 0.3) !important;
    border-radius: 14px !important;
    padding: 1.25rem !important;
    margin-top: 0.85rem !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(245, 166, 35, 0.15) !important;
    backdrop-filter: blur(20px);
  }

  .navbar-nav {
    margin: 0 0 1rem 0 !important;
    gap: 0.4rem;
  }

  .nav-link-custom {
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    border-radius: 10px !important;
    min-height: 44px;
  }

  .nav-link-custom i {
    font-size: 1.15rem;
    color: #FFD54A;
  }

  /* Social Icons + Cart Row on Mobile */
  .navbar-collapse .d-flex.align-items-center.gap-2 {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem !important;
    padding: 0.85rem 0 !important;
    margin: 0 0 0.85rem 0 !important;
    border-top: 1px solid rgba(245, 166, 35, 0.18);
    border-bottom: 1px solid rgba(245, 166, 35, 0.18);
  }

  .navbar-collapse .social-icon-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
  }

  #navbar-auth-container {
    width: 100% !important;
  }

  #navbar-auth-container .d-flex {
    width: 100% !important;
    display: flex !important;
    gap: 0.75rem !important;
  }

  #navbar-auth-container .btn {
    flex: 1 !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.95rem !important;
    min-height: 44px !important;
    text-align: center;
    justify-content: center;
  }
}

/* Announcement Bar Responsive */
@media (max-width: 767.98px) {
  .site-announcement-bar .container {
    padding: 0.5rem 0.75rem !important;
  }

  .site-announcement-bar .d-flex {
    gap: 0.35rem !important;
  }

  .site-announcement-bar #announcement-badge {
    font-size: 0.72rem !important;
    padding: 0.2em 0.55em !important;
  }

  .site-announcement-bar .announcement-text {
    font-size: 0.82rem !important;
    line-height: 1.35;
  }

  .site-announcement-bar #announcement-link {
    font-size: 0.82rem !important;
  }
}

/* Tablet Optimizations (iPad Pro, Galaxy Tabs: 768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-header {
    padding: 4.5rem 0 3.5rem 0 !important;
  }

  .hero-title {
    font-size: 2.8rem !important;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
  }

  .btn-cf-primary, .btn-cf-outline, .btn-cf-purple {
    min-height: 44px;
    font-size: 0.95rem;
  }
}

/* Mobile Optimizations (iPhone 16 Pro, Samsung Galaxy, Android: < 768px) */
@media (max-width: 767.98px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .hero-header {
    padding: 3rem 0 2rem 0 !important;
  }

  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.5;
  }

  /* Full-width responsive hero buttons */
  .hero-header .btn-lg {
    width: 100% !important;
    padding: 0.8rem 1.15rem !important;
    font-size: 0.95rem !important;
    min-height: 46px !important;
  }

  /* Standard Touch-Friendly Form Controls */
  .form-control-cf, .form-select-cf {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    min-height: 46px !important;
    padding: 0.7rem 0.95rem !important;
  }

  .input-field-wrapper .form-control-cf {
    padding-left: 2.75rem !important;
  }

  /* Standard Touch-friendly Buttons on Mobile */
  .btn-cf-primary, .btn-cf-outline, .btn-cf-purple {
    min-height: 44px;
    font-size: 0.92rem;
    padding: 0.6rem 1.1rem;
  }

  .w-100-mobile {
    width: 100% !important;
  }

  /* Footer Responsive */
  footer {
    padding: 2.5rem 0 1.5rem 0 !important;
    text-align: center;
  }
}



