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

/* Utility */
.is-hidden {
    display: none !important;
}

/* Design System Variables */
:root {
    /* Dark Mode Colors (Default) */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --bg-tertiary: #333333;
    --bg-card: #252525;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;
    --text-muted: #606060;
    
    --accent-primary: #00d4ff;
    --accent-secondary: #0066cc;
    --accent-tertiary: #00a8e8;
    --accent-success: #4caf50;
    --accent-warning: #ff5722;
    
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0052d4 100%);
    --gradient-secondary: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    --gradient-warm: linear-gradient(135deg, #00a8e8 0%, #0077b6 100%);
    --gradient-cool: linear-gradient(135deg, #00d4ff 0%, #0052d4 100%);
}

/* Light Mode Variables */
[data-theme="light"] {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --bg-overlay: rgba(255, 255, 255, 0.9);
    
    --text-primary: #1a1a1a;
    --text-secondary: #495057;
    --text-tertiary: #6c757d;
    --text-muted: #868e96;
    
    /* Keep the same vibrant accent colors for consistency */
    --accent-primary: #00d4ff;
    --accent-secondary: #0066cc;
    --accent-tertiary: #00a8e8;
    --accent-success: #4caf50;
    --accent-warning: #ff5722;
    
    /* Adjust gradients for light mode */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0052d4 100%);
    --gradient-secondary: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    --gradient-warm: linear-gradient(135deg, #00a8e8 0%, #0077b6 100%);
    --gradient-cool: linear-gradient(135deg, #00d4ff 0%, #0052d4 100%);
    
    /* Light mode shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Light Mode Specific Adjustments */
[data-theme="light"] .nav-header {
    border-bottom-color: var(--bg-tertiary);
    background-color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .card {
    border: 1px solid var(--bg-tertiary);
}

[data-theme="light"] .experience-item,
[data-theme="light"] .education-item {
    border: 1px solid var(--bg-tertiary);
}

[data-theme="light"] .project-card:hover {
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .hero-card::before {
    background: var(--gradient-primary);
    opacity: 0.1;
}

[data-theme="light"] .hero-about-card {
    border: 1px solid var(--bg-tertiary);
}

[data-theme="light"] .hero-profile::before {
    background: var(--gradient-primary);
    opacity: 0.1;
}

[data-theme="light"] .tag {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--bg-tertiary);
}

:root {
    /* Typography */
    --font-primary: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-secondary: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    
    --font-size-xs: 10px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 32px;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-heavy: 800;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;
    --spacing-3xl: 32px;
    --spacing-4xl: 40px;
    --spacing-5xl: 48px;
    
    /* Border Radius */
    --radius-none: 0px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-3xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    /* Component Sizes */
    --nav-height: 56px;
    --status-bar-height: 44px;
    --avatar-xs: 24px;
    --avatar-sm: 32px;
    --avatar-md: 48px;
    --avatar-lg: 64px;
    --avatar-xl: 80px;
    --avatar-2xl: 120px;
}

/* Base Styles */
body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: 1.4;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Transition for all elements */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Status Bar Spacer */
.status-bar-spacer {
    display: none;
}

/* Navigation Header */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--bg-tertiary);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--spacing-lg);
    max-width: 100%;
    margin: 0 auto;
}

.nav-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding-top: calc(var(--nav-height) + var(--spacing-2xl));
    padding-bottom: var(--spacing-5xl);
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .container {
        max-width: 900px;
        padding: calc(var(--nav-height) + var(--spacing-3xl)) var(--spacing-2xl) var(--spacing-5xl);
    }
    
    .hero-section {
        padding-top: 0;
        margin-bottom: var(--spacing-2xl);
    }
    
    .hero-about-section {
        padding-top: 0;
        margin-bottom: var(--spacing-2xl);
    }
    
    .social-section {
        padding-top: 0;
        margin-bottom: var(--spacing-2xl);
    }
    
    .about-section {
        padding-top: 0;
        margin-bottom: var(--spacing-2xl);
    }
    
    .nav-container {
        max-width: 900px;
        padding: 0 var(--spacing-2xl);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1000px;
    }
    
    .nav-container {
        max-width: 1000px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        gap: var(--spacing-lg);
    }
}

/* Section Styles */
section {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

/* Card Component */
.card {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-tertiary);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    bottom: -2px;
    right: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 1;
    z-index: -1;
}

/* Hero + About Combined Section */
.hero-about-section {
    padding-top: 0;
    margin-top: 0;
}

.hero-about-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-2xl);
    background-color: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    position: relative;
    overflow: visible;
    border: 1px solid var(--bg-tertiary);
}

.hero-about-card::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    bottom: -2px;
    right: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    opacity: 1;
    z-index: -1;
}

/* Left Profile Section */
.hero-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    position: relative;
}

.hero-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
}

.hero-profile > * {
    position: relative;
    z-index: 1;
}

/* Right About Section */
.hero-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-about .section-title {
    margin-bottom: var(--spacing-lg);
}

.hero-about .about-content {
    margin: 0;
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
    .hero-about-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-profile {
        padding: var(--spacing-xl);
        order: 1;
    }
    
    .hero-about {
        order: 2;
    }
}

@media (max-width: 480px) {
    .hero-about-card {
        padding: var(--spacing-lg);
    }
    
    .hero-profile {
        padding: var(--spacing-lg);
    }
}

/* Legacy Hero Section (kept for reference) */
.hero-section {
    padding-top: var(--spacing-2xl);
    margin-top: var(--spacing-lg);
}

.hero-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    text-align: center;
    position: relative;
    overflow: visible;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
}

.hero-card::after {
    content: '';
    position: absolute;
    left: -3px;
    top: -3px;
    bottom: -3px;
    right: -3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    opacity: 1;
    z-index: -1;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.avatar-large {
    width: var(--avatar-2xl);
    height: var(--avatar-2xl);
    border-radius: 50%;
    border: 3px solid var(--text-primary);
    box-shadow: var(--shadow-lg);
}

.avatar-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-color: var(--accent-success);
    border-radius: 50%;
    border: 3px solid var(--text-primary);
}

.hero-name {
    font-family: var(--font-primary);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.hero-location {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* Tag Component */
.tag {
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    display: inline-block;
}

/* Social Section */
.social-section {
    padding-top: 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: rgba(60, 60, 60, 0.8);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border: 1px solid rgba(80, 80, 80, 0.5);
    outline: none;
}

@media (hover: hover) {
    .social-link:hover {
        transform: translateY(-2px);
        background-color: #0052d4;
        border-color: #0052d4;
        box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
    }
}

.social-link:focus {
    outline: none;
}

.social-link:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
    transform: none;
}

.social-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
}

.social-name {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-align: center;
}

/* About Section */
.about-content {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.project-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--accent-primary);
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    box-shadow: var(--shadow-xl), 0 0 0 2px var(--accent-primary);
}

/* Featured project card styling */
.project-card.featured {
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0, 212, 255, 0.5);
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 4;
    object-fit: cover;
    cursor: pointer;
    position: relative;
    z-index: 1;
    border-bottom: none;
    transition: transform 0.3s ease;
}


.project-content {
    padding: var(--spacing-2xl);
}

/* Project Header: Title + Genre */
.project-header {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.project-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.project-genre {
    font-size: var(--font-size-base);
    color: var(--text-tertiary);
    font-weight: var(--font-weight-regular);
    font-style: italic;
    opacity: 0.8;
}

/* Project Role */
.project-role {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--accent-primary);
    margin-bottom: var(--spacing-lg);
}

/* Tech Tags */
.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.tech-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: transparent;
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Project Description */
.project-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* Contribution Section */
.project-contribution {
    margin-bottom: var(--spacing-xl);
}

.contribution-label {
    display: block;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-transform: lowercase;
}

.contribution-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contribution-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contribution-list li {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-xl);
    position: relative;
}

.contribution-list li:last-child {
    margin-bottom: 0;
}

.contribution-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-primary);
    font-size: var(--font-size-xs);
}

/* Project Links - Bottom buttons with icons */
.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-xl);
    border-top: none;
    justify-content: flex-end;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 16px;
    background-color: rgba(60, 60, 60, 0.8);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all 0.2s ease;
    border: 1px solid rgba(80, 80, 80, 0.5);
    outline: none;
}

@media (hover: hover) {
    .project-link:hover {
        background-color: #0052d4;
        border-color: #0052d4;
        transform: translateY(-2px);
        box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
    }
}

.project-link:focus {
    outline: none;
}

.project-link:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
    transform: none;
}

.project-link-icon {
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
}

.project-link-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.project-link-icon i {
    font-size: var(--font-size-base);
}

/* Jams Section */
.jams-section {
    padding-top: var(--spacing-lg);
}

.jams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.jam-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 2px var(--accent-tertiary);
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.jam-card:hover {
    box-shadow: var(--shadow-xl), 0 0 0 2px var(--accent-tertiary);
}

.jam-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-bottom: none;
    transition: transform 0.3s ease;
}


.jam-content {
    padding: var(--spacing-xl);
}

.jam-header {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.jam-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.jam-genre {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    font-weight: var(--font-weight-regular);
    font-style: italic;
    opacity: 0.8;
}

.jam-event {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--accent-tertiary);
    margin-bottom: var(--spacing-md);
}

.jam-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.jam-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.jam-contribution {
    margin-bottom: var(--spacing-lg);
}

.jam-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: none;
    justify-content: flex-end;
}

/* Jams Section Responsive - 1 column on mobile */
@media (max-width: 768px) {
    .jams-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .jams-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .jam-content {
        padding: var(--spacing-md);
    }
    
    .jam-title {
        font-size: var(--font-size-base);
    }
    
    .jam-event {
        font-size: var(--font-size-sm);
    }
    
    .jam-description {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-sm);
    }
    
    .jam-tech-tags {
        gap: 4px;
        margin-bottom: var(--spacing-sm);
    }
    
    .tech-tag {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .jam-links {
        justify-content: flex-start;
        gap: var(--spacing-xs);
        padding-top: var(--spacing-sm);
    }
    
    .jam-links .project-link {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .jam-image {
        aspect-ratio: 16 / 10;
    }
}

/* Prototypes Section */
.prototypes-section {
    padding-top: var(--spacing-lg);
}

.prototypes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.prototype-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 2px #7c4dff;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.prototype-card:hover {
    box-shadow: var(--shadow-xl), 0 0 0 2px #7c4dff;
}

.prototype-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-bottom: none;
    transition: transform 0.3s ease;
}

.prototype-content {
    padding: var(--spacing-xl);
}

.prototype-header {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.prototype-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.prototype-genre {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
    font-weight: var(--font-weight-regular);
    font-style: italic;
    opacity: 0.8;
}

.prototype-status {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: #7c4dff;
    margin-bottom: var(--spacing-md);
}

.prototype-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.prototype-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.prototype-contribution {
    margin-bottom: var(--spacing-lg);
}

.prototype-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: none;
    justify-content: flex-end;
}

/* Prototypes Section Responsive - 1 column on mobile */
@media (max-width: 768px) {
    .prototypes-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .prototypes-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .prototype-content {
        padding: var(--spacing-md);
    }
    
    .prototype-title {
        font-size: var(--font-size-base);
    }
    
    .prototype-status {
        font-size: var(--font-size-sm);
    }
    
    .prototype-description {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-sm);
    }
    
    .prototype-tech-tags {
        gap: 4px;
        margin-bottom: var(--spacing-sm);
    }
    
    .prototype-links {
        justify-content: flex-start;
        gap: var(--spacing-xs);
        padding-top: var(--spacing-sm);
    }
    
    .prototype-links .project-link {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .prototype-image {
        aspect-ratio: 16 / 10;
    }
}

/* Experience Section */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.experience-item {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-tertiary);
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    bottom: -2px;
    right: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 1;
    z-index: -1;
}

.experience-header {
    margin-bottom: var(--spacing-md);
}

.experience-company {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.experience-company a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.experience-company a:hover {
    color: var(--accent-primary);
}

.experience-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
}

.experience-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.experience-period {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.experience-location {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.experience-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.experience-achievements {
    list-style: none;
}

.experience-achievements li {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.experience-achievements li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-primary);
    font-size: var(--font-size-xs);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: rgba(40, 40, 40, 0.9);
    border-radius: var(--radius-md);
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-left: 4px solid #8b5a3c;
    text-align: center;
    transition: all 0.2s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(100, 100, 100, 0.5);
}

/* Skill category colors based on data-category attribute */

/* Game Development - Warm Orange/Copper */
.skill-item[data-category="gamedev"] {
    border-left-color: #e07b39;
    background: linear-gradient(135deg, rgba(224, 123, 57, 0.25) 0%, rgba(180, 90, 40, 0.15) 100%);
    border-color: rgba(224, 123, 57, 0.3);
}

/* Tools/Libraries - Deep Purple */
.skill-item[data-category="tools"] {
    border-left-color: #9c5bce;
    background: linear-gradient(135deg, rgba(156, 91, 206, 0.25) 0%, rgba(120, 60, 170, 0.15) 100%);
    border-color: rgba(156, 91, 206, 0.3);
}

/* Programming/Architecture - Teal/Cyan */
.skill-item[data-category="programming"] {
    border-left-color: #00b4d8;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.25) 0%, rgba(0, 140, 180, 0.15) 100%);
    border-color: rgba(0, 180, 216, 0.3);
}

/* Platforms/Networking - Emerald Green */
.skill-item[data-category="platforms"] {
    border-left-color: #2ecc71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.25) 0%, rgba(30, 160, 90, 0.15) 100%);
    border-color: rgba(46, 204, 113, 0.3);
}

/* Other/DevOps - Steel Blue */
.skill-item[data-category="other"] {
    border-left-color: #5d8aa8;
    background: linear-gradient(135deg, rgba(93, 138, 168, 0.25) 0%, rgba(70, 110, 140, 0.15) 100%);
    border-color: rgba(93, 138, 168, 0.3);
}

.skill-icon {
    display: none;
}

.skill-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    line-height: 1.3;
    text-align: center;
}

/* Light mode adjustments for skills */
[data-theme="light"] .skill-item {
    background-color: rgba(240, 240, 240, 0.9);
}

[data-theme="light"] .skill-item[data-category="gamedev"] {
    background: linear-gradient(135deg, rgba(224, 123, 57, 0.2) 0%, rgba(180, 90, 40, 0.1) 100%);
    border-color: rgba(224, 123, 57, 0.4);
}

[data-theme="light"] .skill-item[data-category="tools"] {
    background: linear-gradient(135deg, rgba(156, 91, 206, 0.2) 0%, rgba(120, 60, 170, 0.1) 100%);
    border-color: rgba(156, 91, 206, 0.4);
}

[data-theme="light"] .skill-item[data-category="programming"] {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2) 0%, rgba(0, 140, 180, 0.1) 100%);
    border-color: rgba(0, 180, 216, 0.4);
}

[data-theme="light"] .skill-item[data-category="platforms"] {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(30, 160, 90, 0.1) 100%);
    border-color: rgba(46, 204, 113, 0.4);
}

[data-theme="light"] .skill-item[data-category="other"] {
    background: linear-gradient(135deg, rgba(93, 138, 168, 0.2) 0%, rgba(70, 110, 140, 0.1) 100%);
    border-color: rgba(93, 138, 168, 0.4);
}

/* Education Section */
.education-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.education-item {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-tertiary);
    position: relative;
}

.education-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    bottom: -2px;
    right: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 1;
    z-index: -1;
}

.education-school {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.education-school a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.education-school a:hover {
    color: var(--accent-primary);
}

.education-degree {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--accent-primary);
    margin-bottom: var(--spacing-xs);
}

.education-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.education-period {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.education-location {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

/* Icon Button */
.icon-button {
    width: 40px;
    height: 40px;
    background-color: rgba(60, 60, 60, 0.8);
    border: 1px solid rgba(80, 80, 80, 0.5);
    border-radius: var(--radius-2xl);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
}

@media (hover: hover) {
    .icon-button:hover {
        background-color: #0052d4;
        border-color: #0052d4;
        transform: translateY(-2px);
        box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
    }
}

.icon-button:focus {
    outline: none;
}

.icon-button:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
    transform: none;
}

.icon-button .icon {
    font-size: var(--font-size-xl);
}

.icon-button .fas,
.icon-button .fab {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.icon-button:hover .fas,
.icon-button:hover .fab {
    color: var(--text-primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(10px);
    touch-action: manipulation;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 40px;
    height: 40px;
    background-color: rgba(60, 60, 60, 0.8);
    border: 1px solid rgba(80, 80, 80, 0.5);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
}

.modal-close:hover {
    background-color: #0052d4;
    border-color: #0052d4;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
}

.modal-close:focus {
    outline: none;
}

.modal-close:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
}

#modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.3s ease;
}

.modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    transform: translateY(-50%);
}

.modal-nav-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(60, 60, 60, 0.8);
    border: 1px solid rgba(80, 80, 80, 0.5);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: var(--font-size-3xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
}

.modal-nav-btn:hover {
    background-color: #0052d4;
    border-color: #0052d4;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
}

.modal-nav-btn:focus {
    outline: none;
}

.modal-nav-btn:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
}

/* Mobile Modal Optimizations */
@media (max-width: 768px) and (min-width: 481px) {
    .modal-content {
        max-width: 98%;
        max-height: 95%;
        border-radius: var(--radius-lg);
    }
    
    .modal-close {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }
    
    .modal-nav {
        padding: 0 var(--spacing-md);
    }
    
    .modal-nav-btn {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-2xl);
    }
}

/* Small Screen Optimizations - Full Screen */
@media (max-width: 480px) {
    .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        background-color: transparent;
    }
    
    #modal-image {
        width: 100vw;
        height: 100vh;
        object-fit: contain;
        background-color: var(--bg-primary);
    }
    
    .modal-close {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: var(--font-size-xl);
        background-color: rgba(60, 60, 60, 0.8);
        z-index: 1002;
        backdrop-filter: blur(10px);
    }
    
    .modal-nav {
        position: fixed;
        bottom: 40px;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        justify-content: center;
        gap: 80px;
        z-index: 1002;
    }
    
    .modal-nav-btn {
        width: 60px;
        height: 60px;
        background-color: rgba(60, 60, 60, 0.8);
        backdrop-filter: blur(10px);
        font-size: var(--font-size-3xl);
    }
}

/* Landscape Mode on Small Screens */
@media (max-height: 600px) and (orientation: landscape) {
    .modal-content {
        max-height: 90%;
        max-width: 95%;
    }
    
    #modal-image {
        max-height: 100%;
        width: auto;
        object-fit: contain;
    }
}

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    display: none;
}

.loading-indicator.active {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-tertiary);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile/Tablet styles */
@media (max-width: 1023px) {
    .container {
        max-width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .nav-title {
        font-size: var(--font-size-sm);
    }
    
    .hero-card {
        padding: var(--spacing-lg);
    }
    
    .hero-name {
        font-size: var(--font-size-2xl);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        /* aspect-ratio: 16/4 inherited from base */
    }
    
    .project-header {
        flex-direction: row;
        align-items: baseline;
        gap: var(--spacing-sm);
        flex-wrap: wrap;
    }
    
    .project-title {
        font-size: var(--font-size-2xl);
    }
    
    .project-genre {
        font-size: var(--font-size-sm);
    }
    
    .project-description {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }
    
    .project-content {
        padding: var(--spacing-lg);
    }
    
    .project-tech-tags {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: var(--font-size-xs);
        padding: 3px 8px;
    }
    
    .project-links {
        gap: var(--spacing-sm);
        justify-content: flex-start;
    }
    
    .project-link {
        padding: 6px 12px;
        font-size: var(--font-size-xs);
    }
    
    .contribution-list li {
        font-size: var(--font-size-sm);
        padding-left: var(--spacing-lg);
        line-height: 1.6;
    }
    
    .contribution-label {
        font-size: var(--font-size-sm);
    }
    
    .project-role {
        font-size: var(--font-size-sm);
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .skill-item {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-xs);
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 700px;
        padding: var(--spacing-2xl);
        padding-top: calc(var(--nav-height) + var(--spacing-2xl));
    }
    
    .nav-container {
        max-width: 700px;
        padding: 0 var(--spacing-2xl);
    }
    
    .nav-title {
        font-size: var(--font-size-lg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-title {
        font-size: 26px;
    }
    
    .project-content {
        padding: var(--spacing-2xl);
    }
    
    .project-links {
        justify-content: flex-end;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        /* aspect-ratio: 16/4 inherited from base */
    }
    
    .project-title {
        font-size: 24px;
    }
    
    .project-genre {
        font-size: var(--font-size-base);
    }
    
    .project-description {
        font-size: var(--font-size-base);
    }
    
    .project-content {
        padding: var(--spacing-xl);
    }
    
    .project-links {
        justify-content: flex-start;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
button:focus,
a:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Remove focus outline for nav buttons */
.nav-actions button:focus,
.menu-toggle:focus {
    outline: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    /* Account for fixed navigation header when scrolling to sections */
    scroll-padding-top: calc(var(--nav-height) + var(--spacing-lg));
}

/* ============================================
   Menu Toggle Button (Visible on all screen sizes)
   ============================================ */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(60, 60, 60, 0.8);
    border: 1px solid rgba(80, 80, 80, 0.5);
    border-radius: var(--radius-lg);
    cursor: pointer;
    padding: var(--spacing-sm);
    gap: 5px;
    transition: all 0.3s ease;
    margin-right: var(--spacing-sm);
    outline: none;
}

@media (hover: hover) {
    .menu-toggle:hover {
        background-color: #0052d4;
        border-color: #0052d4;
        transform: translateY(-2px);
        box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
    }
}

.menu-toggle:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
    transform: none;
}

.menu-toggle .menu-line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animated hamburger to X */
.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Mobile Navigation Menu
   ============================================ */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav.active {
    visibility: visible;
    pointer-events: auto;
}

/* Overlay */
.mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.active .mobile-nav-overlay {
    opacity: 1;
}

/* Slide-in Panel */
.mobile-nav-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

/* Header */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--bg-tertiary);
    background-color: #2a2a2a;
    min-height: var(--nav-height);
}

.mobile-nav-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    background-color: rgba(60, 60, 60, 0.8);
    border: 1px solid rgba(80, 80, 80, 0.5);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
}

.mobile-nav-close:hover {
    background-color: #0052d4;
    border-color: #0052d4;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
}

.mobile-nav-close:focus {
    outline: none;
}

.mobile-nav-close:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
}

/* Navigation Links */
.mobile-nav-links {
    list-style: none;
    padding: var(--spacing-lg);
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-links li {
    margin-bottom: var(--spacing-sm);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    outline: none;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background-color: #0052d4;
    border-color: #0052d4;
    transform: translateX(4px);
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.25), 0 0 20px rgba(0, 162, 255, 0.15);
}

.mobile-nav-link:focus {
    outline: none;
}

.mobile-nav-link:active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 212, 255, 0.25);
}

.mobile-nav-link .nav-icon {
    font-size: var(--font-size-lg);
    width: 28px;
    text-align: center;
    color: var(--accent-primary);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover .nav-icon {
    color: var(--text-primary);
}

.mobile-nav-link:active .nav-icon {
    color: var(--text-primary);
}

/* Navigation menu available on all screen sizes */ 