/* =========================================================
   SAĞLIKTA ZİRVE v2.5 — Modern Tasarım Sistemi
   ========================================================= */

:root {
  --bg-0: #07090d;
  --bg-1: #0d1117;
  --bg-2: #161b22;
  --bg-3: #1c2128;
  --bg-4: #232a33;
  --border: #2a313c;
  --border-strong: #3a424f;
  --text-1: #f0f6fc;
  --text-2: #b1bac4;
  --text-3: #768390;
  --text-4: #545d68;

  --teal:    #06d6a0;
  --teal-d:  #04a87c;
  --blue:    #58a6ff;
  --blue-d:  #2f7dd6;
  --purple:  #bc8cff;
  --pink:    #ff7eb6;
  --yellow:  #ffd166;
  --orange:  #ff8c42;
  --red:     #ff5b6b;
  --green:   #3fb950;
  --diamond: #88b8ff;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 18px rgba(0,0,0,.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.55);

  --grad-teal: linear-gradient(135deg, #06d6a0, #04a87c);
  --grad-blue: linear-gradient(135deg, #58a6ff, #2f7dd6);
  --grad-purple: linear-gradient(135deg, #bc8cff, #7c3aed);
  --grad-hero: linear-gradient(135deg, #06d6a0 0%, #58a6ff 50%, #bc8cff 100%);
  --grad-dark: linear-gradient(180deg, rgba(13,17,23,0) 0%, rgba(13,17,23,.95) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal); }

img, svg { max-width: 100%; display: block; }

button { font-family: inherit; cursor: pointer; }
input, textarea, select {
  font-family: inherit; font-size: 14px;
  background: var(--bg-2); color: var(--text-1);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 10px 14px; outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6,214,160,.15);
}

::selection { background: var(--teal); color: var(--bg-0); }

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ==================== UTILS ==================== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-3); }
.text-teal { color: var(--teal); }
.text-blue { color: var(--blue); }
.text-purple { color: var(--purple); }
.text-yellow { color: var(--yellow); }
.text-red { color: var(--red); }
.mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 18px; } .mb-4 { margin-bottom: 24px; }
.mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; }
.gap-2 { gap: 12px; } .gap-3 { gap: 18px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-1 { flex: 1; }
.grid { display: grid; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: none; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s; text-decoration: none; white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.btn-primary  { background: var(--grad-blue);   color: #fff; }
.btn-teal     { background: var(--grad-teal);   color: #04231a; }
.btn-purple   { background: var(--grad-purple); color: #fff; }
.btn-danger   { background: var(--red);         color: #fff; }
.btn-warning  { background: var(--yellow);      color: #2a1d00; }
.btn-outline  { background: transparent; color: var(--text-1); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: var(--bg-3); border-color: var(--text-3); }
.btn-ghost    { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-3); color: var(--text-1); }
.btn-diamond  { background: linear-gradient(135deg, #88b8ff, #5e8dd6); color: #fff; }

.btn-sm  { padding: 6px 12px; font-size: 12px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }
.btn-xl  { padding: 18px 36px; font-size: 18px; border-radius: var(--r-md); }
.btn-full { width: 100%; }
.btn-icon { padding: 8px; width: 36px; height: 36px; }

/* ==================== CARDS ==================== */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color .2s, transform .2s;
}
.card-glass {
  background: rgba(22,27,34,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.06);
}
.card-hover:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center;
}
.card-title-r { color: var(--teal); font-weight: 700; }

/* ==================== ALERTS ==================== */
.alert {
  padding: 12px 16px; border-radius: var(--r-sm);
  margin-bottom: 14px; font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid;
}
.alert-success { background: rgba(63,185,80,.1);  border-color: rgba(63,185,80,.4);  color: #7ee787; }
.alert-danger  { background: rgba(255,91,107,.1); border-color: rgba(255,91,107,.4); color: #ff9aa2; }
.alert-info    { background: rgba(88,166,255,.1); border-color: rgba(88,166,255,.4); color: #79c0ff; }
.alert-warning { background: rgba(255,209,102,.1);border-color: rgba(255,209,102,.4);color: #ffe084; }

/* ==================== BADGES ==================== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
}
.badge-teal { background: rgba(6,214,160,.15); color: var(--teal); }
.badge-blue { background: rgba(88,166,255,.15); color: var(--blue); }
.badge-purple{background: rgba(188,140,255,.15); color: var(--purple); }
.badge-yellow{background: rgba(255,209,102,.15);color: var(--yellow); }
.badge-red  { background: rgba(255,91,107,.15); color: var(--red); }
.badge-green{ background: rgba(63,185,80,.15);  color: var(--green); }
.badge-gray { background: var(--bg-3); color: var(--text-2); }

.dot-online { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* ==================== LANDING PAGE ==================== */
body.landing-page { background: var(--bg-0); }

.landing-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,9,13,.7); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all .3s;
}
.landing-brand {
  font-size: 18px; font-weight: 800; color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
}
.landing-brand-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--grad-teal); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.landing-nav { display: flex; align-items: center; gap: 8px; }
.landing-nav a:not(.btn) {
  color: var(--text-2); font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: var(--r-sm);
}
.landing-nav a:not(.btn):hover { color: var(--text-1); background: var(--bg-3); }

/* HERO */
.hero {
  position: relative; min-height: 100vh; padding: 140px 24px 80px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(6,214,160,.12), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(188,140,255,.1), transparent 60%),
              var(--bg-0);
}
.hero-bg-anim {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-bg-anim span {
  position: absolute; font-size: 64px; opacity: .04;
  animation: floatBg 18s linear infinite;
}
.hero-bg-anim span:nth-child(1) { top: 8%;  left: 10%; animation-delay: 0s; }
.hero-bg-anim span:nth-child(2) { top: 18%; left: 80%; animation-delay: -3s; font-size: 48px; }
.hero-bg-anim span:nth-child(3) { top: 38%; left: 5%;  animation-delay: -6s; font-size: 72px; }
.hero-bg-anim span:nth-child(4) { top: 55%; left: 75%; animation-delay: -9s; font-size: 56px; }
.hero-bg-anim span:nth-child(5) { top: 70%; left: 15%; animation-delay: -12s; }
.hero-bg-anim span:nth-child(6) { top: 80%; left: 60%; animation-delay: -15s; font-size: 48px; }
.hero-bg-anim span:nth-child(7) { top: 25%; left: 50%; animation-delay: -8s; font-size: 80px; }
.hero-bg-anim span:nth-child(8) { top: 65%; left: 40%; animation-delay: -4s; font-size: 56px; }
@keyframes floatBg {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(40px, -30px) rotate(20deg); }
  66%  { transform: translate(-30px, 40px) rotate(-15deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.hero-content { position: relative; max-width: 980px; text-align: center; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6,214,160,.1); border: 1px solid rgba(6,214,160,.3);
  color: var(--teal); padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; margin-bottom: 24px;
  animation: fadeInDown .8s;
}
.hero-title {
  font-size: clamp(36px, 7vw, 72px); font-weight: 800;
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px;
  animation: fadeInUp .9s;
}
.hero-title .title-line { display: block; }
.hero-title .title-grad {
  background: var(--grad-hero); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px); color: var(--text-2);
  max-width: 720px; margin: 0 auto 36px; line-height: 1.6;
  animation: fadeInUp 1s;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1.1s; }

.hero-stats {
  margin-top: 80px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 860px; margin-left: auto; margin-right: auto;
  animation: fadeInUp 1.2s;
}
.hs-item {
  padding: 22px 16px; background: rgba(22,27,34,.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--r-md);
  text-align: center; transition: transform .3s, border-color .3s;
}
.hs-item:hover { transform: translateY(-4px); border-color: rgba(6,214,160,.4); }
.hs-val {
  font-size: clamp(22px, 4vw, 36px); font-weight: 800;
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.hs-lbl { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.online-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ANNOUNCEMENTS */
.landing-section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 12px;
  letter-spacing: -.02em;
}
.section-subtitle { text-align: center; color: var(--text-2); font-size: 16px; max-width: 600px; margin: 0 auto 50px; }

.ann-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ann-card {
  padding: 20px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); border-left: 3px solid var(--teal);
}
.ann-card h4 { font-size: 16px; margin-bottom: 6px; }
.ann-card p { color: var(--text-2); font-size: 13px; line-height: 1.6; }
.ann-card .ann-meta { color: var(--text-4); font-size: 11px; margin-top: 10px; }

/* FEATURES */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.feature-card {
  position: relative; padding: 28px 22px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: all .3s; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-hero); transform: scaleX(0); transform-origin: left;
  transition: transform .4s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(6,214,160,.15), rgba(88,166,255,.1));
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 13px; line-height: 1.6; }

/* HOW TO PLAY (Steps) */
.steps-container { max-width: 900px; margin: 0 auto; }
.step-row {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start;
  padding: 24px 0; position: relative;
}
.step-row:not(:last-child)::after {
  content: ''; position: absolute; left: 39px; top: 80px; bottom: -16px; width: 2px;
  background: linear-gradient(180deg, var(--teal), transparent);
}
.step-num {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--grad-blue); color: #fff;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(88,166,255,.3);
}
.step-content h3 { font-size: 19px; margin-bottom: 6px; }
.step-content p { color: var(--text-2); font-size: 14px; }

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.testi-card {
  padding: 22px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); position: relative;
}
.testi-card::before {
  content: '"'; position: absolute; top: -10px; left: 18px;
  font-size: 64px; color: var(--teal); opacity: .3; font-family: serif; line-height: 1;
}
.testi-text { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { font-size: 32px; }
.testi-name { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 11px; color: var(--text-3); }
.testi-stars { color: var(--yellow); font-size: 13px; margin-top: 4px; }

/* ROADMAP / KARIYER YOLU */
.roadmap { max-width: 900px; margin: 0 auto; }
.roadmap-line { position: relative; padding-left: 30px; }
.roadmap-line::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--teal), var(--blue), var(--purple));
}
.roadmap-item {
  position: relative; padding: 14px 18px; margin-bottom: 10px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md);
}
.roadmap-item::before {
  content: ''; position: absolute; left: -27px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-0); border: 3px solid var(--teal);
}
.roadmap-item:nth-child(n+5)::before { border-color: var(--blue); }
.roadmap-item:nth-child(n+9)::before { border-color: var(--purple); }
.roadmap-item strong { font-size: 15px; }
.roadmap-item .rmeta { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* PLAYERS PREVIEW */
.players-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px; max-width: 1000px; margin: 0 auto;
}
.player-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--r-md);
  transition: all .2s;
}
.player-row:hover { border-color: var(--teal); transform: translateX(2px); }
.player-rank {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-3); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.player-row:nth-child(1) .player-rank { background: linear-gradient(135deg, #ffd166, #ff8c42); color: #2a1d00; }
.player-row:nth-child(2) .player-rank { background: linear-gradient(135deg, #c9d1d9, #8b949e); color: #161b22; }
.player-row:nth-child(3) .player-rank { background: linear-gradient(135deg, #ff8c42, #ff5b6b); color: #fff; }
.player-avatar { font-size: 28px; }
.player-info { flex: 1; }
.player-name { font-size: 14px; font-weight: 600; }
.player-stat { font-size: 12px; color: var(--text-3); }
.player-score { font-size: 16px; font-weight: 700; color: var(--teal); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  padding: 16px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 14px;
  transition: background .2s;
}
.faq-q:hover { background: var(--bg-3); }
.faq-q .faq-arrow { font-size: 14px; transition: transform .3s; color: var(--text-3); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s;
  padding: 0 20px; color: var(--text-2); font-size: 13px; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

/* CTA Section */
.cta-section {
  padding: 100px 24px; text-align: center;
  background: radial-gradient(ellipse at center, rgba(6,214,160,.1), transparent 60%);
}
.cta-section h2 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; margin-bottom: 18px; }
.cta-section p { font-size: 17px; color: var(--text-2); max-width: 600px; margin: 0 auto 32px; }

/* FOOTER */
.landing-footer {
  background: var(--bg-1); border-top: 1px solid var(--border);
  padding: 50px 24px 30px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand h3 { font-size: 20px; margin-bottom: 10px; }
.footer-brand p { color: var(--text-3); font-size: 13px; line-height: 1.7; max-width: 360px; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; color: var(--text-2); font-size: 13px; }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border); text-align: center;
  color: var(--text-4); font-size: 12px;
}

/* ==================== AUTH PAGES ==================== */
body.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 30px 16px;
  background: radial-gradient(ellipse at top left, rgba(6,214,160,.08), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(188,140,255,.08), transparent 60%),
              var(--bg-0);
  position: relative;
}
.auth-bg-anim { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.auth-bg-anim span {
  position: absolute; font-size: 80px; opacity: .04;
  animation: floatBg 20s linear infinite;
}
.auth-bg-anim span:nth-child(1) { top: 15%; left: 10%; }
.auth-bg-anim span:nth-child(2) { top: 70%; left: 85%; animation-delay: -7s; }
.auth-bg-anim span:nth-child(3) { top: 40%; left: 80%; animation-delay: -14s; font-size: 60px; }
.auth-bg-anim span:nth-child(4) { top: 80%; left: 20%; animation-delay: -3s; font-size: 50px; }

.auth-container { max-width: 460px; width: 100%; position: relative; z-index: 1; }
.auth-wide { max-width: 880px; }

.auth-logo { text-align: center; margin-bottom: 24px; }
.logo-back {
  display: inline-block; color: var(--text-3); font-size: 13px;
  margin-bottom: 16px; transition: color .2s;
}
.logo-back:hover { color: var(--teal); }
.logo-icon {
  display: inline-block; font-size: 56px; margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(6,214,160,.4));
}
.auth-logo h1 {
  font-size: 30px; font-weight: 800;
  background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auth-logo p { color: var(--text-3); font-size: 13px; margin-top: 4px; }

.auth-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px;
  box-shadow: var(--shadow-lg);
}
.auth-card h2 { font-size: 22px; margin-bottom: 4px; }
.auth-subtitle { color: var(--text-3); font-size: 13px; margin-bottom: 24px; }
.auth-footer { text-align: center; margin-top: 24px; color: var(--text-3); font-size: 13px; }

/* WIZARD STEPS */
.wizard-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-3); border-radius: var(--r-md);
  padding: 12px; margin-bottom: 24px;
}
.wizard-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  position: relative; color: var(--text-3); transition: color .3s;
}
.wizard-step.active { color: var(--teal); }
.wizard-step.done   { color: var(--green); }
.wizard-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; margin-bottom: 6px;
  transition: all .3s;
}
.wizard-step.active .wizard-circle { border-color: var(--teal); background: var(--teal); color: var(--bg-0); }
.wizard-step.done .wizard-circle   { border-color: var(--green); background: var(--green); color: var(--bg-0); }
.wizard-step span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.wizard-line {
  position: absolute; top: 16px; left: 60%; right: -40%;
  height: 2px; background: var(--border); z-index: 0;
}
.wizard-step.done + .wizard-step .wizard-line,
.wizard-step.done .wizard-line { background: var(--green); }

.wizard-pane { display: none; animation: fadeIn .4s; }
.wizard-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 600;
}
.form-group label .req { color: var(--red); margin-left: 4px; }
.form-group small { display: block; color: var(--text-4); font-size: 11px; margin-top: 4px; }

.pw-strength {
  margin-top: 6px; height: 4px; background: var(--bg-3);
  border-radius: 2px; overflow: hidden;
}
.pw-strength-bar { height: 100%; width: 0; transition: width .3s, background .3s; }

.avatar-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.avatar-opt {
  cursor: pointer; padding: 12px; text-align: center;
  background: var(--bg-3); border: 2px solid var(--border);
  border-radius: var(--r-md); transition: all .2s;
}
.avatar-opt:hover { border-color: var(--text-3); transform: scale(1.05); }
.avatar-opt input { display: none; }
.avatar-opt.selected, .avatar-opt input:checked + label, .avatar-opt:has(input:checked) {
  border-color: var(--teal); background: rgba(6,214,160,.1);
  transform: scale(1.05); box-shadow: 0 0 0 3px rgba(6,214,160,.15);
}
.avatar-opt .a-emoji { font-size: 28px; display: block; margin-bottom: 4px; }
.avatar-opt .a-name { font-size: 10px; color: var(--text-3); }

.gender-pick { display: flex; gap: 8px; }
.gender-opt {
  flex: 1; cursor: pointer; padding: 10px;
  background: var(--bg-3); border: 1.5px solid var(--border);
  border-radius: var(--r-md); text-align: center; transition: all .2s;
}
.gender-opt input { display: none; }
.gender-opt:hover { border-color: var(--text-3); }
.gender-opt:has(input:checked) { border-color: var(--teal); background: rgba(6,214,160,.1); color: var(--teal); }
.gender-opt span { font-size: 13px; font-weight: 600; }

.start-bonus-box {
  background: linear-gradient(135deg, rgba(6,214,160,.1), rgba(88,166,255,.06));
  border: 1px solid rgba(6,214,160,.3); border-radius: var(--r-md);
  padding: 16px; margin-bottom: 20px;
}
.start-bonus-box h4 { font-size: 13px; color: var(--teal); margin-bottom: 10px; font-weight: 700; }
.start-bonus-items {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.bonus-item {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2);
}
.bonus-item .b-ic { font-size: 18px; }

.preview-card {
  background: linear-gradient(135deg, rgba(6,214,160,.08), rgba(88,166,255,.06));
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 20px; text-align: center;
}
.preview-card .p-avatar { font-size: 64px; margin-bottom: 8px; }
.preview-card .p-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.preview-card .p-role { font-size: 12px; color: var(--text-3); }

.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reg-section-title { font-size: 14px; color: var(--text-2); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.reg-section-title.s2 { color: var(--purple); }

.terms-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 12px; color: var(--text-2); }
.terms-row input { width: auto; }

.wizard-buttons { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }

/* ==================== GAME LAYOUT ==================== */
body.game-page { background: var(--bg-0); }

.game-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,17,23,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px; height: 56px;
  display: flex; align-items: center; gap: 12px;
}
.nav-brand a {
  color: var(--text-1); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; gap: 8px;
}
.nav-brand-ic {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--grad-teal); display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.nav-links { display: flex; gap: 2px; margin-left: 20px; }
.nav-links a {
  color: var(--text-2); padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; transition: all .15s;
  display: flex; align-items: center; gap: 6px;
}
.nav-links a:hover { background: var(--bg-3); color: var(--text-1); }
.nav-links a.active { background: var(--bg-3); color: var(--teal); }
.nav-admin { color: var(--yellow) !important; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.nav-bell {
  position: relative; padding: 8px; border-radius: var(--r-sm);
  cursor: pointer; transition: background .15s; color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
}
.nav-bell:hover { background: var(--bg-3); }
.bell-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--red); color: #fff; font-size: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.nav-vital {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-3); padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.nav-vital.v-money { color: var(--green); }
.nav-vital.v-diamond { color: var(--diamond); }

.mobile-toggle { display: none; background: none; border: none; color: var(--text-1); font-size: 20px; padding: 6px; }

.game-wrap { max-width: 1280px; margin: 0 auto; padding: 20px; }

/* TOP BAR */
.top-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 18px; margin-bottom: 18px;
}
.top-bar-left { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.top-stat {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px;
}
.top-stat .top-stat-icon { font-size: 17px; }
.phase-badge {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.phase-edu    { background: rgba(6,214,160,.15);  color: var(--teal); }
.phase-career { background: rgba(88,166,255,.15); color: var(--blue); }

/* ==================== DASHBOARD ==================== */
.welcome-banner {
  background: linear-gradient(135deg, rgba(6,214,160,.12), rgba(88,166,255,.08));
  border: 1px solid rgba(6,214,160,.2);
  border-radius: var(--r-lg); padding: 24px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.wb-left h2 { font-size: 24px; margin-bottom: 6px; }
.wb-left p { color: var(--text-2); font-size: 14px; }
.wb-emoji { font-size: 64px; line-height: 1; }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.mini-stat {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px;
  display: flex; align-items: center; gap: 14px;
  transition: all .2s;
}
.mini-stat:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.ms-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.ms-icon.ic-teal   { background: rgba(6,214,160,.15);  color: var(--teal); }
.ms-icon.ic-blue   { background: rgba(88,166,255,.15); color: var(--blue); }
.ms-icon.ic-purple { background: rgba(188,140,255,.15);color: var(--purple); }
.ms-icon.ic-yellow { background: rgba(255,209,102,.15);color: var(--yellow); }
.ms-icon.ic-pink   { background: rgba(255,126,182,.15);color: var(--pink); }
.ms-icon.ic-red    { background: rgba(255,91,107,.15); color: var(--red); }
.ms-val { font-size: 20px; font-weight: 800; }
.ms-lbl { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }

.dash-grid {
  display: grid; grid-template-columns: 1fr 1.6fr 1fr;
  gap: 18px; align-items: start;
}
.dash-grid > div { display: flex; flex-direction: column; gap: 18px; }

/* DAILY BONUS WIDGET */
.daily-bonus-widget {
  background: linear-gradient(135deg, rgba(255,209,102,.12), rgba(255,140,66,.08));
  border: 1px solid rgba(255,209,102,.3); border-radius: var(--r-lg);
  padding: 20px; text-align: center; position: relative; overflow: hidden;
}
.daily-bonus-widget::before {
  content: '🎁'; position: absolute; right: -10px; bottom: -10px;
  font-size: 80px; opacity: .1; transform: rotate(-15deg);
}
.dbw-title { font-size: 13px; color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.dbw-streak { font-size: 32px; font-weight: 800; color: var(--text-1); margin-bottom: 4px; }
.dbw-streak small { font-size: 13px; color: var(--text-3); font-weight: 500; }
.dbw-reward { font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.dbw-claimed { color: var(--green); font-size: 13px; font-weight: 600; margin-top: 8px; }

/* HOTFIX 112 + 115: Daily Bonus 7-günlük takvim (kompakt, zorla yatay) */
.dbw-calendar {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 3px;
  margin: 10px 0;
  position: relative;
  z-index: 1;
  width: 100%;
}
.dbw-day {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px; padding: 4px 1px; text-align: center;
  transition: .15s; cursor: help; position: relative;
  min-width: 0;  /* grid item taşmasını engelle */
  overflow: hidden;
}
.dbw-day.past {
  background: rgba(63,185,80,.12); border-color: rgba(63,185,80,.3); opacity: .8;
}
.dbw-day.today {
  background: linear-gradient(180deg, rgba(255,209,102,.3), rgba(255,209,102,.15));
  border-color: rgba(255,209,102,.7); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,209,102,.25), 0 0 0 2px rgba(255,209,102,.2);
  animation: dbwPulse 1.8s ease-in-out infinite;
}
@keyframes dbwPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(255,209,102,.25), 0 0 0 2px rgba(255,209,102,.2); }
  50% { box-shadow: 0 4px 16px rgba(255,209,102,.45), 0 0 0 4px rgba(255,209,102,.3); }
}
.dbw-day.claimed {
  background: rgba(63,185,80,.18); border-color: rgba(63,185,80,.5);
}
.dbw-day.future {
  opacity: .55;
}
.dbw-day.milestone {
  border-color: rgba(245,197,24,.5);
  background: rgba(245,197,24,.08);
}
.dbw-day.milestone.future {
  border-color: rgba(245,197,24,.35);
}
.dbw-day.milestone.today {
  background: linear-gradient(180deg, rgba(245,197,24,.4), rgba(255,140,66,.2));
  border-color: #f5c518;
}
.dbw-day-num {
  font-size: 10px; font-weight: 800; color: var(--text-2);
  background: rgba(0,0,0,.25); border-radius: 3px; padding: 1px 3px;
  display: inline-block; margin-bottom: 2px;
}
.dbw-day.today .dbw-day-num { background: rgba(255,209,102,.4); color: #fff; }
.dbw-day.past .dbw-day-num { color: var(--green); background: rgba(63,185,80,.2); }
.dbw-day-icon { font-size: 13px; line-height: 1.2; margin: 1px 0; }
.dbw-day-rew {
  font-size: 9px; color: var(--text-3); font-weight: 700; line-height: 1.1;
  margin-top: 2px; word-break: break-all;
}
.dbw-day.today .dbw-day-rew { color: #ffd166; }
.dbw-day.past .dbw-day-rew { color: var(--green); }

.dbw-milestone-hint {
  font-size: 11px; color: var(--text-3); margin-top: 10px;
  padding: 6px 10px; background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.2); border-radius: 6px;
  text-align: center;
}
.dbw-milestone-hint strong { color: var(--yellow); }

/* Mobil */
@media (max-width: 640px) {
  .dbw-calendar { gap: 2px; }
  .dbw-day { padding: 3px 1px; }
  .dbw-day-num { font-size: 9px; padding: 1px 2px; }
  .dbw-day-icon { font-size: 12px; }
  .dbw-day-rew { font-size: 8px; }
}

/* CHARACTER CARD */
.char-card { padding: 22px; }
.char-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.char-avatar-big { font-size: 56px; line-height: 1; flex-shrink: 0; }
.char-name-row { flex: 1; min-width: 0; }
.char-name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.char-title { font-size: 12px; color: var(--text-3); }
.char-bio { font-size: 12px; color: var(--text-3); margin-top: 8px; font-style: italic; line-height: 1.5; }

.vital-row { margin-bottom: 12px; }
.vital-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); margin-bottom: 5px; }
.vital-bar-bg { background: var(--bg-3); border-radius: 6px; height: 8px; overflow: hidden; }
.vital-bar {
  height: 100%; border-radius: 6px; transition: width .5s ease;
  position: relative; overflow: hidden;
}
.vital-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  animation: shine 3s infinite;
}
@keyframes shine { 0%,100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
.bar-energy { background: linear-gradient(90deg, #06d6a0, #58a6ff); }
.bar-stress { background: linear-gradient(90deg, #06d6a0, #ffd166); }
.bar-stress.hi { background: linear-gradient(90deg, #ffd166, #ff5b6b); }
.bar-health { background: linear-gradient(90deg, #ff5b6b, #ff7eb6); }
.vital-hint { font-size: 11px; color: var(--text-4); margin-top: 4px; display: block; }

.card-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

.attrs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.attr-item { font-size: 12px; }
.attr-top { display: flex; justify-content: space-between; color: var(--text-2); margin-bottom: 3px; }
.attr-val { color: var(--text-1); font-weight: 700; }
.attr-bar-bg { background: var(--bg-3); border-radius: 3px; height: 4px; overflow: hidden; }
.attr-bar { height: 100%; background: var(--grad-purple); border-radius: 3px; transition: width .4s; }

/* KARAKTER KUTUSU — ekstra stat alani (IQ Ustaligi; ileride Karakter Puani) */
.char-box { margin-top: 20px; padding: 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(140,90,255,.12), rgba(90,140,255,.07));
  border: 1px solid rgba(140,90,255,.30); }
.cb-row { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px; }
.cb-left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.cb-ic { font-size: 28px; line-height: 1; flex-shrink: 0; }
.cb-title { font-size: 14px; font-weight: 800; color: #d9c8ff; }
.cb-sub { font-size: 10.5px; color: #9a8ad0; margin-top: 3px; line-height: 1.4; }
.cb-lvl { flex-shrink: 0; background: rgba(140,90,255,.28); color: #e4d8ff;
  padding: 5px 13px; border-radius: 11px; font-size: 13px; font-weight: 800;
  white-space: nowrap; }
.cb-bar-bg { background: rgba(255,255,255,.07); border-radius: 5px;
  height: 8px; overflow: hidden; }
.cb-bar { height: 100%; background: linear-gradient(90deg, #8c5aff, #5a8cff);
  border-radius: 5px; transition: width .5s; }
@media (max-width: 768px) { .cb-row { flex-wrap: wrap; } }

.gpa-box {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-3); border-radius: var(--r-sm);
  padding: 10px 14px; margin-top: 14px; font-size: 13px;
}
.gpa-val { font-weight: 800; color: var(--teal); font-size: 18px; }

/* ACTIVE SESSION CARD */
.active-card {
  background: linear-gradient(135deg, rgba(6,214,160,.12), rgba(88,166,255,.06));
  border: 1px solid var(--teal); border-left: 4px solid var(--teal);
  padding: 18px;
}
.active-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.active-card-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.active-timer-big {
  font-family: 'SF Mono', 'Courier New', monospace; font-size: 28px;
  font-weight: 800; color: var(--teal); letter-spacing: 1px;
}
.active-course { font-size: 16px; font-weight: 600; margin-bottom: 14px; }

/* QUICK LINKS */
.quick-links { display: flex; flex-direction: column; gap: 8px; }
.ql {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
  color: var(--text-1); transition: all .15s; text-decoration: none;
}
.ql:hover { border-color: var(--teal); background: rgba(6,214,160,.05); }
.ql-icon { font-size: 20px; flex-shrink: 0; width: 28px; text-align: center; }
.ql-name { flex: 1; font-size: 14px; font-weight: 500; }
.ql-meta { font-size: 11px; color: var(--text-3); }

/* QUESTS */
.quest-item {
  padding: 12px 14px; background: var(--bg-3);
  border: 1px solid var(--border); border-radius: var(--r-md);
  margin-bottom: 8px; transition: all .2s;
}
.quest-item.done { opacity: .6; }
.quest-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.quest-name { font-size: 13px; font-weight: 600; }
.quest-reward { font-size: 11px; color: var(--yellow); font-weight: 600; }
.quest-prog-bg { background: var(--bg-4); border-radius: 3px; height: 4px; overflow: hidden; }
.quest-prog { height: 100%; background: var(--grad-teal); border-radius: 3px; }

/* SEMESTER PROGRESS */
.sem-prog-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 10px; }
.sem-prog-row strong { color: var(--teal); }
.sem-bar-bg { background: var(--bg-3); border-radius: 4px; height: 6px; overflow: hidden; margin-bottom: 14px; }
.sem-bar { background: var(--grad-blue); height: 100%; border-radius: 4px; transition: width .5s; }
.sem-courses { display: flex; flex-direction: column; gap: 6px; }
.sem-c-row { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 0; }
.sem-c-icon { font-size: 14px; }
.sem-c-name { flex: 1; color: var(--text-2); }
.sem-c-bar-bg { width: 60px; height: 4px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.sem-c-bar { height: 100%; background: var(--blue); border-radius: 2px; }
.sem-c-bar.done { background: var(--green); }
.sem-c-pct { font-size: 11px; color: var(--text-4); width: 32px; text-align: right; }

/* NOTIFICATIONS PREVIEW */
.notif-row {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px; align-items: flex-start;
}
.notif-row:last-child { border-bottom: none; }
.notif-row.unread { background: rgba(88,166,255,.05); border-radius: var(--r-sm); padding: 10px; margin: 2px 0; }
.notif-icon { font-size: 18px; flex-shrink: 0; }
.notif-content { flex: 1; min-width: 0; }
.notif-title { font-weight: 600; font-size: 13px; }
.notif-msg { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.notif-time { font-size: 11px; color: var(--text-4); margin-top: 4px; }

/* ACHIEVEMENT ROW */
.ach-row { display: flex; gap: 12px; padding: 10px 0; align-items: center; border-bottom: 1px solid var(--border); }
.ach-row:last-child { border-bottom: none; }
.ach-icon { font-size: 22px; }
.ach-name { font-size: 13px; font-weight: 600; }
.ach-date { font-size: 11px; color: var(--text-3); }

/* LOG ROWS */
.log-row {
  display: flex; gap: 10px; padding: 6px 0;
  font-size: 12px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.log-row:last-child { border-bottom: none; }
.log-action { color: var(--teal); font-weight: 600; min-width: 100px; font-size: 11px; }
.log-detail { flex: 1; color: var(--text-2); }
.log-time { color: var(--text-4); font-size: 11px; }

.empty-state {
  color: var(--text-4); font-size: 13px; padding: 18px 12px;
  text-align: center; font-style: italic;
}

/* ==================== EDUCATION PAGE ==================== */
.edu-layout { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; }
.edu-sidebar { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; }

.eff-badge {
  margin-top: 14px; padding: 10px; text-align: center;
  background: var(--bg-3); border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700;
}
.eff-badge.hi  { background: rgba(63,185,80,.15); color: var(--green); }
.eff-badge.mid { background: rgba(255,209,102,.15); color: var(--yellow); }
.eff-badge.low { background: rgba(255,91,107,.15); color: var(--red); }
.eff-hint { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 6px; }

/* MOTİVASYON AKTİVİTELERİ */
.activity-item {
  padding: 12px; background: var(--bg-3);
  border: 1px solid var(--border); border-radius: var(--r-md);
  margin-bottom: 8px; transition: all .2s;
}
.activity-item:hover { border-color: var(--border-strong); transform: translateX(2px); }
.act-top { display: flex; gap: 10px; margin-bottom: 10px; }
.act-icon-big { font-size: 24px; flex-shrink: 0; }
.act-name { font-size: 13px; font-weight: 600; }
.act-desc { font-size: 11px; color: var(--text-3); margin-top: 2px; line-height: 1.4; }
.act-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.act-effects { display: flex; gap: 4px; flex-wrap: wrap; }
.eff-tag { font-size: 10px; padding: 2px 6px; border-radius: 999px; font-weight: 600; }
.eff-energy { background: rgba(6,214,160,.15);  color: var(--teal); }
.eff-stress { background: rgba(255,140,66,.15); color: var(--orange); }
.eff-health { background: rgba(255,91,107,.15); color: var(--red); }
.eff-neg    { background: rgba(139,148,158,.1); color: var(--text-3); }

/* SEMESTER TABS */
.sem-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.sem-tab {
  padding: 8px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-3); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.sem-tab:hover:not(:disabled) { border-color: var(--blue); color: var(--text-1); }
.sem-tab.active { background: var(--grad-blue); color: #fff; border-color: transparent; }
.sem-tab.locked { opacity: .4; cursor: not-allowed; }

/* ACTIVE SESSION BANNER */
.active-banner {
  background: linear-gradient(135deg, rgba(6,214,160,.12), rgba(88,166,255,.06));
  border: 1px solid var(--teal); border-radius: var(--r-lg);
  padding: 20px; margin-bottom: 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.asb-left { display: flex; align-items: center; gap: 16px; }
.asb-icon-big { font-size: 36px; }
.asb-title { font-size: 16px; font-weight: 700; }
.asb-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.asb-right { text-align: center; }
.timer-display {
  font-family: 'SF Mono', 'Courier New', monospace;
  font-size: 42px; font-weight: 800; color: var(--teal);
  letter-spacing: 2px; line-height: 1; margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(6,214,160,.4);
}
.timer-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; margin-bottom: 8px; letter-spacing: .1em; }

/* COURSE CARDS */
.courses-list { display: flex; flex-direction: column; gap: 10px; }
.course-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px; transition: all .2s;
}
.course-card:hover { border-color: var(--border-strong); }
.course-card.done { border-color: rgba(63,185,80,.4); opacity: .8; }
.course-card.active { border-color: var(--teal); background: rgba(6,214,160,.03); }

.course-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.course-icon-name { display: flex; gap: 12px; align-items: flex-start; flex: 1; min-width: 0; }
.course-big-icon { font-size: 28px; line-height: 1; }
.course-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.course-meta { font-size: 11px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; }
.diff-dots { display: inline-flex; gap: 2px; }
.diff-dot { font-size: 8px; color: var(--text-4); }
.diff-dot.fill { color: var(--yellow); }

.status-pill {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.status-pill.done { background: rgba(63,185,80,.15); color: var(--green); }
.status-pill.active { background: rgba(6,214,160,.15); color: var(--teal); }
.status-pill.pct { background: var(--bg-3); color: var(--text-2); }

.course-progress-bg {
  background: var(--bg-3); border-radius: 6px; height: 10px;
  overflow: hidden; margin-bottom: 6px; position: relative;
}
.course-progress-bar {
  height: 100%; background: var(--grad-blue); border-radius: 6px;
  transition: width .5s ease; position: relative;
}
.course-progress-bar.done { background: var(--grad-teal); }
.course-progress-bar.active-anim::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shine 2s infinite;
}
.course-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-bottom: 12px; }

.course-bonus {
  font-size: 11px; color: var(--text-3); margin-bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.bonus-tag {
  background: rgba(188,140,255,.12); color: var(--purple);
  padding: 2px 8px; border-radius: 999px; font-weight: 600;
}

.course-action { display: flex; gap: 8px; }
.course-studying-msg { color: var(--teal); font-size: 13px; font-weight: 600; padding: 8px; }

/* ==================== CAREER PAGE ==================== */
.career-position-card {
  background: linear-gradient(135deg, rgba(88,166,255,.1), rgba(188,140,255,.06));
  border: 1px solid rgba(88,166,255,.3);
  border-radius: var(--r-lg); padding: 24px;
}
.cpc-header { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.cpc-icon { font-size: 56px; }
.cpc-name { font-size: 22px; font-weight: 800; }
.cpc-level { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.cpc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cpc-stat-box {
  background: rgba(0,0,0,.2); border-radius: var(--r-md); padding: 12px; text-align: center;
}
.cpc-stat-val { font-size: 18px; font-weight: 800; color: var(--text-1); }
.cpc-stat-lbl { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* CAREER PATH */
.career-path {
  display: flex; gap: 6px; flex-wrap: wrap; padding: 14px;
  background: var(--bg-3); border-radius: var(--r-md); margin-bottom: 16px;
}
.career-path-step {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--bg-4); color: var(--text-4);
}
.career-path-step.current { background: var(--grad-blue); color: #fff; }
.career-path-step.done { background: rgba(63,185,80,.15); color: var(--green); }
.career-path-step.election { border: 1px dashed var(--yellow); }

/* CAREER TASKS */
.task-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px; margin-bottom: 10px;
}
.task-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.task-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.task-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.task-rewards { display: flex; gap: 6px; flex-wrap: wrap; }
.task-reward-tag {
  font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 600;
  background: rgba(255,209,102,.15); color: var(--yellow);
}
.task-cooldown {
  font-size: 11px; color: var(--text-3); margin-top: 6px;
  background: var(--bg-3); padding: 4px 10px; border-radius: 999px; display: inline-block;
}

/* ==================== SHOP PAGE ==================== */
.shop-tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.shop-tab {
  padding: 12px 20px; background: none; border: none;
  color: var(--text-3); font-size: 13px; font-weight: 600;
  cursor: pointer; position: relative; transition: color .2s;
}
.shop-tab:hover { color: var(--text-1); }
.shop-tab.active { color: var(--teal); }
.shop-tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--teal);
}

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.shop-item {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px; text-align: center;
  transition: all .2s; position: relative;
}
.shop-item:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.shop-item-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--red); color: #fff; font-size: 9px;
  padding: 3px 8px; border-radius: 999px; font-weight: 800; letter-spacing: .05em;
}
.shop-item-icon { font-size: 48px; margin-bottom: 12px; line-height: 1; }
.shop-item-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.shop-item-desc { font-size: 11px; color: var(--text-3); margin-bottom: 14px; min-height: 32px; line-height: 1.4; }
.shop-item-price {
  font-size: 18px; font-weight: 800; margin-bottom: 14px;
}
.shop-item-price.tl { color: var(--green); }
.shop-item-price.diamond { color: var(--diamond); }

/* ==================== LEADERBOARD ==================== */
.lb-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.lb-tab {
  padding: 10px 18px; border-radius: var(--r-md);
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-2); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.lb-tab:hover { border-color: var(--text-3); }
.lb-tab.active { background: var(--grad-blue); color: #fff; border-color: transparent; }

.lb-list { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.lb-row {
  display: grid; grid-template-columns: 60px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--bg-3); }
.lb-row.me { background: rgba(6,214,160,.08); border-left: 3px solid var(--teal); }
.lb-rank {
  font-size: 18px; font-weight: 800; text-align: center;
  width: 40px; height: 40px; line-height: 40px;
  border-radius: 10px; background: var(--bg-3);
}
.lb-row:nth-child(1) .lb-rank { background: linear-gradient(135deg, #ffd166, #ff8c42); color: #2a1d00; }
.lb-row:nth-child(2) .lb-rank { background: linear-gradient(135deg, #c9d1d9, #8b949e); color: #161b22; }
.lb-row:nth-child(3) .lb-rank { background: linear-gradient(135deg, #ff8c42, #ff5b6b); color: #fff; }
.lb-player { display: flex; align-items: center; gap: 12px; }
.lb-avatar { font-size: 28px; }
.lb-name { font-weight: 600; font-size: 14px; }
.lb-sub { font-size: 11px; color: var(--text-3); }
.lb-score { font-size: 17px; font-weight: 800; color: var(--teal); }

/* ==================== PROFILE ==================== */
.profile-hero {
  background: linear-gradient(135deg, rgba(6,214,160,.1), rgba(188,140,255,.06));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px; text-align: center; margin-bottom: 18px;
}
.profile-avatar-huge { font-size: 100px; margin-bottom: 12px; }
.profile-name { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.profile-username { color: var(--text-3); font-size: 14px; margin-bottom: 8px; }
.profile-bio { color: var(--text-2); font-size: 14px; max-width: 600px; margin: 12px auto 0; line-height: 1.6; font-style: italic; }
.profile-badges { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }

.profile-stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;
  margin-bottom: 18px;
}

/* ==================== SETTINGS ==================== */
.settings-section { margin-bottom: 24px; }
.settings-section h3 { font-size: 16px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

/* ==================== NOTIFICATIONS PAGE ==================== */
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif-card {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 14px; align-items: center;
  padding: 16px 18px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-md); transition: all .15s;
}
.notif-card:hover { border-color: var(--border-strong); }
.notif-card.unread { background: rgba(88,166,255,.06); border-color: rgba(88,166,255,.3); }
.notif-card .notif-big-icon { font-size: 28px; }
.notif-card .notif-title { font-size: 14px; font-weight: 600; }
.notif-card .notif-msg { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.notif-card .notif-time { font-size: 11px; color: var(--text-4); }

/* ==================== ADMIN ==================== */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 20px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; }
.stat-card .sv { font-size: 28px; font-weight: 800; color: var(--teal); }
.stat-card .sl { font-size: 11px; color: var(--text-3); margin-top: 4px; text-transform: uppercase; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  text-align: left; padding: 10px 12px;
  background: var(--bg-3); color: var(--text-3);
  border-bottom: 1px solid var(--border);
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
}
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.admin-table tr:hover td { background: var(--bg-3); }

.form-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.form-inline input, .form-inline select {
  width: auto; padding: 7px 10px; font-size: 13px;
}

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px); z-index: 999;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; animation: fadeIn .2s; }
.modal-box {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  max-width: 420px; width: 100%; text-align: center;
  box-shadow: var(--shadow-lg);
}
.modal-icon { font-size: 56px; margin-bottom: 12px; line-height: 1; }
.modal-box h2 { font-size: 22px; margin-bottom: 8px; }
.modal-box p { color: var(--text-2); margin-bottom: 22px; font-size: 14px; }

/* ==================== TOAST ==================== */
.toast {
  position: fixed; top: 20px; left: 50%; transform: translate(-50%, -120%);
  padding: 18px 26px; border-radius: 14px;
  font-size: 16px; font-weight: 800;
  z-index: 99999; max-width: 90%; min-width: 320px; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.5); opacity: 0;
  transition: all .35s cubic-bezier(.2,.9,.3,1.2);
  pointer-events: none; border: 2px solid rgba(255,255,255,.25);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-success { background: linear-gradient(135deg,#06d6a0,#05a87f); color: #04231a; }
.toast-error   { background: linear-gradient(135deg,#ff5b6b,#d83a4a); color: #fff; }
.toast-info    { background: linear-gradient(135deg,#58a6ff,#3d7fd6); color: #fff; }
.toast-warn    { background: linear-gradient(135deg,#f5c518,#d9a800); color: #2a1d00; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid > div:nth-child(3) { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .game-nav { padding: 0 12px; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0;
    background: var(--bg-2); flex-direction: column; padding: 12px;
    border-bottom: 1px solid var(--border); }
  .nav-links.show { display: flex; }
  /* HOTFIX 98 Madde 3 + 99-fix: mobilde para/elmas RAKAMI da görünsün
     (eskiden sadece ikon vardı, rakam display:none idi).
     ÇİFT GÖSTERME bug fix: tek span, mobilde içeriği data-short'tan al */
  .nav-vital { font-size: 12px; padding: 4px 7px; gap: 3px; }
  .nav-vital .top-stat-icon { font-size: 13px; }
  .nav-vital span:not(.top-stat-icon) { display: inline; font-weight: 700; }
  /* Mobilde para: gerçek metni gizle, data-short'u göster */
  .nav-vital .nv-money-text { font-size: 0; }
  .nav-vital .nv-money-text::before { content: attr(data-short); font-size: 12px; }
  .mobile-toggle { display: block; }

  .game-wrap { padding: 12px; }
  .top-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .welcome-banner { flex-direction: column; text-align: center; gap: 12px; }
  .wb-emoji { font-size: 48px; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-grid > div:nth-child(3) { grid-column: span 1; }
  .edu-layout { grid-template-columns: 1fr; }
  .edu-sidebar { position: static; }

  .reg-grid { grid-template-columns: 1fr; }
  .avatar-pick { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .hero { padding: 110px 16px 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .landing-section { padding: 60px 16px; }
  .section-title { font-size: 28px; }
  .landing-header { padding: 12px 16px; }
  .landing-nav { gap: 4px; }
  .landing-nav a:not(.btn) { display: none; }

  .active-banner { grid-template-columns: 1fr; text-align: center; }
  .asb-left { justify-content: center; }
  .timer-display { font-size: 36px; }

  .lb-row { grid-template-columns: 50px 1fr auto; gap: 10px; padding: 12px; }
  .lb-row .lb-sub { display: none; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .step-row { grid-template-columns: 60px 1fr; gap: 14px; }
  .step-num { width: 50px; height: 50px; font-size: 19px; }
  .step-row:not(:last-child)::after { left: 31px; top: 62px; }
  .cpc-stats { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 20px; }
  .avatar-pick { grid-template-columns: repeat(2, 1fr); }
  .top-stat { font-size: 13px; }
}
