/* ============================================================
   RESET & ROOT VARIABLES
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-color: #030303;
    --text-main: #ffffff;
    --text-sec: #a1a1aa;
    --accent: #06b6d4;
    --accent-purple: #a855f7;
    --accent-glow: rgba(6,182,212,0.4);
    --glass-bg: rgba(10,10,10,0.85);
    --glass-border: rgba(255,255,255,0.1);
    --radius: 1rem;
    --radius-lg: 2rem;
    --transition: 0.4s cubic-bezier(0.23,1,0.32,1);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-snap-type: y mandatory;
}

body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* ============================================================
   PRELOADER
   ============================================================ */
body.pl-active { overflow: hidden !important; }

#preloader-new {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity 1s ease-out, visibility 1s;
}
#preloader-new.pl-hide {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}
#quantum-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.pl-core {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.pl-rings {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-ring-outer {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: #06b6d4;
    border-right-color: #06b6d4;
    border-radius: 50%;
    animation: pl-cw 2.5s linear infinite;
    box-shadow: 0 0 18px rgba(6,182,212,0.35);
}
.pl-ring-inner {
    position: absolute;
    inset: 18px;
    border: 2px solid transparent;
    border-bottom-color: #a855f7;
    border-left-color: #a855f7;
    border-radius: 50%;
    animation: pl-ccw 1.8s linear infinite;
    box-shadow: 0 0 22px rgba(168,85,247,0.4);
}
.pl-counter {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 25px rgba(6,182,212,0.5);
    letter-spacing: -2px;
}
.pl-pct {
    font-size: 1.1rem;
    font-weight: 700;
    color: #06b6d4;
    margin-left: 3px;
}
#status-msg {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 900;
    color: #06b6d4;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(6,182,212,0.5);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}
.pl-bar-track {
    width: 220px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.pl-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #06b6d4, #a855f7);
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(6,182,212,0.4);
}
@keyframes pl-cw { to { transform: rotate(360deg); } }
@keyframes pl-ccw { to { transform: rotate(-360deg); } }

/* ============================================================
   MAIN CONTENT REVEAL
   ============================================================ */
.main-hidden { opacity: 0; pointer-events: none; }
.main-visible {
    opacity: 1;
    pointer-events: auto;
    animation: mainFadeIn 1s ease forwards;
}
@keyframes mainFadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* ---- Hook system ---- */
.hook-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
}
.hook-section.is-animating .hook-overlay { opacity: 1; }
.hook-section.is-revealed .hook-overlay { opacity: 0; pointer-events: none; }

/* Decorative scan line */
.hook-scan-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #06b6d4 30%, #a855f7 70%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    box-shadow: 0 0 20px rgba(6,182,212,0.8), 0 0 40px rgba(168,85,247,0.4);
}
.hook-section.is-animating .hook-scan-line {
    animation: hookScan 1.2s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hook-scan-bottom {
    top: auto;
    bottom: 0;
}
.hook-section.is-animating .hook-scan-bottom {
    animation: hookScan 1.2s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}
@keyframes hookScan {
    0%   { transform: scaleX(0); opacity: 0; }
    30%  { opacity: 1; transform: scaleX(1); }
    70%  { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1); }
}

/* Decorative top row */
.hook-deco {
    display: flex;
    align-items: center;
    gap: 18px;
    opacity: 0;
}
.hook-section.is-animating .hook-deco {
    animation: hookDeco 1.4s ease 0.15s forwards;
}
@keyframes hookDeco {
    0%   { opacity: 0; transform: translateY(-8px); }
    20%  { opacity: 1; transform: translateY(0); }
    75%  { opacity: 1; }
    100% { opacity: 0; }
}
.hook-deco-line {
    height: 1px;
    width: 70px;
    background: linear-gradient(90deg, transparent, #06b6d4);
}
.hook-deco-line.r { background: linear-gradient(90deg, #a855f7, transparent); }
.hook-deco-counter {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}

/* Main hook text — each letter is a .hook-letter span */
.hook-text {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 15rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    user-select: none;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.01em;
    line-height: 1;
}

.hook-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(80px) rotate(12deg);
    filter: blur(16px);
    transition: none;
    text-shadow: 0 0 60px currentColor;
}
.hook-section.is-animating .hook-letter {
    animation: hookLetter 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes hookLetter {
    0%   { opacity: 0; transform: translateY(80px) rotate(12deg); filter: blur(16px); }
    35%  { opacity: 1; transform: translateY(-6px) rotate(-1deg); filter: blur(0); }
    60%  { opacity: 1; transform: translateY(3px) rotate(0deg); filter: blur(0); }
    80%  { opacity: 1; transform: translateY(0); filter: blur(0); }
    100% { opacity: 0; transform: translateY(-50px) scale(1.08); filter: blur(10px); }
}

/* Bottom row */
.hook-deco-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
}
.hook-section.is-animating .hook-deco-bottom {
    animation: hookDeco 1.4s ease 0.25s forwards;
}
.hook-deco-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}
.hook-deco-sep {
    height: 1px;
    width: 40px;
    background: rgba(255,255,255,0.12);
}
.hook-deco-label {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
}

.hook-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
    pointer-events: none;
}
.hook-section.is-revealed .hook-content {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* ============================================================
   3D THREE.JS CANVAS (HOME)
   ============================================================ */
#threeCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   HOME SECTION
   ============================================================ */
#home {
    background: radial-gradient(ellipse at center, #080820 0%, #030303 70%);
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 60px 48px;
    max-width: 1300px;
    width: 100%;
    position: relative;
    z-index: 2;
}
.home-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.section-label {
    font-family: var(--font-main);
    font-size: 1.5rem;
    color: var(--accent);
    display: block;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.main-h {
    font-size: 4rem !important;
    padding-right: 6rem;
}
.home-name {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.3s forwards;
}
.name-first {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
}
.name-last {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.04em;
    margin-left: 60px;
    text-shadow: 0 0 40px rgba(6,182,212,0.4);
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

#roller-container {
    width: 100%;
    height: 70px;
    position: relative;
    margin-top: 1rem;
}
.roller-item {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    opacity: 0;
    filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 16px;
}
.roller-item.active {
    top: 50%;
    opacity: 1;
    filter: blur(0);
    transition: top 1.1s cubic-bezier(0.65,0,0.35,1), opacity 1.1s ease, filter 1.1s ease;
}
.roller-item.out {
    top: 150%;
    opacity: 0;
    filter: blur(8px);
    transition: top 1.1s cubic-bezier(0.65,0,0.35,1), opacity 1.1s ease, filter 1.1s ease;
}
.roller-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 12px var(--accent));
    flex-shrink: 0;
}
.roller-text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.02em;
}

.download-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-top: 24px;
    transition: all var(--transition);
    width: fit-content;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.6s forwards;
}
.download-cv-btn:hover {
    background: rgba(6,182,212,0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6,182,212,0.2);
}

.home-image {
    flex-shrink: 0;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
}
.image-frame {
    position: relative;
    width: clamp(260px, 30vw, 400px);
    animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(1deg); }
}
.image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 80px;
    height: 80px;
    background: rgba(6,182,212,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 12px;
    z-index: 0;
}
.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(6,182,212,0.1);
    z-index: 1;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dot-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.2) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    z-index: 5;
    pointer-events: none;
}
.home-dots { bottom: 80px; left: 48px; }

/* ============================================================
   TECH STACK
   ============================================================ */
.section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
.section-header { margin-bottom: 48px; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(135deg, #06b6d4, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}
.tech-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    animation: float 5s ease-in-out infinite;
}
.tech-card:nth-child(2) { animation-delay: 0.5s; }
.tech-card:nth-child(3) { animation-delay: 1s; }
.tech-card:nth-child(4) { animation-delay: 1.5s; }
.tech-card:nth-child(5) { animation-delay: 2s; }
.tech-card:nth-child(6) { animation-delay: 0.8s; }
.tech-card:nth-child(7) { animation-delay: 1.3s; }
.tech-card:nth-child(8) { animation-delay: 0.3s; }
.tech-card:nth-child(9) { animation-delay: 1.8s; }
.tech-card:nth-child(10) { animation-delay: 2.3s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, currentColor, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    mix-blend-mode: screen;
}
.tech-card:hover::before { opacity: 0.06; }
.tech-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-10px) scale(1.04);
    border-color: currentColor;
    box-shadow: 0 12px 32px -8px currentColor, 0 0 20px rgba(0,0,0,0.5);
    animation-play-state: paused;
}
.tech-card i, .tech-card svg {
    font-size: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    color: inherit;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 4px transparent);
}
.tech-card:hover i, .tech-card:hover svg {
    filter: drop-shadow(0 0 14px currentColor);
    transform: scale(1.1);
}
.tech-card span {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.75;
    transition: opacity 0.3s;
}
.tech-card:hover span { opacity: 1; }

/* ============================================================
   PROJECTS
   ============================================================ */
.project-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    max-width: 500px;
    margin-bottom: 24px;
    transition: border-color var(--transition);
}
.project-search:focus-within { border-color: var(--accent); }
.project-search i { color: #9ca3af; font-size: 0.9rem; }
.project-search input {
    border: none;
    outline: none;
    background: none;
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
    color: #fff;
}
.project-search input::placeholder { color: #6b7280; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--text-sec);
    transition: all var(--transition);
    cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #000; }
.chip i, .chip svg { font-size: 0.85rem; width: 16px; height: 16px; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
    border-radius: 2rem;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    position: relative;
}
.project-card:hover {
    border-color: rgba(168,85,247,0.35);
    background: rgba(255,255,255,0.04);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
    background: #111;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.project-card:hover .project-image img { transform: scale(1.06); }
.project-tech-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    gap: 6px;
}
.badge {
    padding: 5px 12px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.95);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}
.project-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.project-card:hover .project-hover-overlay { opacity: 1; }
.project-actions { display: flex; gap: 12px; }
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-view { background: #fff; color: #000; }
.btn-view:hover { background: var(--accent); color: #fff; transform: scale(1.05); }
.btn-code { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-code:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); }

.project-info { padding: 1.5rem 0.75rem 1.5rem; background: transparent; }
.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.project-info p { font-size: 0.9rem; color: #94a3b8; line-height: 1.6; }

.hidden-card { display: none !important; }
.project-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: #6b7280; }
.project-empty.hidden { display: none; }
.project-empty i { font-size: 3rem; opacity: 0.3; margin-bottom: 16px; display: block; }
.project-empty h3 { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 8px; }

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .achievements-grid { grid-template-columns: 1fr; } }

.achievement-card {
    position: relative;
    padding: 40px;
    border-radius: 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.achievement-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(6, 182, 212, 0.5), rgba(168, 85, 247, 0.5), transparent);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientMove 3s linear infinite;
}

.achievement-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255,255,255,0.06);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(6, 182, 212, 0.2);
}

.achievement-card:hover::after {
    opacity: 1;
}

/* --- Special Glow Achievement (Always On) --- */
.achievement-card.special-glow {
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, rgba(3, 3, 3, 1) 100%);
    animation: achievementPulse 4s ease-in-out infinite;
    z-index: 2;
}

.achievement-card.special-glow::after {
    background: linear-gradient(135deg, #06b6d4, #a855f7, #06b6d4);
    background-size: 200% 200%;
    opacity: 0.6;
}

.achievement-card.special-glow .ach-icon-wrap {
    background: rgba(6, 182, 212, 0.2) !important;
    border-color: #06b6d4 !important;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.achievement-card.special-glow:hover {
    border-color: #06b6d4;
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.3), 0 0 100px rgba(168, 85, 247, 0.15);
}

.achievement-card.special-glow:hover::after {
    opacity: 1;
    animation-duration: 1.5s;
}

@keyframes achievementPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.1); }
    50% { box-shadow: 0 0 40px rgba(6, 182, 212, 0.25); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.ach-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}
.achievement-card:hover .ach-glow { opacity: 1; }
.ach-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    transition: transform 0.3s ease;
}
.achievement-card:hover .ach-icon-wrap { transform: scale(1.08) rotate(3deg); }
.ach-badge-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
}
.ach-tag {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}
.ach-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    tracking: -0.5px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255,255,255,0.15);
}
.ach-sub { color: #9ca3af; font-size: 0.85rem; font-weight: 500; margin-top: 4px; }

/* ============================================================
   SIDE SOCIALS
   ============================================================ */
.side-socials {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.side-socials.visible { opacity: 1; }
.side-socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-sec);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all var(--transition);
}
.side-socials a:hover {
    color: var(--accent);
    transform: scale(1.1) translateX(-2px);
    border-color: rgba(6,182,212,0.4);
    box-shadow: 0 4px 16px rgba(6,182,212,0.15);
}

/* ============================================================
   BOTTOM NAVIGATION
   ============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.bottom-nav.nav-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(40px);
    pointer-events: none;
}
.bottom-nav.nav-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.bottom-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    list-style: none;
}
.nav-divider { width: 1px; height: 32px; background: var(--glass-border); margin: 0 4px; }
.nav-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1.1rem;
    color: var(--text-sec);
    transition: all var(--transition);
}
.nav-btn:hover { color: var(--text-main); background: rgba(255,255,255,0.07); transform: scale(1.1); }
.nav-btn.active { color: var(--accent); background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.25); }
.nav-hud-label {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    pointer-events: none;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}
.nav-btn:hover .nav-hud-label { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-4px); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-card {
    background: #0f0f14;
    border-radius: var(--radius-lg);
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.08);
}
.modal-overlay.open .modal-card { transform: scale(1) translateY(0); }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(168,85,247,0.15);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(168,85,247,0.3);
}
.modal-title-row i, .modal-title-row span {
    color: #a855f7;
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-sec);
    transition: all var(--transition);
    background: rgba(255,255,255,0.05);
}
.modal-close:hover { background: rgba(255,255,255,0.1); transform: rotate(90deg); color: #fff; }

/* CV */
.cv-modal-card { max-width: 900px; }
.cv-content { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 32px; }
@media (max-width: 640px) { .cv-content { grid-template-columns: 1fr; } }
.cv-name { font-family: var(--font-display); font-size: 2.8rem; font-weight: 900; color: var(--text-main); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.cv-name-accent { color: var(--accent); }
.cv-role { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 16px; }
.cv-contact-info { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--text-sec); margin-bottom: 24px; }
.cv-contact-info i { margin-right: 6px; color: #6b7280; }
.cv-section { margin-bottom: 20px; }
.cv-section-title { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 8px; }
.cv-section p { font-size: 0.82rem; line-height: 1.7; color: var(--text-sec); }
.cv-project-list { list-style: none; }
.cv-project-list li { font-size: 0.9rem; font-weight: 800; color: var(--text-main); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-tags span { padding: 6px 12px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; background: rgba(255,255,255,0.06); color: var(--text-main); border: 1px solid rgba(255,255,255,0.1); }
.cv-impact-list { list-style: none; }
.cv-impact-list li { font-size: 0.82rem; color: var(--text-sec); padding: 4px 0; line-height: 1.6; }
.cv-impact-list strong { color: var(--text-main); }
.cv-links { display: flex; flex-direction: column; gap: 8px; }
.cv-links a { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; color: var(--text-main); transition: color var(--transition); }
.cv-links a:hover { color: var(--accent); }
.cv-links a i { color: #6b7280; }
.cv-edu-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cv-edu-item strong { font-size: 0.9rem; color: var(--text-main); display: block; margin-bottom: 2px; }
.cv-edu-item p { font-size: 0.78rem; margin: 0; color: var(--text-sec); }
.cv-edu-date { font-size: 0.68rem; font-weight: 700; color: var(--accent); background: rgba(6,182,212,0.1); padding: 4px 10px; border-radius: 50px; white-space: nowrap; }

/* Contact */
.contact-modal-card { max-width: 520px; }
.contact-form { padding: 24px 32px 32px; display: flex; flex-direction: column; gap: 18px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--text-sec); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.input-wrapper { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; transition: border-color 0.3s; }
.input-wrapper:focus-within { border-color: var(--accent); }
.input-wrapper i { color: #6b7280; font-size: 0.9rem; flex-shrink: 0; }
.input-wrapper input, .contact-form textarea {
    border: none;
    outline: none;
    background: none;
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
    color: #fff;
}
.contact-form textarea {
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    resize: vertical;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    min-height: 100px;
}
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.05em;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,182,212,0.3); }

/* ============================================================
   OVERLAYS (Achievement & Project) — DARK THEME
   ============================================================ */
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

/* overlay slide img */
.overlay-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.55s ease;
}
.overlay-slide-img.active { opacity: 1; }

/* Dark backdrop */
.ov-wrap {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(2, 2, 10, 0.94);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}
.ov-wrap.ov-open {
    opacity: 1;
    pointer-events: auto;
}

/* ── ACHIEVEMENT OVERLAY ── */
.ov-box {
    position: relative;
    width: 100%;
    max-width: 1080px;
    max-height: 88vh;
    border-radius: 2.5rem;
    overflow: hidden;
    background: #09090f;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow:
        0 60px 120px rgba(0,0,0,0.9),
        0 0 80px rgba(6,182,212,0.04),
        inset 0 1px 0 rgba(255,255,255,0.06);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}
@media (max-width: 768px) { .ov-box { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; } }

/* Left: image panel */
.ov-left-panel {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #111;
}
@media (max-width: 768px) { .ov-left-panel { min-height: 240px; } }

.ov-slides { position: absolute; inset: 0; }

.ov-img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(9,9,15,0.98) 0%,
        rgba(9,9,15,0.5) 40%,
        rgba(0,0,0,0.15) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.ov-img-text {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 40px;
    z-index: 3;
}

.ov-fast-report-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(168,85,247,0.2);
    border: 1px solid rgba(168,85,247,0.4);
    color: #c084fc;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.ov-fast-report-tag i { font-size: 0.75rem; }

.ov-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.ov-desc-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    font-weight: 400;
    max-width: 400px;
}

/* Slide arrows */
.ov-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.ov-arrow:hover { background: rgba(6,182,212,0.3); border-color: var(--accent); }
.ov-arrow-l { left: 16px; }
.ov-arrow-r { right: 16px; }

/* Right: dark info panel */
.ov-right-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 40px 36px;
    position: relative;
}
.ov-right-panel::-webkit-scrollbar { width: 3px; }
.ov-right-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.ov-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 5;
}
.ov-close:hover { background: rgba(255,255,255,0.12); color: #fff; transform: rotate(90deg); }

/* Lead card */
.ov-lead {
    padding-bottom: 24px;
    padding-top: 4px;
}
.ov-lead-label {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 16px;
}
.ov-lead-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ov-lead-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(6,182,212,0.3);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(6,182,212,0.15);
}
.ov-lead-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ov-lead-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}
.ov-lead-role {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 2px;
}

.ov-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0 -4px;
}

/* Metrics */
.ov-metrics {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 24px 0;
    gap: 0;
}
.ov-metric { text-align: center; }
.ov-metric-val {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}
.ov-metric-label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-top: 6px;
}
.ov-metric-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.08);
}

/* Tech section */
.ov-tech-section { padding: 24px 0; flex: 1; }
.ov-section-label {
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 14px;
    display: block;
}
.ov-tech-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ov-tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.25s ease;
}
.ov-tech-chip:hover { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.3); color: var(--accent); }
.ov-tech-chip i { font-size: 0.75rem; }

/* CTA */
.ov-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(168,85,247,0.2));
    border: 1px solid rgba(6,182,212,0.3);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 4px;
}
.ov-cta:hover {
    background: linear-gradient(135deg, rgba(6,182,212,0.35), rgba(168,85,247,0.35));
    border-color: rgba(168,85,247,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6,182,212,0.2);
}
.ov-cta i { font-size: 0.8rem; }

/* ── PROJECT OVERLAY ── */
.ov-proj-box {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 90vh;
    overflow-y: auto;
}
.ov-proj-box::-webkit-scrollbar { width: 4px; }
.ov-proj-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.ov-proj-img {
    position: relative;
    width: 100%;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    background: #111;
}
@media (min-width: 768px) { .ov-proj-img { height: 380px; } }

.ov-img-gradient-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(9,9,15,1) 0%,
        rgba(9,9,15,0.4) 50%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 2;
    pointer-events: none;
}
.ov-img-gradient-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(9,9,15,0.5) 0%, transparent 50%);
}

.ov-proj-img-meta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 36px;
    z-index: 3;
}
.ov-intelligence-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(6,182,212,0.4);
    padding-bottom: 6px;
}
.ov-proj-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 0.95;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.ov-close-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/* Project body grid */
.ov-proj-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: #09090f;
}
@media (max-width: 768px) { .ov-proj-body { grid-template-columns: 1fr; } }

.ov-proj-left {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 768px) { .ov-proj-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); } }

.ov-challenge-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.25rem;
    padding: 22px;
}
.ov-card-tag {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-left: 3px solid;
    padding-left: 10px;
    margin-bottom: 12px;
}
.ov-card-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    font-style: italic;
}
.ov-solution-text {
    color: rgba(255,255,255,0.82);
    font-style: normal;
    font-weight: 500;
}

.ov-proj-right {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ov-stack-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.25rem;
    padding: 20px;
}

.ov-proj-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.25rem;
    overflow: hidden;
}
.ov-proj-metric {
    padding: 16px 12px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.ov-proj-metric:last-child { border-right: none; }
.ov-proj-metric-val {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.ov-proj-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.ov-ghost-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
.ov-ghost-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); color: #fff; }
.ov-ghost-btn i { font-size: 1rem; }

/* Legacy proj-chip (keep for filter chips) */
.proj-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(15,23,42,0.07);
    color: #0f172a;
    border: 1px solid rgba(15,23,42,0.1);
}

/* Cursor */
#project-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}
.cursor-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6,182,212,0.3);
    border: 2px solid var(--accent);
    backdrop-filter: blur(4px);
}
.cursor-label {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--accent);
    white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .home-content { gap: 40px; padding: 40px 32px; }
    .achievements-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .home-content { flex-direction: column; padding: 80px 24px 40px; gap: 32px; }
    .home-image { order: -1; }
    .image-frame { width: 220px; }
    .main-h { padding-right: 0 !important; }
    .name-last { margin-left: 30px; }
    .home-dots { display: none; }
    .achievements-grid { grid-template-columns: 1fr; }
    .side-socials { display: none; }
    .section-container { padding: 0 16px; }
    .cv-content { grid-template-columns: 1fr; }
}
