* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --apple-blue: #0A84FF;
    --apple-blue-hover: #409CFF;
    --apple-gray: #8E8E93;
    --apple-light-gray: #2C2C2E;
    --apple-dark-gray: #000000;
    --apple-card-bg: #1C1C1E;
    --apple-bg: #000000;
    --apple-bg-gradient: linear-gradient(180deg, #000000 0%, #1C1C1E 100%);
    --apple-text-primary: #FFFFFF;
    --apple-text-secondary: #8E8E93;
    --apple-text-tertiary: #636366;
    --apple-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --apple-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.7);
    --apple-border: #2C2C2E;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #000000;
    background-attachment: fixed;
    color: var(--apple-text-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* credit text */
.credit-text {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 11px;
    color: var(--apple-text-secondary);
    opacity: 0.5;
    z-index: 9999;
    pointer-events: none;
    font-weight: 400;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .credit-text {
        top: 15px;
        right: 15px;
        font-size: 10px;
    }
}

/* starry night background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.015) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* stars layer */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    transform-origin: center;
    opacity: 0.8;
}

@keyframes starShine {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
        box-shadow: 0 0 1px white, 0 0 2px rgba(255, 255, 255, 0.4);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.1);
        box-shadow: 0 0 2px white, 0 0 4px rgba(255, 255, 255, 0.6), 0 0 6px rgba(255, 255, 255, 0.3);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
}

/* shooting star cursor */
* {
    cursor: none !important;
}

body {
    cursor: none !important;
}

.shooting-star-cursor {
    position: fixed;
    width: 4px;
    height: 4px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 
        0 0 8px #FFFFFF,
        0 0 16px rgba(255, 255, 255, 0.8),
        0 0 24px rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 99999;
    transform-origin: center center;
    opacity: 1 !important;
    transition: opacity 0.2s ease;
    left: 0;
    top: 0;
    display: block !important;
    visibility: visible !important;
}

.shooting-star-cursor svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.shooting-star-cursor svg path {
    fill: none;
    stroke: white;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: blur(0.5px);
}

/* fog cursor follower */
.cursor-fog {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    filter: blur(90px);
    opacity: 0;
    left: 0;
    top: 0;
}

.cursor-fog.active {
    opacity: 0.4;
}

/* hero section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    animation: gradientShift 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: dramaticEntrance 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, gentleFloat 6s ease-in-out infinite 2s;
}

@keyframes dramaticEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.05);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-title {
    font-size: 96px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    line-height: 1.05;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.19)) 
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.114))
            drop-shadow(0 2px 4px rgba(255, 255, 255, 0.095));
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.1425),
        0 0 16px rgba(255, 255, 255, 0.095),
        0 2px 4px rgba(255, 255, 255, 0.114);
    animation: calmBreath 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

.hero-title:hover {
    animation: intenseBreath 3s ease-in-out infinite;
}


/* letter hover animation styles */
.hero-title .letter {
    display: inline-block;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.19)) 
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.114))
            drop-shadow(0 2px 4px rgba(255, 255, 255, 0.095));
    cursor: pointer;
    transform-origin: center bottom;
    will-change: transform;
}

.hero-title .letter:hover {
    transform: translateY(-10px) scale(1.1);
    z-index: 10;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 400;
    color: var(--apple-text-secondary);
    letter-spacing: 0.011em;
}

/* orbiting planets around title */
.planets-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: planetsEntrance 2s ease-out forwards;
    animation-delay: 1s;
    margin-top: -100px;
}

@keyframes planetsEntrance {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.planet {
    position: absolute;
    width: 50px;
    height: 50px;
    pointer-events: all;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 280;
    --angle: 0deg;
    --duration: 20s;
    top: 50%;
    left: 50%;
    transform-origin: center;
    animation: orbitPlanet var(--duration) linear infinite;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planet:hover {
    --duration: 120s;
    animation: orbitPlanet var(--duration) linear infinite;
}

/* different orbit radii and speeds for each planet */
.planet:nth-child(1) {
    --radius: 280;
    --angle: 0deg;
    --duration: 40s;
}

.planet:nth-child(2) {
    --radius: 320;
    --angle: 60deg;
    --duration: 50s;
}

.planet:nth-child(3) {
    --radius: 360;
    --angle: 120deg;
    --duration: 60s;
}

.planet:nth-child(4) {
    --radius: 300;
    --angle: 180deg;
    --duration: 44s;
}

.planet:nth-child(5) {
    --radius: 340;
    --angle: 240deg;
    --duration: 54s;
}

.planet:nth-child(6) {
    --radius: 380;
    --angle: 300deg;
    --duration: 70s;
}

@keyframes orbitPlanet {
    0% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(calc(var(--radius) * 1px)) rotate(calc(var(--angle) * -1));
    }
    100% {
        transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg)) translateX(calc(var(--radius) * 1px)) rotate(calc(var(--angle) * -1 - 360deg));
    }
}

.planet-core {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--planet-color);
    box-shadow: 
        0 0 8px var(--planet-color),
        0 0 16px var(--planet-color),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s ease;
    opacity: 1;
}

.planet:hover .planet-core,
.planet.active .planet-core {
    transform: scale(2.5);
    opacity: 1;
    box-shadow: 
        0 0 16px var(--planet-color),
        0 0 32px var(--planet-color),
        0 0 48px var(--planet-color),
        0 0 64px rgba(var(--planet-color-rgb), 0.5);
}

.planet.active .planet-core {
    animation: planetPulse 2s ease-in-out infinite;
}

@keyframes planetPulse {
    0%, 100% {
        transform: scale(2.5);
        box-shadow: 
            0 0 16px var(--planet-color),
            0 0 32px var(--planet-color),
            0 0 48px var(--planet-color);
    }
    50% {
        transform: scale(2.7);
        box-shadow: 
            0 0 20px var(--planet-color),
            0 0 40px var(--planet-color),
            0 0 60px var(--planet-color);
    }
}

/* planets legend */
.planets-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(28, 28, 30, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin-top: 40px;
}

.planets-legend.hero-legend {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    z-index: 9999;
}

/* only show legend when in hero section */
body:not(.scrolled) .planets-legend.hero-legend {
    display: flex !important;
}

body.scrolled .planets-legend.hero-legend {
    display: none !important;
}

@media (max-width: 768px) {
    .planets-legend.hero-legend {
        bottom: 15px;
        gap: 12px;
        padding: 10px 16px;
    }
}

.planets-legend:hover {
    opacity: 1;
    background: rgba(28, 28, 30, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--apple-text-secondary);
    opacity: 0.7;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.planets-legend:hover .legend-item {
    opacity: 1;
}

.legend-planet {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--planet-color);
    box-shadow: 0 0 4px var(--planet-color);
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.planets-legend:hover .legend-planet {
    opacity: 1;
    box-shadow: 0 0 8px var(--planet-color);
}

/* full sections */
.full-section {
    min-height: 100vh;
    padding: 120px 20px;
    background: transparent;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    animation: sectionFadeIn 1.5s ease-out forwards;
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.full-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* universal scroll animation for all text elements */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-heading {
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 80px;
    line-height: 1.05;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.19)) 
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.114))
            drop-shadow(0 2px 4px rgba(255, 255, 255, 0.095));
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.1425),
        0 0 16px rgba(255, 255, 255, 0.095),
        0 2px 4px rgba(255, 255, 255, 0.114);
    animation: calmBreath 8s ease-in-out infinite;
}

.section-heading:hover {
    animation: intenseBreath 3s ease-in-out infinite;
}

/* projects section */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-item-large {
    padding: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-item-large.visible {
    opacity: 1;
    transform: translateY(0);
    animation: calmBreath 8s ease-in-out infinite;
}

.project-item-large:nth-child(1).visible {
    animation: calmBreath 8s ease-in-out infinite;
    animation-delay: 0s;
}

.project-item-large:nth-child(2).visible {
    animation: calmBreath 8s ease-in-out infinite;
    animation-delay: 1s;
}

.project-header-large {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.project-title-large {
    font-size: 48px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.project-badge-large {
    background: transparent;
    color: var(--apple-text-secondary);
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.project-badge-large:hover {
    opacity: 1;
    color: var(--apple-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-description-large {
    font-size: 24px;
    color: var(--apple-text-secondary);
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 900px;
}

.files-section-large {
    margin-top: 32px;
}

.file-upload-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--apple-blue);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 16px rgba(10, 132, 255, 0.3);
}

.file-upload-button-large:hover {
    background: var(--apple-blue-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 132, 255, 0.4);
}

.button-icon {
    font-size: 24px;
    line-height: 1;
}

.file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.files-list-large {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: var(--apple-light-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--apple-border);
}

.file-item:hover {
    background: #3A3A3C;
    border-color: #48484A;
}

.file-icon {
    font-size: 24px;
    margin-right: 16px;
    opacity: 0.6;
}

.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 500;
    color: var(--apple-text-primary);
    font-size: 17px;
    margin-bottom: 4px;
}

.file-size {
    font-size: 15px;
    color: var(--apple-text-secondary);
}

.file-remove {
    background: none;
    border: none;
    color: #FF453A;
    cursor: pointer;
    font-size: 24px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
    line-height: 1;
}

.file-remove:hover {
    background: rgba(255, 69, 58, 0.2);
}

/* education section */
#academics {
    padding-bottom: 20px;
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.education-item-large {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.education-item-large.visible {
    opacity: 1;
    transform: translateY(0);
    animation: calmBreath 8s ease-in-out infinite;
}

.education-header-large {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 16px;
}

.education-title-large {
    font-size: 48px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.education-year-large {
    background: transparent;
    color: var(--apple-text-secondary);
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.7;
}

.education-year-large:hover {
    opacity: 1;
    color: var(--apple-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.stats-container {
    display: flex;
    gap: 80px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--apple-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 17px;
    color: var(--apple-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.stat-value {
    font-size: 64px;
    font-weight: 600;
    color: var(--apple-text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.awards-container-large {
    margin-top: 40px;
}

.awards-title-large {
    font-size: 32px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.awards-grid-large {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.award-badge-large {
    background: rgba(48, 209, 88, 0.2);
    color: #30D158;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 19px;
    font-weight: 500;
    border: 1px solid rgba(48, 209, 88, 0.3);
}

/* skills section */
#skills {
    padding-top: 40px;
}

.skills-container-large {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.skill-category-large {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.skill-category-large.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category-title-large {
    font-size: 40px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.skill-tags-large {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag-large {
    background: transparent;
    color: var(--apple-text-secondary);
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    opacity: 0.7;
}

.skill-tag-large:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--apple-text-primary);
    opacity: 1;
}

/* experience section */
.experience-container-large {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.experience-item-large {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--apple-border);
}

.experience-item-large:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.experience-item-large.visible {
    opacity: 1;
    transform: translateY(0);
    animation: calmBreath 8s ease-in-out infinite;
}

.experience-header-large {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.experience-title-large {
    font-size: 48px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.experience-period-large {
    background: transparent;
    color: var(--apple-text-secondary);
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.7;
}

.experience-period-large:hover {
    opacity: 1;
    color: var(--apple-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.experience-company-large {
    font-size: 28px;
    color: var(--apple-blue);
    font-weight: 500;
    margin-bottom: 16px;
}

.experience-description-large {
    font-size: 24px;
    color: var(--apple-text-secondary);
    line-height: 1.5;
    max-width: 900px;
}

/* tech stack section */
.tech-stack-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.tech-category-large {
    opacity: 1;
    transform: translateY(0);
}

.tech-category-title-large {
    font-size: 40px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.tech-tags-large {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag-large {
    background: transparent;
    color: var(--apple-text-secondary);
    padding: 8px 16px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    opacity: 0.7;
}

.tech-tag-large:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--apple-text-primary);
    opacity: 1;
}

/* certifications section */
.cert-container-large {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cert-item-large {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--apple-light-gray);
    border-radius: 24px;
    border: 1px solid var(--apple-border);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.cert-item-large.visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-item-large:hover {
    background: #3A3A3C;
    border-color: #48484A;
    transform: translateY(-4px);
}

.cert-icon-large {
    font-size: 48px;
    opacity: 0.6;
}

.cert-info-large {
    flex: 1;
}

.cert-name-large {
    font-size: 32px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.cert-org-large {
    font-size: 21px;
    color: var(--apple-text-secondary);
}

/* about section */
.about-section-full {
    padding-bottom: 120px;
}

.about-container-large {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.photo-container-large {
    flex: 0 0 300px;
    position: relative;
}

.photo-label-large {
    display: block;
    cursor: pointer;
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--apple-light-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--apple-shadow);
    border: 1px solid var(--apple-border);
}

.photo-label-large:hover {
    transform: scale(1.05);
    box-shadow: var(--apple-shadow-hover);
    border-color: #3A3A3C;
}

.photo-preview-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.photo-preview-large.active {
    display: block;
    animation: subtleGlow 4s ease-in-out infinite;
}

.photo-overlay-large {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--apple-light-gray);
    transition: all 0.3s ease;
}

.photo-label-large:hover .photo-overlay-large {
    background: #3A3A3C;
}

.upload-icon-large {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.upload-text-large {
    color: var(--apple-text-secondary);
    font-size: 19px;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
    transition: color 0.3s ease;
}

.photo-label-large:hover .upload-text-large {
    color: var(--apple-text-primary);
}

.photo-preview-large.active ~ .photo-overlay-large {
    display: none;
}

.photo-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

/* fun arrow container */
.fun-arrow-container {
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-110px); /* move to the left using pixels */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    width: 200px; /* fixed width to prevent shifting */
}

.fun-arrow-container.animate {
    animation: fadeInArrow 0.8s ease-out forwards;
}

.fun-arrow {
    width: 80px;
    height: 120px;
    color: var(--apple-text-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    flex-shrink: 0; /* prevent arrow from shrinking */
    position: relative; /* keep arrow in place */
    margin: 0 auto; /* center the arrow */
    transform-origin: 40px 60px; /* center of arrow (half width, half height) */
}

.arrow-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.fun-arrow-container.animate .arrow-path {
    animation: drawArrow 1.5s ease-out 0.2s forwards;
}

.arrow-head {
    opacity: 0;
    transform-origin: center;
}

.fun-arrow-container.animate .arrow-head {
    animation: fadeInHead 0.3s ease-out 1.5s forwards, arrowBounce 1s ease-in-out 1.8s infinite;
}

.arrow-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--apple-text-secondary);
    white-space: nowrap;
    opacity: 1;
    min-height: 20px;
    text-align: center;
    width: 100%; /* take full width of container */
    display: block;
    position: relative;
}

.arrow-text.typing::after {
    content: '|';
    animation: blinkCursor 1s infinite;
    margin-left: 2px;
}

@keyframes fadeInArrow {
    from {
        opacity: 0;
        transform: translateX(-110px) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-110px) translateY(0);
    }
}

@keyframes drawArrow {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInHead {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

@keyframes blinkCursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.about-text-container {
    flex: 1;
    min-width: 400px;
}

.about-text-large {
    font-size: 24px;
    color: var(--apple-text-secondary);
    line-height: 1.5;
    margin-bottom: 60px;
    max-width: 700px;
}

/* journey star link */
.journey-star-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 40px;
    color: var(--apple-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 18px;
    font-weight: 500;
}

.journey-star-link:hover {
    color: var(--apple-text-primary);
    transform: translateY(-2px);
}

.journey-star-icon {
    width: 24px;
    height: 24px;
    color: var(--apple-text-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: starFloat 3s ease-in-out infinite;
    flex-shrink: 0;
}

.journey-star-text {
    font-size: 18px;
    color: inherit;
    font-weight: 500;
}

@keyframes starFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* back navigation */
.back-nav {
    position: fixed;
    top: 80px;
    left: 40px;
    z-index: 100;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--apple-text-secondary);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.back-link:hover {
    color: var(--apple-text-primary);
    transform: translateX(-5px);
}

/* journey greeting */
.journey-greeting {
    font-size: 16px;
    color: var(--apple-text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0.8;
}

/* click instruction */
.click-instruction {
    font-size: 16px;
    color: var(--apple-text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.7;
    min-height: 20px;
}

.click-instruction.typing::after {
    content: '|';
    animation: blinkCursor 1s infinite;
    margin-left: 2px;
}


/* journey timeline */
.journey-timeline {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 60px 20px;
}

.journey-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.journey-line {
    stroke: var(--apple-text-primary);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawJourneyLine 2.5s ease-out forwards;
}

@keyframes drawJourneyLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes wigglyLine {
    0%, 100% {
        filter: drop-shadow(0 0 0px currentColor);
    }
    50% {
        filter: drop-shadow(1px 1px 2px currentColor);
    }
}

.journey-item {
    position: absolute;
    z-index: 10;
    perspective: 1000px;
}

.journey-card {
    position: relative;
    width: 220px;
    height: 220px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}

.journey-card.flipped {
    transform: rotateY(180deg);
}

.journey-card-front,
.journey-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease;
}

.journey-card:hover .journey-card-front,
.journey-card:hover .journey-card-back {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.journey-card-back {
    transform: rotateY(180deg);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.journey-item-1 {
    top: 8%;
    left: 8%;
}

.journey-item-2 {
    top: 32%;
    left: 38%;
}

.journey-item-3 {
    top: 56%;
    left: 12%;
}

.journey-item-4 {
    top: 80%;
    left: 42%;
}

.journey-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.journey-card-text {
    font-size: 16px;
    color: var(--apple-text-primary);
    line-height: 1.5;
    margin: 0;
    text-align: center;
    min-height: 20px;
}

.journey-card-text.typing::after {
    content: '|';
    animation: blinkCursor 1s infinite;
    margin-left: 2px;
}


/* extended content */
.extended-content {
    max-width: 900px;
}

.extended-text {
    font-size: 24px;
    color: var(--apple-text-secondary);
    line-height: 1.5;
    margin-bottom: 40px;
}

.contact-container-large {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--apple-border);
}

.contact-title-large {
    font-size: 32px;
    font-weight: 600;
    color: var(--apple-text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.contact-items-large {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item-large {
    font-size: 21px;
    color: var(--apple-text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--apple-text-primary);
    opacity: 1;
    stroke: var(--apple-text-primary);
    stroke-width: 2.5;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
    animation: iconPulse 3s ease-in-out infinite;
}

.resume-link {
    display: inline-block;
    align-self: flex-start;
    color: var(--apple-text-secondary);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 8px 16px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.8;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.resume-link:hover {
    color: var(--apple-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    opacity: 1;
    transform: translateY(-1px);
}

/* social links container */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

/* linkedin logo */
.linkedin-logo {
    display: inline-block;
    padding: 8px;
    color: var(--apple-text-secondary);
    opacity: 0.4;
    transition: opacity 0.3s ease, color 0.3s ease;
    text-decoration: none;
    background: transparent;
    border: none;
}

.linkedin-logo:hover {
    opacity: 0.8;
    color: var(--apple-text-primary);
}

.linkedin-logo svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* spotify logo */
.spotify-logo {
    display: inline-block;
    padding: 8px;
    color: var(--apple-text-secondary);
    opacity: 0.4;
    transition: opacity 0.3s ease, color 0.3s ease;
    text-decoration: none;
    background: transparent;
    border: none;
    position: relative;
}

.spotify-logo:hover {
    opacity: 0.8;
    color: var(--apple-text-primary);
}

.spotify-logo svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* music symbols animation */
.music-symbol {
    position: fixed;
    pointer-events: none;
    font-size: 18px;
    color: var(--apple-text-primary);
    opacity: 1;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: opacity 3.5s ease-out, transform 3.5s ease-out;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* briefcase/resume symbols animation */
.business-symbol {
    position: fixed;
    pointer-events: none;
    font-size: 18px;
    color: var(--apple-text-primary);
    opacity: 1;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: opacity 3.5s ease-out, transform 3.5s ease-out;
    filter: grayscale(100%) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes calmBreath {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.92;
    }
}

@keyframes intenseBreath {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.08) translateY(-8px);
        opacity: 0.85;
    }
}

@keyframes subtleGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
    }
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
        opacity: 0.5;
    }
}

/* shooting star */
.shooting-star {
    position: fixed;
    top: 20%;
    left: -100px;
    width: 2px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 6px #FFFFFF, 0 0 12px #FFFFFF, 0 0 20px rgba(255, 255, 255, 0.8);
    z-index: 11;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateY(-50%);
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateY(-50%);
}

@keyframes shootStar {
    0% {
        left: -100px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.shooting-star.active {
    animation: shootStar var(--star-duration, 2s) ease-out forwards;
}

/* responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 64px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-heading {
        font-size: 48px;
        margin-bottom: 60px;
    }

    .full-section {
        padding: 80px 20px;
    }

    .project-title-large,
    .education-title-large,
    .experience-title-large {
        font-size: 36px;
    }

    .project-description-large,
    .experience-description-large,
    .about-text-large {
        font-size: 19px;
    }

    .stat-value {
        font-size: 48px;
    }

    .stats-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-container-large {
        flex-direction: column;
    }

    .photo-container-large {
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
    }

    .photo-label-large {
        width: 100%;
        max-width: 300px;
    }

    .fun-arrow-container {
        top: -140px;
    }

    .fun-arrow {
        width: 60px;
        height: 100px;
    }

    .arrow-text {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .fun-arrow-container {
        display: none; /* hide on very small screens */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-heading {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .full-section {
        padding: 60px 16px;
    }

    .project-title-large,
    .education-title-large,
    .experience-title-large {
        font-size: 28px;
    }
}
