/* ==========================================================================
   CSS Variables - Color Scheme
   ========================================================================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f7;
    --text-primary: #1a1a1a;
    --text-secondary: #808080;
    --text-tertiary: #b3b3b3;
    --border-color: #e8e8e8;
    --accent-color: #000000;
    --accent-hover: #333333;
    --section-label: #b3b3b3;
}

html.dark-mode {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-tertiary: #808080;
    --border-color: #2a2a2a;
    --accent-color: #ffffff;
    --accent-hover: #e8e8e8;
    --section-label: #808080;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

/* Hide default scrollbar */
* {
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   Loading Screen
   ========================================================================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Terminal Window */
.terminal-window {
    width: 900px;
    max-width: 95vw;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.terminal-header {
    background: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #404040;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-button.close {
    background: #ff5f57;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #28ca42;
}

.terminal-title {
    color: #cccccc;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    text-align: center;
    margin-right: 32px;
}

.terminal-body {
    padding: 20px;
    background: #1e1e1e;
    min-height: 200px;
}

.terminal-content {
    color: #f8f8f2;
    font-size: 14px;
    line-height: 1.5;
}

.terminal-line {
    color: #f8f8f2;
}

.terminal-line .prompt-user {
    color: #bd93f9;
    font-weight: bold;
}

.terminal-line .prompt-dir {
    color: #50fa7b;
    font-weight: bold;
}

.terminal-line .prompt-git {
    color: #ffb86c;
    font-weight: bold;
}

.terminal-line.output {
    color: #50fa7b;
    font-weight: 600;
    margin-top: 8px;
    padding-left: 16px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.terminal-window {
    width: 900px;
    max-width: 95vw;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

.terminal-header {
    background: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #404040;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-button.close {
    background: #ff5f57;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #28ca42;
}

.terminal-title {
    color: #cccccc;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    text-align: center;
    margin-right: 32px;
}

.terminal-body {
    padding: 20px;
    background: #1e1e1e;
    min-height: 200px;
}

.terminal-content {
    color: #f8f8f2;
    font-size: 14px;
    line-height: 1.5;
}

.terminal-line {
    color: #f8f8f2;
}

.terminal-line .prompt-user {
    color: #bd93f9;
    font-weight: bold;
}

.terminal-line .prompt-dir {
    color: #50fa7b;
    font-weight: bold;
}

.terminal-line .prompt-git {
    color: #ffb86c;
    font-weight: bold;
}

.terminal-line.output {
    color: #50fa7b;
    font-weight: 600;
    margin-top: 8px;
    padding-left: 16px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ==========================================================================
   Page Content Animation
   ========================================================================== */

.container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Custom Scroll Indicator
   ========================================================================== */

.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-tertiary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: var(--accent-color);
    transform: scale(1.5);
}

.scroll-dot:hover {
    background: var(--text-secondary);
    transform: scale(1.3);
}

/* ==========================================================================
   Custom Animated Tooltip
   ========================================================================== */

.github-link {
    position: relative;
    cursor: pointer;
}

.github-link::after {
    content: "I swear it's mine";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 1000;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

html.dark-mode .github-link::after {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.github-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.github-link::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border: 5px solid transparent;
    border-top-color: var(--bg-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 1000;
}

.github-link:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    padding: clamp(3rem, 6vw, 5rem) clamp(3rem, 8vw, 8rem);
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.3px;
}

.container {
    width: 100%;
    margin: 0;
    background: var(--bg-primary);
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 450px) minmax(0, 1fr);
    gap: clamp(4rem, 10vw, 12rem);
    align-items: start;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content {
    padding: 0 clamp(2rem, 4vw, 4rem) 0 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0 clamp(3rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem) 0;
    text-align: left;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky;
    top: clamp(3rem, 6vw, 5rem);
    align-self: start;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.header-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.profile {
    flex: 1;
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    width: 38px;
    height: 38px;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.theme-toggle:active::before {
    width: 300px;
    height: 300px;
}

.theme-toggle i {
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle:hover {
    border-color: var(--text-primary);
    background: var(--bg-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

html.dark-mode .theme-toggle:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.theme-toggle .sun-icon {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle .moon-icon {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle .moon-icon {
    display: none;
}

html.dark-mode .theme-toggle .sun-icon {
    display: none;
}

html.dark-mode .theme-toggle .moon-icon {
    display: flex;
    animation: moonGlow 0.5s ease;
}

@keyframes moonGlow {
    0% {
        transform: scale(0.8) rotate(-180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(-90deg);
        opacity: 0.7;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.theme-toggle .sun-icon {
    animation: sunGlow 0.5s ease;
}

@keyframes sunGlow {
    0% {
        transform: scale(0.8) rotate(180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.7;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.location i {
    margin-right: 0.4rem;
    color: var(--accent-color);
}

/* ==========================================================================
   Googly Eyes
   ========================================================================== */

.googly-eyes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 2rem auto 0;
    position: relative;
    padding: 1rem;
    max-width: fit-content;
}

.eye {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    border: 3px solid var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.eye:hover {
    transform: scale(1.1);
}

.eye.blink {
    animation: blink 0.15s ease-in-out;
}

@keyframes blink {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.1);
    }
}

html.dark-mode .eye {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

.pupil {
    width: 10px;
    height: 10px;
    background: var(--text-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

html.dark-mode .pupil {
    background: var(--accent-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.header h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.tagline {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    opacity: 0.6;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.location {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    opacity: 0.5;
    color: var(--text-tertiary);
    font-weight: 400;
}

.contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    align-items: center;
}

.contact a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: clamp(0.8rem, 1.1vw, 0.9rem);
    transition: all 0.3s;
    padding: 0.6rem 0.95rem;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.contact a[href^="tel"] {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}

.nowrap {
    white-space: nowrap;
}

.contact a:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}

/* ==========================================================================
   Download Section
   ========================================================================== */

.download-section {
    text-align: left;
    padding: 2rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s, border-color 0.3s;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.2);
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 140, 66, 0.3);
}

.arrow {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.update {
    margin-top: 1rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: 0 0 4rem 0;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section:nth-child(1) {
    animation-delay: 0.1s;
}

.section:nth-child(2) {
    animation-delay: 0.2s;
}

.section:nth-child(3) {
    animation-delay: 0.3s;
}

.section:nth-child(4) {
    animation-delay: 0.4s;
}

.section:nth-child(5) {
    animation-delay: 0.5s;
}

.section:first-child {
    padding-top: 0;
}

.section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 400;
}

.section h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1.75rem;
    color: var(--text-primary);
    position: relative;
    display: block;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    color: var(--section-label);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Skills Grid
   ========================================================================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.skills-grid div {
    background: transparent;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.skills-grid div:nth-child(1) {
    animation-delay: 0.2s;
}

.skills-grid div:nth-child(2) {
    animation-delay: 0.25s;
}

.skills-grid div:nth-child(3) {
    animation-delay: 0.3s;
}

.skills-grid div:nth-child(4) {
    animation-delay: 0.35s;
}

.skills-grid div:nth-child(5) {
    animation-delay: 0.4s;
}

.skills-grid div:nth-child(6) {
    animation-delay: 0.45s;
}

.skills-grid div:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

html.dark-mode .skills-grid div:hover {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.skills-grid strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-grid p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Experience
   ========================================================================== */

.experience {
    margin-top: 3rem;
}

.exp-header-row {
    display: none;
}

.exp-col-header {
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    color: var(--section-label);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-col-header:last-child {
    text-align: right;
}

.experience .exp-item {
    margin-bottom: 0;
    padding-bottom: 4.5rem;
    padding-top: 3rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.exp-item:nth-child(1) {
    animation-delay: 0.3s;
}

.exp-item:nth-child(2) {
    animation-delay: 0.4s;
}

.exp-item:nth-child(3) {
    animation-delay: 0.5s;
}

.exp-item:nth-child(4) {
    animation-delay: 0.6s;
}

.exp-item:nth-child(5) {
    animation-delay: 0.7s;
}

.exp-item:nth-child(6) {
    animation-delay: 0.8s;
}

.experience .exp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.experience .exp-item:first-child {
    padding-top: 0;
}

.exp-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.exp-description h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-item:hover .exp-description h3 {
    color: var(--accent-color);
}

.exp-description p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1rem;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-description strong {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-list {
    margin-top: 1.25rem;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.exp-list li {
    margin-bottom: 0;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-list li:hover {
    color: var(--text-primary);
    padding-left: 1.8rem;
}

.exp-period {
    text-align: left;
    margin-top: 0.75rem;
}

.period {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--text-tertiary);
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-item li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Extra Skills
   ========================================================================== */

.extra-skills {
    columns: 1;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.extra-skills li {
    margin-bottom: 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.extra-skills li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.extra-skills li:hover {
    color: var(--text-primary);
    padding-left: 1.8rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    text-align: left;
    padding: 3rem 0 0 0;
    background: var(--bg-primary);
    color: var(--text-tertiary);
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    body {
        padding: 2rem 1.5rem;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }

    .header {
        position: static;
        border-bottom: 1px solid var(--border-color);
        padding: 0 0 2rem 0;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .header-controls {
        flex-direction: row;
        gap: 1rem;
    }

    .profile {
        flex: 1;
    }

    .theme-toggle {
        flex-shrink: 0;
    }

    .contact a {
        display: block;
        margin: 0.5rem 0;
    }

    .main-content {
        padding-right: 0;
        padding-left: 0;
    }

    .exp-header-row {
        display: none;
    }

    .exp-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .exp-description h3 {
        margin-bottom: 0.25rem;
    }

    .exp-description h3::after {
        content: '';
        display: block;
        font-size: 0.7rem;
        color: var(--section-label);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .exp-description h3::before {
        content: 'DESCRIPTION';
        display: block;
        font-size: 0.65rem;
        color: var(--section-label);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .exp-period {
        text-align: left;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .exp-period::before {
        content: 'PERIOD';
        display: block;
        font-size: 0.65rem;
        color: var(--section-label);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .extra-skills {
        columns: 1;
    }

    .googly-eyes {
        margin: 1.5rem auto 0;
        gap: 10px;
    }

    .eye {
        width: 28px;
        height: 28px;
    }

    .pupil {
        width: 9px;
        height: 9px;
    }

    .scroll-indicator {
        position: fixed !important;
        right: 15px;
    }
}