/* ==========================================================================
   OKX Color Scheme Variables
   ========================================================================== */
:root {
    /* OKX Color Palette */
    --bg: #000000;
    --panel: rgba(0, 0, 0, 0.5);
    --panel-2: rgba(11, 11, 11, 0.7);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.65);
    --line: rgba(255, 255, 255, 0.12);
    --line-bright: rgba(255, 255, 255, 0.22);
    
    /* Primary accent - OKX green */
    --primary: #c4ee66;
    --primary-bg: #2e4206;
    
    --radius-lg: 12px;
    --radius-md: 8px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ==========================================================================
   Font Faces
   ========================================================================== */
@font-face {
    font-family: "Amiamie";
    src: url("/fonts/ttf/Amiamie-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Amiamie";
    src: url("/fonts/ttf/Amiamie-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Amiamie";
    src: url("/fonts/ttf/Amiamie-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Amiamie";
    src: url("/fonts/ttf/Amiamie-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Amiamie", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ==========================================================================
   Buttons & Actions
   ========================================================================== */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: "Amiamie", sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg);
}

.btn-primary:hover {
    background-color: #d4f588;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--line-bright);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Polka Dot Background
   ========================================================================== */
.polka-bg {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(196, 238, 102, 0.3) 2px, transparent 2px);
    background-size: 45px 45px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

/* ==========================================================================
   Burger Menu
   ========================================================================== */
.burger-menu {
    position: fixed;
    top: 1rem;
    right: 2.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    clip-path: circle(50% at 50% 50%);
}

.burger-menu:hover {
    transform: scale(1.05);
}

.burger-line {
    display: block;
    width: 2rem;
    height: 0.125rem;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line-top {
    transform: rotate(45deg) translateY(0.21rem);
}

.burger-menu.active .burger-line-bottom {
    transform: rotate(-45deg) translateY(-0.21rem);
}

/* Hide burger when scrolling down */
.burger-menu.hidden {
    clip-path: circle(0% at 50% 50%);
}

/* ==========================================================================
   Navigation Overlay
   ========================================================================== */
.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.nav-overlay.active {
    transform: translateX(0);
}

.nav-content {
    padding: 7rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-lg);
    min-height: 100vh;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.nav-overlay.active .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.nav-link:nth-child(1) { transition-delay: 0.1s; }
.nav-link:nth-child(2) { transition-delay: 0.2s; }
.nav-link:nth-child(3) { transition-delay: 0.3s; }
.nav-link:nth-child(4) { transition-delay: 0.4s; }
.nav-link:nth-child(5) { transition-delay: 0.5s; }

.nav-link:hover {
    color: var(--text);
    transform: translateX(10px);
}

.nav-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease 0.6s;
}

.nav-overlay.active .nav-contact {
    opacity: 1;
    transform: translateX(0);
}

.nav-contact-label {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.nav-contact-value {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    color: var(--text);
    font-weight: 300;
}

.nav-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-social-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: color 0.3s ease;
}

.nav-social-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-lines {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    left: 0;
}

.hero-line:nth-child(1) { top: 25%; }
.hero-line:nth-child(2) { top: 43%; }
.hero-line:nth-child(3) { top: 61%; }

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 2.5rem 5rem;
}

.hero-subtitle {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0;
    transform: translateY(40px);
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    color: var(--text);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}

.hero-char {
    display: inline-block;
    will-change: transform;
    opacity: 0;
    transform: translateY(60px) rotateX(-30deg);
    transform-origin: 50% 100%;
}

.hero-text {
    max-width: 48rem;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(32px);
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 2.5rem;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-mouse {
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.scroll-wheel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 0.25rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==========================================================================
   Skills Summary Section
   ========================================================================== */
.skills-summary-section {
    margin-top: 5rem;
    margin-bottom: 5rem;
    overflow: hidden;
    overflow-x: hidden;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.skills-summary-line {
    font-size: 2.625rem;
    white-space: nowrap;
    will-change: transform;
    transform: translateX(0);
}

.skills-summary-line-with-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.skills-summary-dot {
    width: 2.5rem;
    height: 0.25rem;
    background: var(--primary);
}

.font-normal {
    font-weight: 400;
}

.italic {
    font-style: italic;
}

/* ==========================================================================
   Skills Section (Sticky Cards)
   ========================================================================== */
.skills-section {
    position: relative;
    min-height: 100vh;
    padding: 5rem 0;
    background: var(--bg);
}

.skills-header {
    padding: 0 2.5rem;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(100px);
}

.skills-subtitle {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.skills-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.skills-description {
    max-width: 48rem;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.skills-cards {
    position: relative;
}

.skill-card {
    position: sticky;
    padding: 3rem 2.5rem;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(200px) rotateX(-20deg) scale(0.95);
}

.skill-card:hover {
    background: rgba(24, 24, 24, 0.9);
}

.skill-card-content {
    transition: transform 0.5s ease;
}

.skill-card:hover .skill-card-content {
    transform: translateX(0.5rem);
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-card-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    transition: color 0.5s ease;
}

.skill-card:hover .skill-card-number {
    color: rgba(196, 238, 102, 0.3);
}

.skill-card-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text);
    transition: color 0.3s ease;
}

.skill-card:hover .skill-card-title {
    color: var(--primary);
}

.skill-card-description {
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.skill-card:hover .skill-card-description {
    color: var(--muted);
}

.skill-card-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(24, 24, 24, 0.5);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(39, 39, 42, 1);
    border-color: rgba(196, 238, 102, 0.5);
    transform: scale(1.05);
}

.skill-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.skill-item:hover .skill-item-title {
    color: var(--primary);
}

.skill-item-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.skill-item:hover .skill-item-description {
    color: rgba(255, 255, 255, 0.7);
}

.skill-card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: linear-gradient(to right, var(--primary), #a8d94e, var(--primary));
    transition: width 0.7s ease;
}

.skill-card:hover .skill-card-line {
    width: 100%;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    position: relative;
    padding: 5rem 2.5rem;
    background: var(--bg);
}

.about-header {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(100px);
}

.about-subtitle {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.about-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
}

.about-content {
    max-width: 56rem;
    opacity: 0;
    transform: translateY(100px);
}

.about-text {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Works Section
   ========================================================================== */
.works-section {
    position: relative;
    padding: 5rem 2.5rem;
    background: var(--bg);
}

.works-header {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(100px);
}

.works-subtitle {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.works-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card {
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
}

.work-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.work-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--panel);
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--bg);
    transition: transform 0.5s ease;
}

.work-card:hover .work-card-image img {
    transform: scale(1.1);
}

.work-card-content {
    padding: 1.5rem;
}

.work-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.live-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.work-card:hover .work-card-title {
    color: var(--primary);
}

.work-card-description {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 1rem;
}

.work-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.work-tech-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
}

.work-card:hover .work-tech-tag {
    background: var(--primary-bg);
    border-color: var(--primary);
    color: var(--primary);
}

.work-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.work-link:hover {
    opacity: 0.7;
}

/* ==========================================================================
   Awards & Certifications Section
   ========================================================================== */
.awards-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.awards-header {
    text-align: center;
    margin-bottom: 4rem;
}

.awards-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.awards-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
}

.awards-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.award-card {
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.award-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.award-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.award-org {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.award-year {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.award-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 1rem;
}

.award-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.award-link:hover {
    opacity: 0.7;
}

/* ==========================================================================
   Contact Summary / Marquee
   ========================================================================== */
.contact-summary-section {
    overflow: hidden;
    background: var(--bg);
    padding: 2rem 0;
}

.marquee {
    display: flex;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    gap: 2rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4rem;
    min-width: 100%;
    animation: scroll 40s linear infinite;
}

.marquee-item {
    font-size: 1.75rem;
    font-weight: 300;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text);
}

.marquee-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 5rem 2.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg);
    overflow: hidden;
}

/* Background gradients */
.contact-section::before,
.contact-section::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
}

.contact-section::before {
    top: 0;
    right: 0;
    background: rgba(196, 238, 102, 0.3);
}

.contact-section::after {
    bottom: 0;
    left: 0;
    background: rgba(196, 238, 102, 0.2);
}

.contact-header {
    position: relative;
    z-index: 10;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(100px);
}

.contact-subtitle {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.contact-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-description {
    max-width: 48rem;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.contact-cards {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-card {
    padding: 2rem;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(100px);
}

.contact-card:hover {
    background: rgba(39, 39, 42, 0.7);
    border-color: var(--primary);
    transform: translateY(-8px);
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-card-title {
    color: var(--primary);
}

.contact-card-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.contact-card-value {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    word-break: break-word;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-card-value {
    color: var(--text);
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-social-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 300;
    border: 1px solid var(--line-bright);
    border-radius: 2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    border-color: var(--primary);
    background: rgba(196, 238, 102, 0.1);
    color: var(--primary);
    transform: scale(1.05);
}

.footer-marquee {
    position: relative;
    z-index: 10;
}
/* ==========================================================================
   Resume Modal
   ========================================================================== */
.resume-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.resume-modal.active {
    display: flex;
}

.resume-modal-content {
    max-width: 900px;
    width: 100%;
    height: 90vh;
    background: var(--panel);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.resume-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--line);
}

.resume-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.resume-modal-close {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.resume-modal-close:hover {
    color: var(--primary);
}

.resume-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.resume-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* ==========================================================================
   Work Experience Section
   ========================================================================== */
.experience-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.experience-header {
    max-width: 72rem;
    margin: 0 auto 4rem auto;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease, transform 1s ease;
}

.experience-subtitle {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.experience-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
}

.experience-timeline {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.experience-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    position: relative;
    transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.2s ease;
    opacity: 0;
    transform: translateY(50px);
}

.experience-card:hover {
    border-color: var(--primary);
}

.experience-period {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--primary);
    letter-spacing: 0.05em;
    padding-top: 0.25rem;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience-company {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.experience-role {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--muted);
    font-style: italic;
}

.experience-highlights {
    list-style: none;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.experience-highlights li {
    position: relative;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.experience-highlights li::before {
    content: "▸";
    position: absolute;
    left: -1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 400;
    background: rgba(196, 238, 102, 0.1);
    border: 1px solid rgba(196, 238, 102, 0.3);
    border-radius: 4px;
    color: var(--primary);
}
