:root {
    --pt-bg: #121922;
    --pt-panel: #151d2c;
    --pt-panel-2: #101827;
    --pt-line: rgba(111,102,255,.28);
    --pt-text: #eef2f8;
    --pt-muted: #9caac0;
    --pt-blue: #319cff;
    --pt-cyan: #22d3ee;
    --pt-pink: #ff3d6e;
    --pt-purple: #7367ff;
    --pt-max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--pt-bg); color: var(--pt-text); font-family: Inter, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; vertical-align: -.16em; }
#pt-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .95; }
.pt-nav {
    position: sticky; top: 0; z-index: 10;
    height: 70px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 max(24px,calc((100vw - var(--pt-max))/2 + 24px));
    background: rgba(16,24,39,.94); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px);
}
.pt-brand { font-size: clamp(1.55rem,2.4vw,2rem); font-weight: 900; letter-spacing: .03em; background: linear-gradient(90deg,#6967ff,#12cfff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-nav nav { display: flex; gap: 22px; font-size: 1rem; font-weight: 800; }
.pt-nav nav a { padding: 8px 3px; }
.pt-nav nav a:hover { color: var(--pt-cyan); }
main { position: relative; z-index: 1; max-width: var(--pt-max); margin: 0 auto; padding: 0 22px 64px; }
.pt-hero { min-height: 620px; display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 54px; }
.pt-hero-card {
    max-width: 590px; padding: 40px 38px; border-radius: 20px;
    background: rgba(21,29,44,.88); border: 1px solid rgba(108,99,255,.22);
    box-shadow: 0 30px 90px rgba(0,0,0,.25);
}
.pt-hero-card h1 { margin: 0; font-size: clamp(2.35rem,4vw,3.6rem); line-height: 1.22; }
.pt-hero-card h1 span { background: linear-gradient(90deg,#6c63ff,#22c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-hero-card p { color: var(--pt-muted); font-size: 1.05rem; line-height: 1.75; max-width: 560px; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pt-actions a, .pt-contact button {
    min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 26px; border-radius: 999px; border: 2px solid var(--pt-purple);
    color: var(--pt-text); text-transform: uppercase; letter-spacing: .08em; font-weight: 900; font-size: .86rem;
}
.pt-actions .hot { background: linear-gradient(135deg,#ff326d,#ff5b74); border: 0; box-shadow: 0 14px 30px rgba(255,61,110,.35); }
.pt-actions .cool, .pt-contact button { background: linear-gradient(135deg,#21d4fd,#3187e5); border: 0; box-shadow: 0 14px 30px rgba(34,211,238,.28); }
.pt-photo-wrap { justify-self: center; width: min(360px,76vw); aspect-ratio: 1; padding: 5px; border-radius: 50%; background: linear-gradient(135deg,var(--pt-purple),#272165); box-shadow: 0 0 60px rgba(115,103,255,.32); }
.pt-photo-wrap img, .pt-photo-wrap span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: var(--pt-panel); font-size: 5rem; font-weight: 900; }
.pt-section { padding: 48px 0; }
.pt-section h2 { margin: 0 0 38px; text-align: center; color: var(--pt-blue); font-size: clamp(2.25rem,4vw,3.2rem); line-height: 1; }
.pt-skill-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1050px; margin: 0 auto; }
.pt-skill-card {
    flex: 0 1 190px;
    min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    border-radius: 18px; background: rgba(20,29,45,.78); border: 1px solid rgba(119,129,255,.18);
}
.pt-skill-card img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.24)); }
.pt-skill-card h3 { margin: 0; font-size: 1.08rem; }
.pt-extra { max-width: 620px; margin: 34px auto 0; overflow: hidden; border-radius: 20px; background: rgba(15,23,37,.9); border: 1px solid var(--pt-line); box-shadow: 0 20px 70px rgba(61,55,160,.22); }
.pt-extra-head { min-height: 74px; display: flex; align-items: center; justify-content: center; position: relative; background: rgba(255,255,255,.04); }
.pt-extra-head h3 { margin: 0; font-size: 1.35rem; }
.pt-extra-head span { position: absolute; right: 30px; width: 14px; height: 14px; border-top: 3px solid var(--pt-pink); border-left: 3px solid var(--pt-pink); transform: rotate(45deg); }
.pt-extra ul { list-style: none; margin: 0; padding: 24px 34px; color: var(--pt-muted); font-size: 1.02rem; }
.pt-extra li { margin: 16px 0; position: relative; padding-left: 26px; }
.pt-extra li::before { content: ""; position: absolute; left: 0; top: .65em; width: 9px; height: 9px; background: var(--pt-cyan); transform: rotate(45deg); }
.pt-exp-list { max-width: 850px; margin: 0 auto; display: grid; gap: 26px; }
.pt-exp-card { padding: 40px 42px; border-radius: 20px; background: rgba(20,29,45,.86); border: 1px solid rgba(108,99,255,.24); box-shadow: inset 4px 0 0 var(--pt-pink); }
.pt-exp-card h3 { margin: 0 0 10px; color: var(--pt-cyan); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .06em; }
.pt-exp-card h4 { margin: 0 0 22px; font-size: 1.16rem; }
.pt-exp-card ul { color: var(--pt-muted); font-size: 1.02rem; line-height: 1.75; }
.pt-date { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); color: var(--pt-pink); text-align: right; font-style: italic; font-weight: 800; }
.pt-projects { display: grid; gap: 42px; }
.pt-project { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center; }
.pt-project:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.pt-project:nth-child(even) .pt-project-shot { order: 2; }
.pt-project-shot { aspect-ratio: 16/10; border-radius: 20px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg,#172033,#0f1726); border: 1px solid rgba(108,99,255,.24); }
.pt-project-shot img { width: 100%; height: 100%; object-fit: cover; }
.pt-project-shot span { font-size: 3.5rem; font-weight: 900; color: var(--pt-blue); }
.pt-project-info h3 { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.55rem; color: var(--pt-text); }
.pt-project-info h3 a { font-size: .76rem; color: var(--pt-cyan); border: 1px solid rgba(34,211,238,.35); border-radius: 8px; padding: 6px 10px; }
.pt-project-info .stack { color: var(--pt-cyan); font-weight: 800; }
.pt-project-info ul { color: var(--pt-muted); font-size: 1rem; line-height: 1.65; padding-left: 22px; }
.pt-contact form { max-width: 720px; margin: 0 auto; display: grid; gap: 22px; }
.pt-contact label { display: grid; gap: 10px; font-size: 1rem; font-weight: 800; }
.pt-contact input, .pt-contact textarea { width: 100%; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.06); color: var(--pt-text); padding: 17px; font: inherit; }
.pt-contact textarea { min-height: 140px; resize: vertical; }
.pt-contact button { width: max-content; margin: 16px auto 0; cursor: pointer; }
.pt-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 34px; color: var(--pt-muted); }
@media (max-width: 980px) {
    .pt-nav { height: auto; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
    .pt-nav nav { width: 100%; overflow-x: auto; gap: 16px; font-size: .94rem; }
    .pt-hero, .pt-project, .pt-project:nth-child(even) { grid-template-columns: 1fr; }
    .pt-hero { min-height: auto; gap: 32px; padding: 42px 0; }
    .pt-photo-wrap { order: -1; width: min(300px,72vw); }
    .pt-project:nth-child(even) .pt-project-shot { order: 0; }
}
@media (max-width: 560px) {
    main { padding-left: 14px; padding-right: 14px; }
    .pt-hero-card, .pt-exp-card { padding: 28px 20px; }
    .pt-hero-card h1 { font-size: clamp(2rem,12vw,2.8rem); }
    .pt-actions a, .pt-contact button { min-height: 44px; padding: 0 20px; font-size: .78rem; }
    .pt-skill-grid { gap: 14px; }
    .pt-skill-card { flex-basis: 145px; }
    .pt-skill-card { min-height: 150px; border-radius: 16px; }
    .pt-skill-card img { width: 58px; height: 58px; }
    .pt-skill-card h3 { font-size: .95rem; }
    .pt-extra ul { padding: 20px 24px; }
}
