/* ============================================================
   BKS LOFISCAPE — COMPLETE STYLESHEET
   Quesha        → hero name (giant display)
   Blending      → section titles, tabs, nav, headings
   Auralyess     → labels, eyebrows, mono tags, footer
   Fallbacks kept for safety
   ============================================================ */

/* ── LOCAL FONTS ─────────────────────────────────────────── */
/* ── LOCAL FONTS ─────────────────────────────────────────── */
@font-face {
  font-family: 'Quesha';
  src: url('../assets/fonts/Roba.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blending';
  src: url('../assets/fonts/Seconda.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Auralyess';
  src: url('../assets/fonts/Seconda.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Google fallback for body/UI text */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── FONT ALIASES ────────────────────────────────────────── */
/* --f-display  : Quesha      — giant hero name              */
/* --f-title    : Blending    — section headings, tabs       */
/* --f-label    : Auralyess   — eyebrows, tags, mono labels  */
/* --f-body     : DM Sans     — body paragraphs, descriptions*/

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html, body {
  width:100%;
  height:100%;
  overflow:hidden;
  font-family: 'Blending', sans-serif;
  font-size: 27px;
  line-height: 1.7;
}

button { border:none; background:none; cursor:pointer; font-family:inherit; }
a { text-decoration:none; color:inherit; }
input, textarea { font-family: 'DM Sans', sans-serif; }

/* ── VARIABLES — LIGHT ─────────────────────────────────── */
:root {
  --bg-image: url('../assets/images/lofi-bg.jpg');

  --desktop-overlay:    rgba(200,192,182,0.42);
  --desktop-bar-bg:     rgba(228,220,210,0.72);
  --desktop-bar-border: rgba(170,158,142,0.3);
  --desktop-text:       #2e2a26;
  --desktop-text-muted: #7a706a;

  --chrome-bg:          rgba(238,231,222,0.82);
  --chrome-border:      rgba(170,158,142,0.32);
  --chrome-text:        #3a3530;
  --chrome-text-muted:  #9a908a;

  --tab-bar-bg:         rgba(230,222,213,0.80);
  --tab-text:           #8a807a;
  --tab-active-text:    #1e1a16;
  --tab-active-line:    #6b5a8e;
  --tab-hover-bg:       rgba(200,192,182,0.4);

  --url-bg:             rgba(255,252,248,0.62);
  --url-text:           #5a5248;
  --url-border:         rgba(170,158,142,0.28);

  --body-gradient: linear-gradient(
    135deg,
    rgba(225,216,205,0.74) 0%,
    rgba(238,230,220,0.60) 45%,
    rgba(210,222,228,0.54) 100%
  );

  --text-primary:   #1a1714;
  --text-secondary: #52483e;
  --text-muted:     #9a8f88;
  --text-accent:    #6b5a8e;

  --card-bg:     rgba(255,252,248,0.44);
  --card-border: rgba(170,158,142,0.22);
  --card-shadow: 0 4px 24px rgba(90,78,64,0.08);

  --input-bg:     rgba(255,252,248,0.58);
  --input-border: rgba(150,138,124,0.32);
  --input-focus:  rgba(107,90,142,0.3);

  --scrollbar-thumb: rgba(107,90,142,0.25);
  --blur:            blur(22px);
  --blur-sm:         blur(12px);
  --r:               14px;
  --r-sm:            8px;

  --tl-red:    #ff6b6b;
  --tl-yellow: #ffd93d;
  --tl-green:  #6bcb77;
}

/* ── VARIABLES — DARK ──────────────────────────────────── */
[data-theme="dark"] {
  --bg-image: url('../assets/images/lofi-bg-dark.jpg');

  --desktop-overlay:    rgba(10,8,18,0.56);
  --desktop-bar-bg:     rgba(16,13,26,0.74);
  --desktop-bar-border: rgba(70,58,100,0.3);
  --desktop-text:       #d0c8e0;
  --desktop-text-muted: #6a6080;

  --chrome-bg:          rgba(20,16,34,0.90);
  --chrome-border:      rgba(70,58,100,0.28);
  --chrome-text:        #c0b8d8;
  --chrome-text-muted:  #5a5070;

  --tab-bar-bg:         rgba(18,14,30,0.85);
  --tab-text:           #5a5272;
  --tab-active-text:    #ece8f8;
  --tab-active-line:    #9B8EC7;
  --tab-hover-bg:       rgba(55,46,82,0.38);

  --url-bg:             rgba(12,10,22,0.68);
  --url-text:           #9B8EC7;
  --url-border:         rgba(70,58,100,0.22);

  --body-gradient: linear-gradient(
    135deg,
    rgba(12,9,22,0.84) 0%,
    rgba(20,16,36,0.67) 45%,
    rgba(26,22,46,0.57) 100%
  );

  --text-primary:   #eee8fc;
  --text-secondary: #a098c0;
  --text-muted:     #5e5678;
  --text-accent:    #BDA6CE;

  --card-bg:     rgba(26,20,46,0.62);
  --card-border: rgba(70,58,100,0.24);
  --card-shadow: 0 4px 32px rgba(0,0,0,0.32);

  --input-bg:     rgba(18,14,32,0.68);
  --input-border: rgba(70,58,100,0.28);
  --input-focus:  rgba(155,142,199,0.28);

  --scrollbar-thumb: rgba(155,142,199,0.18);

  --tl-red:    #b05050;
  --tl-yellow: #a88a2a;
  --tl-green:  #429050;
}

/* ══════════════════════════════════════════════════════════
   LOADER
   ══════════════════════════════════════════════════════════ */
#loader {
  position:fixed; inset:0; z-index:9999;
  background:#0b091a;
  display:flex; align-items:center; justify-content:center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
#loader.out { opacity:0; visibility:hidden; pointer-events:none; }

.loader-content {
  display:flex; flex-direction:column;
  align-items:center; gap:22px;
}
.loader-logo {
  font-family: 'Quesha', 'DM Sans', sans-serif;
  font-size: 72px;
  color: #BDA6CE;
  letter-spacing: 4px;
  opacity:0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.loader-bar {
  width:160px; height:1px;
  background:rgba(155,142,199,0.12);
  overflow:hidden; opacity:0;
  animation: fadeUp 0.5s ease 0.65s forwards;
}
.loader-fill {
  height:100%; width:0%;
  background: linear-gradient(90deg, transparent, #9B8EC7, #BDA6CE);
  animation: sweep 1.5s ease 0.85s forwards;
}
.loader-hint {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: rgba(155,142,199,0.45);
  opacity:0;
  animation: fadeUp 0.5s ease 1.05s forwards;
}

@keyframes sweep { to { width:100%; } }
@keyframes fadeUp {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   DESKTOP
   ══════════════════════════════════════════════════════════ */
#desktop {
  position:fixed; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  overflow:hidden;
}
#wallpaper-layer {
  position:absolute; inset:0;
  background-image: var(--bg-image);
  background-size:cover; background-position:center;
  transform:scale(1.07);
  transition:background-image 1s ease;
  will-change:transform;
}
#desktop-overlay {
  position:absolute; inset:0;
  background:var(--desktop-overlay);
  transition:background 0.8s ease;
}

/* ── DESKTOP TOP BAR ───────────────────────────────────── */
#desktop-bar {
  position:absolute; top:0; left:0; right:0;
  height:40px; z-index:50;
  background:var(--desktop-bar-bg);
  backdrop-filter:var(--blur);
  -webkit-backdrop-filter:var(--blur);
  border-bottom:1px solid var(--desktop-bar-border);
  display:flex; align-items:center;
  justify-content:space-between;
  padding:0 22px;
  transition:background 0.7s ease, border-color 0.7s ease;
}
.desktop-bar-left { display:flex; align-items:center; gap:12px; }
.desktop-logo {
  font-family: 'Quesha', 'DM Sans', sans-serif;
  font-size: 22px;
  color:var(--text-accent);
  letter-spacing: 2px;
  transition:color 0.7s ease;
}
.desktop-tagline {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.09em;
  color:var(--desktop-text-muted);
  transition:color 0.7s ease;
}
.desktop-bar-right { display:flex; align-items:center; gap:16px; }
#desktop-clock {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing:0.06em;
  color:var(--desktop-text-muted);
  transition:color 0.7s ease;
}

/* ── THEME PILL ─────────────────────────────────────────── */
.theme-pill {
  display:flex; align-items:center; gap:8px;
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:20px; padding:4px 10px;
  cursor:pointer;
  backdrop-filter:var(--blur-sm);
  -webkit-backdrop-filter:var(--blur-sm);
  transition:border-color 0.3s ease, background 0.5s ease;
}
.theme-pill:hover { border-color:var(--text-accent); }

.theme-label {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing:0.1em;
  color:var(--text-muted);
  transition:color 0.4s ease;
  user-select:none;
}
[data-theme="dark"]  .dark-label   { color:var(--text-accent); }
[data-theme="dark"]  .light-label  { color:var(--text-muted);  }
[data-theme="light"] .light-label  { color:var(--text-accent); }
[data-theme="light"] .dark-label   { color:var(--text-muted);  }

.theme-knob {
  width:28px; height:14px;
  background:var(--card-border);
  border-radius:7px; position:relative;
  transition:background 0.4s ease;
}
.theme-knob::after {
  content:'';
  position:absolute; top:2px; left:2px;
  width:10px; height:10px; border-radius:50%;
  background:var(--text-accent);
  transition:transform 0.35s cubic-bezier(0.4,0,0.2,1), background 0.5s ease;
}
[data-theme="dark"] .theme-knob::after { transform:translateX(14px); }

/* ══════════════════════════════════════════════════════════
   BROWSER WINDOW  — slightly larger
   ══════════════════════════════════════════════════════════ */
#browser-window {
  position:relative; z-index:10;
  width:  min(1120px, calc(100vw - 32px));
  height: min(680px,  calc(100vh - 60px));
  margin-top:40px;
  display:flex; flex-direction:column;
  border-radius:var(--r); overflow:hidden;
  box-shadow:
    0 0 0 1px var(--chrome-border),
    0 44px 110px rgba(0,0,0,0.40),
    0 10px 30px  rgba(0,0,0,0.22);
  animation:browserIn 0.85s cubic-bezier(0.4,0,0.2,1) 2s both;
  transition:box-shadow 0.7s ease;
}
@keyframes browserIn {
  from { opacity:0; transform:translateY(28px) scale(0.97); }
  to   { opacity:1; transform:translateY(0)    scale(1);    }
}

/* ── TITLE BAR ──────────────────────────────────────────── */
#browser-titlebar {
  flex-shrink:0; height:46px;
  background:var(--chrome-bg);
  backdrop-filter:var(--blur); -webkit-backdrop-filter:var(--blur);
  border-bottom:1px solid var(--chrome-border);
  display:flex; align-items:center;
  gap:10px; padding:0 18px;
  transition:background 0.7s ease, border-color 0.7s ease;
}

.traffic-lights { display:flex; gap:7px; flex-shrink:0; }
.tl {
  width:13px; height:13px; border-radius:50%;
  transition:opacity 0.2s ease; cursor:default;
}
.tl:hover { opacity:0.7; }
.tl-red    { background:var(--tl-red);    }
.tl-yellow { background:var(--tl-yellow); }
.tl-green  { background:var(--tl-green);  }

.browser-nav { display:flex; gap:4px; }
.nav-btn {
  width:28px; height:28px; border-radius:6px;
  background:var(--card-bg); border:1px solid var(--card-border);
  font-size:14px; color:var(--chrome-text-muted);
  display:flex; align-items:center; justify-content:center;
  transition:all 0.2s ease; cursor:pointer;
}
.nav-btn:hover { color:var(--chrome-text); border-color:var(--chrome-border); }

.url-bar {
  flex:1; height:30px;
  background:var(--url-bg); border:1px solid var(--url-border);
  border-radius:7px;
  display:flex; align-items:center; gap:8px; padding:0 14px;
  backdrop-filter:var(--blur-sm); -webkit-backdrop-filter:var(--blur-sm);
  transition:background 0.7s ease, border-color 0.7s ease;
}
.url-lock { font-size:7px; color:#4a8a56; }
.url-text {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 14px;
  color:var(--url-text);
  transition:color 0.7s ease;
  user-select:none;
}
.browser-actions {
  font-size:15px; letter-spacing:2px;
  color:var(--chrome-text-muted); cursor:default;
}

/* ── TAB BAR ────────────────────────────────────────────── */
#tab-bar {
  flex-shrink:0; height:42px;
  background:var(--tab-bar-bg);
  backdrop-filter:var(--blur); -webkit-backdrop-filter:var(--blur);
  border-bottom:1px solid var(--chrome-border);
  display:flex; align-items:center;
  padding:0 16px; gap:2px;
  overflow-x:auto; scrollbar-width:none;
  transition:background 0.7s ease, border-color 0.7s ease;
}
#tab-bar::-webkit-scrollbar { display:none; }

.tab {
  flex-shrink:0; height:100%; padding:0 20px;
  display:flex; align-items:center;
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing:0.05em;
  color:var(--tab-text);
  cursor:pointer; position:relative;
  border-radius:4px 4px 0 0;
  white-space:nowrap; user-select:none;
  transition:color 0.22s ease, background 0.22s ease;
}
.tab::after {
  content:'';
  position:absolute; bottom:0;
  left:50%; right:50%; height:2px;
  background:var(--tab-active-line);
  border-radius:2px 2px 0 0;
  transition:left 0.28s ease, right 0.28s ease, opacity 0.28s ease;
  opacity:0;
}
.tab:hover { color:var(--tab-active-text); background:var(--tab-hover-bg); }
.tab.active { color:var(--tab-active-text); }
.tab.active::after { left:10px; right:10px; opacity:1; }

/* ── BROWSER BODY ───────────────────────────────────────── */
#browser-body {
  flex:1; overflow:hidden; position:relative;
  background:var(--body-gradient);
  transition:background 0.7s ease;
}
#browser-body::before {
  content:'';
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity:0.022; pointer-events:none; z-index:0;
}

/* ── PAGES ──────────────────────────────────────────────── */
.page {
  display:none; position:absolute; inset:0;
  overflow-y:auto; overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:var(--scrollbar-thumb) transparent;
  z-index:1;
}
.page::-webkit-scrollbar { width:4px; }
.page::-webkit-scrollbar-thumb { background:var(--scrollbar-thumb); border-radius:2px; }
.page.active {
  display:block;
  animation:pageIn 0.42s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes pageIn {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

.page-inner { padding:46px 56px 68px; }

.page-eyebrow {
  display:inline-block;
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 16px;
  letter-spacing:0.18em;
  color:var(--text-accent);
  margin-bottom:10px;
  transition:color 0.7s ease;
}
.page-title {
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: clamp(32px, 3.8vw, 50px);
  letter-spacing:-1px;
  line-height:1.08;
  color:var(--text-primary);
  margin-bottom:38px;
  transition:color 0.7s ease;
}
.page-title em {
  font-style:italic;
  color:var(--text-accent);
  letter-spacing:-0.5px;
}

/* ══════════════════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════════════════ */
#page-home {
  display:none; flex-direction:column;
  justify-content:space-between;
}
#page-home.active { display:flex; }

.home-layout {
  flex:1;
  display:flex; align-items:flex-end;
  justify-content:space-between;
  padding:46px 56px 34px; gap:32px;
}

.home-left {
  display:flex; flex-direction:column; gap:18px; flex:1;
}
.home-label {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 16px;
  letter-spacing:0.18em;
  color:var(--text-accent); text-transform:uppercase;
  opacity:0; animation:fadeUp 0.6s ease 2.2s forwards;
  transition:color 0.7s ease;
}
.home-name {
  display:flex; flex-direction:column; gap:4px;
  opacity:0; animation:fadeUp 0.7s ease 2.35s forwards;
}
.name-line {
  font-family: 'Quesha', 'DM Sans', sans-serif;
  font-size: clamp(58px, 7.8vw, 102px);
  letter-spacing: 4px;
  line-height:0.92;
  color:var(--text-primary);
  display:block;
  transition:color 0.7s ease;
}
.name-line.accent-name {
  color:var(--text-accent);
  font-size: clamp(52px, 7.2vw, 94px);
  letter-spacing: 3px;
}
.home-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight:400; letter-spacing:0.03em; line-height:1.6;
  color:var(--text-secondary); max-width:360px;
  opacity:0; animation:fadeUp 0.6s ease 2.5s forwards;
  transition:color 0.7s ease;
}
.home-cta-row {
  display:flex; gap:10px; flex-wrap:wrap;
  opacity:0; animation:fadeUp 0.6s ease 2.65s forwards;
}

.cta-btn {
  padding:10px 24px; border-radius:var(--r-sm);
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 16px;
  letter-spacing:0.06em;
  cursor:pointer; transition:all 0.28s ease;
  display:inline-flex; align-items:center; gap:6px;
}
.cta-btn.primary {
  background:var(--text-accent); color:#fff;
  border:1px solid var(--text-accent);
}
.cta-btn.primary:hover {
  opacity:0.82; transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(107,90,142,0.38);
}
.cta-btn.secondary {
  background:var(--card-bg); color:var(--text-primary);
  border:1px solid var(--card-border);
  backdrop-filter:var(--blur-sm);
}
.cta-btn.secondary:hover {
  border-color:var(--text-accent); color:var(--text-accent);
  transform:translateY(-2px);
}

.home-right {
  display:flex; flex-direction:column;
  gap:22px; align-items:flex-end; flex-shrink:0;
  opacity:0; animation:fadeUp 0.6s ease 2.7s forwards;
}
.home-links { display:flex; flex-direction:column; gap:14px; align-items:flex-end; }
.home-link {
  display:flex; align-items:center; gap:10px;
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 15px;
  color:var(--text-secondary);
  transition:color 0.22s ease, transform 0.22s ease;
}
.home-link:hover { color:var(--text-primary); transform:translateX(-4px); }
.link-symbol { font-size:8px; color:var(--text-accent); opacity:0.65; }

.home-status {
  display:flex; align-items:center; gap:8px;
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:20px; padding:7px 16px;
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 14px;
  color:var(--text-secondary);
  backdrop-filter:var(--blur-sm);
  -webkit-backdrop-filter:var(--blur-sm);
}
.status-dot {
  width:6px; height:6px; border-radius:50%;
  background:#6bcb77;
  animation:pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.7; transform:scale(0.85); }
}

.home-footer-bar {
  flex-shrink:0; height:36px;
  background:rgba(0,0,0,0.055);
  border-top:1px solid var(--chrome-border);
  display:flex; align-items:center;
  justify-content:center; gap:14px;
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing:0.1em;
  color:var(--text-muted); padding:0 24px;
  opacity:0; animation:fadeUp 0.5s ease 2.9s forwards;
  transition:color 0.7s ease;
}
.footer-sep { color:var(--text-accent); opacity:0.45; }

/* ══════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════ */
.about-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:28px; align-items:start;
}
.about-bio { display:flex; flex-direction:column; gap:16px; }
.about-bio p {
  font-family:'DM Sans', sans-serif;
  font-size:15px; line-height:1.8;
  color:var(--text-secondary); transition:color 0.7s ease;
}
.about-bio p em {
  font-style:italic; color:var(--text-accent);
}
.about-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.about-tag {
  padding:6px 16px;
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:20px;
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing:0.07em;
  color:var(--text-secondary);
  backdrop-filter:var(--blur-sm);
  transition:all 0.22s ease; cursor:default;
}
.about-tag:hover { border-color:var(--text-accent); color:var(--text-accent); }

.about-aside { display:flex; flex-direction:column; gap:14px; }
.stats-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.stat-box {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--r-sm); padding:22px 18px;
  backdrop-filter:var(--blur-sm); -webkit-backdrop-filter:var(--blur-sm);
  transition:transform 0.28s ease, border-color 0.28s ease;
}
.stat-box:hover { transform:translateY(-3px); border-color:var(--text-accent); }
.stat-num {
  font-family: 'Quesha', 'DM Sans', sans-serif;
  font-size: 38px;
  color:var(--text-accent); line-height:1; margin-bottom:4px;
  letter-spacing:2px;
  transition:color 0.7s ease;
}
.stat-lbl {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-muted); transition:color 0.7s ease;
}

.currently-box {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--r-sm); padding:18px 20px;
  backdrop-filter:var(--blur-sm); -webkit-backdrop-filter:var(--blur-sm);
}
.currently-head {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing:0.16em; text-transform:uppercase;
  color:var(--text-muted); margin-bottom:12px;
  transition:color 0.7s ease;
}
.currently-item {
  display:flex; align-items:center; gap:10px;
  font-family:'DM Sans', sans-serif;
  font-size:14px; color:var(--text-secondary);
  padding:8px 0; border-bottom:1px solid var(--card-border);
  transition:color 0.7s ease;
}
.currently-item:last-child { border-bottom:none; }
.c-dot {
  width:5px; height:5px; border-radius:50%;
  background:var(--text-accent); flex-shrink:0;
  animation:pulse 2.5s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════════════════ */
.projects-list { display:flex; flex-direction:column; }
.project-row {
  display:grid; grid-template-columns:96px 1fr auto;
  gap:24px; align-items:center;
  padding:30px 0;
  border-bottom:1px solid var(--card-border);
  border-radius:4px;
  transition:background 0.22s ease, padding 0.22s ease;
}
.project-row:first-child { border-top:1px solid var(--card-border); }
.project-row:hover { background:rgba(155,142,199,0.045); padding-left:10px; }

.project-meta { display:flex; flex-direction:column; gap:10px; }
.project-num {
  font-family: 'Quesha', 'DM Sans', sans-serif;
  font-size: 34px;
  letter-spacing:2px;
  color:var(--text-accent); opacity:0.32; line-height:1;
  transition:opacity 0.28s ease, color 0.7s ease;
}
.project-row:hover .project-num { opacity:0.85; }
.project-tech-stack { display:flex; flex-direction:column; gap:3px; }
.project-tech-stack span {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-muted); transition:color 0.7s ease;
}

.project-name {
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 24px;
  letter-spacing:-0.3px;
  color:var(--text-primary); margin-bottom:8px;
  transition:color 0.7s ease;
}
.project-desc {
  font-family:'DM Sans', sans-serif;
  font-size:14px; line-height:1.68;
  color:var(--text-secondary); max-width:430px;
  transition:color 0.7s ease;
}
.project-link-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:10px 20px;
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--r-sm);
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing:0.05em;
  color:var(--text-secondary);
  backdrop-filter:var(--blur-sm);
  white-space:nowrap; flex-shrink:0;
  transition:all 0.28s ease;
}
.project-link-btn:hover {
  background:var(--text-accent); border-color:var(--text-accent);
  color:#fff; transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(107,90,142,0.32);
}

/* ══════════════════════════════════════════════════════════
   SKILLS
   ══════════════════════════════════════════════════════════ */
.skills-explorer {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--r); overflow:hidden;
  backdrop-filter:var(--blur-sm); -webkit-backdrop-filter:var(--blur-sm);
}
.explorer-tabs {
  display:flex; border-bottom:1px solid var(--card-border);
  background:rgba(0,0,0,0.035);
  overflow-x:auto; scrollbar-width:none; padding:0 4px;
}
.explorer-tabs::-webkit-scrollbar { display:none; }
.exp-tab {
  flex-shrink:0; padding:14px 22px;
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 16px;
  letter-spacing:0.05em; color:var(--text-muted);
  cursor:pointer; position:relative;
  border-bottom:2px solid transparent;
  transition:color 0.22s ease, border-color 0.22s ease;
}
.exp-tab:hover { color:var(--text-primary); }
.exp-tab.active { color:var(--text-accent); border-bottom-color:var(--tab-active-line); }

.explorer-body { padding:34px; min-height:210px; }
.exp-panel { display:none; animation:panelIn 0.3s ease forwards; }
.exp-panel.active { display:block; }
@keyframes panelIn {
  from { opacity:0; transform:translateX(10px); }
  to   { opacity:1; transform:translateX(0); }
}
.exp-panel-label {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing:0.14em;
  color:var(--text-accent); opacity:0.65; margin-bottom:20px;
}
.skill-cloud { display:flex; flex-wrap:wrap; gap:10px; }
.skill-chip {
  padding:9px 20px;
  background:rgba(155,142,199,0.07);
  border:1px solid var(--card-border);
  border-radius:6px;
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing:0.03em;
  color:var(--text-secondary); cursor:default;
  transition:all 0.22s ease;
}
.skill-chip:hover {
  border-color:var(--text-accent); color:var(--text-accent);
  background:rgba(155,142,199,0.12); transform:translateY(-2px);
}
.skill-chip.large {
  font-size: 16px; padding:10px 24px;
  background:rgba(155,142,199,0.11);
}

/* ══════════════════════════════════════════════════════════
   CERTIFICATIONS
   ══════════════════════════════════════════════════════════ */
.certs-list { display:flex; flex-direction:column; gap:14px; }
.cert-row {
  display:grid; grid-template-columns:60px 1fr auto;
  gap:22px; align-items:center;
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--r); padding:28px 30px;
  backdrop-filter:var(--blur-sm); -webkit-backdrop-filter:var(--blur-sm);
  transition:transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.cert-row:hover {
  transform:translateY(-4px);
  border-color:var(--text-accent);
  box-shadow:0 12px 32px rgba(107,90,142,0.12);
}
.cert-mark {
  font-family: 'Quesha', 'DM Sans', sans-serif;
  font-size: 32px;
  letter-spacing:2px;
  color:var(--text-accent); opacity:0.32; line-height:1;
  transition:opacity 0.3s ease;
}
.cert-row:hover .cert-mark { opacity:0.75; }
.cert-issuer {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing:0.14em; text-transform:uppercase;
  color:var(--text-muted); margin-bottom:6px;
  transition:color 0.7s ease;
}
.cert-name {
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 20px;
  letter-spacing:-0.2px;
  color:var(--text-primary); margin-bottom:8px;
  transition:color 0.7s ease;
}
.cert-desc {
  font-family:'DM Sans', sans-serif;
  font-size:13px; line-height:1.65;
  color:var(--text-muted); transition:color 0.7s ease;
}
.cert-badge {
  padding:7px 16px;
  background:rgba(107,203,119,0.09);
  border:1px solid rgba(107,203,119,0.22);
  border-radius:20px;
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing:0.1em; text-transform:uppercase;
  color:#4a8a56; white-space:nowrap; flex-shrink:0;
}
[data-theme="dark"] .cert-badge { color:#6bcb77; }

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contact-layout {
  display:grid; grid-template-columns:1fr 1.25fr;
  gap:40px; align-items:start;
}
.contact-sub {
  font-family:'DM Sans', sans-serif;
  font-size:15px; line-height:1.75;
  color:var(--text-secondary); margin-bottom:28px;
  transition:color 0.7s ease;
}
.contact-links { display:flex; flex-direction:column; gap:10px; }
.contact-direct {
  display:block;
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 17px;
  color:var(--text-accent); letter-spacing:0.02em;
  transition:opacity 0.22s ease, transform 0.22s ease; padding:3px 0;
}
.contact-direct:hover { opacity:0.72; transform:translateX(4px); }
.contact-social-link {
  display:inline-block;
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 16px;
  color:var(--text-secondary); letter-spacing:0.04em;
  transition:color 0.22s ease, transform 0.22s ease; padding:3px 0;
}
.contact-social-link:hover { color:var(--text-accent); transform:translateX(4px); }

.contact-form-wrap {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--r); padding:28px;
  display:flex; flex-direction:column; gap:14px;
  backdrop-filter:var(--blur-sm); -webkit-backdrop-filter:var(--blur-sm);
}
.form-group { display:flex; flex-direction:column; gap:5px; }
.form-label {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing:0.14em; text-transform:uppercase;
  color:var(--text-muted); transition:color 0.7s ease;
}
.form-input {
  background:var(--input-bg); border:1px solid var(--input-border);
  border-radius:var(--r-sm); padding:11px 14px;
  font-family:'DM Sans', sans-serif;
  font-size:14px; color:var(--text-primary); outline:none;
  transition:border-color 0.22s ease, box-shadow 0.22s ease,
             background 0.7s ease, color 0.7s ease;
  resize:none;
}
.form-input::placeholder { color:var(--text-muted); opacity:0.55; }
.form-input:focus {
  border-color:var(--text-accent);
  box-shadow:0 0 0 3px var(--input-focus);
}
.form-textarea { min-height:90px; }
.form-submit {
  padding:12px 26px;
  background:var(--text-accent); color:#fff;
  border:1px solid var(--text-accent);
  border-radius:var(--r-sm);
  font-family: 'Blending', 'DM Sans', sans-serif;
  font-size: 17px;
  letter-spacing:0.05em; cursor:pointer;
  transition:all 0.28s ease; align-self:flex-end;
}
.form-submit:hover {
  opacity:0.82; transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(107,90,142,0.3);
}
.form-note {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing:0.06em; color:#6bcb77;
  min-height:16px; text-align:right;
  transition:color 0.3s ease;
}
.form-note.error { color:#e07070; }

/* ══════════════════════════════════════════════════════════
   MUSIC PLAYER
   ══════════════════════════════════════════════════════════ */
#music-player {
  position:absolute; bottom:18px; right:18px; z-index:50;
  display:flex; align-items:center; gap:10px;
  background:var(--chrome-bg); border:1px solid var(--chrome-border);
  border-radius:30px; padding:8px 16px 8px 14px;
  backdrop-filter:var(--blur); -webkit-backdrop-filter:var(--blur);
  cursor:move; user-select:none;
  box-shadow:0 4px 20px rgba(0,0,0,0.14);
  transition:background 0.7s ease, border-color 0.4s ease;
}
#music-player:hover { border-color:var(--text-accent); }
.mp-cassette { font-size:14px; color:var(--text-accent); letter-spacing:-1px; transition:color 0.7s ease; }
.mp-info { display:flex; flex-direction:column; gap:4px; }
.mp-title {
  font-family: 'Auralyess', 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing:0.07em; color:var(--chrome-text);
  white-space:nowrap; transition:color 0.7s ease;
}
.mp-bars { display:flex; align-items:flex-end; gap:2px; height:12px; }
.mp-bars span {
  display:block; width:3px; height:4px;
  background:var(--text-accent); border-radius:2px;
  transition:background 0.7s ease;
}
.mp-bars.playing span:nth-child(1) { animation:bar 0.68s ease-in-out 0s    infinite alternate; }
.mp-bars.playing span:nth-child(2) { animation:bar 0.68s ease-in-out 0.12s infinite alternate; }
.mp-bars.playing span:nth-child(3) { animation:bar 0.68s ease-in-out 0.22s infinite alternate; }
.mp-bars.playing span:nth-child(4) { animation:bar 0.68s ease-in-out 0.16s infinite alternate; }
.mp-bars.playing span:nth-child(5) { animation:bar 0.68s ease-in-out 0.06s infinite alternate; }
@keyframes bar { from { height:3px; } to { height:12px; } }
.mp-btn {
  width:28px; height:28px; border-radius:50%;
  background:var(--text-accent); color:#fff;
  font-size:11px; display:flex; align-items:center;
  justify-content:center; cursor:pointer; flex-shrink:0;
  padding-left:1px; transition:all 0.22s ease;
}
.mp-btn:hover { transform:scale(1.12); opacity:0.82; }

/* ══════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════════════════════════ */
body { cursor:none; }
#cursor-dot {
  position:fixed; width:7px; height:7px;
  border-radius:50%; background:var(--text-accent);
  pointer-events:none; z-index:9990;
  transform:translate(-50%,-50%);
  transition:background 0.5s ease, transform 0.1s ease;
  will-change:left,top;
}
#cursor-ring {
  position:fixed; width:28px; height:28px;
  border-radius:50%; border:1.5px solid var(--text-accent);
  pointer-events:none; z-index:9989;
  transform:translate(-50%,-50%);
  opacity:0.4;
  transition:width 0.3s ease, height 0.3s ease,
             border-color 0.5s ease, opacity 0.3s ease;
  will-change:left,top;
}
#cursor-ring.expand { width:44px; height:44px; opacity:0.18; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width:900px) {
  #browser-window { width:calc(100vw - 20px); height:calc(100vh - 56px); margin-top:36px; }
  .home-layout { flex-direction:column; align-items:flex-start; padding:32px 28px 24px; }
  .home-right  { align-items:flex-start; width:100%; }
  .home-links  { align-items:flex-start; }
  .page-inner  { padding:30px 28px 52px; }
  .about-grid  { grid-template-columns:1fr; }
  .contact-layout { grid-template-columns:1fr; }
  .project-row { grid-template-columns:70px 1fr; }
  .project-actions { grid-column:2; }
  .cert-row { grid-template-columns:48px 1fr; }
  .cert-badge { display:none; }
  .tab { padding:0 12px; font-size:13px; }
}
@media (max-width:580px) {
  #desktop-bar { padding:0 12px; }
  .desktop-tagline { display:none; }
  #browser-window { width:calc(100vw - 10px); height:calc(100vh - 46px); border-radius:10px; }
  #browser-titlebar { padding:0 10px; gap:7px; }
  .nav-btn { display:none; }
  .home-layout { padding:22px 18px 18px; }
  .page-inner  { padding:22px 18px 40px; }
  .name-line   { font-size:clamp(44px,13vw,68px); letter-spacing:2px; }
  .stats-grid  { grid-template-columns:1fr 1fr; }
  .project-row { grid-template-columns:1fr; gap:10px; }
  .project-meta { flex-direction:row; align-items:center; gap:12px; }
  .project-tech-stack { flex-direction:row; flex-wrap:wrap; gap:4px; }
  .cert-row { grid-template-columns:1fr; gap:8px; padding:18px; }
  .cert-mark { font-size:20px; }
  .contact-layout { grid-template-columns:1fr; gap:24px; }
  #music-player { bottom:10px; right:10px; }
}