:root {
  --bg0: #0a192f;
  --bg1: #102a43;
  --bg2: #0c2238;

  --text: #e6f1ff;
  --muted: rgba(230, 241, 255, 0.72);

  --line: rgba(230, 241, 255, 0.08);
  --glass: rgba(230, 241, 255, 0.018);
  --glass-strong: rgba(230, 241, 255, 0.03);

  --accent-cyan: #64ffda;
  --accent-gold: #f1c40f;
  --blue: #3b82f6;
  --blue2: #60a5fa;
}

html,
body {
  background:
    radial-gradient(1200px 760px at 55% -10%, rgba(100, 255, 218, 0.10), transparent 60%),
    radial-gradient(1100px 720px at 80% 10%, rgba(96, 165, 250, 0.12), transparent 62%),
    radial-gradient(900px 720px at 15% 45%, rgba(59, 130, 246, 0.10), transparent 62%),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 55%, #081425 100%);
  color: var(--text);
}

header {
  background-color: rgba(13, 26, 49, 0.6) !important;
}

header a[href$="index.html"] > span:first-child {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

header a[href$="index.html"] > span:first-child img {
  width: 32px !important;
  height: 32px !important;
}

header a[href$="index.html"] > span:last-child {
  font-size: 17px !important;
  letter-spacing: 0.18em !important;
}

header [data-role="current-time"] {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
}

header [data-role="current-time"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

header [data-role="current-time"]::before,
header [data-role="current-time"]::after {
  content: none !important;
}

header [data-role="current-time"] {
  border-radius: 0 !important;
}

header [data-role="current-time"] {
  color: rgba(230, 241, 255, 0.82) !important;
}

header [data-role="current-time"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

header [data-role="current-time"] {
  display: inline-flex !important;
  align-items: center !important;
}

header [data-role="current-time"] {
  line-height: 1 !important;
}

header div:has(> [data-role="current-time"]) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
}

header nav div:has(> [data-role="current-time"]) {
  order: 2;
}

header nav a[href$="member.html"].btn-gold {
  order: 3;
}

header nav a[href$="login.html"].btn-neon {
  order: 4;
}

header nav a[href$="login.html"].btn-neon svg {
  display: none !important;
}

header nav a[href$="login.html"].btn-neon::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M20%2021c-1.6-3.7-4.9-6-8-6s-6.4%202.3-8%206%27%20stroke%3D%27%2307101F%27%20stroke-opacity%3D%270.85%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M12%2012a4%204%200%201%200-4-4%204%204%200%200%200%204%204Z%27%20stroke%3D%27%2307101F%27%20stroke-opacity%3D%270.85%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E");
}

.glass {
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid transparent;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.glass-soft {
  background: rgba(230, 241, 255, 0.012);
  border: 1px solid transparent;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.glass-quick {
  background: linear-gradient(180deg, rgba(230, 241, 255, 0.06), rgba(230, 241, 255, 0.02));
  border: 1px solid rgba(100, 255, 218, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(230, 241, 255, 0.08),
    0 20px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}

#home .glass-quick .quick-item {
  border: 1px solid rgba(100, 255, 218, 0.22) !important;
  background: rgba(230, 241, 255, 0.03) !important;
  box-shadow: inset 0 1px 0 rgba(230, 241, 255, 0.06);
}

#home .glass-quick .quick-item:hover {
  border-color: rgba(100, 255, 218, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(230, 241, 255, 0.10),
    0 0 0 1px rgba(100, 255, 218, 0.10);
}

#analysis .glass,
#analysis .glass-soft,
#experience .glass,
#experience .glass-soft,
#courses .glass,
#courses .glass-soft,
#contact .glass,
#contact .glass-soft {
  border: none !important;
}

#experience .glass-soft {
  background: rgba(7, 16, 31, 0.22) !important;
  box-shadow: none !important;
}

#courses .glass-soft {
  background: rgba(10, 25, 47, 0.06) !important;
  box-shadow: none !important;
}

#experience .glass-soft p,
#courses .glass-soft p,
#experience .glass-soft li,
#courses .glass-soft li {
  color: rgba(148, 163, 184, 0.95) !important;
}

#experience a.glass-soft,
#courses a.glass-soft {
  cursor: pointer;
  transition: background-color 300ms ease, transform 300ms ease, color 300ms ease;
  transform-origin: center;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  #experience a.glass-soft:hover {
    background: rgba(7, 16, 31, 0.28) !important;
  }

  #courses a.glass-soft:hover {
    background: rgba(10, 25, 47, 0.10) !important;
  }

  #experience a.glass-soft:hover h3,
  #courses a.glass-soft:hover h3 {
    color: rgba(100, 255, 218, 0.95) !important;
  }
}

@media (hover: none) {
  #experience a.glass-soft:active {
    transform: scale(0.98);
    background: rgba(7, 16, 31, 0.32) !important;
  }

  #courses a.glass-soft:active {
    transform: scale(0.98);
    background: rgba(10, 25, 47, 0.12) !important;
  }
}

.nav-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.95);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.nav-dot-gold {
  background: rgba(212, 175, 55, 0.95);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(100, 255, 218, 0.95);
  box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.14);
  animation: livePulse 1.4s ease-in-out infinite;
}

.analysis-sentiment-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(96, 165, 250, 0.18);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(96, 165, 250, 0.10),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.analysis-sentiment-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

@keyframes livePulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  55% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

.btn-neon {
  background: linear-gradient(180deg, rgba(96, 165, 250, 1), rgba(59, 130, 246, 1));
  color: #07101f;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 26px 90px rgba(0, 0, 0, 0.55);
}

.btn-neon:hover {
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.35),
    0 0 22px rgba(59, 130, 246, 0.22),
    0 26px 90px rgba(0, 0, 0, 0.55);
}

.btn-gold {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.12));
  color: rgba(255, 238, 190, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.18);
}

.highlight-cyan {
  color: var(--accent-cyan);
}

.highlight-gold {
  color: var(--accent-gold);
}

.strategy-content-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 340px;
  --strategy-fade-clear: calc(100% - 360px);
  --strategy-fade-mist1: calc(100% - 290px);
  --strategy-fade-mist2: calc(100% - 230px);
  --strategy-fade-dark: calc(100% - 130px);
}

.strategy-summary {
  position: relative;
  z-index: 1;
}

.strategy-extra {
  position: relative;
  z-index: 1;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 420ms ease, opacity 260ms ease, transform 420ms ease;
  overflow: hidden;
}

.strategy-content-wrapper.is-expanded .strategy-extra {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

.strategy-expand-hint {
  position: relative;
  z-index: 2;
  display: none;
  width: 100%;
  padding: 12px 16px;
  color: rgba(230, 241, 255, 0.85);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  background: rgba(230, 241, 255, 0.02);
  cursor: pointer;
}

.strategy-expand-hint:hover {
  color: rgba(100, 255, 218, 0.92);
  box-shadow: 0 0 18px rgba(100, 255, 218, 0.14);
}

.strategy-content-wrapper.is-unlocked .strategy-expand-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(230, 241, 255, 0.01);
  box-shadow: inset 0 1px 0 rgba(230, 241, 255, 0.05);
}

.strategy-chevron {
  display: inline-block;
  margin-left: 6px;
  color: rgba(100, 255, 218, 0.9);
  transition: transform 420ms ease;
}

.strategy-content-wrapper.is-expanded .strategy-chevron {
  transform: rotate(180deg);
}

.strategy-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 25, 47, 0) 0%,
      rgba(10, 25, 47, 0) var(--strategy-fade-clear),
      rgba(230, 241, 255, 0.04) var(--strategy-fade-mist1),
      rgba(230, 241, 255, 0.08) var(--strategy-fade-mist2),
      rgba(10, 25, 47, 0.78) var(--strategy-fade-dark),
      rgba(10, 25, 47, 0.98) 100%
    );
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) var(--strategy-fade-clear),
    rgba(0, 0, 0, 0.12) var(--strategy-fade-mist1),
    rgba(0, 0, 0, 0.42) var(--strategy-fade-mist2),
    rgba(0, 0, 0, 0.88) var(--strategy-fade-dark),
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) var(--strategy-fade-clear),
    rgba(0, 0, 0, 0.12) var(--strategy-fade-mist1),
    rgba(0, 0, 0, 0.42) var(--strategy-fade-mist2),
    rgba(0, 0, 0, 0.88) var(--strategy-fade-dark),
    rgba(0, 0, 0, 1) 100%
  );
  pointer-events: none;
  opacity: 1;
  transition: opacity 360ms ease;
}

.strategy-unlock-btn {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 0);
  pointer-events: auto;
  z-index: 3;
  padding: 11px 16px;
  background: rgba(10, 25, 47, 0.36);
  border: 1px solid rgba(241, 196, 15, 0.55);
  border-radius: 16px;
  color: rgba(255, 238, 190, 0.95);
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(241, 196, 15, 0.35),
    0 0 26px rgba(241, 196, 15, 0.14),
    0 20px 70px rgba(0, 0, 0, 0.45);
  transition: box-shadow 240ms ease, transform 240ms ease, opacity 360ms ease;
}

.strategy-content-wrapper.is-unlocked .strategy-overlay {
  opacity: 0;
}

.strategy-content-wrapper.is-unlocked .strategy-unlock-btn {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.98);
  pointer-events: none;
}

.strategy-unlock-btn:hover {
  box-shadow:
    0 0 0 1px rgba(241, 196, 15, 0.42),
    0 0 34px rgba(241, 196, 15, 0.16),
    0 20px 70px rgba(0, 0, 0, 0.45);
}

.strategy-unlock-btn:active {
  transform: translate(-50%, 0) scale(0.95);
}

@media (max-width: 640px) {
  .strategy-content-wrapper {
    --strategy-fade-clear: calc(100% - 320px);
    --strategy-fade-mist1: calc(100% - 260px);
    --strategy-fade-mist2: calc(100% - 205px);
    --strategy-fade-dark: calc(100% - 120px);
  }

  .strategy-unlock-btn {
    bottom: 16px;
  }
}

.strategy-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0ms linear 220ms;
}

.strategy-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease;
}

.strategy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 20, 0.55);
  backdrop-filter: blur(20px);
}

.strategy-modal-panel {
  position: relative;
  width: min(360px, calc(100% - 44px));
  padding: 14px 14px 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(100, 255, 218, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(100, 255, 218, 0.10),
    0 30px 120px rgba(0, 0, 0, 0.66);
  transform: scale(0.96);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.strategy-modal.is-open .strategy-modal-panel {
  transform: scale(1);
  opacity: 1;
}
