:root {
--bg: #08111f;
--panel: #0d1728;
--panel-2: #111d31;
--text: #f8fafc;
--muted: #a4adbd;
--muted-2: #7f8a9e;
--line: rgba(148, 163, 184, 0.22);
--line-strong: rgba(148, 163, 184, 0.38);
--purple: #8b5cf6;
--violet: #7c3aed;
--blue: #3b82f6;
--sky: #38bdf8;
--radius-xl: 18px;
--radius-lg: 12px;
--shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
min-height: 100vh;
background: var(--bg);
color: var(--text);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

a {
color: inherit;
text-decoration: none;
}

.page-bg {
position: fixed;
inset: 0;
z-index: -1;
background:
radial-gradient(circle at 50% -10%, rgba(124, 58, 237, 0.28), transparent 30%),
radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.12), transparent 24%),
linear-gradient(180deg, #08111f 0%, #0a1322 44%, #070d18 100%);
}

.top-nav {
position: sticky;
top: 0;
z-index: 50;
display: flex;
align-items: center;
gap: 10px;
max-width: 700px;
margin: 0 auto;
padding: 7px 10px;
backdrop-filter: blur(18px);
}

.brand {
display: flex;
align-items: center;
gap: 8px;
margin-right: auto;
color: rgba(248, 250, 252, 0.9);
font-size: 12px;
font-weight: 900;
letter-spacing: -0.04em;
}

.brand-icon {
width: 26px;
height: 26px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3px;
padding: 5px;
border-radius: 8px;
background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.035)), #111827;
border: 1px solid rgba(255,255,255,0.08);
box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.brand-icon span {
border-radius: 3px;
background: white;
opacity: 0.96;
}

.desktop-nav {
display: flex;
align-items: center;
gap: 9px;
color: var(--muted);
font-size: 11px;
font-weight: 700;
}

.desktop-nav a {
transition: color 180ms ease;
}

.desktop-nav a:hover {
color: white;
}

.template-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
border-radius: 999px;
background: linear-gradient(135deg, #9333ea, #4f46e5);
box-shadow: 0 8px 22px rgba(79, 70, 229, 0.24);
color: white;
font-size: 10px;
font-weight: 900;
}

.menu-btn {
display: none;
width: 32px;
height: 32px;
border: 0;
background: transparent;
cursor: pointer;
}

.menu-btn span {
display: block;
width: 22px;
height: 2px;
margin: 4px auto;
border-radius: 99px;
background: linear-gradient(90deg, var(--blue), var(--purple));
}

.mobile-menu {
display: none;
max-width: 700px;
margin: 0 auto;
padding: 0 10px 8px;
}

.mobile-menu.open {
display: grid;
gap: 6px;
}

.mobile-menu a {
padding: 9px 10px;
border-radius: 12px;
border: 1px solid var(--line);
background: rgba(15, 23, 42, 0.82);
color: var(--muted);
font-size: 11px;
font-weight: 800;
}

main {
width: min(100%, 680px);
margin: 0 auto;
padding: 4px 10px 18px;
}

.section {
margin: 0 auto;
}

.hero {
position: relative;
overflow: hidden;
padding: 16px 12px 18px;
border-radius: 16px;
border: 1px solid rgba(148, 163, 184, 0.16);
background:
radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.16), transparent 28%),
linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(8, 17, 31, 0.68));
box-shadow: 0 8px 24px rgba(0,0,0,0.22);
text-align: center;
}

.avatar-wrap {
position: relative;
width: 48px;
height: 48px;
margin: 0 auto;
}

.avatar-glow {
position: absolute;
inset: -6px;
border-radius: 999px;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(56, 189, 248, 0.14));
filter: blur(10px);
}

.avatar {
position: relative;
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 999px;
background:
linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02)),
linear-gradient(145deg, #334155, #020617);
border: 2px solid rgba(30, 41, 59, 0.96);
box-shadow: 0 8px 18px rgba(0,0,0,0.28);
}

.avatar span {
font-size: 16px;
font-weight: 1000;
letter-spacing: -0.08em;
}

.hero h1 {
margin: 9px 0 0;
font-size: clamp(19px, 2.5vw, 24px);
line-height: 0.95;
letter-spacing: -0.06em;
}

.role {
margin: 5px 0 0;
color: var(--muted);
font-size: clamp(11px, 1.35vw, 13px);
font-weight: 600;
letter-spacing: -0.04em;
}

.divider {
width: 58px;
height: 1px;
margin: 8px auto 0;
background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.55), transparent);
}

.intro {
max-width: 440px;
margin: 8px auto 0;
color: var(--muted);
font-size: 11px;
line-height: 1.38;
font-weight: 500;
}

.contact-row {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 6px;
margin-top: 10px;
}

.contact-pill {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 5px 8px;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.18);
background: rgba(255, 255, 255, 0.045);
color: var(--muted);
font-size: 10px;
font-weight: 700;
}

.contact-pill:hover {
background: rgba(255, 255, 255, 0.075);
color: white;
}

.social-row {
margin-top: 8px;
}

.social-row a {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 58px;
height: 24px;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.24);
background: rgba(255, 255, 255, 0.055);
color: #dbeafe;
font-size: 10px;
font-weight: 900;
}

.panel-section {
margin-top: 9px;
padding: 13px 14px;
border-radius: 16px;
border: 1px solid rgba(148, 163, 184, 0.14);
background: rgba(8, 17, 31, 0.66);
box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.section-title {
text-align: center;
}

.section-title h2 {
margin: 0;
font-size: clamp(15px, 1.8vw, 18px);
letter-spacing: -0.05em;
}

.section-title div {
width: 100%;
height: 1px;
margin: 8px auto 0;
background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.45), transparent);
}

.skills-grid,
.apps-grid {
display: grid;
gap: 7px;
margin-top: 10px;
}

.skills-grid {
grid-template-columns: repeat(3, 1fr);
}

.apps-grid {
grid-template-columns: repeat(3, 1fr);
}

.skill-card,
.app-card {
border: 1px solid rgba(148, 163, 184, 0.17);
background:
linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
rgba(15, 23, 42, 0.70);
border-radius: 12px;
padding: 8px;
}

.skill-heading {
display: flex;
align-items: center;
gap: 6px;
color: var(--muted);
}

.skill-heading span {
color: #c4b5fd;
font-size: 12px;
}

.skill-heading h3 {
margin: 0;
font-size: 10.5px;
letter-spacing: -0.04em;
}

.tags {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-top: 7px;
}

.tags span {
display: inline-flex;
align-items: center;
min-height: 18px;
padding: 3px 6px;
border-radius: 999px;
border: 1px solid rgba(148, 163, 184, 0.23);
background: rgba(30, 41, 59, 0.86);
color: #e2e8f0;
font-size: 9px;
font-weight: 700;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.tags.small {
gap: 4px;
margin-top: 8px;
}

.tags.small span {
min-height: 18px;
padding: 3px 6px;
font-size: 9px;
letter-spacing: 0.02em;
}

.app-card {
transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.app-card:hover {
transform: translateY(-3px);
border-color: rgba(139, 92, 246, 0.46);
background:
linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(255,255,255,0.03)),
rgba(15, 23, 42, 0.88);
}

.app-icon {
width: 26px;
height: 26px;
display: grid;
place-items: center;
border-radius: 9px;
border: 1px solid rgba(139, 92, 246, 0.22);
background: rgba(139, 92, 246, 0.13);
font-size: 13px;
}

.app-card h3 {
margin: 6px 0 0;
font-size: 12px;
letter-spacing: -0.05em;
}

.app-subtitle {
margin: 3px 0 0;
color: #bae6fd;
font-weight: 900;
font-size: 9.5px;
}

.app-card p:not(.app-subtitle) {
margin: 5px 0 0;
min-height: 42px;
color: var(--muted);
font-size: 9.5px;
line-height: 1.35;
font-weight: 500;
}

.timeline {
max-width: 620px;
margin: 10px auto 0;
display: grid;
gap: 11px;
}

.timeline-item {
position: relative;
display: grid;
grid-template-columns: 14px 1fr;
gap: 7px;
}

.timeline-item::before {
content: "";
position: absolute;
left: 5px;
top: 8px;
bottom: -12px;
width: 2px;
border-radius: 999px;
background: rgba(100, 116, 139, 0.58);
}

.timeline-item:last-child::before {
bottom: 8px;
}

.timeline-dot {
position: relative;
z-index: 1;
width: 10px;
height: 10px;
margin-top: 4px;
border-radius: 999px;
background: #64748b;
border: 2px solid #0b1220;
}

.timeline h3 {
margin: 0;
color: white;
font-size: clamp(12.5px, 1.55vw, 15px);
line-height: 1.05;
letter-spacing: -0.055em;
}

.timeline-date {
margin: 3px 0 0;
color: var(--muted);
font-size: 10px;
font-weight: 600;
letter-spacing: -0.04em;
}

.timeline h4 {
margin: 4px 0 0;
color: #e5e7eb;
font-size: 11px;
}

.timeline p:last-child {
margin: 4px 0 0;
color: var(--muted);
font-size: 9.5px;
line-height: 1.35;
letter-spacing: -0.02em;
}

.contact-card {
margin-top: 9px;
padding: 14px 10px;
border-radius: 16px;
border: 1px solid rgba(56, 189, 248, 0.18);
background:
radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14), transparent 32%),
rgba(14, 165, 233, 0.06);
text-align: center;
box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.contact-icon {
font-size: 20px;
}

.contact-card h2 {
margin: 5px 0 0;
font-size: clamp(15px, 1.9vw, 18px);
letter-spacing: -0.05em;
}

.contact-card p {
max-width: 520px;
margin: 6px auto 0;
color: var(--muted);
font-size: 10.5px;
line-height: 1.35;
}

.cta-row {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 6px;
margin-top: 10px;
}

.primary-btn,
.secondary-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 28px;
padding: 6px 10px;
border-radius: 10px;
font-weight: 1000;
font-size: 10.5px;
}

.primary-btn {
background: linear-gradient(135deg, var(--violet), var(--blue));
box-shadow: 0 10px 26px rgba(37, 99, 235, 0.26);
}

.secondary-btn {
border: 1px solid rgba(148, 163, 184, 0.22);
background: rgba(255,255,255,0.055);
color: #dbeafe;
}

footer {
padding: 12px;
text-align: center;
color: var(--muted-2);
font-size: 10px;
font-weight: 700;
}

@media (max-width: 900px) {
.desktop-nav,
.template-btn {
display: none;
}

.menu-btn {
display: block;
width: 32px;
height: 32px;
}

.menu-btn span {
width: 22px;
height: 2px;
margin: 4px auto;
}

.brand span:last-child {
display: none;
}

.skills-grid,
.apps-grid {
grid-template-columns: 1fr;
}

.panel-section {
padding: 12px 9px;
}
}

@media (max-width: 560px) {
.top-nav {
padding: 8px 10px;
}

main {
padding: 4px 7px 18px;
}

.hero {
padding: 14px 9px 17px;
border-radius: 15px;
}

.avatar-wrap,
.avatar {
width: 42px;
height: 42px;
}

.avatar span {
font-size: 14px;
}

.hero h1 {
font-size: 19px;
margin-top: 8px;
}

.role {
font-size: 11px;
}

.intro {
font-size: 10px;
line-height: 1.35;
}

.contact-pill {
width: 100%;
justify-content: center;
font-size: 10px;
padding: 5px 8px;
}

.panel-section {
padding: 12px 9px;
border-radius: 15px;
}

.section-title h2 {
font-size: 16px;
}

.skill-card,
.app-card {
padding: 8px;
border-radius: 12px;
}

.tags span {
font-size: 9px;
min-height: 18px;
padding: 3px 6px;
}

.timeline {
gap: 10px;
}

.timeline-item {
grid-template-columns: 13px 1fr;
gap: 6px;
}

.timeline h3 {
font-size: 13px;
}

.timeline-date {
font-size: 9.5px;
}

.timeline h4 {
font-size: 10.5px;
}

.timeline p:last-child {
font-size: 9px;
line-height: 1.35;
}

.contact-card {
border-radius: 15px;
padding: 14px 9px;
}
}
