/* Skin menu, day/night chips, bottom gear, and cursor-mode toggle labels. */

/* 3) Bottom gear (cursor + DAY | NIGHT) */
body.dark .changeSkin-gear {
  background-color: #050814 !important;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.5);
  padding: 4px 16px;
}

/* 4) Bottom gear (cursor + DAY | NIGHT) */
body:not(.dark) .changeSkin-gear {
  /* mostly white, with a *very* subtle red→purple→cyan wash */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(239, 68, 68, 0.04),
    rgba(168, 85, 247, 0.04),
    rgba(34, 211, 238, 0.04)
  );
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);  /* neutral gray border */
  /* softer, more “card-like” shadow to blend with white bg */
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.10),
    0 0 6px rgba(148, 163, 184, 0.30);
  padding: 4px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    background 0.22s ease-out;
}
/* Hover: let the neon speak */
body:not(.dark) .changeSkin-gear:hover {
  transform: translateY(-1px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(239, 68, 68, 0.12),
    rgba(168, 85, 247, 0.16),
    rgba(34, 211, 238, 0.16)
  );
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow:
    0 0 14px rgba(239, 68, 68, 0.45),   /* soft red glow */
    0 0 20px rgba(168, 85, 247, 0.35),  /* soft purple halo */
    0 0 24px rgba(34, 211, 238, 0.32),  /* soft cyan edge */
    0 10px 22px rgba(15, 23, 42, 0.20); /* slight lift */
}
/* === Axura Skin Menu – Light/Dark Glass + Day/Night Chips === */

.skin-menu {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  padding: 14px 18px 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* DAY PANEL */
body:not(.dark) .skin-menu {
  background:
    radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.10), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.18),
    0 0 16px rgba(148, 163, 184, 0.45);
  color: #111827;
}

/* NIGHT PANEL */
body.dark .skin-menu {
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(239, 68, 68, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.92);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.85),
    0 0 22px rgba(56, 189, 248, 0.45);
  color: #e5e7eb;
}

/* show only DAY & NIGHT */
.skin-menu .theme-controls .menu-list li:not(#white-bg):not(#dark-bg) {
  display: none !important;
}

/* remove old pseudo-labels */
.skin-menu .theme-controls .menu-list li::before,
.skin-menu .theme-controls .menu-list li::after {
  content: "" !important;
}

/* layout */
.skin-menu .theme-controls .menu-list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 10px;
  margin: 0;
}

/* chip base */
.skin-menu .theme-controls .menu-list li#white-bg,
.skin-menu .theme-controls .menu-list li#dark-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  flex: 1 1 0;
  padding: 6px 12px;

  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  background: rgba(15, 23, 42, 0.08);

  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  cursor: pointer;
  transition:
    background 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    transform 0.18s ease-out,
    color 0.18s ease-out;
}

/* icons */
.skin-menu .theme-controls .menu-list li#white-bg i,
.skin-menu .theme-controls .menu-list li#dark-bg i {
  font-size: 14px;
  flex-shrink: 0;
}

/* text label */
.skin-menu .theme-controls .menu-list .theme-label {
  font-weight: 600;
  white-space: nowrap;
}

/* default text color */
body:not(.dark) .skin-menu .theme-controls .menu-list li {
  color: #111827;
}
body.dark .skin-menu .theme-controls .menu-list li {
  color: #e5e7eb;
}

/* hover glow */
.skin-menu .theme-controls .menu-list li:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 68, 68, 0.8);
  box-shadow:
    0 0 12px rgba(239, 68, 68, 0.55),
    0 0 20px rgba(34, 211, 238, 0.45);
}

/* ACTIVE DAY */
body:not(.dark) .skin-menu #white-bg {
  background: linear-gradient(
    135deg,
    rgba(254, 249, 195, 0.96),
    rgba(254, 226, 226, 0.97)
  );
  box-shadow:
    0 0 10px rgba(239, 68, 68, 0.7),
    0 0 18px rgba(234, 179, 8, 0.75);
}

/* ACTIVE NIGHT */
body.dark .skin-menu #dark-bg {
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.55), transparent 60%),
    #020617;
  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.9),
    0 0 20px rgba(168, 85, 247, 0.8);
}

/* icon glow when active */
body:not(.dark) .skin-menu #white-bg i,
body.dark .skin-menu #dark-bg i {
  text-shadow:
    0 0 6px rgba(239, 68, 68, 0.9),
    0 0 10px rgba(34, 211, 238, 0.7);
}

/* align DAY/NIGHT + Serif/Sans into 2x2 grid */
.skin-menu .theme-controls .menu-list,
.skin-menu .font-family-controls {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* spacing between the two rows */
.skin-menu .font-family-controls {
  margin-top: 10px !important;
}

/* make all 4 items same size */
.skin-menu .theme-controls .menu-list li#white-bg,
.skin-menu .theme-controls .menu-list li#dark-bg,
.skin-menu .font-family-controls button {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  line-height: 36px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
}

/* buttons: ensure perfect centering */
.skin-menu .font-family-controls button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ==================================== */

/* ============================================================
   1. Toggle UI layout + label colors
   ------------------------------------------------------------ */

/* Layout for DAY | NIGHT + cursor toggle */
.changeSkin-gear .keys {
  display: flex;
  align-items: center;
  gap: 10px;
}

#cursor-mode-toggle,
#open-skinMenu {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.03em;
}

#cursor-mode-toggle i,
#open-skinMenu i {
  margin-right: 4px;
}

/* Base label style */
#cursor-mode-label {
  transition: color 0.2s ease, font-weight 0.2s ease;
}

/* Label colors per scheme */

/* Aurora: orange/purple ambient lighting */
body.cursor-glow #cursor-mode-label{
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.02em;
  /* orange ↔ purple gradient */
  background-image: linear-gradient(
    90deg,
    #fb923c,  /* orange */
    #f97316,  /* deeper orange */
    #a855f7,  /* purple */
    #c084fc,  /* brighter purple */
    #fb923c   /* loop back */
  );
  background-size: 320% 100%;
  background-position: 0% 50%;
  animation: glowShift 4.4s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* warm + cool aura */
  text-shadow:
    0 0 1px  rgba(255,255,255,0.18),
    0 0 12px rgba(251,146,60,0.28),
    0 0 22px rgba(168,85,247,0.22);
}
@keyframes glowShift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Red */
body.cursor-red #cursor-mode-label{
  display: inline-block;
  font-weight: 900;
  background-image: linear-gradient(90deg, #fecaca, #f87171, #dc2626, #f87171);
  background-size: 260% 100%;
  animation: redShift 4s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow:
    0 0 1px rgba(255,255,255,0.18),
    0 0 14px rgba(248,113,113,0.22);
}
@keyframes redShift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Firefly: ambient, animated, green/yellow */
body.cursor-firefly #cursor-mode-label{
  display: inline-block;
  font-weight: 800;
  background-image: linear-gradient(90deg, #86efac, #4ade80, #fef08a);
  background-size: 260% 100%;
  animation: fireflyDrift 4.2s ease-in-out infinite, fireflyPulse 2.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 8px  rgba(74,222,128,0.28),
    0 0 18px rgba(254,240,138,0.18);
}
@keyframes fireflyDrift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
@keyframes fireflyPulse{
  0%,100% { filter: brightness(1) saturate(1.05); }
  50%     { filter: brightness(1.18) saturate(1.35); }
}

/* Eclipse: dark/ash -> blood red -> dark/ash, animated */
body.cursor-dark #cursor-mode-label{
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #6b7280,  /* ash gray */
    #111827,  /* near-black */
    #ef4444,  /* blood red */
    #111827,  /* near-black */
    #6b7280   /* ash gray */
  );
  background-size: 320% 100%;
  animation: eclipseShift 5.5s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes eclipseShift{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* Neon: red blue purple gradient, animated */
body.cursor-neon #cursor-mode-label{
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #ef4444,  /* red */
    #a855f7,  /* purple */
    #3b82f6,  /* blue */
    #ef4444   /* loop back to red */
  );
  background-size: 300% 100%;
  animation: cursorLabelHue 4.5s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes cursorLabelHue {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}


