/* ══════════════════════════════════════════════════
   IT Study Hub — pages.css
   Page-specific styles for every non-course page.
   Requires: global.css loaded first.

   Sections (jump with Ctrl+F):
   [INDEX]        index.html
   [COURSES]      courses.html
   [GLOBAL-LB]    global.html  (leaderboard/dashboard)
   [BLOG]         blog.html
   [BLOG-POST]    blog-post.html
   [FILESHARE]    fileshare.html
   [ABOUT]        about.html
   [TEAM]         team.html
   [CONTACT]      contactus.html
   [SUPPORT]      support.html
   [LOGIN]        Login.html
   [PREMIUM]      premium.html
   [PROFILE]      profile.html
   [ADMIN]        admin.html
   [QUIZ]         quiz.html
   [LEGAL]        privacypolicy.html + terms.html
══════════════════════════════════════════════════ */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [INDEX]  index.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* index uses Bebas Neue for display + fixed nav */
/* cursor:none is handled globally in global.css */

/* Fixed nav override for index */
nav.index-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 20px 48px;
  background: rgba(5,5,10,0.8);
}

.nav-logo .dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.nav-cta {
  background: var(--lime);
  color: #05050a !important;
  font-weight: 500 !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: #05050a !important; }

.nav-premium-link { color: var(--gold) !important; letter-spacing: 1.5px; }
.nav-premium-link:hover { color: var(--gold) !important; }

.nav-auth { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.btn-nav-login {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  border: 1px solid rgba(200,241,53,0.3);
  padding: 7px 16px;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: transparent;
}
.btn-nav-login:hover {
  background: var(--lime-dim);
  border-color: rgba(200,241,53,0.6);
}

.user-avatar-btn {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 6px 12px 6px 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.user-avatar-btn:hover   { border-color: var(--lime); }
/* .visible class removed — avatar show/hide is handled via inline display style in JS */

.avatar-circle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), #88c100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 13px; color: #000; font-weight: 700; flex-shrink: 0;
}

.avatar-name {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--text);
}

/* Grid background for index */
body.index-bg::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.4;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [COURSES]  courses.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.profile-mini {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.avatar {
  width: 56px; height: 56px;
  background: var(--lime-dim);
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.avatar-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--lime);
}

.global-trigger  { text-decoration: none; display: block; }

.stat-widget {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: 0.2s;
}
.stat-widget:hover { border-color: var(--border-active); transform: translateX(4px); }

.sw-val { font-family: var(--ff-display); font-size: 24px; color: var(--text); margin: 4px 0; }
.sw-lab { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); }

.main {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--lime); }

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(40px,5vw,64px);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--lime); }
.hero-desc     { color: var(--muted2); max-width: 540px; font-size: 16px; line-height: 1.7; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 24px; }

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.2,0.8,0.2,1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.course-card:hover {
  border-color: var(--border-active);
  transform: translateY(-8px);
  background: var(--surface2);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.course-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, var(--lime-dim), transparent);
  opacity: 0;
  transition: 0.4s;
}
.course-card:hover::after { opacity: 1; }

.cc-icon {
  width: 52px; height: 52px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; z-index: 2;
}
.cc-title { font-family: var(--ff-display); font-size: 22px; font-weight: 800; z-index: 2; }
.cc-desc  { font-size: 14px; color: var(--muted2); line-height: 1.6; flex: 1; z-index: 2; }

.cc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  z-index: 2;
}
.cc-meta   { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }
.btn-open  { background: var(--lime-dim); color: var(--lime); padding: 8px 14px; border-radius: 8px; font-family: var(--ff-mono); font-size: 11px; font-weight: 700; }
.course-card:hover .btn-open { background: var(--lime); color: #000; }

.plan-badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; font-weight: 700; margin-top: 6px; }
.plan-free  { background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.plan-pro   { background: var(--lime-dim); border: 1px solid var(--border-active); color: var(--lime); }
.plan-elite { background: var(--gold-dim); border: 1px solid rgba(247,183,49,0.35); color: var(--gold); }
.plan-admin { background: rgba(255,95,86,0.12); border: 1px solid rgba(255,95,86,0.3); color: #ff5f56; }

.sidebar-loading { opacity: 0.4; font-family: var(--ff-mono); font-size: 11px; color: var(--muted); text-align: center; padding: 8px; }

@media (max-width: 900px) {
  .main { padding: 24px; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [GLOBAL-LB]  global.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.global-grid-bg::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(200,241,53,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,241,53,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

#gateScreen  { position: relative; z-index: 1; display: none; align-items: center; justify-content: center; min-height: calc(100vh - 64px); padding: 48px 24px; }
#authLoader  { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 64px); }
#authLoader .loader-ring { width: 40px; height: 40px; border: 3px solid #1e1e2e; border-top-color: #c8f135; border-radius: 50%; animation: spin 0.7s linear infinite; }

.gate-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  max-width: 440px;
  position: relative;
  overflow: hidden;
}
.gate-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--lime),transparent); }
.gate-icon  { font-size: 48px; margin-bottom: 20px; }
.gate-title { font-family: var(--ff-display); font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.gate-sub   { font-size: 14px; color: var(--muted2); line-height: 1.7; margin-bottom: 28px; }

#dashScreen { display: none; position: relative; z-index: 1; }

.nav-user { font-family: var(--ff-mono); font-size: 11px; color: var(--lime); background: var(--lime-dim); border: 1px solid rgba(200,241,53,0.2); padding: 6px 14px; border-radius: 4px; letter-spacing: 1px; }

/* Leaderboard sidebar */
.sb-label { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; padding: 8px 4px 4px; margin-top: 8px; }
.profile-box { background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 8px; text-align: center; }
.profile-avatar { width: 56px; height: 56px; border-radius: 14px; background: var(--lime-dim); border: 2px solid var(--lime); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 22px; color: var(--lime); margin: 0 auto 12px; }
.profile-name  { font-family: var(--ff-display); font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.profile-email { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); letter-spacing: 0.5px; }
.admin-badge   { display: inline-block; background: rgba(247,183,49,0.15); border: 1px solid rgba(247,183,49,0.3); color: var(--gold); font-family: var(--ff-mono); font-size: 9px; letter-spacing: 1px; padding: 3px 10px; border-radius: 3px; margin-top: 8px; }

.stat-row { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.stat-row-label { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); text-transform: uppercase; letter-spacing: 1px; }
.stat-row-val   { font-family: var(--ff-display); font-size: 20px; color: var(--lime); }
.stat-row-val.gold  { color: var(--gold); }
.stat-row-val.green { color: var(--green); }

/* Main content */
.main.lb-main { padding: 40px 48px; display: flex; flex-direction: column; gap: 36px; }
.welcome-hero { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px 36px; position: relative; overflow: hidden; }
.welcome-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle,var(--lime-glow),transparent 70%); pointer-events: none; }
.welcome-eyebrow { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 2px; color: var(--lime); text-transform: uppercase; margin-bottom: 10px; }
.welcome-title   { font-family: var(--ff-display); font-size: clamp(28px,4vw,44px); font-weight: 800; line-height: 1.1; margin-bottom: 10px; }
.welcome-title em { font-style: normal; color: var(--lime); }
.welcome-sub  { font-size: 14px; color: var(--muted2); line-height: 1.7; max-width: 500px; }
.welcome-row  { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.rank-chip    { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; font-family: var(--ff-mono); font-size: 12px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.rank-chip span { color: var(--lime); font-weight: 700; }

.sec-head   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.sec-label.lb-sec { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.sec-label.lb-sec::before { content: ''; width: 14px; height: 1px; background: var(--lime); }
.sec-title  { font-family: var(--ff-display); font-size: 24px; font-weight: 700; }

.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }

/* Leaderboard card */
.lb-card   { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.lb-top    { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.lb-season { font-family: var(--ff-display); font-size: 18px; font-weight: 700; }
.lb-ends   { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.lb-loading { padding: 40px; text-align: center; font-family: var(--ff-mono); font-size: 12px; color: var(--muted); }

.lb-row { display: grid; grid-template-columns: 48px 1fr 80px 70px; align-items: center; padding: 14px 24px; border-top: 1px solid var(--border); transition: background 0.2s; gap: 8px; }
.lb-row:hover   { background: var(--surface2); }
.lb-row.is-me   { background: var(--lime-dim); border-left: 2px solid var(--lime); }
.lb-row.top-3   { background: rgba(247,183,49,0.05); }
.rank-num       { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.rank-num.r1    { color: #ffd700; }
.rank-num.r2    { color: #c0c0c0; }
.rank-num.r3    { color: #cd7f32; }
.rank-num.rme   { color: var(--lime); }

.lb-name { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.lb-name .you-tag { font-family: var(--ff-mono); font-size: 9px; background: var(--lime); color: #000; padding: 2px 6px; border-radius: 2px; letter-spacing: 1px; }
.lb-xp  { font-family: var(--ff-mono); font-size: 12px; color: var(--lime); font-weight: 600; text-align: right; }
.lb-lvl { font-family: var(--ff-mono); font-size: 11px; color: var(--muted2); text-align: right; }

/* Scores */
.scores-grid { display: flex; flex-direction: column; gap: 10px; }
.score-row   { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.score-top   { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.score-subject { font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.score-pct   { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; }
.score-bar-track { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.score-bar-fill  { height: 100%; border-radius: 2px; transition: width 1.2s cubic-bezier(0.16,1,0.3,1); }
.level-tag       { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 1px; padding: 2px 8px; border-radius: 2px; text-transform: uppercase; }
.lt-beginner     { background: rgba(67,233,123,0.1);  color: var(--green); border: 1px solid rgba(67,233,123,0.2); }
.lt-intermediate { background: rgba(247,183,49,0.1);  color: var(--gold);  border: 1px solid rgba(247,183,49,0.2); }
.lt-advanced     { background: rgba(255,101,132,0.1); color: var(--red);   border: 1px solid rgba(255,101,132,0.2); }
.lt-none         { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

/* Badges */
.badges-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.badge-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.badge-item  { aspect-ratio: 1; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 24px; position: relative; transition: all 0.2s; cursor: help; gap: 4px; }
.badge-item:hover:not(.locked) { border-color: var(--lime); transform: translateY(-3px); box-shadow: 0 8px 24px var(--lime-glow); }
.badge-item.locked { opacity: 0.25; filter: grayscale(1); }
.badge-item .badge-label { font-family: var(--ff-mono); font-size: 8px; color: var(--muted2); letter-spacing: 0.5px; text-align: center; padding: 0 4px; }

/* Skill bars */
.skill-section { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.skill-item    { margin-bottom: 14px; }
.skill-item:last-child { margin-bottom: 0; }
.skill-header  { display: flex; justify-content: space-between; margin-bottom: 6px; }
.skill-name    { font-size: 12px; color: var(--muted2); }
.skill-pct     { font-family: var(--ff-mono); font-size: 11px; color: var(--lime); }
.skill-track   { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-fill    { height: 100%; background: linear-gradient(90deg,var(--lime),#a8e63d); border-radius: 2px; width: 0; transition: width 1.4s cubic-bezier(0.16,1,0.3,1); }

@media (max-width: 900px) {
  .main.lb-main { padding: 24px 20px; }
  .grid-2 { grid-template-columns: 1fr; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [BLOG]  blog.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.layout.blog-layout { grid-template-columns: 280px 1fr; }

.sidebar.blog-sidebar { padding: 32px 20px; gap: 6px; }

.cat-btn { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; width: 100%; background: transparent; border: 1px solid transparent; border-radius: 10px; color: var(--muted2); cursor: pointer; transition: all 0.2s; font-family: var(--ff-mono); font-size: 12px; text-align: left; }
.cat-btn:hover  { background: var(--surface2); color: var(--text); }
.cat-btn.active { background: var(--lime-dim); border-color: var(--border-active); color: var(--lime); }
.cat-count      { font-size: 10px; background: var(--surface2); padding: 2px 7px; border-radius: 99px; color: var(--muted); }
.cat-btn.active .cat-count { background: rgba(200,241,53,0.2); color: var(--lime); }

.trending-card { margin-top: 8px; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; transition: border-color 0.2s; }
.trending-card:hover { border-color: var(--border-active); }
.tc-num   { font-family: var(--ff-display); font-size: 32px; color: var(--border); line-height: 1; margin-bottom: 6px; }
.tc-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.tc-meta  { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }

.subscribe-box { background: var(--lime-dim); border: 1px solid var(--border-active); border-radius: 12px; padding: 18px; margin-top: 8px; }
.sb-title { font-family: var(--ff-display); font-size: 18px; font-weight: 800; color: var(--lime); margin-bottom: 6px; }
.sb-sub   { font-size: 12px; color: var(--muted2); line-height: 1.5; margin-bottom: 12px; }
.sb-input { width: 100%; background: var(--bg); border: 1px solid var(--border); padding: 9px 12px; border-radius: 7px; color: var(--text); font-size: 12px; outline: none; margin-bottom: 8px; transition: border-color 0.2s; font-family: var(--ff-body); }
.sb-input:focus { border-color: var(--border-active); }
.sb-btn   { width: 100%; background: var(--lime); color: #000; border: none; padding: 9px; border-radius: 7px; font-family: var(--ff-mono); font-weight: 700; font-size: 11px; cursor: pointer; transition: opacity 0.2s; letter-spacing: 0.05em; }
.sb-btn:hover { opacity: 0.85; }

.nav-search { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 7px 14px; transition: border-color 0.2s; }
.nav-search:focus-within { border-color: var(--border-active); }
.nav-search input { background: none; border: none; outline: none; color: var(--text); font-family: var(--ff-mono); font-size: 11px; width: 160px; }
.nav-search input::placeholder { color: var(--muted); }

.blog-hero   { display: flex; flex-direction: column; gap: 12px; }
.hero-stats  { display: flex; gap: 32px; margin-top: 8px; flex-wrap: wrap; }
.h-stat      { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.h-stat span { color: var(--lime); font-weight: 600; }

/* Featured post */
.featured-wrap { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s; cursor: pointer; background: var(--surface); }
.featured-wrap:hover { border-color: var(--border-active); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.featured-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.feat-visual   { min-height: 320px; background: linear-gradient(135deg,#0a0a1a,#111128); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.feat-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%,rgba(200,241,53,0.12),transparent 60%); }
.feat-emoji    { font-size: 96px; position: relative; z-index: 1; filter: drop-shadow(0 0 40px rgba(200,241,53,0.3)); }
.feat-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,241,53,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(200,241,53,0.05) 1px,transparent 1px); background-size: 32px 32px; }
.feat-body     { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feat-tag      { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); background: var(--lime-dim); border: 1px solid var(--border-active); padding: 5px 12px; border-radius: 99px; width: fit-content; }
.feat-title    { font-family: var(--ff-display); font-size: clamp(24px,3vw,36px); font-weight: 800; line-height: 1.1; color: var(--text); }
.feat-excerpt  { font-size: 14px; color: var(--muted2); line-height: 1.8; font-weight: 300; }
.feat-footer   { display: flex; align-items: center; gap: 20px; font-family: var(--ff-mono); font-size: 11px; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.feat-author   { display: flex; align-items: center; gap: 8px; }
.author-dot    { width: 28px; height: 28px; border-radius: 50%; background: var(--lime-dim); border: 1px solid var(--border-active); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.feat-badge    { background: var(--lime); color: #000; font-weight: 700; padding: 3px 10px; border-radius: 99px; font-size: 9px; letter-spacing: 1px; }
.read-more-arrow { margin-left: auto; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.2s; }
.featured-wrap:hover .read-more-arrow { border-color: var(--lime); color: var(--lime); transform: rotate(45deg); }

/* Blog post cards */
.blog-grid   { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 20px; }
.post-card   { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; cursor: pointer; text-decoration: none; color: inherit; position: relative; }
.post-card:hover { border-color: var(--border-active); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); background: var(--surface2); }
.post-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--lime),transparent); opacity: 0; transition: opacity 0.3s; }
.post-card:hover::before { opacity: 1; }

.post-thumb { width: 100%; height: 170px; display: flex; align-items: center; justify-content: center; font-size: 48px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.post-thumb::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center,rgba(255,255,255,0.03),transparent 70%); }

/* Per-category thumbnail accent colours */
.post-thumb-trend    { background: linear-gradient(135deg,#05080a,#0d1a10); }
.post-thumb-tutorial { background: linear-gradient(135deg,#05080f,#0a0f1a); }
.post-thumb-career   { background: linear-gradient(135deg,#090708,#1a120a); }
.post-thumb-tips     { background: linear-gradient(135deg,#080510,#110a1a); }

/* Subtle left border accent per category */
.post-thumb-trend::before    { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--lime); }
.post-thumb-tutorial::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--blue); }
.post-thumb-career::before   { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--gold); }
.post-thumb-tips::before     { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:#a78bfa; }

.post-cat-tag { position: absolute; bottom: 10px; left: 10px; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border); background: rgba(4,4,10,0.8); backdrop-filter: blur(4px); }
.post-cat-tag.cat-tutorial { color: #60a5fa; border-color: rgba(96,165,250,0.3); }
.post-cat-tag.cat-career   { color: var(--gold); border-color: rgba(247,183,49,0.3); }
.post-cat-tag.cat-trend    { color: var(--lime); border-color: var(--border-active); }
.post-cat-tag.cat-tips     { color: #a78bfa; border-color: rgba(167,139,250,0.3); }

.post-content { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-date    { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }
.post-title   { font-family: var(--ff-display); font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--text); transition: color 0.2s; }
.post-card:hover .post-title { color: var(--lime); }
.post-excerpt { font-size: 13px; color: var(--muted2); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 300; }
.post-footer  { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }
.post-author  { display: flex; align-items: center; gap: 7px; }
.author-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.read-badge   { background: var(--surface2); padding: 3px 9px; border-radius: 99px; border: 1px solid var(--border); }

.empty-state      { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state .es-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state p    { font-family: var(--ff-mono); font-size: 13px; }

.toast.blog-toast { display: flex; align-items: center; gap: 12px; font-size: 13px; max-width: 320px; }
.toast-icon       { font-size: 20px; flex-shrink: 0; }

@media (max-width: 1000px) { .featured-grid { grid-template-columns: 1fr; } .feat-visual { min-height: 200px; } }
@media (max-width: 768px)  { .sidebar.blog-sidebar { display: none; } .nav-search { display: none; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [BLOG-POST]  blog-post.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.layout.post-layout { grid-template-columns: 1fr 280px; max-width: 1200px; margin: 0 auto; padding: 60px 48px; align-items: start; }
.article-wrap { max-width: 720px; }
.article-hero { margin-bottom: 56px; }

.art-category { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); background: var(--lime-dim); border: 1px solid var(--border-active); padding: 5px 14px; border-radius: 99px; margin-bottom: 20px; }
.art-title    { font-family: var(--ff-display); font-size: clamp(32px,5vw,56px); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 20px; color: var(--text); }
.art-excerpt  { font-size: 17px; color: var(--muted2); line-height: 1.75; font-weight: 300; margin-bottom: 32px; border-left: 2px solid var(--lime); padding-left: 20px; }
.art-meta     { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.meta-author  { display: flex; align-items: center; gap: 10px; }
.meta-avatar  { width: 36px; height: 36px; border-radius: 50%; background: var(--lime-dim); border: 1px solid var(--border-active); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.meta-name    { font-weight: 600; font-size: 14px; }
.meta-role    { font-family: var(--ff-mono); font-size: 10px; color: var(--lime); text-transform: uppercase; letter-spacing: 1px; }
.meta-divider { width: 1px; height: 32px; background: var(--border); }

.art-visual { width: 100%; height: 280px; background: linear-gradient(135deg,#0a0a18,#0f0f22); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 100px; border: 1px solid var(--border); margin: 40px 0; position: relative; overflow: hidden; }
.art-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%,rgba(200,241,53,0.08),transparent 60%); }
.art-visual-grid    { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,241,53,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(200,241,53,0.04) 1px,transparent 1px); background-size: 40px 40px; }

/* Article body (blog post — slightly different from course) */
.art-body.post-body { font-size: 16px; line-height: 1.85; color: #d4d4e0; font-weight: 300; }
.art-body.post-body p  { margin-bottom: 24px; }
.art-body.post-body h2 { font-family: var(--ff-display); font-size: 28px; font-weight: 800; color: var(--text); margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.art-body.post-body h3 { font-family: var(--ff-display); font-size: 20px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.art-body.post-body pre { border-radius: 12px; padding: 24px; }
.art-body.post-body pre code { font-size: 13px; }
.art-body.post-body ul, .art-body.post-body ol { padding-left: 24px; margin-bottom: 24px; }
.art-body.post-body li { margin-bottom: 8px; color: #d4d4e0; }
.art-body.post-body blockquote { font-style: italic; }

.art-footer { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.art-tags   { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.art-tag    { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--border); color: var(--muted2); cursor: pointer; transition: all 0.2s; }
.art-tag:hover { border-color: var(--border-active); color: var(--lime); }

.related-title { font-family: var(--ff-display); font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.related-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-card  { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; cursor: pointer; transition: all 0.25s; text-decoration: none; color: inherit; display: block; }
.related-card:hover { border-color: var(--border-active); transform: translateY(-3px); background: var(--surface2); }
.rc-emoji  { font-size: 24px; margin-bottom: 10px; }
.rc-cat    { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lime); margin-bottom: 6px; }
.rc-title  { font-family: var(--ff-display); font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 6px; }
.rc-meta   { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }

/* Post sticky sidebar */
.sidebar.post-sidebar { position: sticky; top: 84px; padding-left: 48px; background: none; border: none; height: auto; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.sc-label     { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.toc-item     { display: flex; gap: 10px; padding: 8px 10px; border-radius: 7px; cursor: pointer; transition: all 0.2s; font-size: 13px; color: var(--muted2); text-decoration: none; align-items: flex-start; }
.toc-item:hover  { background: var(--surface2); color: var(--text); }
.toc-item.active { color: var(--lime); background: var(--lime-dim); }
.toc-num      { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); margin-top: 2px; min-width: 16px; }
.progress-widget { text-align: center; }
.prog-circle  { width: 72px; height: 72px; margin: 0 auto 10px; }
.prog-text    { font-family: var(--ff-display); font-size: 22px; color: var(--lime); }
.prog-sub     { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.share-btn    { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--muted2); font-family: var(--ff-mono); font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-bottom: 6px; }
.share-btn:hover { border-color: var(--border-active); color: var(--lime); }
.share-btn.copy-btn:hover { background: var(--lime); color: #000; border-color: var(--lime); }

.not-found   { text-align: center; padding: 120px 40px; position: relative; z-index: 1; }
.nf-icon     { font-size: 64px; margin-bottom: 20px; }
.nf-title    { font-family: var(--ff-display); font-size: 40px; margin-bottom: 12px; }
.nf-sub      { color: var(--muted2); margin-bottom: 28px; font-size: 15px; }

@media (max-width: 1000px) { .layout.post-layout { grid-template-columns: 1fr; padding: 40px 24px; } .sidebar.post-sidebar { display: none; } }
@media (max-width: 600px)  { .related-grid { grid-template-columns: 1fr; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [FILESHARE]  fileshare.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.layout.fs-layout { grid-template-columns: 280px 1fr; }
.sidebar.fs-sidebar { padding: 28px 20px; gap: 4px; }

.filter-btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; width: 100%; background: transparent; border: 1px solid transparent; border-radius: 10px; color: var(--muted2); cursor: pointer; transition: all 0.2s; font-family: var(--ff-mono); font-size: 12px; text-align: left; }
.filter-btn:hover  { background: var(--surface2); color: var(--text); }
.filter-btn.active { background: var(--lime-dim); border-color: var(--border-active); color: var(--lime); }
.filter-count      { margin-left: auto; font-size: 10px; background: var(--surface2); padding: 2px 7px; border-radius: 99px; color: var(--muted); }
.filter-btn.active .filter-count { background: rgba(200,241,53,0.2); color: var(--lime); }

.storage-box   { margin-top: auto; background: var(--gold-dim); border: 1px solid rgba(247,183,49,0.2); border-radius: 12px; padding: 16px; }
.storage-label { font-family: var(--ff-mono); font-size: 10px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.storage-bar-wrap { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.storage-bar   { height: 100%; background: var(--gold); border-radius: 2px; width: 24%; }
.storage-meta  { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); }

.main.fs-main { padding: 48px; display: flex; flex-direction: column; gap: 36px; }
.page-eyebrow { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 3px; color: var(--lime); text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.page-eyebrow::before { content: ''; width: 14px; height: 1px; background: var(--lime); }
.page-title   { font-family: var(--ff-display); font-size: clamp(36px,5vw,56px); font-weight: 800; line-height: 1; margin-bottom: 10px; }
.page-title em { font-style: normal; color: var(--lime); }
.page-desc    { font-size: 14px; color: var(--muted2); line-height: 1.7; font-weight: 300; max-width: 520px; }

.stats-row    { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-pill    { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; }
.stat-pill-val   { font-family: var(--ff-display); font-size: 22px; color: var(--lime); }
.stat-pill-label { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); text-transform: uppercase; letter-spacing: 1px; }

.search-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; transition: border-color 0.2s; max-width: 480px; }
.search-wrap:focus-within { border-color: var(--border-active); }
.search-wrap input { background: none; border: none; outline: none; color: var(--text); font-family: var(--ff-mono); font-size: 13px; flex: 1; }
.search-wrap input::placeholder { color: var(--muted); }
.search-icon { font-size: 16px; opacity: 0.5; }

.file-grid   { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 16px; }
.file-card   { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; transition: all 0.25s; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.file-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left; }
.file-card:hover   { border-color: var(--border-active); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.5); }
.file-card:hover::before { transform: scaleX(1); }
.file-card.type-c::before      { background: #60a5fa; }
.file-card.type-java::before   { background: #f7b731; }
.file-card.type-python::before { background: #43e97b; }
.file-card.type-cpp::before    { background: #a78bfa; }
.file-card.type-csharp::before { background: #38bdf8; }
.file-card.type-web::before    { background: var(--lime); }

.file-top       { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.file-icon-wrap { width: 48px; height: 48px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.file-badge     { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 1px; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; height: fit-content; }
.badge-c      { background: rgba(96,165,250,0.1);  color: #60a5fa; border: 1px solid rgba(96,165,250,0.2); }
.badge-java   { background: var(--gold-dim);        color: var(--gold); border: 1px solid rgba(247,183,49,0.2); }
.badge-python { background: rgba(67,233,123,0.1);   color: #43e97b; border: 1px solid rgba(67,233,123,0.2); }
.badge-cpp    { background: rgba(167,139,250,0.1);  color: #a78bfa; border: 1px solid rgba(167,139,250,0.2); }
.badge-csharp { background: rgba(56,189,248,0.1);   color: #38bdf8; border: 1px solid rgba(56,189,248,0.2); }
.badge-web    { background: var(--lime-dim);         color: var(--lime); border: 1px solid rgba(200,241,53,0.2); }

.file-name     { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; flex: 1; }
.file-meta     { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.file-meta-dot { opacity: 0.3; }
.file-desc     { font-size: 12px; color: var(--muted2); line-height: 1.6; font-weight: 300; }
.file-footer   { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.file-type-tag { font-family: var(--ff-mono); font-size: 9px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.btn-dl        { display: flex; align-items: center; gap: 6px; padding: 9px 16px; background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(200,241,53,0.25); border-radius: 8px; font-family: var(--ff-mono); font-size: 11px; font-weight: 700; text-decoration: none; transition: all 0.2s; letter-spacing: 0.5px; }
.btn-dl:hover  { background: var(--lime); color: #000; transform: translateY(-1px); box-shadow: 0 4px 16px var(--lime-glow); }

@media (max-width: 900px) { .main.fs-main { padding: 24px; } .stats-row { display: grid; grid-template-columns: 1fr 1fr; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [ABOUT]  about.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.info-pill { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.pill-title { font-family: var(--ff-mono); font-size: 10px; color: var(--lime); margin-bottom: 4px; }
.pill-val   { font-size: 14px; color: var(--text); line-height: 1.4; }

.main.about-main { padding: 48px; display: flex; flex-direction: column; gap: 64px; max-width: 1000px; }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-card   { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; transition: 0.3s; }
.about-card:hover { border-color: var(--border-active); }
.ac-icon  { font-size: 32px; margin-bottom: 20px; display: block; }
.ac-title { font-family: var(--ff-display); font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.ac-text  { color: var(--muted2); line-height: 1.8; font-size: 15px; }

.team-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 24px; }
.mentor-card  { text-align: center; }
.mentor-photo { width: 100px; height: 100px; background: var(--surface2); border: 1px solid var(--border); border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; transition: 0.3s; }
.mentor-card:hover .mentor-photo { border-color: var(--lime); transform: scale(1.05); box-shadow: 0 0 20px var(--lime-glow); }
.mentor-name { font-family: var(--ff-display); font-size: 18px; font-weight: 700; }
.mentor-role { font-family: var(--ff-mono); font-size: 10px; color: var(--lime); text-transform: uppercase; margin-top: 4px; }

@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .main.about-main { padding: 24px; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [TEAM]  team.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.amb-1 { width: 500px; height: 500px; background: rgba(200,241,53,0.05); top: -150px; right: -150px; }
.amb-2 { width: 400px; height: 400px; background: rgba(200,241,53,0.04); bottom: -100px; left: -100px; }

.member-list { display: flex; flex-direction: column; gap: 8px; }
.member-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; transition: all 0.2s; cursor: default !important; }
.member-item:hover { border-color: var(--border-active); transform: translateX(4px); }
.member-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--lime-dim); border: 1px solid var(--border-active); display: flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: var(--lime); flex-shrink: 0; }
.member-name-sm { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.2; }
.member-role-sm { font-family: var(--ff-mono); font-size: 9px; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }

.main.team-main { padding: 48px; display: flex; flex-direction: column; gap: 48px; max-width: 900px; }
.hero-desc { color: var(--muted2); font-size: 16px; max-width: 560px; line-height: 1.75; }

.photo-section { }
.photo-card    { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.photo-card:hover { border-color: var(--border-active); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border-active); }
.photo-card img  { width: 100%; max-height: 520px; object-fit: cover; object-position: center 8%; display: block; filter: grayscale(10%) contrast(1.05); transition: filter 0.5s, transform 0.5s; }
.photo-card:hover img { filter: grayscale(0%) contrast(1.02); transform: scale(1.02); }
.photo-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(4,4,10,0.9) 100%); }
.photo-card::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--lime); top: -100%; transition: top 0.6s ease; opacity: 0.6; pointer-events: none; }
.photo-card:hover::after { top: 100%; }

.photo-bar       { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.photo-bar-tag   { font-family: var(--ff-mono); font-size: 10px; color: var(--lime); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 6px; }
.photo-bar-names { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.photo-bar-names .dot { color: var(--muted); margin: 0 6px; font-weight: 400; }
.photo-bar-badge { display: flex; align-items: center; gap: 8px; background: var(--lime-dim); border: 1px solid var(--border-active); border-radius: 50px; padding: 6px 14px; font-family: var(--ff-mono); font-size: 10px; color: var(--lime); letter-spacing: 0.1em; text-transform: uppercase; }
.badge-dot       { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.team-grid  { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.team-card  { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.team-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,var(--lime-dim) 0%,transparent 60%); opacity: 0; transition: opacity 0.25s; border-radius: 16px; pointer-events: none; }
.team-card:hover   { border-color: var(--border-active); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.team-card:hover::before { opacity: 1; }

.card-index-badge  { width: 40px; height: 40px; flex-shrink: 0; background: var(--lime-dim); border: 1px solid var(--border-active); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; color: var(--lime); }
.card-index-label  { font-family: var(--ff-mono); font-size: 9px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.card-name  { font-family: var(--ff-display); font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 2px; line-height: 1.15; }
.card-role  { font-family: var(--ff-mono); font-size: 10px; color: var(--lime); letter-spacing: 0.08em; margin-bottom: 10px; }
.card-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.tag        { background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 3px 10px; font-family: var(--ff-mono); font-size: 9px; color: var(--muted2); letter-spacing: 0.06em; }

.contact-strip { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0; overflow: hidden; display: grid; grid-template-columns: repeat(4,1fr); }
.contact-item  { padding: 24px 20px; border-right: 1px solid var(--border); transition: background 0.2s; position: relative; overflow: hidden; }
.contact-item:last-child { border-right: none; }
.contact-item::after     { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.contact-item:hover      { background: var(--lime-dim); }
.contact-item:hover::after { transform: scaleX(1); }
.ci-icon  { font-size: 18px; margin-bottom: 10px; display: block; }
.ci-label { font-family: var(--ff-mono); font-size: 9px; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 5px; }
.ci-val   { font-size: 12.5px; color: var(--text); font-weight: 500; line-height: 1.4; }
.social-row { display: flex; gap: 6px; margin-top: 6px; }
.social-btn { width: 28px; height: 28px; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 11px; color: var(--muted2); text-decoration: none; transition: all 0.2s; }
.social-btn:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-dim); }

.page-footer  { padding: 32px 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.footer-copy  { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); }
.footer-back  { font-family: var(--ff-mono); font-size: 11px; color: var(--muted2); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.footer-back:hover { color: var(--lime); }

@media (max-width: 900px) { .main.team-main { padding: 24px; } .team-grid { grid-template-columns: 1fr; } .contact-strip { grid-template-columns: 1fr 1fr; } .contact-item { border-right: none; border-bottom: 1px solid var(--border); } }
@media (max-width: 560px)  { .contact-strip { grid-template-columns: 1fr; } .photo-bar-names { font-size: 13px; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [CONTACT]  contactus.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.contact-method { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; transition: all 0.2s; }
.contact-method:hover { border-color: var(--border-active); transform: translateY(-2px); }
.cm-icon { font-size: 20px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--lime-dim); border-radius: 8px; color: var(--lime); }
.cm-text { font-size: 13px; color: var(--muted2); font-family: var(--ff-mono); }

.main.contact-main { padding: 48px; display: flex; flex-direction: column; gap: 40px; }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 40px; max-width: 700px; transition: border-color 0.3s; }
.contact-card:focus-within { border-color: var(--border-active); }

.form-group    { margin-bottom: 24px; }
.form-label    { display: block; font-family: var(--ff-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; color: var(--text); font-family: var(--ff-body); font-size: 14px;
  transition: all 0.2s; outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--lime); box-shadow: 0 0 15px var(--lime-glow); }
.form-textarea { min-height: 150px; resize: vertical; }

.btn-submit { width: 100%; padding: 16px; background: var(--lime); color: #000; font-family: var(--ff-mono); font-size: 14px; font-weight: 700; border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--lime-glow); }

@media (max-width: 900px) { .main.contact-main { padding: 24px; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [SUPPORT]  support.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.layout.support-layout { max-width: 1200px; margin: 0 auto; padding: 64px 48px 80px; grid-template-columns: 280px 1fr; gap: 48px; }
.sidebar.support-sidebar { background: none; border: none; height: auto; gap: 8px; }
.sidebar-sticky { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 8px; }

.tab-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: transparent; border: 1px solid transparent; border-radius: 12px; color: var(--muted2); font-family: var(--ff-mono); font-size: 12px; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.tab-btn:hover  { background: var(--lime-dim); color: var(--text); border-color: var(--border); }
.tab-btn.active { background: var(--lime-dim); border-color: var(--border-active); color: var(--lime); }
.tab-icon       { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

.status-pill { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.status-dot  { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; display: inline-block; margin-right: 8px; box-shadow: 0 0 8px #2ecc71; animation: pulse 2s infinite; }
.status-text { font-family: var(--ff-mono); font-size: 11px; color: var(--text); }
.status-sub  { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); margin-top: 6px; }

.main.support-main { display: flex; flex-direction: column; gap: 48px; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.25s; }
.faq-item.open { border-color: var(--border-active); }
.faq-q    { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; gap: 16px; user-select: none; }
.faq-q-text  { font-family: var(--ff-display); font-size: 17px; font-weight: 700; line-height: 1.2; }
.faq-chevron { width: 28px; height: 28px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s, background 0.2s; font-size: 12px; color: var(--muted2); }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--lime-dim); color: var(--lime); border-color: var(--border-active); }
.faq-a        { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a-inner  { color: var(--muted2); font-size: 14px; line-height: 1.8; padding-top: 16px; border-top: 1px solid var(--border); }
.faq-a-inner a       { color: var(--lime); text-decoration: none; }
.faq-a-inner a:hover { text-decoration: underline; }

.channels-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.channel-card  { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.25s, transform 0.25s; }
.channel-card:hover { border-color: var(--border-active); transform: translateY(-3px); }
.ch-top  { display: flex; align-items: center; gap: 12px; }
.ch-icon { font-size: 22px; width: 44px; height: 44px; background: var(--lime-dim); border: 1px solid var(--border-active); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ch-name   { font-family: var(--ff-display); font-size: 18px; font-weight: 700; }
.ch-handle { font-family: var(--ff-mono); font-size: 11px; color: var(--lime); }
.ch-desc   { font-size: 13px; color: var(--muted2); line-height: 1.6; }
.ch-badge  { display: inline-block; font-family: var(--ff-mono); font-size: 10px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border); color: var(--muted); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 40px; transition: border-color 0.3s; }
.form-card:focus-within { border-color: var(--border-active); }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-select, .form-textarea.support-ta { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px; color: var(--text); font-family: var(--ff-body); font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-select:focus, .form-textarea.support-ta:focus { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-dim); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%236b6b80' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-textarea.support-ta { min-height: 130px; resize: vertical; }

.btn-submit.support-submit { width: 100%; padding: 16px; margin-top: 24px; background: var(--lime); color: #000; font-family: var(--ff-mono); font-size: 13px; font-weight: 700; border: none; border-radius: 10px; letter-spacing: 0.08em; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform 0.2s, box-shadow 0.2s; }
.btn-submit.support-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--lime-glow); }

.toast-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.toast-sub   { font-family: var(--ff-mono); font-size: 11px; color: var(--lime); }

@media (max-width: 960px) { .layout.support-layout { grid-template-columns: 1fr; padding: 40px 24px 60px; gap: 32px; } .sidebar-sticky { position: static; flex-direction: row; flex-wrap: wrap; } .channels-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [LOGIN]  Login.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.login-body { min-height: 100vh; }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; overflow: hidden; }

.left-panel { position: relative; background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 48px; overflow: hidden; }
.left-panel::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(200,241,53,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(200,241,53,0.04) 1px,transparent 1px); background-size: 48px 48px; pointer-events: none; }
.left-panel::after  { content: ''; position: absolute; bottom: -120px; left: -120px; width: 480px; height: 480px; background: radial-gradient(circle,rgba(200,241,53,0.10) 0%,transparent 70%); pointer-events: none; }

.lp-logo    { font-family: var(--ff-display); font-size: 14px; font-weight: 800; letter-spacing: 0.14em; color: var(--text); position: relative; z-index: 1; }
.lp-logo span { color: var(--lime); }
.lp-center  { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.lp-eyebrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--lime); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.lp-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--lime); display: block; }
.lp-title   { font-family: var(--ff-display); font-size: clamp(40px,4.5vw,68px); font-weight: 800; line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 24px; }
.lp-title em { font-style: normal; color: var(--lime); }
.lp-desc    { font-size: 15px; color: var(--muted2); line-height: 1.75; max-width: 380px; margin-bottom: 40px; }
.lp-features { display: flex; flex-direction: column; gap: 14px; }
.lp-feature  { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted2); }
.lp-feat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; box-shadow: 0 0 8px var(--lime-glow); }
.lp-bottom  { position: relative; z-index: 1; font-family: var(--ff-mono); font-size: 11px; color: var(--muted); }

.right-panel { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--bg); }
.right-panel::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle,rgba(200,241,53,0.05) 0%,transparent 70%); pointer-events: none; }

.auth-box { width: 100%; max-width: 400px; position: relative; z-index: 1; }

.tab-toggle { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin-bottom: 32px; }
.tab-btn.auth-tab { flex: 1; padding: 10px; background: transparent; border: none; border-radius: 7px; cursor: pointer; font-family: var(--ff-mono); font-size: 12px; font-weight: 600; color: var(--muted); transition: all 0.2s; letter-spacing: 0.05em; }
.tab-btn.auth-tab.active { background: var(--lime); color: #000; }

.form-title { font-family: var(--ff-display); font-size: 30px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.form-sub   { font-size: 14px; color: var(--muted2); margin-bottom: 28px; line-height: 1.5; }
.form-group.login-fg { margin-bottom: 16px; }

label.login-label { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted2); text-transform: uppercase; margin-bottom: 8px; }

.input-wrap  { position: relative; }
.input-icon  { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 15px; }

/* Login-scoped input styles — only applies inside .auth-box */
.auth-box input[type="email"],
.auth-box input[type="password"],
.auth-box input[type="text"] {
  width: 100%; padding: 13px 14px 13px 40px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: var(--ff-body); font-size: 14px;
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.auth-box input::placeholder { color: var(--muted); }
.auth-box input:focus { border-color: var(--border-active); }

/* Drag-to-authenticate slider */
.drag-thumb { cursor: grab !important; }
.drag-thumb:active { cursor: grabbing !important; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [PREMIUM]  premium.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* premium uses Bebas Neue */
nav.premium-nav { position: fixed; top: 0; left: 0; right: 0; padding: 20px 48px; }
.nav-links.premium-links { list-style: none; }
.nav-links.premium-links a { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); text-decoration: none; transition: color 0.2s; }
.nav-links.premium-links a:hover, .nav-links.premium-links a.active { color: var(--lime); }
.nav-premium-link { color: var(--gold) !important; }
.nav-premium-link:hover { color: var(--gold) !important; text-shadow: 0 0 12px rgba(247,183,49,0.4); }

.prem-hero   { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 48px 80px; position: relative; overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-bg svg { width: 100%; height: 100%; opacity: 0.04; }
.hero-glow   { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 400px; background: radial-gradient(ellipse,rgba(200,241,53,0.07) 0%,transparent 70%); pointer-events: none; }

.prem-eyebrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 10px; opacity: 0; animation: slideUp 0.7s 0.2s ease forwards; }
.prem-eyebrow::before,.prem-eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gold); }
.prem-title  { font-family: 'Bebas Neue', sans-serif; font-size: clamp(60px,8vw,108px); line-height: 0.9; letter-spacing: 3px; margin-bottom: 24px; opacity: 0; animation: slideUp 0.7s 0.35s ease forwards; }
.prem-title .lime { color: var(--lime); }
.prem-title .gold { color: var(--gold); }
.prem-desc   { font-size: 16px; color: var(--muted2); max-width: 560px; line-height: 1.75; margin-bottom: 48px; font-weight: 300; opacity: 0; animation: slideUp 0.7s 0.5s ease forwards; }
.prem-stats  { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: slideUp 0.7s 0.65s ease forwards; }
.prem-stat   { text-align: center; }
.prem-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--lime); }
.prem-stat-lab { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
@keyframes slideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

.compare-section { padding: 80px 48px; background: var(--surface); border-top: 1px solid var(--border); }
.pricing-section { padding: 80px 48px; background: var(--bg); }
.perks-section   { padding: 80px 48px; background: var(--surface); border-top: 1px solid var(--border); }
.faq-section     { padding: 80px 48px; background: var(--bg); }
.prem-cta        { padding: 80px 48px; background: var(--surface); border-top: 1px solid var(--border); text-align: center; }

.compare-table { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.compare-table th { background: var(--surface2); font-family: var(--ff-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 18px 20px; text-align: center; color: var(--muted2); border-bottom: 1px solid var(--border); }
.compare-table th.th-free { color: var(--muted); }
.compare-table th.th-pro  { color: var(--lime); }
.compare-table th.th-elite{ color: var(--gold); }
.compare-table th.th-feat { text-align: left; }
.compare-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted2); text-align: center; background: var(--surface); }
.compare-table td.feat-name { text-align: left; color: var(--text); font-weight: 500; }
.compare-table td.feat-name span { display: block; font-size: 11px; color: var(--muted); font-weight: 300; margin-top: 2px; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--surface2); }
.chk-yes-lime { color: var(--lime); font-size: 16px; }
.chk-yes-gold { color: var(--gold); font-size: 16px; }
.chk-no       { color: var(--muted); font-size: 16px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.price-card   { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px 30px; display: flex; flex-direction: column; gap: 0; position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.price-card:hover { transform: translateY(-6px); }
.price-card.pc-popular { border-color: rgba(200,241,53,0.4); background: rgba(200,241,53,0.03); }
.price-card.pc-elite   { border-color: rgba(247,183,49,0.35); background: rgba(247,183,49,0.025); }
.pc-glow   { position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%; pointer-events: none; }
.pc-badge  { position: absolute; top: 0; right: 0; font-family: var(--ff-mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 0 19px 0 12px; font-weight: 700; }
.pc-badge-lime { background: var(--lime); color: #000; }
.pc-badge-gold { background: var(--gold); color: #000; }
.pc-name   { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.pc-price-row { display: flex; align-items: baseline; gap: 3px; margin-bottom: 8px; }
.pc-rupee  { font-size: 18px; color: var(--muted2); }
.pc-amount { font-family: 'Bebas Neue', sans-serif; font-size: 56px; line-height: 1; color: var(--text); }
.pc-period { font-size: 12px; color: var(--muted); margin-left: 4px; }
.pc-tagline { font-size: 13px; color: var(--muted2); margin-bottom: 24px; line-height: 1.5; }
.pc-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 28px; }
.pc-features li { font-size: 13px; color: var(--muted2); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.pc-feat-icon { flex-shrink: 0; margin-top: 1px; }
.pc-btn      { width: 100%; padding: 14px; border: none; border-radius: 10px; font-family: var(--ff-mono); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }
.pc-btn-lime { background: var(--lime); color: #000; }
.pc-btn-lime:hover { background: #d4ff3d; transform: translateY(-2px); box-shadow: 0 8px 24px var(--lime-glow); }
.pc-btn-gold { background: var(--gold); color: #000; }
.pc-btn-gold:hover { background: #ffc84a; transform: translateY(-2px); }
.pc-btn-ghost { background: transparent; color: var(--muted2); border: 1px solid var(--border2); }
.pc-btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

.perks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 48px; }
.perk-item  { background: var(--surface2); padding: 32px 28px; transition: background 0.2s; }
.perk-item:hover { background: var(--bg); }
.perk-icon  { font-size: 28px; margin-bottom: 16px; }
.perk-name  { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.perk-text  { font-size: 13px; color: var(--muted2); line-height: 1.7; font-weight: 300; }

.faq-grid   { max-width: 700px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item.prem-faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s; }
.faq-item.prem-faq.open { border-color: rgba(200,241,53,0.3); }
.faq-q.prem-q { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--text); gap: 16px; }
.faq-arrow  { color: var(--muted); font-size: 18px; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.prem-faq.open .faq-arrow { transform: rotate(180deg); color: var(--lime); }
.faq-a.prem-a { padding: 0 24px; max-height: 0; overflow: hidden; font-size: 13px; color: var(--muted2); line-height: 1.75; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.prem-faq.open .faq-a.prem-a { max-height: 200px; padding: 0 24px 20px; }

.prem-cta-inner { background: var(--bg); border: 1px solid rgba(200,241,53,0.2); border-radius: 20px; padding: 72px 48px; position: relative; overflow: hidden; max-width: 700px; margin: 0 auto; }
.prem-cta-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--lime),transparent); }
.prem-cta-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,5vw,64px); line-height: 1; letter-spacing: 2px; margin-bottom: 16px; }
.prem-cta-sub   { font-size: 15px; color: var(--muted2); margin-bottom: 32px; font-weight: 300; line-height: 1.7; }

/* .reveal / .reveal.visible defined in index-page.css — not repeated here */

@media (max-width: 900px) { .prem-hero,.compare-section,.pricing-section,.perks-section,.faq-section,.prem-cta { padding: 60px 24px; } .pricing-grid,.perks-grid { grid-template-columns: 1fr; } nav.premium-nav { padding: 18px 24px; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [PROFILE]  profile.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.profile-bg::after { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(200,241,53,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(200,241,53,0.02) 1px,transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; }

#authLoader.profile-loader { display: flex; }
#gateScreen.profile-gate   { display: none; }
#profilePage { display: none; position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 48px 24px 80px; }

.profile-hero { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; margin-bottom: 28px; position: relative; overflow: hidden; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.profile-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 250px; height: 250px; background: radial-gradient(circle,var(--lime-glow),transparent 70%); pointer-events: none; }

.pfp-wrap    { position: relative; flex-shrink: 0; }
.pfp-img     { width: 100px; height: 100px; border-radius: 20px; border: 2px solid var(--lime); object-fit: cover; display: block; background: var(--surface2); }
.pfp-initials{ width: 100px; height: 100px; border-radius: 20px; border: 2px solid var(--lime); background: var(--lime-dim); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 36px; color: var(--lime); }
.pfp-edit-btn{ position: absolute; bottom: -8px; right: -8px; width: 30px; height: 30px; border-radius: 8px; background: var(--lime); border: none; color: #000; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.pfp-edit-btn:hover { transform: scale(1.1); }

.profile-info { flex: 1; }
.profile-name-display  { font-family: var(--ff-display); font-size: 32px; font-weight: 800; line-height: 1.1; margin-bottom: 4px; }
.profile-email-display { font-family: var(--ff-mono); font-size: 12px; color: var(--muted2); margin-bottom: 12px; }
.profile-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip.chip-lime { background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(200,241,53,0.2); font-family: var(--ff-mono); font-size: 10px; padding: 4px 10px; border-radius: 3px; letter-spacing: 1px; }
.chip.chip-gold { background: rgba(247,183,49,0.1); color: var(--gold); border: 1px solid rgba(247,183,49,0.2); }
.chip.chip-blue { background: rgba(96,165,250,0.1); color: var(--blue); border: 1px solid rgba(96,165,250,0.2); }

.grid-2.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-3.profile-grid3{ display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 20px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.card-title { font-family: var(--ff-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card-sub   { font-size: 13px; color: var(--muted2); margin-bottom: 22px; line-height: 1.5; }
.stat-mini  { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center; }
.stat-mini-val   { font-family: var(--ff-display); font-size: 32px; margin-bottom: 4px; }
.stat-mini-label { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); letter-spacing: 1px; text-transform: uppercase; }

/* btn-ghost and btn-gold are defined globally in global.css */
.btn-danger { background: transparent; color: var(--red); border: 1px solid rgba(255,95,86,0.2); border-radius: 8px; padding: 11px 22px; font-family: var(--ff-mono); font-size: 11px; cursor: pointer; transition: all 0.2s; letter-spacing: 1px; }
.btn-danger:hover { background: rgba(255,95,86,0.08); }

.score-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.score-item:last-child { border-bottom: none; }
.score-icon { font-size: 20px; min-width: 28px; text-align: center; }
.score-info { flex: 1; }
.score-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.score-bar-wrap { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.score-bar  { height: 100%; border-radius: 2px; transition: width 1.2s cubic-bezier(0.16,1,0.3,1); }
.score-right{ text-align: right; }
.score-pct.profile-pct { font-family: var(--ff-mono); font-size: 13px; font-weight: 700; color: var(--lime); }
.score-lvl  { font-family: var(--ff-mono); font-size: 9px; color: var(--muted2); letter-spacing: 1px; text-transform: uppercase; }

.badge-row  { display: flex; flex-wrap: wrap; gap: 10px; }
.badge      { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; transition: all 0.2s; }
.badge:not(.locked):hover { border-color: var(--lime); transform: translateY(-2px); }
.badge.locked { opacity: 0.25; filter: grayscale(1); }
.badge-icon  { font-size: 18px; }
.badge-name  { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.5px; }

.toast.success { border-color: rgba(200,241,53,0.3); color: var(--lime); }
.toast.error   { border-color: rgba(255,95,86,0.3); color: var(--red); }

@media (max-width: 700px) { .grid-2.profile-grid,.grid-3.profile-grid3 { grid-template-columns: 1fr; } .profile-hero { flex-direction: column; text-align: center; } #profilePage { padding: 24px 16px 60px; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [ADMIN]  admin.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.admin-bg::after { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(200,241,53,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(200,241,53,0.02) 1px,transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; }

.admin-badge-nav { background: rgba(247,183,49,0.15); border: 1px solid rgba(247,183,49,0.3); color: var(--gold); font-family: var(--ff-mono); font-size: 9px; padding: 3px 10px; border-radius: 3px; letter-spacing: 2px; }
.btn-logout-nav  { background: transparent; color: var(--red); border: 1px solid rgba(255,95,86,0.2); border-radius: 6px; padding: 7px 16px; font-family: var(--ff-mono); font-size: 10px; cursor: pointer; transition: all 0.2s; letter-spacing: 1px; }
.btn-logout-nav:hover { background: rgba(255,95,86,0.08); }

.gate-card.admin-gate { border-color: rgba(255,95,86,0.2); }
.gate-card.admin-gate::before { background: linear-gradient(90deg,transparent,var(--red),transparent); }

#adminPage { display: none; position: relative; z-index: 1; padding: 40px 48px 80px; max-width: 1200px; margin: 0 auto; }

.page-header { margin-bottom: 36px; }
.page-eyebrow.admin-eyebrow { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.page-eyebrow.admin-eyebrow::before { content: ''; width: 14px; height: 1px; background: var(--gold); }
.page-sub   { font-size: 14px; color: var(--muted2); font-weight: 300; }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.stat-card  { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; position: relative; overflow: hidden; transition: border-color 0.2s; }
.stat-card:hover { border-color: var(--border2); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.stat-card.lime::before  { background: var(--lime); }
.stat-card.gold::before  { background: var(--gold); }
.stat-card.green::before { background: var(--green); }
.stat-card.blue::before  { background: var(--blue); }
.stat-icon  { font-size: 24px; margin-bottom: 12px; }
.stat-val   { font-family: var(--ff-display); font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.stat-val.lime  { color: var(--lime); }
.stat-val.gold  { color: var(--gold); }
.stat-val.green { color: var(--green); }
.stat-val.blue  { color: var(--blue); }
.stat-label { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); letter-spacing: 1.5px; text-transform: uppercase; }
.stat-change{ font-family: var(--ff-mono); font-size: 10px; color: var(--green); margin-top: 6px; }

.grid-2.admin-grid  { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-3.admin-grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 20px; }

.card.admin-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.card-head  { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.card-badge { font-family: var(--ff-mono); font-size: 10px; background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(200,241,53,0.2); padding: 3px 10px; border-radius: 3px; letter-spacing: 1px; }
.card-body  { padding: 20px 24px; }

.users-table { width: 100%; border-collapse: collapse; }
.users-table th { text-align: left; padding: 12px 16px; font-family: var(--ff-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border); }
.users-table td { padding: 14px 16px; font-size: 13px; border-bottom: 1px solid var(--border); }
.users-table tr:last-child td { border-bottom: none; }
.users-table tr:hover td { background: var(--surface2); }
.user-avatar-sm { width: 28px; height: 28px; border-radius: 8px; background: var(--lime-dim); border: 1px solid rgba(200,241,53,0.2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 11px; color: var(--lime); margin-right: 8px; vertical-align: middle; }
.tag.tag-admin   { background: rgba(247,183,49,0.12); color: var(--gold); border: 1px solid rgba(247,183,49,0.2); }
.tag.tag-student { background: var(--lime-dim); color: var(--lime); border: 1px solid rgba(200,241,53,0.15); }
.tag.tag-new     { background: rgba(96,165,250,0.1); color: var(--blue); border: 1px solid rgba(96,165,250,0.2); }

.subject-row { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.subject-row:last-child { border-bottom: none; padding-bottom: 0; }
.subject-emoji  { font-size: 20px; min-width: 28px; text-align: center; }
.subject-info   { flex: 1; }
.subject-name   { font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.subject-bar-wrap { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.subject-bar-fill { height: 100%; border-radius: 2px; transition: width 1.2s cubic-bezier(0.16,1,0.3,1); }
.subject-right  { text-align: right; min-width: 60px; }
.subject-attempts { font-family: var(--ff-mono); font-size: 12px; color: var(--lime); font-weight: 600; }
.subject-avg    { font-family: var(--ff-mono); font-size: 10px; color: var(--muted2); }

.activity-item  { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: none; }
.activity-dot   { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.activity-dot.green { background: var(--green); }
.activity-dot.lime  { background: var(--lime); }
.activity-dot.blue  { background: var(--blue); }
.activity-text  { flex: 1; font-size: 13px; color: var(--muted2); }
.activity-text strong { color: var(--text); }
.activity-time  { font-family: var(--ff-mono); font-size: 10px; color: var(--muted); }

.lb-mini-row  { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.lb-mini-row:last-child { border-bottom: none; }
.lb-mini-rank { font-family: var(--ff-display); font-size: 18px; color: var(--muted); min-width: 28px; }
.lb-mini-rank.r1 { color: #ffd700; }
.lb-mini-rank.r2 { color: #c0c0c0; }
.lb-mini-rank.r3 { color: #cd7f32; }
.lb-mini-name { flex: 1; font-size: 13px; font-weight: 500; }
.lb-mini-xp   { font-family: var(--ff-mono); font-size: 12px; color: var(--lime); font-weight: 600; }

.loading-row  { padding: 32px; text-align: center; font-family: var(--ff-mono); font-size: 12px; color: var(--muted); }
.btn-refresh  { background: transparent; color: var(--lime); border: 1px solid rgba(200,241,53,0.2); border-radius: 6px; padding: 6px 14px; font-family: var(--ff-mono); font-size: 10px; cursor: pointer; transition: all 0.2s; letter-spacing: 1px; }
.btn-refresh:hover { background: var(--lime-dim); }

@media (max-width: 900px) { #adminPage { padding: 24px 16px 60px; } .stats-grid { grid-template-columns: 1fr 1fr; } .grid-2.admin-grid,.grid-3.admin-grid3 { grid-template-columns: 1fr; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [QUIZ]  quiz.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* quiz level colour tokens — scoped to avoid polluting :root */
.quiz-container,
#quizScreen,
#subjectScreen,
#resultScreen {
  --beginner:    #43e97b;
  --intermediate:#f7b731;
  --advanced:    #ff6584;
}

.quiz-container { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 40px 20px 80px; }

.quiz-header { text-align: center; margin-bottom: 50px; animation: fadeUp 0.6s ease both; }
.quiz-header .badge { display: inline-block; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--lime); border: 1px solid var(--lime); padding: 5px 14px; border-radius: 2px; margin-bottom: 18px; }
.quiz-header h1 { font-size: clamp(28px,5vw,48px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 12px; }
.quiz-header h1 span { color: var(--lime); }
.quiz-header p { color: var(--muted); font-size: 15px; max-width: 500px; margin: 0 auto; line-height: 1.6; }

#subjectScreen { animation: fadeUp 0.5s ease both; }
.subject-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; margin-top: 10px; }
.subject-card  { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; cursor: pointer; transition: all 0.25s ease; position: relative; overflow: hidden; }
.subject-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lime); transform: scaleX(0); transition: transform 0.25s ease; transform-origin: left; }
.subject-card:hover { border-color: var(--lime); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(200,241,53,0.15); }
.subject-card:hover::before { transform: scaleX(1); }
.subject-card .icon { font-size: 28px; margin-bottom: 14px; display: block; }
.subject-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.subject-card p  { font-size: 12px; color: var(--muted); font-family: 'Space Mono', monospace; }

#quizScreen { display: none; animation: fadeUp 0.4s ease both; }
.quiz-top   { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.quiz-subject-label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); }
.quiz-progress-text { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted); }
.progress-bar-wrap  { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 36px; overflow: hidden; }
.progress-bar-fill  { height: 100%; background: linear-gradient(90deg,#c8f135,#a8e020); border-radius: 2px; transition: width 0.4s ease; }

.level-tag           { display: inline-block; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; margin-bottom: 16px; }
.level-tag.beginner  { background: rgba(67,233,123,0.1); color: var(--beginner); border: 1px solid rgba(67,233,123,0.3); }
.level-tag.intermediate { background: rgba(247,183,49,0.1); color: var(--intermediate); border: 1px solid rgba(247,183,49,0.3); }
.level-tag.advanced  { background: rgba(255,101,132,0.1); color: var(--advanced); border: 1px solid rgba(255,101,132,0.3); }

.question-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 32px 28px; margin-bottom: 20px; }
.question-num  { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); margin-bottom: 14px; }
.question-text { font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 4px; }
.code-block    { background: #0d0d14; border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin: 16px 0; font-family: 'Space Mono', monospace; font-size: 13px; color: #a8b2d8; line-height: 1.6; white-space: pre; overflow-x: auto; }

.options-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.option-btn    { background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; color: var(--text); font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; text-align: left; transition: all 0.2s ease; display: flex; align-items: center; gap: 10px; }
.opt-letter    { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); min-width: 18px; }
.option-btn:hover:not(:disabled) { border-color: var(--lime); background: rgba(200,241,53,0.08); transform: translateX(3px); }
.option-btn.correct        { border-color: var(--beginner); background: rgba(67,233,123,0.1); color: var(--beginner); }
.option-btn.wrong          { border-color: var(--advanced); background: rgba(255,101,132,0.1); color: var(--advanced); }
.option-btn.reveal-correct { border-color: var(--beginner); background: rgba(67,233,123,0.06); }
.option-btn:disabled       { cursor: default; }

@media (max-width: 500px) { .options-grid { grid-template-columns: 1fr; } }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   [LEGAL]  privacypolicy.html + terms.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Privacy Policy */
.layout.legal-layout { grid-template-columns: 300px 1fr; }
.sidebar.legal-sidebar { gap: 8px; }

.sidebar-progress { background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.sp-row   { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.sp-label { font-size: 12px; color: var(--muted2); font-family: var(--ff-mono); }
.sp-value { font-family: var(--ff-display); font-size: 26px; color: var(--lime); line-height: 1; }
.pbar     { width: 100%; height: 5px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.pbar-fill{ height: 100%; background: linear-gradient(90deg,var(--lime),#a8e020); border-radius: 99px; width: 0%; transition: width 0.1s linear; }

.toc-btn  { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; transition: all 0.2s; text-align: left; width: 100%; color: var(--muted2); text-decoration: none; }
.toc-btn:hover  { background: var(--lime-dim); color: var(--text); transform: translateX(3px); }
.toc-btn.active { background: var(--lime-dim); border-color: var(--border-active); color: var(--lime); }
.lb-num   { width: 26px; height: 26px; border-radius: 7px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; flex-shrink: 0; }

.main.legal-main { padding: 48px; display: flex; flex-direction: column; gap: 60px; max-width: 900px; }
.hero-desc.legal-desc { color: var(--muted2); font-size: 15px; line-height: 1.75; }

.policy-section { scroll-margin-top: 100px; display: flex; flex-direction: column; gap: 20px; }
.policy-card    { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; transition: border-color 0.3s; }
.policy-card:hover { border-color: var(--border-active); }
.pc-title { font-family: var(--ff-display); font-size: 28px; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.pc-body  { font-size: 15px; line-height: 1.85; color: var(--muted2); }
.pc-body strong { color: var(--text); }
.pc-body ul { margin-top: 16px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pc-body li { display: flex; gap: 12px; align-items: flex-start; }
.pc-body li::before { content: '→'; color: var(--lime); font-family: var(--ff-mono); }

.legal-footer { background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; }
.legal-footer p { font-size: 13px; color: var(--muted); font-family: var(--ff-mono); }

/* Terms page — minimal layout */
body.terms-body { padding: 60px 48px; display: flex; justify-content: center; min-height: 100vh; }
.terms-container { max-width: 700px; width: 100%; }
.terms-container h1 { font-family: var(--ff-display); font-size: 48px; font-weight: 800; margin-bottom: 20px; }
.terms-container h2 { font-family: var(--ff-display); font-size: 20px; margin: 30px 0 15px; color: var(--lime); }
.terms-container p  { color: var(--muted2); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.terms-container ul { padding-left: 22px; margin-bottom: 20px; color: var(--muted2); }
.terms-container li { margin-bottom: 10px; }
.terms-footer-note  { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); font-family: var(--ff-mono); }

@media (max-width: 900px) { .layout.legal-layout { grid-template-columns: 1fr; } .sidebar.legal-sidebar { display: none; } .main.legal-main { padding: 24px; } }
