* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #05080f;
    color: #F4F4F4;
    overflow-x: hidden;
}

/* Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0d1428 0%, #05080f 50%, #030508 100%);
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.22) 0%, rgba(34, 211, 238, 0.07) 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
}

/* Top Navigation Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(5, 8, 15, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 72px;
    z-index: 1000;
}

.nav-brand {
    font-size: 27px;
    font-weight: 800;
    color: #F4F4F4;
    cursor: pointer;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-brand-dot {
    color: #22D3EE;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-link i {
    font-size: 12px;
    opacity: 0.75;
}

.nav-link:hover {
    color: #22D3EE;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22D3EE;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #22D3EE;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

/* About Section with Fade Animation */
.about-section {
    height: calc(100dvh - 80px); /* 80px = nav height, so section fills exactly the visible viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 40px 110px; /* bottom padding pushes flex-center upward, giving room above scroll indicator */
    overflow: hidden;
    opacity: 0;
    animation: fadeInFromTop 1.2s ease-out forwards;
}

@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section.animate-in {
    animation: fadeInFromTop 1.2s ease-out forwards;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    padding: 0 40px;
}

.hero-greeting {
    font-size: 24px;
    color: #64748B;
    margin-bottom: 20px;
    font-weight: 400;
}

/* .about-section h1 and .hero-subtitle replaced by .hero-name */

.typing-word {
    color: #22D3EE;
    min-width: 110px;
    text-align: right;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 28px;
    background: #22D3EE;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* .hero-socials and .social-link replaced by .hero-cta-row + .hero-icon-link */

.scroll-indicator {
    position: absolute;
    bottom: 6vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #64748B;
    font-size: 13px;
    animation: bounce 2.2s ease-in-out infinite;
    cursor: pointer;
    white-space: nowrap;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-8px); }
}

.scroll-indicator i {
    font-size: 24px;
    color: #22D3EE;
}

/* Card Section */
.card-section {
    min-height: 100vh;
    padding: 120px 60px 100px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.8) 0%, rgba(34, 211, 238, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    background: rgba(14, 20, 40, 0.65);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.18);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 24px 60px rgba(34, 211, 238, 0.25);
}

/* Full-bleed thumbnail — defines the entire card height */
.card-thumbnail {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #0d1428, #1a3050);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Taller thumbnails in the featured grid */
.cards-container .card-thumbnail {
    height: 380px;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.game-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

/* Gradient overlay — dark at bottom for text readability */
.card-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 8, 15, 0.05) 0%,
        rgba(5, 8, 15, 0)    35%,
        rgba(5, 8, 15, 0.65) 62%,
        rgba(5, 8, 15, 0.97) 100%
    );
    pointer-events: none;
}

.card-thumbnail i {
    font-size: 56px;
    color: rgba(34, 211, 238, 0.3);
    position: relative;
    z-index: 2;
}

/* Card info overlays the image */
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 22px 22px;
    background: none;
    z-index: 2;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #F4F4F4;
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-tag {
    padding: 5px 12px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 14px;
    font-size: 11px;
    color: #22D3EE;
    font-weight: 500;
}

/* Hero bio */
.hero-bio {
    max-width: 580px;
    font-size: 19px;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 22px auto 4px;
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(8, 15, 30, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.15);
    flex-direction: column;
    z-index: 1000;
}

.mobile-nav-menu.open { display: flex; }

.mobile-nav-link {
    padding: 16px 28px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: #22D3EE;
    background: rgba(34, 211, 238, 0.05);
}

/* Show hamburger, hide nav links on mobile */
@media (max-width: 600px) {
    .nav-links { display: none !important; }
    .nav-hamburger { display: flex; }
}

/* Featured project card */
.game-card--featured {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 4px 28px rgba(34, 211, 238, 0.16);
}

/* Badge tag variants */
.card-tag--mobile {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.45);
    color: #c084fc;
    font-weight: 700;
}

.card-tag--steam {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.45);
    color: #c084fc;
    font-weight: 700;
}

.card-tag--achievement {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.45);
    color: #4ade80;
    font-weight: 700;
}

.card-tag--web {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.45);
    color: #22D3EE;
    font-weight: 700;
}

/* Game Detail Page */
.game-detail {
    display: none;
    background: #05080f;
}

.game-detail.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 1050;
}

.detail-body {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 48px 80px 80px;
}

.back-button {
    position: fixed;
    top: 85px;
    left: 40px;
    width: 56px;
    height: 56px;
    background: rgba(14, 20, 40, 0.88);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22D3EE;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.back-button:hover {
    background: rgba(34, 211, 238, 0.2);
    border-color: #22D3EE;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

.detail-header {
    text-align: center;
    margin-bottom: 32px;
}

.detail-title {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #F4F4F4 0%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.detail-genre {
    font-size: 20px;
    color: #64748B;
}

.detail-platform {
    font-size: 14px;
    color: #475569;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

/* Video/PDF Container with Navigation Arrows */
.video-section {
    max-width: 1100px;
    margin: 0 auto 40px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-arrow-btn {
    width: 60px;
    height: 60px;
    background: rgba(14, 20, 40, 0.88);
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22D3EE;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.nav-arrow-btn:hover {
    background: rgba(34, 211, 238, 0.2);
    border-color: #22D3EE;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

.detail-video-container {
    flex: 1;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(34, 211, 238, 0.2);
}

.detail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PDF Viewer Container */
.detail-pdf-container {
    flex: 1;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(34, 211, 238, 0.2);
    background: rgba(8, 12, 24, 0.88);
}

.detail-pdf {
    width: 100%;
    height: 100%;
    border: none;
}

/* Screenshot Gallery */
.detail-gallery-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-main {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(34, 211, 238, 0.2);
    background: #070b16;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(7, 11, 22, 0.72);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #22D3EE;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.gallery-nav:hover {
    background: rgba(34, 211, 238, 0.25);
    border-color: #22D3EE;
}

.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 112px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: #070b16;
    opacity: 0.55;
    transition: all 0.25s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover { opacity: 1; }

.gallery-thumb.active {
    border-color: #22D3EE;
    opacity: 1;
}

/* Play/Action Button and Documentation */
.detail-content {
    max-width: 900px;
    margin: 40px auto 0;
}

.play-button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 36px;
}

.play-btn {
    padding: 18px 48px;
    background: rgba(34, 211, 238, 0.15);
    border: 2px solid #22D3EE;
    border-radius: 50px;
    color: #22D3EE;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.play-btn:hover {
    background: rgba(34, 211, 238, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(34, 211, 238, 0.4);
}

.documentation-section {
    background: rgba(14, 20, 40, 0.55);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.documentation-section h2 {
    color: #22D3EE;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 900;
}

.documentation-section h3 {
    color: #22D3EE;
    font-size: 24px;
    margin: 30px 0 16px;
    font-weight: 700;
}

.documentation-section h4 {
    color: #22D3EE;
    font-size: 18px;
    margin: 20px 0 12px;
    font-weight: 600;
}

.documentation-section p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.documentation-section ul {
    list-style: none;
    margin: 16px 0;
    padding-left: 0;
}

.documentation-section ol {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
    margin: 16px 0;
    padding-left: 24px;
}

.documentation-section ol li {
    margin-bottom: 12px;
}

.documentation-section li {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.documentation-section li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #22D3EE;
    font-weight: bold;
    font-size: 18px;
}

.documentation-section strong {
    color: #F4F4F4;
    font-weight: 600;
}

.documentation-section code {
    background: rgba(8, 12, 24, 0.88);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #22D3EE;
}

.documentation-section pre {
    background: rgba(8, 12, 24, 0.88);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

/* Resume Section */
.resume-section {
    display: none;
    min-height: 100vh;
    padding: 120px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.resume-section.active {
    display: block;
}

.resume-content {
    background: rgba(14, 20, 40, 0.55);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(34, 211, 238, 0.1);
}

.resume-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(34, 211, 238, 0.2);
}

.resume-header h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #F4F4F4 0%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resume-header p {
    font-size: 30px;
    color: #64748B;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.resume-section-title {
    font-size: 32px;
    font-weight: 700;
    margin: 50px 0 30px;
    color: #22D3EE;
    position: relative;
    padding-left: 24px;
}

.resume-section-title:first-of-type {
    margin-top: 0;
}

.resume-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 32px;
    background: linear-gradient(180deg, #22D3EE, #06b6d4);
    border-radius: 3px;
}

/* ErnieApp multi-role card */
.resume-company-card {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.25);
    background: rgba(8, 12, 24, 0.65);
}

.resume-company-header {
    padding: 22px 28px 18px;
    border-bottom: 1px solid rgba(167, 139, 250, 0.15);
    background: rgba(167, 139, 250, 0.06);
}

.resume-company-name {
    font-size: 22px;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 6px;
}

.resume-company-meta {
    font-size: 14px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resume-company-meta i {
    color: #a78bfa;
    font-size: 12px;
}

.resume-company-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.resume-company-role {
    padding: 20px 24px;
    border-right: 1px solid rgba(167, 139, 250, 0.1);
}

.resume-company-role:last-child {
    border-right: none;
}

.resume-role-label {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #a78bfa;
}

.resume-company-role p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 700px) {
    .resume-company-roles {
        grid-template-columns: 1fr;
    }
    .resume-company-role {
        border-right: none;
        border-bottom: 1px solid rgba(167, 139, 250, 0.1);
    }
    .resume-company-role:last-child {
        border-bottom: none;
    }
}

.resume-item {
    margin-bottom: 32px;
    padding: 28px;
    background: rgba(8, 12, 24, 0.65);
    border-left: 3px solid rgba(34, 211, 238, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.resume-item:hover {
    background: rgba(8, 12, 24, 0.82);
    border-left-color: #22D3EE;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.resume-item-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #F4F4F4;
}

.resume-item-subtitle {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resume-item-subtitle i {
    color: #22D3EE;
    font-size: 12px;
}

.resume-item-header-description {
    font-size: 20px;
    line-height: 1.8;
    color: #94a3b8;
}

.resume-item-description {
    font-size: 15px;
    line-height: 1.8;
    color: #94a3b8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.skill-category {
    background: rgba(8, 12, 24, 0.75);
    border: 2px solid rgba(34, 211, 238, 0.2);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(8, 12, 24, 0.88);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.15);
    transform: translateY(-4px);
}

.skill-category h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #22D3EE;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h4 i {
    font-size: 20px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 8px 0;
    font-size: 15px;
    color: #94a3b8;
    position: relative;
    padding-left: 20px;
}

.skill-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #22D3EE;
    font-weight: bold;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #94a3b8;
    padding: 16px;
    background: rgba(8, 12, 24, 0.65);
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(8, 12, 24, 0.82);
    border-color: #22D3EE;
    transform: translateY(-2px);
}

.contact-item i {
    color: #22D3EE;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.contact-item a {
    color: #22D3EE;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #06b6d4;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(8, 12, 24, 0.65);
}

::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 211, 238, 0.5);
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 48px; }
    .cards-container { grid-template-columns: 1fr; }
    .video-section { flex-direction: column; }
    .detail-pdf-container { height: 400px; }
    .top-bar { padding: 0 20px; height: 64px; }
    .content-wrapper { padding-top: 64px; }
    .nav-links { gap: 16px; }
    .nav-link { font-size: 13px; }
    .about-section { height: calc(100dvh - 64px); padding: 0 20px 90px; }
}
/* CV Download Button */
.cv-download-section {
    margin: 30px 0;
    text-align: center;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.2), rgba(66, 165, 245, 0.2));
    border: 2px solid rgba(100, 181, 246, 0.5);
    border-radius: 50px;
    color: #64b5f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cv-download-btn:hover {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.3), rgba(66, 165, 245, 0.3));
    border-color: #64b5f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.3);
}

.cv-download-btn i {
    font-size: 18px;
}

.resume-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #64b5f6;
    margin: 10px 0;
}

/* Achievements Section */
.achievements-section {
    margin: 40px 0 50px;
    padding: 30px;
    background: rgba(100, 181, 246, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(100, 181, 246, 0.1);
}

.achievements-title {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    text-align: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.achievement-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(20, 25, 40, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(100, 181, 246, 0.2);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(20, 25, 40, 0.7);
    border-color: rgba(100, 181, 246, 0.4);
    transform: translateY(-2px);
}

.achievement-item i {
    font-size: 24px;
    color: #64b5f6;
    min-width: 30px;
}

.achievement-text {
    flex: 1;
}

.achievement-text strong {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.achievement-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Languages Grid */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.language-item {
    padding: 20px;
    background: rgba(20, 25, 40, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.language-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.language-name i {
    color: #64b5f6;
    font-size: 18px;
}

.language-name strong {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.language-level {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.level-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.level-badge.native {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.level-badge.proficient {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
    border: 1px solid rgba(100, 181, 246, 0.4);
}

.level-badge.advanced {
    background: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
    border: 1px solid rgba(156, 39, 176, 0.4);
}

.proficiency-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.proficiency {
    height: 100%;
    background: linear-gradient(90deg, #64b5f6, #42a5f5);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ═══════════════════════════════════════
   EXPERIENCE SECTION & TIMELINE
═══════════════════════════════════════ */

.section-subtitle {
    font-size: 16px;
    color: #64748B;
    margin-top: 10px;
    font-weight: 400;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent 0%, rgba(34,211,238,0.45) 8%, rgba(34,211,238,0.45) 92%, transparent 100%);
    box-shadow: 0 0 14px rgba(34,211,238,0.18);
}

/* Timeline entries — grid: date | dot | card, alternating sides */
.timeline-entry {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: start;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.timeline-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ODD entries: label left | dot centre | card right */
.timeline-entry:nth-child(odd) .exp-card-wrapper { grid-column: 3; padding-left: 36px; }
.timeline-entry:nth-child(odd) .timeline-dot-wrap { grid-column: 2; }
.timeline-entry:nth-child(odd) .timeline-label   { grid-column: 1; text-align: right; padding-right: 36px; padding-top: 22px; }

/* EVEN entries: card left | dot centre | label right */
.timeline-entry:nth-child(even) .exp-card-wrapper { grid-column: 1; padding-right: 36px; }
.timeline-entry:nth-child(even) .timeline-dot-wrap { grid-column: 2; }
.timeline-entry:nth-child(even) .timeline-label   { grid-column: 3; text-align: left;  padding-left: 36px;  padding-top: 22px; }

/* Each column always on row 1 */
.exp-card-wrapper, .timeline-dot-wrap, .timeline-label { grid-row: 1; }

/* Dot wrapper — centres the dot on the timeline line */
.timeline-dot-wrap {
    display: flex;
    justify-content: center;
    padding-top: 24px;
    position: relative;
    z-index: 2;
}

.timeline-dot {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34,211,238,0.25);
    border: 2px solid #22D3EE;
    box-shadow: 0 0 12px rgba(34,211,238,0.5);
    flex-shrink: 0;
}

.timeline-dot--major {
    width: 28px;
    height: 28px;
    background: rgba(34,211,238,0.18);
    box-shadow: 0 0 22px rgba(34,211,238,0.6);
}

.timeline-dot--purple {
    background: rgba(167,139,250,0.2);
    border-color: #a78bfa;
    box-shadow: 0 0 22px rgba(167,139,250,0.6);
}

.timeline-dot--minor {
    width: 14px;
    height: 14px;
    background: rgba(34,211,238,0.08);
    border-color: rgba(34,211,238,0.35);
    box-shadow: 0 0 8px rgba(34,211,238,0.25);
}

/* Pulse rings on major dots */
.dot-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(34,211,238,0.4);
    animation: pulseRing 2.5s ease-out infinite;
}
.dot-pulse--purple { border-color: rgba(167,139,250,0.4); animation: pulseRingPurple 2.5s ease-out infinite; }

@keyframes pulseRing       { 0% { transform: translate(-50%,-50%) scale(1); opacity:.8; } 100% { transform: translate(-50%,-50%) scale(2.5); opacity:0; } }
@keyframes pulseRingPurple { 0% { transform: translate(-50%,-50%) scale(1); opacity:.8; } 100% { transform: translate(-50%,-50%) scale(2.5); opacity:0; } }

/* Timeline label */
.timeline-label { display: flex; flex-direction: column; gap: 4px; }
.timeline-date  { font-size: 14px; font-weight: 700; color: #22D3EE; letter-spacing: .5px; }
.timeline-loc-small { font-size: 12px; color: #64748B; }

/* ── Experience Cards ── */
.exp-card-wrapper { cursor: pointer; }

.exp-card {
    background: rgba(14,20,40,.65);
    border: 2px solid rgba(34,211,238,.2);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(12px);
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}
.exp-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,.4), transparent);
}
.exp-card:hover {
    transform: translateY(-6px);
    border-color: #22D3EE;
    box-shadow: 0 16px 50px rgba(34,211,238,.28), 0 0 0 1px rgba(34,211,238,.08);
}
.exp-card--major { padding: 32px; border-color: rgba(34,211,238,.22); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.exp-card--purple::before { background: linear-gradient(90deg, transparent, rgba(167,139,250,.4), transparent); }
.exp-card--purple:hover    { border-color: #a78bfa; box-shadow: 0 16px 50px rgba(167,139,250,.28); }
.exp-card--minor  { padding: 20px 24px; border-color: rgba(34,211,238,.1); background: rgba(8,12,24,.55); }
.exp-card--minor:hover { border-color: rgba(34,211,238,.4); box-shadow: 0 8px 24px rgba(34,211,238,.15); transform: translateY(-4px); }

/* Card head */
.exp-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }

.exp-logo-wrap {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(15,23,42,.6);
    border: 1px solid rgba(34,211,238,.2);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.exp-logo-img    { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.exp-logo-letter {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 24px; font-weight: 900; color: #22D3EE;
    background: rgba(34,211,238,.1);
}

.exp-head-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.exp-role-badge {
    padding: 4px 14px;
    background: rgba(34,211,238,.1);
    border: 1px solid rgba(34,211,238,.4);
    border-radius: 20px;
    font-size: 11px; font-weight: 700;
    color: #22D3EE; letter-spacing: .5px; text-transform: uppercase;
}
.exp-role-badge--purple { background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.4); color: #a78bfa; }

.exp-active-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #4ade80; font-weight: 600; }
.exp-active-badge i { font-size: 7px; animation: pulseGreen 1.5s ease-in-out infinite; }
@keyframes pulseGreen { 0%,100%{opacity:1} 50%{opacity:.25} }

.exp-company { font-size: 26px; font-weight: 900; color: #F4F4F4; margin-bottom: 6px; letter-spacing: .3px; }
.exp-tagline { font-size: 14px; color: #64748B; margin-bottom: 18px; line-height: 1.5; }

.exp-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.exp-tag    { padding: 4px 12px; background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.24); border-radius: 12px; font-size: 11px; color: #22D3EE; font-weight: 500; }
.exp-tag--purple { background: rgba(167,139,250,.07); border-color: rgba(167,139,250,.24); color: #a78bfa; }
.exp-tag--sm { font-size: 10px; padding: 3px 10px; }

.exp-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.05); }
.exp-footer-loc  { font-size: 12px; color: #64748B; display: flex; align-items: center; gap: 6px; }
.exp-footer-loc i { color: #22D3EE; }
.exp-view-more   { font-size: 12px; font-weight: 600; color: #22D3EE; display: flex; align-items: center; gap: 6px; transition: gap .2s; }
.exp-card:hover .exp-view-more { gap: 10px; }
.exp-view-more--purple { color: #a78bfa; }

/* Minor card elements */
.exp-minor-icon  { font-size: 24px; color: rgba(34,211,238,.6); margin-bottom: 10px; }
.exp-minor-title { font-size: 16px; font-weight: 700; color: #F4F4F4; margin-bottom: 4px; }
.exp-minor-sub   { font-size: 13px; color: #64748B; margin-bottom: 14px; line-height: 1.5; }

/* "More experiences in Resume" hint at the bottom of the timeline */
.timeline-more-hint {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    cursor: pointer;
}

.timeline-more-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(34,211,238,.06);
    border: 1px solid rgba(34,211,238,.22);
    border-radius: 50px;
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.timeline-more-inner i {
    color: #22D3EE;
    font-size: 15px;
}

.timeline-more-inner strong {
    color: #22D3EE;
}

.timeline-more-arrow {
    font-size: 12px !important;
    transition: transform 0.3s ease;
}

.timeline-more-hint:hover .timeline-more-inner {
    background: rgba(34,211,238,.12);
    border-color: rgba(34,211,238,.5);
    color: #F4F4F4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34,211,238,.2);
}

.timeline-more-hint:hover .timeline-more-arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════
   EXPERIENCE DETAIL OVERLAY / MODAL
═══════════════════════════════════════ */

.exp-detail-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(5,8,16,.88);
    backdrop-filter: blur(16px);
    z-index: 2000;
    align-items: center; justify-content: center;
    padding: 20px;
}
.exp-detail-overlay.active { display: flex; animation: overlayIn .3s ease; }
@keyframes overlayIn { from{opacity:0} to{opacity:1} }

.exp-detail-modal {
    background: rgba(12,18,36,.97);
    border: 1px solid rgba(34,211,238,.2);
    border-radius: 24px;
    max-width: 820px; width: 100%;
    max-height: 88vh; overflow-y: auto;
    position: relative;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 60px rgba(34,211,238,.08);
    animation: modalIn .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn { from{transform:scale(.92) translateY(20px);opacity:0} to{transform:scale(1) translateY(0);opacity:1} }

.exp-detail-close {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: rgba(30,41,59,.8);
    border: 1px solid rgba(34,211,238,.2);
    border-radius: 50%;
    color: #64748B; font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.exp-detail-close:hover { background: rgba(34,211,238,.1); border-color: #22D3EE; color: #22D3EE; }

/* Detail header */
.exp-detail-header {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 32px; padding-bottom: 24px;
    border-bottom: 1px solid rgba(34,211,238,.1);
}
.exp-detail-logo {
    width: 72px; height: 72px; border-radius: 16px;
    background: rgba(15,23,42,.8); border: 2px solid rgba(34,211,238,.2);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.exp-detail-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.exp-detail-logo-letter { font-size: 32px; font-weight: 900; color: #22D3EE; }
.exp-detail-company {
    font-size: 32px; font-weight: 900; margin-bottom: 4px;
    background: linear-gradient(135deg,#F4F4F4 0%,#22D3EE 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.exp-detail-company--purple { background: linear-gradient(135deg,#F4F4F4 0%,#a78bfa 100%); -webkit-background-clip:text; background-clip:text; }
.exp-detail-role   { font-size: 15px; color: #64748B; display: flex; align-items: center; gap: 10px; }
.exp-detail-period { font-size: 13px; color: #22D3EE; font-weight: 600; }

/* Tabs */
.exp-tabs { display: flex; gap: 4px; margin-bottom: 28px; border-bottom: 1px solid rgba(34,211,238,.1); }
.exp-tab-btn {
    padding: 10px 20px;
    background: transparent; border: none; border-bottom: 2px solid transparent;
    color: #64748B; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all .2s;
    margin-bottom: -1px; border-radius: 8px 8px 0 0;
}
.exp-tab-btn:hover        { color: #22D3EE; background: rgba(34,211,238,.04); }
.exp-tab-btn.active       { color: #22D3EE; border-bottom-color: #22D3EE; background: rgba(34,211,238,.06); }
.exp-tab-btn--purple.active { color: #a78bfa; border-bottom-color: #a78bfa; background: rgba(167,139,250,.06); }
.exp-tab-panel            { display: none; }
.exp-tab-panel.active     { display: block; animation: fadeInPanel .25s ease; }
@keyframes fadeInPanel { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* Detail body */
.exp-detail-body p  { color: #94a3b8; font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.exp-detail-body ul { list-style: none; margin: 0 0 20px; padding: 0; }
.exp-detail-body ul li { color: #94a3b8; font-size: 14px; line-height: 1.7; margin-bottom: 10px; padding-left: 22px; position: relative; }
.exp-detail-body ul li::before { content:'▹'; position:absolute; left:0; color:#22D3EE; font-weight:bold; }

/* Tags inside modal */
.exp-detail-tags-section { margin: 20px 0; }
.exp-detail-tags-label   { font-size: 11px; color: #64748B; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; font-weight: 600; }
.exp-detail-tags         { display: flex; flex-wrap: wrap; gap: 8px; }

/* 3-D screenshot shelf */
.exp-screenshots       { margin: 24px 0; }
.exp-screenshots-label { font-size: 11px; color: #64748B; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; font-weight: 600; }
.exp-screenshot-shelf  { display: flex; gap: 12px; perspective: 900px; justify-content: center; }
.exp-screenshot-frame  {
    width: 170px; height: 310px;
    border-radius: 16px;
    background: rgba(14,20,40,.75);
    border: 1px solid rgba(34,211,238,.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(34,211,238,.2); font-size: 32px;
    flex-shrink: 0; overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}
.exp-screenshot-frame:nth-child(1) { transform: rotateY(18deg) translateX(12px); }
.exp-screenshot-frame:nth-child(2) { transform: rotateY(6deg) scale(1.02); z-index:2; }
.exp-screenshot-frame:nth-child(3) { transform: rotateY(-6deg) scale(1.02); z-index:2; }
.exp-screenshot-frame:nth-child(4) { transform: rotateY(-18deg) translateX(-12px); }
.exp-screenshot-frame:hover        { transform: rotateY(0deg) scale(1.1) !important; z-index:10; box-shadow: 0 20px 60px rgba(34,211,238,0.4) !important; }
.exp-screenshot-frame img          { width:100%; height:100%; object-fit:cover; }

/* Detail links */
.exp-detail-links { display: flex; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(34,211,238,.1); flex-wrap: wrap; }
.exp-link-btn {
    padding: 12px 24px;
    background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.3);
    border-radius: 50px; color: #22D3EE;
    font-size: 14px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: all .3s; cursor: pointer;
}
.exp-link-btn:hover { background: rgba(34,211,238,.18); box-shadow: 0 6px 20px rgba(34,211,238,.28); transform: translateY(-2px); }

/* ═══════════════════════════════════════
   RESPONSIVE — EXPERIENCE
═══════════════════════════════════════ */
@media (max-width: 900px) {
    .timeline::before { left: 20px; transform: none; }

    .timeline-entry {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        margin-bottom: 40px;
    }
    .timeline-entry:nth-child(odd) .exp-card-wrapper,
    .timeline-entry:nth-child(even) .exp-card-wrapper  { grid-column: 2; grid-row: 1; padding-left: 20px; padding-right: 0; }
    .timeline-entry:nth-child(odd) .timeline-dot-wrap,
    .timeline-entry:nth-child(even) .timeline-dot-wrap { grid-column: 1; grid-row: 1; }
    .timeline-entry:nth-child(odd) .timeline-label,
    .timeline-entry:nth-child(even) .timeline-label    { grid-column: 2; grid-row: 2; text-align: left; padding-left: 20px; padding-right: 0; padding-top: 8px; }

    .exp-detail-modal { padding: 28px 20px; }
    .exp-screenshot-shelf { flex-direction: column; align-items: center; perspective: none; }
    .exp-screenshot-frame { transform: none !important; width: 240px; height: 160px; }
    .exp-detail-header { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════
   STORY / ABOUT SECTION
═══════════════════════════════════════ */
.story-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px 80px;
}

.story-inner {
    background: rgba(14, 20, 40, 0.55);
    border: 1px solid rgba(34, 211, 238, 0.12);
    border-radius: 24px;
    padding: 64px 72px;
    position: relative;
    overflow: hidden;
}

.story-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
}

.story-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #22D3EE;
    margin-bottom: 24px;
}

.story-heading {
    font-size: 19px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.story-text {
    font-size: 17px;
    line-height: 1.8;
    color: #cbd5e1;
    margin: 0 0 14px 0;
}

.story-text:last-of-type {
    margin-bottom: 0;
}

.story-stats {
    display: flex;
    gap: 52px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid rgba(34, 211, 238, 0.1);
}

.story-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.story-stat-num {
    font-size: 34px;
    font-weight: 900;
    color: #22D3EE;
    line-height: 1;
}

.story-stat-label {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

/* ═══════════════════════════════════════
   ACHIEVEMENT STRIP
═══════════════════════════════════════ */
.achievement-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 60px 72px;
    max-width: 1100px;
    margin: 0 auto;
}

.ach-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
}

.ach-chip i {
    color: #22D3EE;
    font-size: 11px;
}

@media (max-width: 768px) {
    .story-section { padding: 0 20px 60px; }
    .story-inner { padding: 32px 24px; }
    .story-text { font-size: 17px; }
    .story-stats { gap: 28px; flex-wrap: wrap; }
    .story-stat-num { font-size: 28px; }
    .achievement-strip { padding: 0 20px 52px; }
    .ach-chip { font-size: 12px; }
}

/* ═══════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════ */
/* ── Work section specific overrides ── */
#work {
    min-height: auto;
    padding: 100px 60px 80px;
}

.work-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.work-section-header .skills-cloud-label {
    margin-bottom: 12px;
}

.work-section-sub {
    font-size: 15px;
    color: #64748b;
    letter-spacing: 0.3px;
}

/* ── Contact section ── */
.contact-section {
    padding: 100px 80px 0;
    border-top: 1px solid rgba(34, 211, 238, 0.07);
}

/* Connect With Me block */
.contact-connect {
    max-width: 1160px;
    margin: 0 auto;
    padding-bottom: 80px;
    text-align: center;
}

.contact-connect-title {
    font-size: 38px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.contact-connect-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.65;
}

.contact-card-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-card-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 36px;
    background: rgba(14, 20, 40, 0.55);
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 16px;
    color: #94a3b8;
    text-decoration: none;
    min-width: 150px;
    transition: all 0.25s ease;
    font-size: 15px;
    font-weight: 500;
}

.contact-card-btn:hover {
    border-color: rgba(34, 211, 238, 0.4);
    color: #e2e8f0;
    background: rgba(34, 211, 238, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(34, 211, 238, 0.1);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #22D3EE;
}

.contact-meta-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: #64748b;
    font-size: 15px;
}

.contact-meta-row i {
    color: rgba(34, 211, 238, 0.6);
    margin-right: 4px;
}

.contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 64px;
    max-width: 1160px;
    margin: 0 auto;
}

.contact-brand {
    font-size: 30px;
    font-weight: 800;
    color: #f4f4f4;
    margin-bottom: 10px;
}

.contact-brand-dot { color: #22D3EE; }

.contact-tagline {
    color: #22D3EE;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 28px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 15px;
    color: #64748b;
}

.contact-detail-item i {
    width: 18px;
    text-align: center;
    color: rgba(34, 211, 238, 0.6);
    font-size: 14px;
}

.contact-detail-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-detail-item a:hover { color: #e2e8f0; }

.contact-social-col {
    display: flex;
    gap: 14px;
    padding-top: 6px;
}

.contact-social-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.04);
    border: 1px solid rgba(34, 211, 238, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-social-btn:hover {
    border-color: rgba(34, 211, 238, 0.45);
    color: #22D3EE;
    background: rgba(34, 211, 238, 0.09);
    transform: translateY(-2px);
}

.contact-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 1160px;
    margin: 0 auto;
    font-size: 13px;
    color: #374151;
}

.contact-footer-links {
    display: flex;
    gap: 28px;
}

.contact-footer-links a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-footer-links a:hover { color: #64748b; }

@media (max-width: 768px) {
    .contact-section { padding: 60px 24px 0; }
    .contact-inner { flex-direction: column; gap: 40px; padding-bottom: 48px; }
    .contact-footer-bar { flex-direction: column; gap: 16px; text-align: center; }
    .contact-footer-links { gap: 20px; }
}

/* ═══════════════════════════════════════
   ALL PROJECTS SCREEN
═══════════════════════════════════════ */
.all-projects-screen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: #05080f;
    flex-direction: column; /* shown as flex by JS */
}

.aps-topbar {
    flex-shrink: 0;
    width: 100%;
    background: rgba(5, 8, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    padding: 0 60px;
    height: 72px;
    display: flex;
    align-items: center;
}

.aps-content {
    flex: 1;
    overflow-y: auto;
}

.aps-topbar-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 1400px;
    width: 100%;
}

.aps-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(34, 211, 238, 0.07);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #22D3EE;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
}

.aps-back-btn:hover {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.6);
    transform: translateX(-2px);
}

.aps-title {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
}

.aps-body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 60px 80px;
}

.aps-row {
    margin-bottom: 72px;
}

.aps-row-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.aps-row-label {
    font-size: 22px;
    font-weight: 700;
    color: #f1f5f9;
}

.aps-row-count {
    font-size: 13px;
    color: #22D3EE;
    background: rgba(34, 211, 238, 0.07);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.aps-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(34, 211, 238, 0.22) transparent;
}

.aps-scroll::-webkit-scrollbar { height: 4px; }
.aps-scroll::-webkit-scrollbar-track { background: transparent; }
.aps-scroll::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.22);
    border-radius: 4px;
}

.aps-scroll .game-card {
    flex-shrink: 0;
    width: 300px;
    scroll-snap-align: start;
}

/* Platform store tags on cards */
.card-platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.plat-apple {
    background: rgba(180, 180, 200, 0.1);
    border-color: rgba(180, 180, 200, 0.35);
    color: #c8c8d8;
}

.plat-google {
    background: rgba(100, 200, 100, 0.08);
    border-color: rgba(100, 200, 100, 0.3);
    color: #6dba7d;
}

@media (max-width: 768px) {
    .aps-topbar { padding: 0 20px; }
    .aps-body { padding: 40px 20px 60px; }
    .aps-scroll .game-card { width: 250px; }
    .detail-body { padding: 32px 20px 60px; }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    padding: 24px 60px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-name {
    font-size: 14px;
    font-weight: 700;
    color: #F4F4F4;
    letter-spacing: 0.5px;
}

.footer-copy {
    font-size: 13px;
    color: #475569;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #475569;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #22D3EE;
}

@media (max-width: 768px) {
    .contact-section { padding: 80px 24px 100px; }
    .contact-main-btn { font-size: 15px; padding: 16px 28px; }
    .site-footer { padding: 20px 24px; }
    .footer-copy { display: none; }
}

/* ═══════════════════════════════════════
   STORY SPLIT (photo beside text)
═══════════════════════════════════════ */
.story-split {
    display: flex;
    align-items: flex-start;
    gap: 72px;
}

.story-text-col {
    flex: 1;
    min-width: 0;
}

.story-photo-col {
    flex-shrink: 0;
    order: -1;
}

.story-photo {
    width: 300px;
    height: 380px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid rgba(34, 211, 238, 0.2);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6);
    display: block;
}

@media (max-width: 768px) {
    .story-split {
        flex-direction: column;
        gap: 32px;
    }
    .story-photo-col { order: 0; }
    .story-photo {
        width: 100%;
        height: 240px;
    }
}

/* ═══════════════════════════════════════
   SKILLS SECTION
═══════════════════════════════════════ */
.skills-section {
    padding: 0 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-block {
    background: rgba(14, 20, 40, 0.65);
    border: 1px solid rgba(34, 211, 238, 0.12);
    border-radius: 16px;
    padding: 22px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.skill-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-block-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #22D3EE;
    margin-bottom: 14px;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.skill-chip {
    display: inline-block;
    padding: 5px 11px;
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.skill-chip:hover {
    border-color: rgba(34, 211, 238, 0.4);
    color: #e2e8f0;
}

@media (max-width: 1100px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .skills-section { padding: 0 20px 60px; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .skill-block { padding: 16px 14px; }
    .skill-chip { font-size: 11px; }
}

@media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   WORK SECTION FILTERS
═══════════════════════════════════════ */
.work-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding: 0 4px;
}

.filter-pill {
    padding: 8px 22px;
    background: rgba(14, 20, 40, 0.65);
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 50px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.filter-pill:hover {
    border-color: rgba(34, 211, 238, 0.45);
    color: #e2e8f0;
    background: rgba(34, 211, 238, 0.06);
}

.filter-pill.active {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.55);
    color: #22D3EE;
    font-weight: 600;
}

@media (max-width: 768px) {
    .work-filters { gap: 8px; }
    .filter-pill { padding: 7px 16px; font-size: 12px; }
}

/* ═══════════════════════════════════════
   HERO CTA BUTTON
═══════════════════════════════════════ */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: rgba(34, 211, 238, 0.1);
    border: 2px solid rgba(34, 211, 238, 0.5);
    border-radius: 50px;
    color: #22D3EE;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.hero-cta-btn:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: #22D3EE;
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.22);
    transform: translateY(-2px);
}

.hero-cta-btn i {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.hero-cta-btn:hover i {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════
   INVESTMENT NOTE (SellPilot card)
═══════════════════════════════════════ */
.exp-invest-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 7px 14px;
    background: rgba(34, 211, 238, 0.06);
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #7dd3fc;
    letter-spacing: 0.2px;
}

.exp-invest-note i {
    color: #22D3EE;
    font-size: 11px;
}

/* ═══════════════════════════════════════
   NAV CV BUTTON
═══════════════════════════════════════ */
.nav-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 50px;
    color: #22D3EE;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-left: 8px;
    white-space: nowrap;
}

.nav-cv-btn:hover {
    background: rgba(34, 211, 238, 0.16);
    border-color: #22D3EE;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}

.nav-cv-btn i {
    font-size: 11px;
}

@media (max-width: 768px) {
    .nav-cv-btn { display: none; }
}

/* ═══════════════════════════════════════
   SCROLL-IN ANIMATIONS (fade-in)
═══════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* stagger delays for grid items */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.4s; }
.fade-in:nth-child(7) { transition-delay: 0.48s; }
.fade-in:nth-child(8) { transition-delay: 0.56s; }

/* ═══════════════════════════════════════
   HERO CTA ROW (button + icon links)
═══════════════════════════════════════ */
.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.hero-icon-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(14, 20, 40, 0.65);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: #94a3b8;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-icon-link:hover {
    border-color: rgba(34, 211, 238, 0.55);
    color: #22D3EE;
    background: rgba(34, 211, 238, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .hero-cta-row { flex-direction: column; gap: 14px; }
}

/* ═══════════════════════════════════════
   SKILLS CLOUD
═══════════════════════════════════════ */
.skills-cloud-section {
    padding: 0 60px 100px;
    text-align: center;
}

.skills-cloud-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(34, 211, 238, 0.55);
    margin-bottom: 36px;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-pill {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    background: rgba(14, 20, 40, 0.65);
    border: 1px solid rgba(34, 211, 238, 0.14);
    color: #64748b;
    transition: all 0.2s ease;
    cursor: default;
}

.skill-pill--primary {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.45);
    color: #e2e8f0;
    font-weight: 700;
}

.skill-pill--purple {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.35);
    color: #c4b5fd;
    font-weight: 600;
}

.skill-pill:hover {
    border-color: rgba(34, 211, 238, 0.45);
    color: #e2e8f0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .skills-cloud-section { padding: 0 20px 60px; }
    .skill-pill { font-size: 15px; padding: 11px 22px; }
}

/* ═══════════════════════════════════════
   FEATURED CARDS + VIEW ALL
═══════════════════════════════════════ */
.view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 44px;
    background: rgba(34, 211, 238, 0.09);
    border: 1.5px solid rgba(34, 211, 238, 0.5);
    border-radius: 50px;
    color: #22D3EE;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    letter-spacing: 0.4px;
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.1);
}

.view-all-btn:hover {
    border-color: rgba(34, 211, 238, 0.8);
    background: rgba(34, 211, 238, 0.15);
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.22);
    transform: translateY(-2px);
}

.view-all-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-all-btn.open i {
    transform: rotate(180deg);
}

.all-work-expanded {
    margin-top: 40px;
    border-top: 1px solid rgba(34, 211, 238, 0.07);
    padding-top: 40px;
}

/* ═══════════════════════════════════════
   HERO — IDENTITY PILL
═══════════════════════════════════════ */
.hero-identity-pill {
    display: inline-block;
    padding: 9px 22px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════
   HERO — NAME (always one line)
═══════════════════════════════════════ */
.hero-name {
    font-size: clamp(44px, 6vw, 88px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    margin: 0 0 28px !important;
    white-space: nowrap;
    color: #ffffff;
    letter-spacing: -2px;
    /* Reset any inherited gradient fill */
    background: none;
    -webkit-text-fill-color: #ffffff;
}

/* ═══════════════════════════════════════
   HERO — BIO accent
═══════════════════════════════════════ */
.hero-bio-accent {
    color: #22D3EE;
    font-weight: 700;
}

/* ═══════════════════════════════════════
   HERO — TWO-BUTTON PAIR
═══════════════════════════════════════ */
.hero-btn-pair {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 48px;
    background: #22D3EE;
    border: 2px solid #22D3EE;
    border-radius: 50px;
    color: #03050a;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

.hero-primary-btn:hover {
    background: #67e8f9;
    border-color: #67e8f9;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(34, 211, 238, 0.35);
}

.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 48px;
    background: rgba(8, 12, 24, 0.88);
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    color: #e2e8f0;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

.hero-secondary-btn:hover {
    border-color: rgba(34, 211, 238, 0.5);
    color: #22D3EE;
    transform: translateY(-2px);
}

.hero-secondary-btn i {
    font-size: 12px;
    opacity: 0.7;
}

/* ═══════════════════════════════════════
   HERO — BRAND MARQUEE (scrolling strip)
═══════════════════════════════════════ */
.hero-brand-strip {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    overflow: hidden;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.brand-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 64px;
    animation: brand-scroll 32s linear infinite;
    flex-shrink: 0;
    will-change: transform;
}

@keyframes brand-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.hero-brand-strip:hover .brand-track {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    filter: grayscale(1) brightness(2);
    transition: opacity 0.25s ease, filter 0.25s ease;
    flex-shrink: 0;
}

.brand-item:hover {
    opacity: 0.85;
    filter: grayscale(0) brightness(1);
}

.brand-item img {
    height: 28px;
    width: auto;
    object-fit: contain;
    max-width: 110px;
}

.brand-item--game {
    background: rgba(14, 20, 40, 0.7);
    border-radius: 8px;
    padding: 4px;
}

.brand-item--game img {
    height: 32px;
    max-width: 32px;
    border-radius: 4px;
}

.brand-item--icon {
    flex-direction: column;
    gap: 3px;
}

.brand-item--icon i {
    font-size: 22px;
    color: #e2e8f0;
}

.brand-item--icon span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #94a3b8;
}

/* ═══════════════════════════════════════
   MOBILE — hero + nav overrides
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-identity-pill { font-size: 11px; padding: 6px 14px; }
    .hero-bio { font-size: 16px; }
    .hero-btn-pair { gap: 10px; }
    .hero-primary-btn, .hero-secondary-btn { padding: 14px 28px; font-size: 15px; }
    .hero-brand-strip { margin-top: 36px; }
    .brand-item img { height: 22px; }
    .brand-track { gap: 40px; }
    .nav-link i { display: none; }
    .nav-links { gap: 16px; }
}

@media (max-width: 480px) {
    .hero-btn-pair { flex-direction: column; align-items: center; }
    .hero-bio { font-size: 15px; max-width: 90vw; }
}

/* ═══════════════════════════════════════
   EXPERIENCE TWO-COLUMN LAYOUT
═══════════════════════════════════════ */
.exp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 60px;
}

.exp-col-header {
    font-size: 34px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}

.exp-col-header i {
    color: #22D3EE;
    font-size: 24px;
}

/* ── Education / Experience timeline entries ── */
.edu-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.edu-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: rgba(34, 211, 238, 0.15);
}

.edu-entry {
    display: flex;
    gap: 20px;
    padding-bottom: 36px;
    position: relative;
}

.edu-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22D3EE;
    border: 2px solid #22D3EE;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(34, 211, 238, 0.12);
}

.edu-dot--past {
    background: transparent;
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: none;
}

.edu-dot--purple {
    background: #a78bfa;
    border-color: #a78bfa;
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.12);
}

.edu-content {
    flex: 1;
    min-width: 0;
}

.edu-degree {
    font-size: 21px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 9px;
    line-height: 1.3;
}

.edu-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 16px;
    color: #64748b;
    margin-bottom: 12px;
}

.edu-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
}

/* Logos that have opaque white backgrounds — invert to black bg + light content */
.edu-logo--wb {
    filter: invert(1);
    opacity: 0.65;
}

.edu-year {
    margin-left: 4px;
    color: #22D3EE;
    font-weight: 700;
    font-size: 15px;
}

.edu-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 14px;
}

.edu-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #22D3EE;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.edu-detail-btn:hover {
    opacity: 1;
}

.edu-detail-btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.edu-detail-btn:hover i {
    transform: translateX(3px);
}

/* Remove old experience-section section-header padding (no title now) */
.experience-section.card-section {
    padding-top: 100px;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 900px) {
    .exp-two-col {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .exp-two-col { padding: 0 20px; gap: 40px; }
    .exp-col-header { font-size: 19px; }
}

/* (featured projects header now uses .exp-col-header + .work-section-sub) */

#featuredContainer {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1160px;
}

@media (max-width: 1024px) {
    #featuredContainer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    #featuredContainer { grid-template-columns: 1fr; }
}