/* ============================================================================
   AMENU // ARCHITECTURAL EDITORIAL DARK UI v7.0
   Inspired by jasacahyo.my.id: Obsidian Charcoal Grid, Instrument Serif Italic
   Gradient Accents, Pill Arrow Buttons, Blueprint Splash & Blur-to-Sharp Reveals
   ============================================================================ */

:root {
  color-scheme: dark;
  --bg-obsidian: #050506;
  --bg-charcoal: #0a0a0c;
  --bg-surface: rgba(13, 13, 16, 0.78);
  --bg-surface-strong: rgba(18, 18, 22, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --wa-green: #25d366;
}

* {
  box-sizing: border-box;
}

html {
  background-color: var(--bg-obsidian);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.014em;
}

h1, h2, h3, .font-black, .font-extrabold {
  font-weight: 600 !important;
  letter-spacing: -0.03em;
}

.font-bold {
  font-weight: 500 !important;
}

.font-mono-ui {
  font-family: 'Fira Code', 'JetBrains Mono', monospace;
  font-weight: 400;
  letter-spacing: 0.015em;
}

/* Signature Editorial Serif Italic Gradient Accent (jasacahyo.my.id style) */
.serif-accent {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 10%, #8e8e98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* Full-Viewport Interactive Swarm Canvas */
#swarmCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  transition: filter 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease;
}

/* Keep main content above Swarm Canvas with smooth dual-layer blur transition */
header, main, #adminView, footer, #scrollProgressBadge {
  position: relative;
  z-index: 10;
  transition: filter 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease;
}

/* =========================================================
   GUARANTEED DUAL-LAYER BLUR WHEN LOGIN / CHECKOUT IS OPEN
   ========================================================= */
body.auth-modal-open header,
body.auth-modal-open main,
body.auth-modal-open #adminView,
body.auth-modal-open footer,
body.auth-modal-open #scrollProgressBadge,
body.auth-modal-open #swarmCanvas {
  filter: blur(16px) brightness(0.4) !important;
  -webkit-filter: blur(16px) brightness(0.4) !important;
  transform: scale(0.985);
  pointer-events: none;
  user-select: none;
}

/* Architectural Large Square Grid + Soft Radial Spotlight */
.bg-coder-grid {
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(255, 255, 255, 0.065), transparent 65%),
    linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  background-position: top center, center top, center top;
}

/* Subtle metallic glow orb accent */
.metallic-orb {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 45%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}

/* =========================================================
   ARCHITECTURAL CHARCOAL CARDS (CURSOR-TRACKING SPOTLIGHT)
   ========================================================= */
.coder-card {
  position: relative;
  background: var(--bg-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  box-shadow: 0 20px 48px -22px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease, background-color 0.32s ease;
  overflow: hidden;
}

.coder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 255, 255, 0.065), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.coder-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 28px 58px -18px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.coder-card:hover::after {
  opacity: 1;
}

.coder-card-featured {
  background: linear-gradient(180deg, rgba(22, 22, 27, 0.88) 0%, rgba(12, 12, 15, 0.88) 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 60px -18px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Corner-dot technical icon frame (jasacahyo.my.id "Kenapa Harus Kami?" style) */
.corner-icon-box {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.corner-icon-box::before,
.corner-icon-box::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}
.corner-icon-box::before {
  top: 5px;
  left: 5px;
  box-shadow: 33px 0 0 rgba(255, 255, 255, 0.35);
}
.corner-icon-box::after {
  bottom: 5px;
  left: 5px;
  box-shadow: 33px 0 0 rgba(255, 255, 255, 0.35);
}

/* =========================================================
   PILL BUTTONS WITH CIRCULAR ARROW BADGE (jasacahyo.my.id)
   ========================================================= */
.pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 8px 7px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fafafa;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.pill-cta:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1.5px);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.85);
}

.pill-cta:active {
  transform: scale(0.98);
}

.pill-cta-arrow {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.24s ease, color 0.24s ease;
  flex-shrink: 0;
}

.pill-cta:hover .pill-cta-arrow {
  background: #ffffff;
  color: #050506;
  transform: translateX(2px);
}

.pill-wa-icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--wa-green);
  color: #052e16;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}

/* Tactile Button Sheen */
.btn-elegant {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn-elegant:hover {
  transform: translateY(-1px);
}

.btn-elegant:active {
  transform: scale(0.975);
}

/* ==========================================
   SEPARATED LOGIN & CHECKOUT MODAL STYLING
   ========================================== */
.auth-fullpage-backdrop {
  background: radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.05) 0%, rgba(4, 4, 6, 0.64) 72%);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.auth-glass-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.9) 0%, rgba(9, 9, 12, 0.96) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  box-shadow:
    0 34px 70px -18px rgba(0, 0, 0, 0.96),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.auth-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}

.auth-input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 13px;
  color: #ffffff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-input-field::placeholder {
  color: #63636b;
}

.auth-input-field:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
}

.auth-primary-btn {
  width: 100%;
  background: #ffffff;
  color: #050506;
  font-weight: 500;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 9999px;
  box-shadow: 0 8px 22px -6px rgba(255, 255, 255, 0.32);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-primary-btn:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -6px rgba(255, 255, 255, 0.42);
}

.auth-primary-btn:active {
  transform: scale(0.98);
}

.auth-secondary-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-weight: 400;
  font-size: 12px;
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.22s ease;
}

.auth-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================
   BLUEPRINT SPLASH SCREEN (jasacahyo.my.id)
   ========================================== */
#splashScreen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: #030304;
  background-image:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, rgba(3, 3, 4, 0.96) 58%),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
#splashScreen.splash-hide {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

/* ==========================================
   SCROLL-TRIGGERED & MICRO ANIMATIONS
   ========================================== */
@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.cursor-blink {
  display: inline-block;
  width: 5px;
  height: 11px;
  background-color: #e5e5e5;
  vertical-align: middle;
  margin-left: 4px;
  animation: cursorBlink 1.1s infinite;
}

/* Scroll-Triggered Blur-to-Sharp Entrance */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(7px);
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.78s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.78s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.13s; }
.stagger-3 { transition-delay: 0.21s; }

/* Price Morph Transition */
@keyframes priceMorph {
  0% { opacity: 0; transform: translateY(6px) scale(0.97); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.price-pop {
  animation: priceMorph 0.34s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes splashLogoReveal {
  0% { opacity: 0; transform: scale(0.86) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.14; }
  50% { transform: scale(1.08); opacity: 0.38; }
}
.animate-splash-logo {
  animation: splashLogoReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-ring-pulse {
  animation: ringPulse 2.8s ease-in-out infinite;
}

@keyframes fadeUpStagger {
  0% { opacity: 0; transform: translateY(18px); filter: blur(5px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.reveal-section {
  opacity: 0;
  transform: translateY(18px);
}
body.site-ready .reveal-1 {
  animation: fadeUpStagger 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
}
body.site-ready .reveal-2 {
  animation: fadeUpStagger 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.14s forwards;
}
body.site-ready .reveal-3 {
  animation: fadeUpStagger 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}
body.site-ready .reveal-4 {
  animation: fadeUpStagger 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.30s forwards;
}

@keyframes rowSlideIn {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}
.mod-row-anim {
  animation: rowSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes popWindow {
  0% { opacity: 0; transform: scale(0.955) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-pop-window {
  animation: popWindow 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-3px); }
}
.animate-shake {
  animation: shakeError 0.3s ease-in-out;
}

@keyframes floatIdle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
.animate-float-idle {
  animation: floatIdle 3.8s ease-in-out infinite;
}

@keyframes injectPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}
.inject-flash {
  animation: injectPulse 0.65s ease-out;
}

/* ==========================================
   STRUCTURED MOD MENU SHOWCASE WINDOW
   ========================================== */
.mod-window {
  background: rgba(11, 11, 14, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: 0 24px 54px -16px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}
.mod-window:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}
.mod-titlebar {
  background: rgba(18, 18, 22, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mod-groupbox {
  background: rgba(7, 7, 9, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}
.mod-groupbox-header {
  background: rgba(16, 16, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Refined Toggle Switch */
.mod-toggle {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 16px;
  flex-shrink: 0;
}
.mod-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.mod-track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #18181b;
  border: 1px solid #3f3f46;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border-radius: 999px;
}
.mod-track:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
  background-color: #71717a;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
  border-radius: 50%;
}
.mod-toggle input:checked + .mod-track {
  background-color: #fafafa;
  border-color: #fafafa;
}
.mod-toggle input:checked + .mod-track:before {
  transform: translateX(16px);
  background-color: #09090b;
}

/* Sleek Range Slider */
input[type="range"].mod-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #27272a;
  border-radius: 999px;
  outline: none;
}
input[type="range"].mod-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fafafa;
  cursor: pointer;
  border: 2px solid #09090b;
  box-shadow: 0 0 0 1px #fafafa;
  transition: transform 0.16s ease;
}
input[type="range"].mod-range::-webkit-slider-thumb:hover {
  transform: scale(1.22);
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: #09090b;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 2px;
}


/* AMENU_V73_PROFILE_GATE_CSS */
.font-gothic {
  font-family: 'UnifrakturMaguntia', 'Instrument Serif', Georgia, serif;
  font-weight: 400 !important;
  letter-spacing: 0.02em;
}

#profileGateOverlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

#profileGateOverlay.profile-hidden {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.profile-glass-panel {
  background: rgba(11, 11, 14, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.profile-glow-name {
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.55), 0 0 6px rgba(255, 255, 255, 0.35);
}

.profile-dc-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.profile-dc-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.profile-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.28));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.22s ease, border-color 0.22s ease;
}

.profile-social-icon:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.profile-music-card {
  background: rgba(12, 12, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

input[type="range"].profile-seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

input[type="range"].profile-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
}


/* AMENU_V74_CROSSHAIR_PROFILE_MOBILE_CSS */

/* --- Rich Atmospheric Profile Background --- */
.profile-bg-rich {
  background-color: #040406;
  background-image:
    radial-gradient(ellipse 65% 45% at 50% 0%, rgba(255, 255, 255, 0.11), transparent 62%),
    radial-gradient(circle at 22% 48%, rgba(220, 38, 38, 0.12), transparent 44%),
    radial-gradient(circle at 78% 58%, rgba(255, 255, 255, 0.07), transparent 48%),
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 56px 56px, 56px 56px;
}

@keyframes profileOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(18px, -16px) scale(1.08); opacity: 0.85; }
}

.profile-ambient-orb-1 {
  position: fixed;
  top: 12%;
  left: 18%;
  width: 340px;
  height: 340px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.11) 0%, rgba(161, 161, 170, 0.04) 45%, transparent 72%);
  filter: blur(50px);
  pointer-events: none;
  animation: profileOrbFloat 9s ease-in-out infinite;
}

.profile-ambient-orb-2 {
  position: fixed;
  bottom: 10%;
  right: 16%;
  width: 380px;
  height: 380px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.14) 0%, rgba(127, 29, 29, 0.05) 45%, transparent 72%);
  filter: blur(60px);
  pointer-events: none;
  animation: profileOrbFloat 11s ease-in-out infinite reverse;
}

.profile-glass-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 16, 21, 0.86) 0%, rgba(9, 9, 12, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.96), 0 0 40px -12px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* --- Tactical Pistol Crosshair Cursor (Desktop Only) --- */
#tacticalCrosshair {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform;
  transition: opacity 0.2s ease;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.tactical-cursor-active,
  body.tactical-cursor-active a,
  body.tactical-cursor-active button,
  body.tactical-cursor-active input,
  body.tactical-cursor-active select,
  body.tactical-cursor-active textarea,
  body.tactical-cursor-active label {
    cursor: none !important;
  }

  #tacticalCrosshair {
    display: block;
  }
}

#tacticalCrosshair .xhair-ring {
  position: absolute;
  inset: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  transition: transform 0.14s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.14s ease;
}

#tacticalCrosshair .xhair-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.95);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

#tacticalCrosshair .xhair-tick {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.55);
  transition: transform 0.14s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.14s ease;
}
#tacticalCrosshair .xhair-t { width: 1.5px; height: 7px; left: 50%; top: 1px; margin-left: -0.75px; }
#tacticalCrosshair .xhair-b { width: 1.5px; height: 7px; left: 50%; bottom: 1px; margin-left: -0.75px; }
#tacticalCrosshair .xhair-l { height: 1.5px; width: 7px; top: 50%; left: 1px; margin-top: -0.75px; }
#tacticalCrosshair .xhair-r { height: 1.5px; width: 7px; top: 50%; right: 1px; margin-top: -0.75px; }

/* Lock-on hover state */
#tacticalCrosshair.is-hover .xhair-ring {
  transform: scale(0.76) rotate(45deg);
  border-color: rgba(255, 255, 255, 0.78);
}
#tacticalCrosshair.is-hover .xhair-t { transform: translateY(3px); }
#tacticalCrosshair.is-hover .xhair-b { transform: translateY(-3px); }
#tacticalCrosshair.is-hover .xhair-l { transform: translateX(3px); }
#tacticalCrosshair.is-hover .xhair-r { transform: translateX(-3px); }
#tacticalCrosshair.is-hover .xhair-dot { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

/* Pistol recoil fire state on click */
#tacticalCrosshair.is-fire .xhair-ring {
  transform: scale(1.38);
  border-color: rgba(239, 68, 68, 0.85);
}
#tacticalCrosshair.is-fire .xhair-t { transform: translateY(-4px); background: #ef4444; }
#tacticalCrosshair.is-fire .xhair-b { transform: translateY(4px); background: #ef4444; }
#tacticalCrosshair.is-fire .xhair-l { transform: translateX(-4px); background: #ef4444; }
#tacticalCrosshair.is-fire .xhair-r { transform: translateX(4px); background: #ef4444; }

/* --- Mobile Responsive UI Polish (< 640px) --- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@media (max-width: 639px) {
  .coder-card {
    border-radius: 18px;
  }
  .mod-window {
    border-radius: 18px;
  }
  #ffMainBody,
  #fivemMenuWindow .grid.grid-cols-12 {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }
  #ffMainBody > div:first-child,
  #fivemMenuWindow .grid.grid-cols-12 > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px !important;
  }
  #ffMainBody > div:first-child > div:first-child,
  #fivemMenuWindow .grid.grid-cols-12 > div:first-child > div:first-child {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }
  #ffMainBody > div:first-child > div:first-child > div:first-child,
  #fivemMenuWindow .grid.grid-cols-12 > div:first-child > div:first-child > div:first-child {
    display: none;
  }
  .ff-tab-btn,
  .fivem-tab-btn {
    width: auto !important;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 6px;
    padding: 6px 12px !important;
  }
  #scrollProgressBadge {
    bottom: 38px;
    right: 12px;
    font-size: 10px;
    padding: 3px 9px;
  }
}


/* AMENU_V74_CROSSHAIR_CURSOR */
html, body, * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='9' fill='none' stroke='%23000000' stroke-width='3' stroke-opacity='0.65'/%3E%3Ccircle cx='16' cy='16' r='9' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3Cpath d='M16 2v7M16 23v7M2 16h7M23 16h7' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-opacity='0.65'/%3E%3Cpath d='M16 2v7M16 23v7M2 16h7M23 16h7' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='16' r='1.7' fill='%23ffffff' stroke='%23000000' stroke-width='0.6'/%3E%3C/svg%3E") 16 16, crosshair !important;
}
a, button, [role="button"], input[type="range"], input[type="checkbox"], select, label, .coder-card, .pill-cta, .profile-social-icon {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='10' fill='none' stroke='%23000000' stroke-width='3' stroke-opacity='0.75'/%3E%3Ccircle cx='16' cy='16' r='10' fill='none' stroke='%23ffffff' stroke-width='1.8'/%3E%3Cpath d='M16 1v8M16 23v8M1 16h8M23 16h8' stroke='%23000000' stroke-width='3' stroke-linecap='round' stroke-opacity='0.75'/%3E%3Cpath d='M16 1v8M16 23v8M1 16h8M23 16h8' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='16' r='2.4' fill='%23ef4444' stroke='%23ffffff' stroke-width='0.8'/%3E%3C/svg%3E") 16 16, crosshair !important;
}
