/* =============================================
   VORTAL PORTFOLIO — style.css
   Minimal, clean, professional
   ============================================= */

:root {
    --bg: #0c0c0e;
    --bg2: #111115;
    --text: #e8e8ea;
    --text-muted: #666674;
    --text-dim: #3a3a46;
    --accent: #7b61ff;
    --accent-hover: #9580ff;
    --border: #1e1e26;
    --border-hover: #2e2e3e;
    --mono: 'JetBrains Mono', monospace;
    --sans: 'Inter', sans-serif;
    --r: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* Ambient glow — subtle, like on reference sites */
body::before {
    content: '';
    position: fixed;
    top: -180px;
    right: -120px;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -200px;
    left: -120px;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(100, 80, 220, 0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ---- Layout ---- */
.wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- NAV ---- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background var(--r), border-color var(--r);
}

#navbar.scrolled {
    background: rgba(12, 12, 14, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.3px;
    transition: color var(--r);
}

.nav-logo:hover {
    color: var(--accent-hover);
}

.dot {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: color var(--r), background var(--r);
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--text);
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-hover);
    border-radius: 6px;
    transition: border-color var(--r), color var(--r), background var(--r);
    margin-left: 0.5rem;
}

.nav-cta:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
    background: rgba(123, 97, 255, 0.06);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--r);
}

.burger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0.75rem 2rem 1.25rem;
    border-top: 1px solid var(--border);
    background: rgba(12, 12, 14, 0.97);
    backdrop-filter: blur(16px);
    gap: 0.1rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    transition: color var(--r);
}

.mobile-menu a:hover {
    color: var(--text);
}

/* ---- BUTTONS ---- */
.btn-solid {
    display: inline-block;
    padding: 0.6rem 1.35rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: var(--sans);
    transition: background var(--r), transform var(--r);
    text-decoration: none;
}

.btn-solid:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-block;
    padding: 0.6rem 1.35rem;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 6px;
    border: 1px solid var(--border-hover);
    cursor: pointer;
    font-family: var(--sans);
    transition: color var(--r), border-color var(--r);
    text-decoration: none;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: #444;
}

/* ---- LABELS ---- */
.label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ---- SECTIONS ---- */
.section {
    padding: 7rem 0;
}

.section-alt {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: var(--text);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-name {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 600;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.hero-sub {
    font-family: var(--sans);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.3px;
    margin-bottom: 2rem;
    min-height: 1.8em;
}

.role-cursor {
    display: inline-block;
    color: var(--accent);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-left: 2px;
    font-weight: 400;
    transition: opacity 0.1s;
}

/* ---- PROJECTS CTA ---- */
.projects-cta {
    max-width: 520px;
}

.projects-cta h2 {
    margin-bottom: 1.25rem;
}

.projects-cta p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.projects-cta-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ---- ABOUT ---- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ---- Tech Stack Grid ---- */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.stack-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform var(--r), border-color var(--r), box-shadow var(--r);
    cursor: default;
}

.stack-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -15px rgba(123, 97, 255, 0.3);
}

.sc-icon {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-icon img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(123, 97, 255, 0.2));
}

.stack-card span {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---- PROCESS TIMELINE ---- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.tl-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent);
    z-index: 1;
    transition: border-color var(--r), box-shadow var(--r);
}

.timeline-item:hover .tl-num {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(123, 97, 255, 0.2);
}

.tl-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.tl-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
}

@media (min-width: 768px) {
    /* Optional: Horizontal timeline for desktop could go here */
}

/* ---- SERVICES ---- */
.services-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}


.service-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--r);
}

.service-row:hover {
    background: rgba(255, 255, 255, 0.015);
}

.service-num {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.service-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.service-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 480px;
}

.service-link {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color var(--r);
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 5px;
}

.service-row:hover .service-link {
    color: var(--accent);
    border-color: rgba(123, 97, 255, 0.3);
}


/* ---- PROJECTS ---- */
.projects-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.project-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left var(--r);
    cursor: pointer;
}

.project-row:hover {
    padding-left: 0.5rem;
}

.project-left {
    flex: 1;
}

.project-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.project-left h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.project-left p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.project-arrow {
    font-size: 1.2rem;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: color var(--r), transform var(--r);
}

.project-row:hover .project-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

/* ---- GAME ---- */
.game-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    margin-top: -1.5rem;
}

/* Vertical layout — canvas full width */
.game-layout-v {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.game-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.game-tiers {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.game-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.tier-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--r);
}

.tier-item.unlocked {
    border-color: var(--accent);
}

.tier-pts {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}

.tier-reward {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.tier-item.unlocked .tier-reward {
    color: var(--accent-hover);
}

.game-keys {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
    line-height: 1.6;
}

kbd {
    font-family: var(--mono);
    font-size: 0.72rem;
    background: var(--bg);
    border: 1px solid var(--border-hover);
    border-radius: 3px;
    padding: 0.1rem 0.35rem;
}

.score-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.score-box span:first-child {
    font-size: 0.75rem;
    color: var(--text-dim);
}

#score-side {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

.game-canvas-wrap {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
}

#game-canvas {
    display: block;
    width: 100%;
    height: auto;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 14, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-overlay.hidden {
    display: none;
}

.overlay-inner {
    text-align: center;
    padding: 2rem;
}

#overlay-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#overlay-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.coupon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 14, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.coupon-overlay.show {
    display: flex;
}

.coupon-inner {
    text-align: center;
    padding: 2rem;
}

.coupon-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.coupon-code {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 4px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-hover);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    display: inline-block;
}

.copy-btn {
    display: block;
    width: 100%;
    padding: 0.6rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: background var(--r);
}

.copy-btn:hover {
    background: var(--accent-hover);
}

.copy-btn.copied {
    background: #16a34a;
}

.coupon-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
}

/* ---- CONTACT ---- */
.contact-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    margin-top: -1.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-links {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left var(--r);
}

.contact-row:hover {
    padding-left: 0.35rem;
}

.contact-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
}

.contact-val {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    transition: color var(--r);
}

.contact-row:hover .contact-val {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.field label {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.field input,
.field select,
.field textarea {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.875rem;
    outline: none;
    transition: border-color var(--r);
    width: 100%;
}

.field select option {
    background: #111115;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
}

.field textarea {
    resize: vertical;
    min-height: 100px;
}

/* ---- PORTFOLIO ---- */
.portfolio-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.015);
    transition: border-color var(--r);
}

.portfolio-card:hover {
    border-color: rgba(123, 97, 255, 0.35);
}

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.portfolio-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portfolio-badge {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

.portfolio-year {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}

.portfolio-card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #4ade80;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.portfolio-card-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    padding: 2rem 1.5rem;
    align-items: start;
}

.portfolio-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.portfolio-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.pf-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.pf-icon {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.pf-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.pf-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.portfolio-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.75rem;
}

.portfolio-stack span {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border-hover);
    border-radius: 99px;
    padding: 0.2rem 0.65rem;
    transition: color var(--r), border-color var(--r);
}

.portfolio-stack span:hover {
    color: var(--accent-hover);
    border-color: rgba(123, 97, 255, 0.4);
}

.portfolio-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* -- Browser preview mockup -- */
.portfolio-preview {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-hover);
    background: #0a0a0d;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(123,97,255,0.1);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: #161619;
    border-bottom: 1px solid var(--border);
}

.preview-dots {
    display: flex;
    gap: 5px;
}

.preview-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-hover);
}

.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28c840; }

.preview-url {
    flex: 1;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
}

.preview-body {
    position: relative;
    min-height: 260px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(123,97,255,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.preview-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.preview-logo {
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.preview-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.preview-models {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.pm-tag {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--accent-hover);
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.25);
    border-radius: 99px;
    padding: 0.18rem 0.55rem;
}

.preview-card-row {
    display: flex;
    gap: 0.6rem;
}

.pc-card {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pc-bar {
    height: 6px;
    border-radius: 99px;
    background: rgba(255,255,255,0.08);
}
.pc-bar.w80 { width: 80%; }
.pc-bar.w70 { width: 70%; }
.pc-bar.w60 { width: 60%; }
.pc-bar.w50 { width: 50%; }

/* ---- FOOTER ---- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-inner span {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-dim);
    transition: color var(--r);
}

.footer-links a:hover {
    color: var(--text-muted);
}

/* ---- REVEAL ---- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 760px) {
    .nav-right {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero-name {
        letter-spacing: -2px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stack-list {
        order: -1;
    }

    .stack-list ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .stack-list li {
        padding: 0.25rem 0.6rem;
        border: 1px solid var(--border);
        border-radius: 99px;
    }

    .stack-list li::before {
        display: none;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem 0;
    }

    .service-num {
        display: none;
    }

    .service-link {
        align-self: flex-start;
    }

    .game-layout {
        grid-template-columns: 1fr;
    }

    .game-tiers {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tier-item {
        flex: 1;
        min-width: 120px;
    }

    .game-keys {
        width: 100%;
    }

    .score-box {
        width: 100%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .portfolio-card-body {
        grid-template-columns: 1fr;
    }

    .portfolio-card-right {
        order: -1;
    }

    .portfolio-preview {
        max-width: 100%;
    }

    .preview-body {
        min-height: 200px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}