/* =============================================================
   Jahangir Alam Sumon — Portfolio
   Deep-space studio theme · cyan + amber duotone
   ============================================================= */

:root {
  /* backgrounds */
  --bg:        #070912;
  --bg-2:      #0b0f1c;
  --surface:   rgba(255, 255, 255, 0.038);
  --surface-2: rgba(255, 255, 255, 0.06);

  /* text */
  --ink:    #eef2fb;
  --muted:  #9fb0cf;
  --faint:  #6b7a99;

  /* accents */
  --cyan:       #56c7ff;
  --cyan-deep:  #2b8fd6;
  --amber:      #ffb14e;
  --amber-deep: #ff8a3d;
  --cyan-rgb:       86, 199, 255;
  --cyan-deep-rgb:  43, 143, 214;
  --amber-rgb:      255, 177, 78;
  --amber-deep-rgb: 255, 138, 61;

  /* lines / shadows */
  --line:      rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --shadow:    0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --glow-cyan:  0 0 40px rgba(var(--cyan-rgb), 0.22);

  /* gradients */
  --grad-cyan:  linear-gradient(135deg, #ffffff, #b9e6ff, #56c7ff);
  --grad-amber: linear-gradient(120deg, #ffe6b0, #ffb14e, #ff8a3d);
  --grad-mix:   linear-gradient(120deg, #56c7ff, #8a9bff, #ffb14e);

  /* type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Courier New", monospace;

  --radius: 18px;
  --maxw: 1180px;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: #1a1200; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- ambient background ---------- */
#starCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 12%, rgba(var(--cyan-deep-rgb), 0.16), transparent 60%),
    radial-gradient(55% 45% at 85% 20%, rgba(var(--amber-deep-rgb), 0.10), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(138, 155, 255, 0.10), transparent 60%),
    var(--bg);
}

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--cyan); opacity: 0.7; }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  margin: 14px 0 12px;
}
.section-title em { font-style: normal; background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--muted); font-size: 1rem; }

/* glass surface */
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 50px; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--cyan-deep), #1f5f9c);
  color: #fff; border-color: rgba(255,255,255,0.14);
  box-shadow: 0 10px 24px rgba(var(--cyan-deep-rgb), 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(var(--cyan-deep-rgb), 0.4); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px); }
.btn-amber {
  background: linear-gradient(120deg, var(--amber), var(--amber-deep));
  color: #1a1200; font-weight: 700;
}
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(var(--amber-deep-rgb), 0.35); }

/* =============================================================
   NAVBAR
   ============================================================= */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 56px);
  transition: padding .35s, background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
#navbar.sticky {
  background: rgba(8, 11, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  padding-block: 11px;
}
.nav-logo img { width: 118px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a {
  font-size: 0.94rem; color: var(--muted); position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--grad-amber); transition: width .3s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--ink); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  padding: 9px 18px; border-radius: 40px;
  background: linear-gradient(120deg, var(--amber), var(--amber-deep)); color: #1a1200;
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(var(--amber-deep-rgb), 0.35); }
.hamburger { display: none; font-size: 26px; cursor: pointer; color: var(--ink); background: none; border: none; }

/* =============================================================
   HERO
   ============================================================= */
#hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 90px; overflow: hidden; }
.hero-glow-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; top: 14%; left: 6%; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.30), transparent 70%);
  filter: blur(80px); z-index: 0; animation: floatGlow 14s ease-in-out infinite alternate;
}
@keyframes floatGlow { 0% { transform: translate(0,0) scale(1); opacity: .55; } 100% { transform: translate(40px,30px) scale(1.25); opacity: .9; } }
.hero-grid {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.hero-status {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted);
  padding: 6px 14px; border-radius: 40px; border: 1px solid var(--line); background: var(--surface);
  margin-bottom: 22px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #35e08a; box-shadow: 0 0 0 0 rgba(53,224,138,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(53,224,138,0.55); } 70% { box-shadow: 0 0 0 10px rgba(53,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(53,224,138,0); } }
.hero-name {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(2.4rem, 6.6vw, 4.4rem);
  background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.hero-role { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 3.6vw, 1.9rem); min-height: 2.4rem; margin-bottom: 22px; }
.role-prefix { color: var(--cyan); }
.typed-role { background: var(--grad-amber); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cursor { display: inline-block; width: 3px; height: 1.1em; background: var(--amber); margin-left: 3px; border-radius: 2px; animation: blink .8s step-end infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-bio { color: var(--muted); font-size: 1.02rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-stat .num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; background: var(--grad-mix); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .lbl { font-size: 0.78rem; color: var(--faint); letter-spacing: 0.04em; }

.hero-photo { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-photo .ring { position: absolute; inset: -6% ; border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%; border: 1px dashed rgba(var(--cyan-rgb), 0.35); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-photo img {
  width: 100%; max-width: 380px; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  background: rgba(30,60,90,0.2);
  filter: drop-shadow(0 0 22px rgba(var(--cyan-rgb), 0.35));
  animation: bob 5s ease-in-out infinite;
  flex-shrink: 0; align-self: center;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.photo-fallback {
  width: 100%; max-width: 380px; aspect-ratio: 1/1.05;
  border-radius: 42% 58% 54% 46% / 48% 44% 56% 52%;
  border: 2px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, rgba(56,189,248,0.28), rgba(251,146,60,0.28));
  filter: drop-shadow(0 0 22px rgba(var(--cyan-rgb), 0.35));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; color: #fff;
  animation: bob 5s ease-in-out infinite;
  flex-shrink: 0; align-self: center;
}
.photo-fallback[hidden] { display: none; }
.hero-badge {
  position: absolute; bottom: 8%; left: 0; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 14px; font-size: 0.82rem; font-weight: 600;
}
.hero-badge .em { font-size: 1.2rem; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--faint); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .bar { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* =============================================================
   ABOUT
   ============================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.about-lead { font-size: 1.12rem; color: var(--ink); margin-bottom: 18px; font-family: var(--font-display); font-weight: 500; }
.about-text { color: var(--muted); margin-bottom: 20px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 22px; }
.about-list li { list-style: none; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.94rem; }
.about-list i { color: var(--cyan); }
.about-panels { display: grid; gap: 16px; }
.about-card { padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.about-card .ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(var(--cyan-rgb), 0.18), rgba(var(--amber-rgb), 0.14)); font-size: 1.3rem; }
.about-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.about-card p { color: var(--muted); font-size: 0.9rem; }

/* =============================================================
   SERVICES
   ============================================================= */
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.service-card { padding: 30px 26px; position: relative; overflow: hidden; transition: transform .4s, border-color .4s, box-shadow .4s; }
.service-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0, rgba(var(--cyan-rgb), 0.12), transparent 55%); opacity: 0; transition: opacity .4s; }
.service-card:hover { transform: translateY(-8px); border-color: var(--line); box-shadow: var(--shadow), var(--glow-cyan); }
.service-card:hover::after { opacity: 1; }
.service-ic { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); border: 1px solid var(--line); margin-bottom: 18px; }
.service-ic img { width: 30px; height: 30px; object-fit: contain; }
.service-card h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-family: var(--font-mono); font-size: 0.68rem; padding: 4px 10px; border-radius: 40px; background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--muted); }

/* =============================================================
   SKILLS
   ============================================================= */
.skills-wrap { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.skill-dial { width: 128px; text-align: center; }
.dial {
  width: 128px; height: 128px; border-radius: 50%; position: relative; margin: 0 auto 12px;
  display: grid; place-items: center;
  background: conic-gradient(var(--cyan) 0deg, rgba(255,255,255,0.08) 0deg);
  transition: transform .4s;
}
.dial:hover { transform: translateY(-8px) scale(1.05); }
.dial::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0c1120; border: 1px solid var(--line-soft); }
.dial .inner { position: relative; z-index: 2; display: grid; place-items: center; gap: 3px; }
.dial .inner img { width: 40px; height: 40px; object-fit: contain; }
.dial .pct { font-family: var(--font-mono); font-size: 0.74rem; color: var(--cyan); font-weight: 600; }
.skill-dial .name { font-size: 0.86rem; color: var(--muted); }

/* =============================================================
   PROCESS
   ============================================================= */
.grid-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.process-card { padding: 30px 26px; position: relative; }
.process-step { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px rgba(var(--cyan-rgb), 0.5); margin-bottom: 16px; }
.process-card:nth-child(even) .process-step { -webkit-text-stroke-color: rgba(var(--amber-rgb), 0.55); }
.process-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.process-card p { color: var(--muted); font-size: 0.92rem; }
.process-card .line { position: absolute; top: 46px; right: -10px; color: var(--faint); font-size: 1.4rem; display: none; }

/* =============================================================
   PROJECTS
   ============================================================= */
.proj-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: 40px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  transition: all .25s;
}
.filter-btn:hover { color: var(--ink); border-color: var(--cyan); }
.filter-btn.active { background: linear-gradient(120deg, var(--cyan-deep), #1f5f9c); color: #fff; border-color: transparent; }
.grid-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.project-card { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; border: 1px solid var(--line); background: var(--surface); transition: transform .4s, box-shadow .4s, border-color .4s; }
.project-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--shadow), var(--glow-cyan); }
.project-thumb { aspect-ratio: 16/10; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-thumb img { transform: scale(1.08); }
.project-body { padding: 20px 22px; }
.project-cat { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.project-body h3 { font-family: var(--font-display); font-size: 1.14rem; margin: 8px 0 8px; }
.project-body p { color: var(--muted); font-size: 0.88rem; }
.project-view { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(8,11,20,0.7); border: 1px solid var(--line); backdrop-filter: blur(6px); opacity: 0; transform: translateY(-6px); transition: .3s; color: var(--cyan); }
.project-card:hover .project-view { opacity: 1; transform: translateY(0); }
.project-empty { grid-column: 1 / -1; text-align: center; color: var(--faint); padding: 40px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,6,12,0.8); backdrop-filter: blur(6px); }
.modal-box { position: relative; z-index: 2; max-width: 620px; width: 100%; border-radius: 20px; overflow: hidden; background: #0c1120; border: 1px solid var(--line); box-shadow: var(--shadow); animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-box img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.modal-content { padding: 26px 28px; }
.modal-content .project-cat { margin-bottom: 6px; display: block; }
.modal-content h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; }
.modal-content p { color: var(--muted); margin-bottom: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(8,11,20,0.8); border: 1px solid var(--line); color: #fff; cursor: pointer; font-size: 1.1rem; }
.modal-close:hover { border-color: var(--amber); color: var(--amber); }

/* =============================================================
   EDUCATION
   ============================================================= */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--amber)); opacity: 0.5; }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #0c1120; border: 3px solid var(--cyan); box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), 0.12); }
.tl-item:nth-child(even)::before { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(var(--amber-rgb), 0.12); }
.tl-year { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--amber); }
.tl-item h3 { font-family: var(--font-display); font-size: 1.16rem; margin: 5px 0 3px; }
.tl-place { color: var(--cyan); font-size: 0.88rem; margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: 0.9rem; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact-line .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(var(--cyan-rgb), 0.16), rgba(var(--amber-rgb), 0.12)); color: var(--cyan); font-size: 1.1rem; }
.contact-line .lbl { font-size: 0.74rem; color: var(--faint); letter-spacing: 0.05em; text-transform: uppercase; }
.contact-line .val { font-size: 0.98rem; color: var(--ink); }

.contact-form { padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 7px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; font-family: var(--font-body); font-size: 0.95rem;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); color: var(--ink); transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(var(--cyan-rgb), 0.05); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { min-height: 22px; font-size: 0.86rem; margin-top: 12px; }
.form-note.ok { color: #35e08a; }
.form-note.err { color: #ff7a7a; }

/* =============================================================
   SOCIAL STRIP
   ============================================================= */
.social-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.social-link {
  display: flex; align-items: center; gap: 11px; padding: 12px 20px; border-radius: 50px;
  background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s, background .3s;
}
.social-link img { width: 24px; height: 24px; object-fit: contain; }
.social-link span { font-size: 0.9rem; color: var(--muted); }
.social-link:hover { transform: translateY(-4px); border-color: var(--cyan); background: var(--surface-2); }
.social-link:hover span { color: var(--ink); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 30px; margin-top: 40px; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { width: 140px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 6px 0; transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--cyan); padding-left: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 0.84rem; }
.footer-bottom .heart { color: var(--amber); }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan-deep), #1f5f9c); color: #fff; border: 1px solid rgba(255,255,255,0.14); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .35s; z-index: 800; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* =============================================================
   REVEAL ON SCROLL
   ============================================================= */
.reveal {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; }

/* multiple reveal variants — auto-assigned in rotation by JS for visual variety */
.reveal-fade { transform: translateY(30px); }
.reveal-fade.in { transform: translateY(0); }

.reveal-left { transform: translateX(-56px); }
.reveal-left.in { transform: translateX(0); }

.reveal-right { transform: translateX(56px); }
.reveal-right.in { transform: translateX(0); }

.reveal-zoom { transform: scale(.86); }
.reveal-zoom.in { transform: scale(1); }

.reveal-tilt {
  transform: perspective(900px) translateY(38px) translateZ(-60px) rotateX(8deg);
  transform-origin: center bottom;
}
.reveal-tilt.in { transform: perspective(900px) translateY(0) translateZ(0) rotateX(0deg); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (min-width: 720px) { .process-card:not(:last-child) .line { display: block; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 300px; }
  .photo-fallback { max-width: 300px; }
  .hero-role, .hero-actions, .hero-stats { justify-content: center; }
  .hero-bio { margin-inline: auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav-menu {
    position: fixed; top: 64px; right: 16px; left: 16px; flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 16px; border-radius: 16px; background: rgba(10,14,26,0.96);
    border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .nav-menu.show { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { width: 100%; padding: 10px 4px; }
  .nav-right .nav-cta { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 560px) {
  .about-list, .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-fade, .reveal-left, .reveal-right, .reveal-zoom, .reveal-tilt { opacity: 1 !important; transform: none !important; }
}

/* ===================== CUSTOM SECTIONS (added from dashboard) ===================== */
#customSections .cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 34px;
}
#customSections .cs-card {
  background: var(--glass, rgba(255,255,255,0.03));
  border: 1px solid var(--line, rgba(255,255,255,0.08));
  border-radius: 18px;
  padding: 26px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
#customSections .cs-card:hover { transform: translateY(-4px); border-color: var(--accent, #38bdf8); }
#customSections .cs-ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(56,189,248,.18), rgba(251,146,60,.18));
  color: var(--accent, #38bdf8); font-size: 20px;
}
#customSections .cs-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
#customSections .cs-card p { margin: 0 0 12px; color: var(--muted, #9aa4b2); line-height: 1.6; }
#customSections .cs-card a { color: var(--accent, #38bdf8); font-weight: 600; text-decoration: none; font-size: .92rem; }
#customSections .cs-card a:hover { text-decoration: underline; }
#customSections .cs-list { list-style: none; padding: 0; margin: 34px auto 0; max-width: 760px; display: grid; gap: 14px; }
#customSections .cs-list li {
  background: var(--glass, rgba(255,255,255,0.03));
  border: 1px solid var(--line, rgba(255,255,255,0.08));
  border-radius: 14px; padding: 18px 20px;
}
#customSections .cs-list strong { display: block; margin-bottom: 4px; }
#customSections .cs-list span { color: var(--muted, #9aa4b2); font-size: .94rem; }
#customSections .cs-text {
  max-width: 760px; margin: 34px auto 0; text-align: center;
  color: var(--muted, #9aa4b2); line-height: 1.8; font-size: 1.05rem; white-space: pre-line;
}

/* ===================== APP DOWNLOAD BADGES (footer) ===================== */
.app-badges { display: flex; flex-direction: column; gap: 10px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 16px; border-radius: 12px;
  background: #0d1017; border: 1px solid rgba(255,255,255,0.14);
  color: #fff; text-decoration: none; min-width: 180px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.app-badge:hover { transform: translateY(-2px); border-color: var(--accent, #38bdf8); background: #11151d; }
.app-badge i { font-size: 26px; line-height: 1; }
.app-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.app-badge small { font-size: .68rem; opacity: .75; letter-spacing: .02em; }
.app-badge strong { font-size: 1.02rem; font-weight: 600; }
@media (max-width: 720px) {
  .app-badges { flex-direction: row; flex-wrap: wrap; }
  .app-badge { min-width: 0; flex: 1 1 160px; }
}

/* ===================== 3D TILT (mouse-follow on cards) ===================== */
.service-card.tilting, .project-card.tilting { transition: transform .1s linear, border-color .4s, box-shadow .4s; }

/* ===================== PROJECT APP ICON (optional, for mobile app projects) ===================== */
.project-thumb { position: relative; }
.project-app-icon {
  position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px;
  border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45); background: #0d1017;
}
.modal-title-row { display: flex; align-items: center; gap: 12px; }
.modal-app-icon { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(255,255,255,0.18); flex-shrink: 0; }

/* ===================== PHOTO GALLERY ===================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px; margin-top: 40px;
}
.gallery-card {
  position: relative; margin: 0; border-radius: 16px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--surface, #0d1017); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,0.4); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(5,8,15,0); color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity .3s ease, background .3s ease;
}
.gallery-card:hover .gallery-overlay { opacity: 1; background: rgba(5,8,15,0.35); }
.gallery-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff; font-size: .85rem; display: flex; flex-direction: column; gap: 2px;
}
.gallery-card figcaption strong { font-size: .92rem; }
.gallery-card figcaption span { color: rgba(255,255,255,0.75); font-size: .76rem; }
.gallery-more-wrap { display: flex; justify-content: center; margin-top: 32px; }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(3,5,10,0.92); backdrop-filter: blur(6px); }
.lightbox-stage {
  position: relative; z-index: 2; max-width: min(92vw, 1000px); max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox-img-wrap {
  max-width: 100%; max-height: 68vh; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); background: #0b0f1c;
  display: flex; align-items: center; justify-content: center;
  touch-action: none; cursor: grab;
}
.lightbox-img-wrap.zoomed { cursor: grab; }
.lightbox-img-wrap.panning { cursor: grabbing; }
.lightbox-stage img {
  max-width: 100%; max-height: 68vh; object-fit: contain; display: block;
  transform-origin: center center; transition: transform .2s ease-out;
  user-select: none; -webkit-user-drag: none;
}
.lightbox-stage img.no-transition { transition: none; }
.lightbox-caption { text-align: center; color: #fff; max-width: 640px; }
.lightbox-caption h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.2rem; }
.lightbox-meta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; color: rgba(255,255,255,0.7); font-size: .88rem; margin-bottom: 10px; }
.lightbox-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lightbox-caption #lbLink {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent, #38bdf8);
  text-decoration: none; font-weight: 600; font-size: .9rem;
}
.lightbox-caption #lbLink:hover { text-decoration: underline; }
.lightbox-close {
  position: absolute; top: 22px; right: 22px; z-index: 3; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06);
  color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.16); }
.lightbox-zoom-controls {
  position: absolute; top: 22px; left: 22px; z-index: 3; display: flex; gap: 8px;
}
.lightbox-zoom-controls button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06); color: #fff; font-size: .95rem; cursor: pointer; transition: background .2s;
}
.lightbox-zoom-controls button:hover { background: rgba(255,255,255,0.16); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06); color: #fff; font-size: 1.2rem; cursor: pointer; transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* lightbox open/close transition effects — a different one is picked each time */
.lb-fx-zoom { animation: lbZoom .38s cubic-bezier(.2,.8,.2,1); }
@keyframes lbZoom { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
.lb-fx-slide { animation: lbSlide .4s cubic-bezier(.2,.8,.2,1); }
@keyframes lbSlide { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: translateY(0); } }
.lb-fx-fade { animation: lbFade .45s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-fx-flip { animation: lbFlip .5s cubic-bezier(.2,.8,.2,1); }
@keyframes lbFlip { from { opacity: 0; transform: perspective(800px) rotateY(18deg) scale(.92); } to { opacity: 1; transform: perspective(800px) rotateY(0) scale(1); } }

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .lightbox-zoom-controls { top: 12px; left: 12px; }
  .lightbox-zoom-controls button { width: 34px; height: 34px; font-size: .82rem; }
  .lightbox-img-wrap, .lightbox-stage img { max-height: 58vh; }
}

/* ===================== THEMES (admin-selectable, default = Deep Space) ===================== */
html[data-theme="midnight-violet"] {
  --bg: #0d0a1a; --bg-2: #140f28;
  --ink: #f0edfb; --muted: #b4a8d9; --faint: #7c6ea3;
  --cyan: #a78bfa; --cyan-deep: #7c5cf0;
  --amber: #f472b6; --amber-deep: #ec4899;
  --cyan-rgb: 167, 139, 250; --cyan-deep-rgb: 124, 92, 240;
  --amber-rgb: 244, 114, 182; --amber-deep-rgb: 236, 72, 153;
  --glow-cyan: 0 0 40px rgba(167,139,250,0.25);
  --grad-cyan: linear-gradient(135deg, #ffffff, #d8c8ff, #a78bfa);
  --grad-amber: linear-gradient(120deg, #fbcfe8, #f472b6, #ec4899);
  --grad-mix: linear-gradient(120deg, #a78bfa, #c084fc, #f472b6);
}
html[data-theme="ocean-breeze"] {
  --bg: #051014; --bg-2: #081b21;
  --ink: #e8f7f7; --muted: #9fc9c9; --faint: #5f8a8a;
  --cyan: #2dd4bf; --cyan-deep: #14b8a6;
  --amber: #38bdf8; --amber-deep: #0ea5e9;
  --cyan-rgb: 45, 212, 191; --cyan-deep-rgb: 20, 184, 166;
  --amber-rgb: 56, 189, 248; --amber-deep-rgb: 14, 165, 233;
  --glow-cyan: 0 0 40px rgba(45,212,191,0.22);
  --grad-cyan: linear-gradient(135deg, #ffffff, #99f6e4, #2dd4bf);
  --grad-amber: linear-gradient(120deg, #bae6fd, #38bdf8, #0ea5e9);
  --grad-mix: linear-gradient(120deg, #2dd4bf, #38bdf8, #0ea5e9);
}
html[data-theme="sunset-warm"] {
  --bg: #120a08; --bg-2: #1c100b;
  --ink: #fbeee7; --muted: #d9ab97; --faint: #a3715c;
  --cyan: #fb7185; --cyan-deep: #e11d48;
  --amber: #fbbf24; --amber-deep: #f59e0b;
  --cyan-rgb: 251, 113, 133; --cyan-deep-rgb: 225, 29, 72;
  --amber-rgb: 251, 191, 36; --amber-deep-rgb: 245, 158, 11;
  --glow-cyan: 0 0 40px rgba(251,113,133,0.25);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fecdd3, #fb7185);
  --grad-amber: linear-gradient(120deg, #fde68a, #fbbf24, #f59e0b);
  --grad-mix: linear-gradient(120deg, #fb7185, #fb923c, #fbbf24);
}
html[data-theme="forest-emerald"] {
  --bg: #071009; --bg-2: #0b1710;
  --ink: #eafaf0; --muted: #9fcbb0; --faint: #5f8f74;
  --cyan: #34d399; --cyan-deep: #10b981;
  --amber: #facc15; --amber-deep: #eab308;
  --cyan-rgb: 52, 211, 153; --cyan-deep-rgb: 16, 185, 129;
  --amber-rgb: 250, 204, 21; --amber-deep-rgb: 234, 179, 8;
  --glow-cyan: 0 0 40px rgba(52,211,153,0.22);
  --grad-cyan: linear-gradient(135deg, #ffffff, #a7f3d0, #34d399);
  --grad-amber: linear-gradient(120deg, #fef08a, #facc15, #eab308);
  --grad-mix: linear-gradient(120deg, #34d399, #a3e635, #facc15);
}
html[data-theme="rose-gold"] {
  --bg: #120b0e; --bg-2: #1a1014;
  --ink: #fbecf1; --muted: #d9a8bb; --faint: #a37086;
  --cyan: #f9a8d4; --cyan-deep: #ec4899;
  --amber: #fbbf24; --amber-deep: #f59e0b;
  --cyan-rgb: 249, 168, 212; --cyan-deep-rgb: 236, 72, 153;
  --amber-rgb: 251, 191, 36; --amber-deep-rgb: 245, 158, 11;
  --glow-cyan: 0 0 40px rgba(249,168,212,0.25);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fbcfe8, #f9a8d4);
  --grad-amber: linear-gradient(120deg, #fde68a, #fbbf24, #f59e0b);
  --grad-mix: linear-gradient(120deg, #f9a8d4, #fbbf24, #f59e0b);
}
html[data-theme="monochrome-slate"] {
  --bg: #0a0a0c; --bg-2: #131316;
  --ink: #f1f2f4; --muted: #a8adb8; --faint: #71767f;
  --cyan: #cbd5e1; --cyan-deep: #94a3b8;
  --amber: #e2e8f0; --amber-deep: #cbd5e1;
  --cyan-rgb: 203, 213, 225; --cyan-deep-rgb: 148, 163, 184;
  --amber-rgb: 226, 232, 240; --amber-deep-rgb: 203, 213, 225;
  --glow-cyan: 0 0 40px rgba(203,213,225,0.18);
  --grad-cyan: linear-gradient(135deg, #ffffff, #e2e8f0, #cbd5e1);
  --grad-amber: linear-gradient(120deg, #f1f5f9, #e2e8f0, #cbd5e1);
  --grad-mix: linear-gradient(120deg, #cbd5e1, #94a3b8, #e2e8f0);
}


/* ===================== 20 MORE THEMES ===================== */
html[data-theme="cyberpunk-neon"] {
  --bg: #0a0014; --bg-2: #140022;
  --ink: #fce8ff; --muted: #d199e0; --faint: #8a5a9e;
  --cyan: #ff2e9a; --cyan-deep: #d6008a;
  --amber: #00f0ff; --amber-deep: #00c2d1;
  --cyan-rgb: 255, 46, 154; --cyan-deep-rgb: 214, 0, 138;
  --amber-rgb: 0, 240, 255; --amber-deep-rgb: 0, 194, 209;
  --glow-cyan: 0 0 40px rgba(255, 46, 154,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fce8ff, #ff2e9a);
  --grad-amber: linear-gradient(120deg, #fce8ff, #00f0ff, #00c2d1);
  --grad-mix: linear-gradient(120deg, #ff2e9a, #00f0ff, #00c2d1);
}
html[data-theme="arctic-frost"] {
  --bg: #060b12; --bg-2: #0b141e;
  --ink: #eaf6ff; --muted: #a8c5d9; --faint: #6a8ba3;
  --cyan: #7dd3fc; --cyan-deep: #38bdf8;
  --amber: #e0f2fe; --amber-deep: #bae6fd;
  --cyan-rgb: 125, 211, 252; --cyan-deep-rgb: 56, 189, 248;
  --amber-rgb: 224, 242, 254; --amber-deep-rgb: 186, 230, 253;
  --glow-cyan: 0 0 40px rgba(125, 211, 252,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #eaf6ff, #7dd3fc);
  --grad-amber: linear-gradient(120deg, #eaf6ff, #e0f2fe, #bae6fd);
  --grad-mix: linear-gradient(120deg, #7dd3fc, #e0f2fe, #bae6fd);
}
html[data-theme="volcanic-ember"] {
  --bg: #0f0705; --bg-2: #1a0d09;
  --ink: #ffe9e3; --muted: #d9a394; --faint: #a3695a;
  --cyan: #ff4d4d; --cyan-deep: #dc2626;
  --amber: #f97316; --amber-deep: #ea580c;
  --cyan-rgb: 255, 77, 77; --cyan-deep-rgb: 220, 38, 38;
  --amber-rgb: 249, 115, 22; --amber-deep-rgb: 234, 88, 12;
  --glow-cyan: 0 0 40px rgba(255, 77, 77,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #ffe9e3, #ff4d4d);
  --grad-amber: linear-gradient(120deg, #ffe9e3, #f97316, #ea580c);
  --grad-mix: linear-gradient(120deg, #ff4d4d, #f97316, #ea580c);
}
html[data-theme="royal-sapphire"] {
  --bg: #050a18; --bg-2: #0a1428;
  --ink: #e8eefb; --muted: #a3b4d9; --faint: #63739e;
  --cyan: #3b82f6; --cyan-deep: #1d4ed8;
  --amber: #fbbf24; --amber-deep: #d97706;
  --cyan-rgb: 59, 130, 246; --cyan-deep-rgb: 29, 78, 216;
  --amber-rgb: 251, 191, 36; --amber-deep-rgb: 217, 119, 6;
  --glow-cyan: 0 0 40px rgba(59, 130, 246,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #e8eefb, #3b82f6);
  --grad-amber: linear-gradient(120deg, #e8eefb, #fbbf24, #d97706);
  --grad-mix: linear-gradient(120deg, #3b82f6, #fbbf24, #d97706);
}
html[data-theme="cherry-blossom"] {
  --bg: #12060d; --bg-2: #1c0d15;
  --ink: #fde8f1; --muted: #d9a3bf; --faint: #a3637f;
  --cyan: #f472b6; --cyan-deep: #db2777;
  --amber: #fda4af; --amber-deep: #fb7185;
  --cyan-rgb: 244, 114, 182; --cyan-deep-rgb: 219, 39, 119;
  --amber-rgb: 253, 164, 175; --amber-deep-rgb: 251, 113, 133;
  --glow-cyan: 0 0 40px rgba(244, 114, 182,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fde8f1, #f472b6);
  --grad-amber: linear-gradient(120deg, #fde8f1, #fda4af, #fb7185);
  --grad-mix: linear-gradient(120deg, #f472b6, #fda4af, #fb7185);
}
html[data-theme="golden-hour"] {
  --bg: #120d05; --bg-2: #1c150b;
  --ink: #fbf3e7; --muted: #d9c197; --faint: #a3895c;
  --cyan: #fbbf24; --cyan-deep: #d97706;
  --amber: #fb923c; --amber-deep: #ea580c;
  --cyan-rgb: 251, 191, 36; --cyan-deep-rgb: 217, 119, 6;
  --amber-rgb: 251, 146, 60; --amber-deep-rgb: 234, 88, 12;
  --glow-cyan: 0 0 40px rgba(251, 191, 36,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fbf3e7, #fbbf24);
  --grad-amber: linear-gradient(120deg, #fbf3e7, #fb923c, #ea580c);
  --grad-mix: linear-gradient(120deg, #fbbf24, #fb923c, #ea580c);
}
html[data-theme="deep-ocean"] {
  --bg: #040a0d; --bg-2: #071419;
  --ink: #e3f6f8; --muted: #93c5cd; --faint: #547e85;
  --cyan: #06b6d4; --cyan-deep: #0891b2;
  --amber: #22d3ee; --amber-deep: #0e7490;
  --cyan-rgb: 6, 182, 212; --cyan-deep-rgb: 8, 145, 178;
  --amber-rgb: 34, 211, 238; --amber-deep-rgb: 14, 116, 144;
  --glow-cyan: 0 0 40px rgba(6, 182, 212,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #e3f6f8, #06b6d4);
  --grad-amber: linear-gradient(120deg, #e3f6f8, #22d3ee, #0e7490);
  --grad-mix: linear-gradient(120deg, #06b6d4, #22d3ee, #0e7490);
}
html[data-theme="crimson-night"] {
  --bg: #0d0507; --bg-2: #170a0d;
  --ink: #fbe7ea; --muted: #d99aa3; --faint: #a35c68;
  --cyan: #f43f5e; --cyan-deep: #be123c;
  --amber: #fb7185; --amber-deep: #e11d48;
  --cyan-rgb: 244, 63, 94; --cyan-deep-rgb: 190, 18, 60;
  --amber-rgb: 251, 113, 133; --amber-deep-rgb: 225, 29, 72;
  --glow-cyan: 0 0 40px rgba(244, 63, 94,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fbe7ea, #f43f5e);
  --grad-amber: linear-gradient(120deg, #fbe7ea, #fb7185, #e11d48);
  --grad-mix: linear-gradient(120deg, #f43f5e, #fb7185, #e11d48);
}
html[data-theme="lavender-dusk"] {
  --bg: #0d0a14; --bg-2: #161022;
  --ink: #f2eefb; --muted: #c2b3d9; --faint: #7f6ea3;
  --cyan: #c4b5fd; --cyan-deep: #8b5cf6;
  --amber: #f0abfc; --amber-deep: #d946ef;
  --cyan-rgb: 196, 181, 253; --cyan-deep-rgb: 139, 92, 246;
  --amber-rgb: 240, 171, 252; --amber-deep-rgb: 217, 70, 239;
  --glow-cyan: 0 0 40px rgba(196, 181, 253,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #f2eefb, #c4b5fd);
  --grad-amber: linear-gradient(120deg, #f2eefb, #f0abfc, #d946ef);
  --grad-mix: linear-gradient(120deg, #c4b5fd, #f0abfc, #d946ef);
}
html[data-theme="electric-lime"] {
  --bg: #070d05; --bg-2: #0d160a;
  --ink: #edfbe7; --muted: #b9d9a3; --faint: #7a9e63;
  --cyan: #a3e635; --cyan-deep: #65a30d;
  --amber: #4ade80; --amber-deep: #16a34a;
  --cyan-rgb: 163, 230, 53; --cyan-deep-rgb: 101, 163, 13;
  --amber-rgb: 74, 222, 128; --amber-deep-rgb: 22, 163, 74;
  --glow-cyan: 0 0 40px rgba(163, 230, 53,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #edfbe7, #a3e635);
  --grad-amber: linear-gradient(120deg, #edfbe7, #4ade80, #16a34a);
  --grad-mix: linear-gradient(120deg, #a3e635, #4ade80, #16a34a);
}
html[data-theme="copper-bronze"] {
  --bg: #120b06; --bg-2: #1c130b;
  --ink: #fbeee3; --muted: #d9b697; --faint: #a37c5c;
  --cyan: #f0995a; --cyan-deep: #c2661e;
  --amber: #fcd34d; --amber-deep: #d97706;
  --cyan-rgb: 240, 153, 90; --cyan-deep-rgb: 194, 102, 30;
  --amber-rgb: 252, 211, 77; --amber-deep-rgb: 217, 119, 6;
  --glow-cyan: 0 0 40px rgba(240, 153, 90,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fbeee3, #f0995a);
  --grad-amber: linear-gradient(120deg, #fbeee3, #fcd34d, #d97706);
  --grad-mix: linear-gradient(120deg, #f0995a, #fcd34d, #d97706);
}
html[data-theme="aurora-borealis"] {
  --bg: #060d0f; --bg-2: #0a1618;
  --ink: #e3fbf5; --muted: #93d9c2; --faint: #549e8a;
  --cyan: #2dd4bf; --cyan-deep: #0d9488;
  --amber: #a78bfa; --amber-deep: #7c3aed;
  --cyan-rgb: 45, 212, 191; --cyan-deep-rgb: 13, 148, 136;
  --amber-rgb: 167, 139, 250; --amber-deep-rgb: 124, 58, 237;
  --glow-cyan: 0 0 40px rgba(45, 212, 191,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #e3fbf5, #2dd4bf);
  --grad-amber: linear-gradient(120deg, #e3fbf5, #a78bfa, #7c3aed);
  --grad-mix: linear-gradient(120deg, #2dd4bf, #a78bfa, #7c3aed);
}
html[data-theme="blood-moon"] {
  --bg: #100505; --bg-2: #1a0909;
  --ink: #fbe7e5; --muted: #d99e9a; --faint: #a3625c;
  --cyan: #dc2626; --cyan-deep: #991b1b;
  --amber: #fb923c; --amber-deep: #ea580c;
  --cyan-rgb: 220, 38, 38; --cyan-deep-rgb: 153, 27, 27;
  --amber-rgb: 251, 146, 60; --amber-deep-rgb: 234, 88, 12;
  --glow-cyan: 0 0 40px rgba(220, 38, 38,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fbe7e5, #dc2626);
  --grad-amber: linear-gradient(120deg, #fbe7e5, #fb923c, #ea580c);
  --grad-mix: linear-gradient(120deg, #dc2626, #fb923c, #ea580c);
}
html[data-theme="cosmic-teal"] {
  --bg: #050d0e; --bg-2: #0a1618;
  --ink: #e5fbfa; --muted: #9ad9d5; --faint: #5ca3a0;
  --cyan: #14b8a6; --cyan-deep: #0f766e;
  --amber: #c084fc; --amber-deep: #a855f7;
  --cyan-rgb: 20, 184, 166; --cyan-deep-rgb: 15, 118, 110;
  --amber-rgb: 192, 132, 252; --amber-deep-rgb: 168, 85, 247;
  --glow-cyan: 0 0 40px rgba(20, 184, 166,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #e5fbfa, #14b8a6);
  --grad-amber: linear-gradient(120deg, #e5fbfa, #c084fc, #a855f7);
  --grad-mix: linear-gradient(120deg, #14b8a6, #c084fc, #a855f7);
}
html[data-theme="amethyst-dream"] {
  --bg: #0d0714; --bg-2: #170d21;
  --ink: #f3e9fb; --muted: #c3a3d9; --faint: #7f5ca3;
  --cyan: #a855f7; --cyan-deep: #7e22ce;
  --amber: #f472b6; --amber-deep: #db2777;
  --cyan-rgb: 168, 85, 247; --cyan-deep-rgb: 126, 34, 206;
  --amber-rgb: 244, 114, 182; --amber-deep-rgb: 219, 39, 119;
  --glow-cyan: 0 0 40px rgba(168, 85, 247,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #f3e9fb, #a855f7);
  --grad-amber: linear-gradient(120deg, #f3e9fb, #f472b6, #db2777);
  --grad-mix: linear-gradient(120deg, #a855f7, #f472b6, #db2777);
}
html[data-theme="solar-flare"] {
  --bg: #120902; --bg-2: #1c1005;
  --ink: #fbeee0; --muted: #d9b088; --faint: #a3744c;
  --cyan: #fb923c; --cyan-deep: #ea580c;
  --amber: #fde047; --amber-deep: #facc15;
  --cyan-rgb: 251, 146, 60; --cyan-deep-rgb: 234, 88, 12;
  --amber-rgb: 253, 224, 71; --amber-deep-rgb: 250, 204, 21;
  --glow-cyan: 0 0 40px rgba(251, 146, 60,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fbeee0, #fb923c);
  --grad-amber: linear-gradient(120deg, #fbeee0, #fde047, #facc15);
  --grad-mix: linear-gradient(120deg, #fb923c, #fde047, #facc15);
}
html[data-theme="ice-blue"] {
  --bg: #050a0f; --bg-2: #0a141c;
  --ink: #e5f4fb; --muted: #9ac5d9; --faint: #5c8aa3;
  --cyan: #38bdf8; --cyan-deep: #0284c7;
  --amber: #93c5fd; --amber-deep: #60a5fa;
  --cyan-rgb: 56, 189, 248; --cyan-deep-rgb: 2, 132, 199;
  --amber-rgb: 147, 197, 253; --amber-deep-rgb: 96, 165, 250;
  --glow-cyan: 0 0 40px rgba(56, 189, 248,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #e5f4fb, #38bdf8);
  --grad-amber: linear-gradient(120deg, #e5f4fb, #93c5fd, #60a5fa);
  --grad-mix: linear-gradient(120deg, #38bdf8, #93c5fd, #60a5fa);
}
html[data-theme="neon-tokyo"] {
  --bg: #08020e; --bg-2: #100518;
  --ink: #f3e9fc; --muted: #c9a3e0; --faint: #8a5cb0;
  --cyan: #22d3ee; --cyan-deep: #0891b2;
  --amber: #f472b6; --amber-deep: #ec4899;
  --cyan-rgb: 34, 211, 238; --cyan-deep-rgb: 8, 145, 178;
  --amber-rgb: 244, 114, 182; --amber-deep-rgb: 236, 72, 153;
  --glow-cyan: 0 0 40px rgba(34, 211, 238,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #f3e9fc, #22d3ee);
  --grad-amber: linear-gradient(120deg, #f3e9fc, #f472b6, #ec4899);
  --grad-mix: linear-gradient(120deg, #22d3ee, #f472b6, #ec4899);
}
html[data-theme="autumn-maple"] {
  --bg: #120704; --bg-2: #1c0f08;
  --ink: #fbeee5; --muted: #d9ab8f; --faint: #a36f52;
  --cyan: #f97316; --cyan-deep: #c2410c;
  --amber: #dc2626; --amber-deep: #b91c1c;
  --cyan-rgb: 249, 115, 22; --cyan-deep-rgb: 194, 65, 12;
  --amber-rgb: 220, 38, 38; --amber-deep-rgb: 185, 28, 28;
  --glow-cyan: 0 0 40px rgba(249, 115, 22,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #fbeee5, #f97316);
  --grad-amber: linear-gradient(120deg, #fbeee5, #dc2626, #b91c1c);
  --grad-mix: linear-gradient(120deg, #f97316, #dc2626, #b91c1c);
}
html[data-theme="galaxy-indigo"] {
  --bg: #07050f; --bg-2: #0d0a1a;
  --ink: #e9e7fb; --muted: #a8a3d9; --faint: #6a63a3;
  --cyan: #6366f1; --cyan-deep: #4338ca;
  --amber: #e879f9; --amber-deep: #d946ef;
  --cyan-rgb: 99, 102, 241; --cyan-deep-rgb: 67, 56, 202;
  --amber-rgb: 232, 121, 249; --amber-deep-rgb: 217, 70, 239;
  --glow-cyan: 0 0 40px rgba(99, 102, 241,0.24);
  --grad-cyan: linear-gradient(135deg, #ffffff, #e9e7fb, #6366f1);
  --grad-amber: linear-gradient(120deg, #e9e7fb, #e879f9, #d946ef);
  --grad-mix: linear-gradient(120deg, #6366f1, #e879f9, #d946ef);
}
