/* Shanmukh Portfolio — responsive, interactive styling */
:root {
  color-scheme: dark;
  --bg: #0b1020;
  --surface: rgba(19, 27, 49, .82);
  --surface-solid: #131b31;
  --surface-light: #19243e;
  --text: #eef2ff;
  --muted: #a5b0ca;
  --subtle: #75819f;
  --line: rgba(164, 180, 220, .15);
  --blue: #7c9cff;
  --cyan: #6ee7f9;
  --violet: #b59bff;
  --radius: 22px;
  --max-width: 1120px;
  --danger: #ff7c91;
  --success: #70e5b1;
  --warning: #ffca72;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  position: relative; overflow-x: hidden; background: var(--bg); color: var(--text);
  font-family: "DM Sans", sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(124,156,255,.35); color: white; }
.container { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; }
.background-glow { position: fixed; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; }
.glow-one { top: 100px; left: -180px; background: #536dfe; }
.glow-two { top: 700px; right: -220px; background: #08c9d8; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(164,180,220,.09); background: rgba(11,16,32,.82); backdrop-filter: blur(18px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #08101f; background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet)); box-shadow: 0 5px 22px rgba(124,156,255,.25); }
.brand-dot { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 25px); list-style: none; }
.nav-link { position: relative; display: inline-block; padding: 8px 0; color: var(--muted); font-size: .86rem; transition: color .25s ease; cursor: pointer; }
.nav-link::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; border-radius: 4px; background: linear-gradient(90deg, var(--cyan), var(--blue)); transition: width .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: var(--surface); color: var(--text); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.section-shell { position: relative; padding: 105px 0; }
.hero { min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 54px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--cyan); font-size: .73rem; font-weight: 700; letter-spacing: .16em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #71f0bd; box-shadow: 0 0 0 5px rgba(113,240,189,.1); animation: pulse 2s infinite; }
h1, h2, h3, h4 { font-family: "Space Grotesk", sans-serif; line-height: 1.18; letter-spacing: -.04em; }
h1 { max-width: 720px; font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 700; }
.gradient-text { color: transparent; background: linear-gradient(95deg, #f3f6ff 5%, var(--cyan) 43%, var(--blue) 76%, var(--violet)); -webkit-background-clip: text; background-clip: text; }
.hero-description { max-width: 620px; margin-top: 24px; color: var(--muted); font-size: 1.06rem; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 47px; padding: 12px 18px; border: 1px solid transparent; border-radius: 12px; font-size: .9rem; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; cursor: pointer; }
.button:hover:not(:disabled) { transform: translateY(-3px); }
.button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.button-primary { color: #08101f; background: linear-gradient(110deg, var(--cyan), #a7bcff); box-shadow: 0 8px 26px rgba(124,156,255,.16); }
.button-primary:hover:not(:disabled) { box-shadow: 0 12px 32px rgba(124,156,255,.3); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.025); color: var(--text); }
.button-secondary:hover:not(:disabled) { border-color: rgba(110,231,249,.5); background: rgba(110,231,249,.06); }
.button-danger { border-color: rgba(255,124,145,.3); background: rgba(255,124,145,.1); color: var(--danger); }
.button-danger:hover:not(:disabled) { background: rgba(255,124,145,.2); border-color: var(--danger); }
.button-sm { min-height: 36px; padding: 6px 14px; font-size: 0.8rem; border-radius: 8px; }
.text-link { padding: 8px; color: var(--muted); font-size: .9rem; transition: color .2s; cursor: pointer; }
.text-link:hover { color: var(--cyan); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: "Space Grotesk", sans-serif; font-size: 1rem; }
.hero-meta span { color: var(--subtle); font-size: .78rem; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.orbit { position: absolute; width: 330px; height: 330px; border: 1px solid rgba(124,156,255,.19); border-radius: 50%; animation: rotate 24s linear infinite; }
.orbit::before { content: ""; position: absolute; top: 38px; left: 34px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.orbit-two { width: 410px; height: 410px; border-color: rgba(181,155,255,.12); animation-direction: reverse; animation-duration: 34s; }
.orbit-two::before { top: auto; left: auto; right: 44px; bottom: 65px; background: var(--violet); box-shadow: 0 0 20px var(--violet); }
.profile-card { position: relative; z-index: 2; width: min(340px, 88%); padding: 22px; border: 1px solid rgba(164,180,220,.22); border-radius: 24px; background: linear-gradient(145deg, rgba(25,36,62,.96), rgba(13,20,39,.94)); box-shadow: 0 28px 90px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.05); transform: rotate(2deg); transition: transform .4s ease, border-color .4s ease; }
.profile-card:hover { transform: rotate(0) translateY(-5px); border-color: rgba(110,231,249,.4); }
.profile-card-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff7c91; }
.window-dots i:nth-child(2) { background: #ffca72; }.window-dots i:nth-child(3) { background: #70e5b1; }
.card-label { color: var(--subtle); font-family: monospace; font-size: .7rem; }
.avatar { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: 25px auto 14px; border: 1px solid rgba(110,231,249,.45); border-radius: 28px; color: var(--text); background: linear-gradient(135deg, rgba(110,231,249,.18), rgba(181,155,255,.22)); font-family: "Space Grotesk", sans-serif; font-size: 3rem; font-weight: 700; box-shadow: 0 0 38px rgba(110,231,249,.08); }
.avatar-spark { position: absolute; top: -9px; right: -9px; color: var(--cyan); font-size: 1.2rem; }
.profile-name { text-align: center; font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; font-weight: 700; }
.profile-role { margin-top: 2px; text-align: center; color: var(--muted); font-size: .83rem; }
.code-line { margin-top: 24px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(3,8,20,.55); color: #dce5ff; font-family: monospace; font-size: .76rem; }
.code-purple { color: var(--violet); }.code-green { color: #9de9bf; }
.profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 14px; }
.profile-tags span, .skill-tags span, .project-tags span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .7rem; }
.floating-chip { position: absolute; z-index: 3; padding: 10px 13px; border: 1px solid rgba(164,180,220,.2); border-radius: 12px; background: rgba(19,27,49,.95); box-shadow: 0 12px 30px rgba(0,0,0,.18); color: var(--text); font-size: .76rem; animation: float 5s ease-in-out infinite; }
.chip-code { top: 62px; left: 0; }.chip-cloud { right: -5px; bottom: 58px; animation-delay: -2s; }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); color: var(--subtle); font-size: .73rem; white-space: nowrap; }
.scroll-cue span { width: 17px; height: 25px; border: 1px solid var(--subtle); border-radius: 12px; }
.scroll-cue span::after { content: ""; display: block; width: 3px; height: 5px; margin: 5px auto; border-radius: 2px; background: var(--cyan); animation: scroll-dot 1.5s infinite; }
.section-tinted { border-top: 1px solid rgba(164,180,220,.07); border-bottom: 1px solid rgba(164,180,220,.07); background: linear-gradient(180deg, rgba(18,26,47,.58), rgba(12,18,35,.62)); }
.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading h2, .contact-card h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.muted-heading { color: var(--muted); }
.section-intro { margin-top: 14px; color: var(--muted); }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.about-lead { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.45; }
.about-copy p { margin-bottom: 17px; color: var(--muted); }
.about-highlights { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.about-highlights span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; color: #d5ddf2; font-size: .78rem; }
.timeline { position: relative; max-width: 800px; margin-left: 8px; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 15px; left: 5px; width: 1px; background: linear-gradient(var(--cyan), rgba(124,156,255,.12)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 26px; padding: 0 0 27px 30px; }
.timeline-dot { position: absolute; top: 7px; left: 0; width: 11px; height: 11px; border: 3px solid var(--bg); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.timeline-date { padding-top: 4px; color: var(--cyan); font-size: .8rem; font-weight: 700; }
.content-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 15px; background: rgba(19,27,49,.55); transition: border-color .25s, transform .25s; }
.content-card:hover { transform: translateX(4px); border-color: rgba(110,231,249,.35); }
.content-card h3 { font-size: 1.15rem; }.content-card p { margin-top: 5px; color: var(--muted); font-size: .9rem; }
.pill { display: inline-block; margin-top: 13px; padding: 4px 9px; border: 1px solid rgba(110,231,249,.2); border-radius: 7px; color: var(--cyan); background: rgba(110,231,249,.06); font-size: .76rem; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(25,36,62,.68), rgba(13,20,39,.68)); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.skill-card:hover { transform: translateY(-6px); border-color: rgba(124,156,255,.45); box-shadow: 0 18px 35px rgba(0,0,0,.15); }
.skill-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border: 1px solid rgba(110,231,249,.2); border-radius: 13px; color: var(--cyan); background: rgba(110,231,249,.07); font-size: 1.3rem; }
.skill-card h3 { font-size: 1.15rem; }.skill-card p { min-height: 52px; margin-top: 9px; color: var(--muted); font-size: .88rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.project-card { position: relative; display: flex; flex-direction: column; min-height: 360px; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(25,36,62,.78), rgba(13,20,39,.84)); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.project-card::before { content: ""; position: absolute; top: -110px; right: -100px; width: 210px; height: 210px; border-radius: 50%; background: var(--card-glow, rgba(110,231,249,.12)); filter: blur(35px); opacity: .7; transition: opacity .3s, transform .4s; pointer-events: none; }
.project-card:hover { transform: translateY(-7px); border-color: rgba(110,231,249,.4); box-shadow: 0 20px 45px rgba(0,0,0,.2); }
.project-card:hover::before { transform: scale(1.35); opacity: 1; }
.project-card:nth-child(2) { --card-glow: rgba(181,155,255,.16); }.project-card:nth-child(3) { --card-glow: rgba(90,151,255,.16); }
.project-featured { grid-column: span 2; min-height: 310px; }
.project-top, .project-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-number { color: var(--cyan); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.project-symbol { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 12px; color: var(--cyan); background: rgba(255,255,255,.035); font-size: 1.2rem; }
.project-card h3 { position: relative; z-index: 1; margin-top: 22px; font-size: 1.55rem; }
.project-card p { position: relative; z-index: 1; margin-top: 13px; color: var(--muted); font-size: .91rem; line-height: 1.85; }
.project-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.project-footer { margin-top: auto; padding-top: 23px; }
.project-type { color: var(--subtle); font-size: .76rem; }
.arrow-mark { color: var(--cyan); font-size: 1.3rem; transition: transform .25s ease; }.project-card:hover .arrow-mark { transform: translate(3px, -3px); }
.project-note, .cert-disclaimer { margin-top: 20px; color: var(--subtle); font-size: .78rem; }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.cert-card { display: flex; align-items: flex-start; gap: 17px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19,27,49,.58); transition: transform .3s, border-color .3s; }
.cert-card:hover { transform: translateY(-5px); border-color: rgba(110,231,249,.35); }
.cert-icon { flex: 0 0 49px; display: grid; place-items: center; width: 49px; height: 49px; border-radius: 14px; font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; }
.google-icon { color: #a7bcff; background: rgba(124,156,255,.12); }.oracle-icon { color: #ff9caa; background: rgba(255,124,145,.1); }
.cert-content { flex: 1; }.cert-label { color: var(--cyan); font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.cert-content h3 { margin-top: 8px; font-size: 1.08rem; }.cert-content p { margin-top: 10px; color: var(--muted); font-size: .84rem; line-height: 1.8; }
.cert-check { color: var(--cyan); font-size: 1.15rem; }.cert-status { display: inline-block; margin-top: 11px; color: var(--subtle); font-size: .72rem; }
.contact-section { padding-top: 70px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: clamp(28px, 5vw, 55px); border: 1px solid rgba(124,156,255,.25); border-radius: 28px; background: radial-gradient(circle at 95% 5%, rgba(124,156,255,.13), transparent 38%), linear-gradient(120deg, rgba(25,36,62,.92), rgba(13,20,39,.92)); }
.contact-card .eyebrow { margin-bottom: 13px; }.contact-card h2 { max-width: 580px; }
.contact-copy { max-width: 520px; margin-top: 15px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; min-width: 160px; }
.site-footer { border-top: 1px solid var(--line); padding: 25px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { font-size: 1rem; }.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: .9rem; }
.footer-inner p, .back-to-top { color: var(--subtle); font-size: .76rem; }.back-to-top:hover { color: var(--cyan); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- Authentication & Security UI Styling --- */
.auth-shell {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px;
  border: 1px solid rgba(164,180,220,.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25,36,62,.96), rgba(13,20,39,.96));
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}
.auth-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-header h1 {
  font-size: 1.85rem;
  margin-top: 12px;
}
.auth-header p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 6px;
}
.auth-tabs {
  display: flex;
  background: rgba(3,8,20,.6);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.auth-tab.active {
  background: linear-gradient(110deg, var(--cyan), #a7bcff);
  color: #08101f;
  box-shadow: 0 4px 15px rgba(124,156,255,.25);
}
.auth-brand-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #08101f;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 5px 22px rgba(124,156,255,.3);
  margin-bottom: 8px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.form-input {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3,8,20,.65);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(110,231,249,.15);
}
.toggle-password {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--subtle);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px;
}
.toggle-password:hover {
  color: var(--cyan);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--subtle);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all .25s ease;
  cursor: pointer;
}
.google-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(124,156,255,.4);
  transform: translateY(-2px);
}
.google-icon-svg {
  width: 18px;
  height: 18px;
}
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-error {
  border: 1px solid rgba(255,124,145,.3);
  background: rgba(255,124,145,.1);
  color: #ff9caa;
}
.alert-success {
  border: 1px solid rgba(112,229,177,.3);
  background: rgba(112,229,177,.1);
  color: var(--success);
}
.alert-info {
  border: 1px solid rgba(110,231,249,.3);
  background: rgba(110,231,249,.1);
  color: var(--cyan);
}
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3,8,20,.5);
  margin-bottom: 20px;
}
.qr-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px;
}
.manual-secret {
  margin-top: 14px;
  text-align: center;
  font-family: monospace;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
  color: var(--cyan);
  word-break: break-all;
  user-select: all;
}
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.recovery-chip {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3,8,20,.6);
  font-family: monospace;
  font-size: 0.88rem;
  text-align: center;
  color: var(--cyan);
  user-select: all;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-active {
  background: rgba(112,229,177,.15);
  color: var(--success);
  border: 1px solid rgba(112,229,177,.3);
}
.badge-inactive {
  background: rgba(255,124,145,.15);
  color: var(--danger);
  border: 1px solid rgba(255,124,145,.3);
}
.user-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(19,27,49,.7);
  font-size: 0.8rem;
}
.auth-footer-links {
  text-align: center;
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--subtle);
}

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(113,240,189,.1); } 50% { box-shadow: 0 0 0 8px rgba(113,240,189,.02); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .nav-links { gap: 13px; }.nav-link { font-size: .78rem; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 25px; }.hero-visual { transform: scale(.88); }
  .about-layout { gap: 40px; }.skills-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { align-items: flex-start; flex-direction: column; }.contact-actions { min-width: 0; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 34px, var(--max-width)); }
  .section-shell { padding: 78px 0; }
  .nav { min-height: 68px; }.menu-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); background: rgba(11,16,32,.97); backdrop-filter: blur(18px); }
  .nav-links.open { display: flex; }.nav-link { display: block; padding: 11px 4px; font-size: .92rem; }.nav-link::after { display: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 75px; padding-bottom: 100px; }.hero-grid { grid-template-columns: 1fr; gap: 30px; }
  h1 { font-size: clamp(2.5rem, 11vw, 4rem); }.hero-description { font-size: .98rem; }.hero-visual { min-height: 370px; transform: none; }
  .orbit { width: 270px; height: 270px; }.orbit-two { width: 330px; height: 330px; }.profile-card { max-width: 310px; }.chip-code { top: 35px; left: 0; }.chip-cloud { right: 0; bottom: 38px; }
  .scroll-cue { bottom: 26px; }.about-layout { grid-template-columns: 1fr; gap: 25px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-bottom: 23px; }.timeline-date { padding-left: 0; }
  .projects-grid, .cert-grid { grid-template-columns: 1fr; }.project-featured { grid-column: auto; }.project-card { min-height: 0; }.project-footer { margin-top: 25px; }
  .footer-inner { flex-wrap: wrap; }.footer-inner p { order: 3; flex-basis: 100%; }
}
@media (max-width: 460px) {
  .hero-actions { align-items: stretch; }.hero-actions .button { width: 100%; }.hero-actions .text-link { align-self: flex-start; }
  .hero-meta { gap: 17px; }.skills-grid { grid-template-columns: 1fr; }.skill-card p { min-height: 0; }
  .cert-card { padding: 20px; gap: 12px; }.cert-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .contact-actions { width: 100%; }.contact-actions .button { flex: 1 1 auto; }
  .recovery-grid { grid-template-columns: 1fr; }
}
