:root {
  /* ========================
     BASE COLORS
  ======================== */
  --bg-primary: #0b0d10;
  --bg-secondary: #12161c;
  --bg-tertiary: #1a1f27;

  /* ========================
     GOLD ACCENTS
  ======================== */
  --gold-primary: #c6a96b;
  --gold-light: #e0c88a;
  --gold-dark: #8f7a4a;

  /* ========================
     TEXT
  ======================== */
  --text-primary: #e6e6e6;
  --text-secondary: #c2c8d0;
  --text-muted: #8b949e;
  --text-inverse: #0b0d10;

  /* ========================
     SURFACES
  ======================== */
  --surface-card: rgba(18, 22, 28, 0.85);
  --surface-hover: rgba(26, 31, 39, 0.9);
  --surface-overlay: rgba(0, 0, 0, 0.6);

  /* ========================
     BORDERS
  ======================== */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(198, 169, 107, 0.4);

  /* ========================
     EFFECTS
  ======================== */
  --glow-gold-soft: 0 0 12px rgba(198, 169, 107, 0.2);
  --glow-gold-strong: 0 0 20px rgba(198, 169, 107, 0.4);

  /* ========================
     SPACING & SIZE
  ======================== */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* ========================
     TRANSITIONS
  ======================== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;

  /* ========================
     TYPOGRAPHY
  ======================== */
  --font-primary: "Inter", sans-serif;
  --font-heading: "Cinzel", serif;


  --color-complete: #4caf50;
 --color-started: #ffc107;
 --color-not-started: #555;

 --combat-magic: #4aa3ff;
  --combat-melee: #ff9800;
  --combat-ranged: #5cff9d;
  --combat-necro: #b06bff;
}


/* ========================
   🌍 RESET / BASE
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* ========================
   🧱 ROOT APP BACKGROUND
======================== */
body {
  background: linear-gradient(
   180deg,
   var(--bg-tertiary) 0%,
   var(--bg-secondary) 40%,
   var(--bg-primary) 100%
 );

 background-attachment: fixed;

  color: var(--text-primary);
  font-family: var(--font-primary);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================
   🧠 APP ROOT
======================== */
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========================
   📦 WRAPPER
======================== */
#content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ========================
   📄 MAIN CONTENT
======================== */
.site-main {
  flex: 1;
  display: flex;
  justify-content: center;

  padding: var(--spacing-xl) var(--spacing-lg);
}

/* ========================
   📐 CONTENT CONTAINER
======================== */
.content-container {
  width: 100%;
  max-width: 1200px;

  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

/* ========================
   📦 SECTION WRAPPER
======================== */
.container {
  width: 100%;
}




/* ========================
   LOADING BASE
======================== */
.loading-card {
  position: relative;
}

/* ========================
   SHIMMER
======================== */
.shimmer {
  position: relative;
  overflow: hidden;
  background: #1a2228;
  border-radius: 8px;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.08),
    transparent
  );

  animation: shimmer 1.2s infinite;
}

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

/* ========================
   HERO
======================== */
.loading-title {
  width: 180px;
  height: 20px;
  margin-bottom: 12px;
}

.nav-pill {
  width: 70px;
  height: 28px;
  border-radius: 999px;
}

.clan-banner {
  width: 160px;
  height: 60px;
  border-radius: 6px;
}

/* ========================
   CHARTS
======================== */
.loading-chart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.loading-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.loading-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-item {
  width: 120px;
  height: 12px;
}

/* ========================
   STATS
======================== */
.loading-stat-block {
  height: 50px;
  border-radius: 8px;
}

/* ========================
   SKILLS
======================== */
.skill-item.shimmer {
  height: 48px;
  border-radius: 10px;
}

/* ========================
   ACTIVITY
======================== */
.activity-item.shimmer {
  height: 60px;
  border-radius: 10px;
}

/* ========================
   SMALL TITLE
======================== */
.shimmer.small {
  width: 100px;
  height: 16px;
  margin-bottom: 12px;
}


/* ========================
   SELECT (GLOBAL)
======================== */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: linear-gradient(180deg, #0f1a24, #0a1118);
  border: 1px solid rgba(255, 215, 120, 0.25);
  color: #e6edf3;

  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 8px;

  font-size: 0.9rem;
  font-weight: 500;

  cursor: pointer;

  transition: all 0.2s ease;

  /* custom arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, #e1bb34 50%),
    linear-gradient(135deg, #e1bb34 50%, transparent 50%);
  background-position:
    calc(100% - 14px) center,
    calc(100% - 8px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

/* hover */
select:hover {
  border-color: rgba(255, 215, 120, 0.6);
  box-shadow: 0 0 6px rgba(255, 215, 120, 0.2);
}

/* focus */
select:focus {
  outline: none;
  border-color: #e1bb34;
  box-shadow: 0 0 0 2px rgba(225, 187, 52, 0.2);
}
/* ========================
   CHECKBOX (GLOBAL)
======================== */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 16px;
  height: 16px;

  border-radius: 4px;
  border: 1px solid rgba(255, 215, 120, 0.3);

  background: linear-gradient(180deg, #0f1a24, #0a1118);

  cursor: pointer;
  position: relative;

  transition: all 0.2s ease;
}

/* hover */
input[type="checkbox"]:hover {
  border-color: rgba(255, 215, 120, 0.6);
}

/* checked state */
input[type="checkbox"]:checked {
  background: linear-gradient(180deg, #e1bb34, #caa52c);
  border-color: #e1bb34;
}

/* checkmark */
input[type="checkbox"]::after {
  content: "";
  position: absolute;

  width: 4px;
  height: 8px;

  border: solid #0a1118;
  border-width: 0 2px 2px 0;

  top: 2px;
  left: 5px;

  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}
