/* CSS Variables for Theme Support */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-primary: #3b82f6;
    --accent-secondary: #1e40af;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-heavy: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark Theme Colors */
.dark-theme {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-primary: #60a5fa;
    --accent-secondary: #3b82f6;
    --border-color: #2a2a2a;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
}

#backgroundCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-muted);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

/* Hyperlink styling */
a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Location and Time Header */
.location-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 400;
}

.location {
    text-transform: lowercase;
}

.time-separator {
    color: var(--text-secondary);
}

.current-time {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-primary);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.nav-brand a:hover {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Pokemon Ball in Navigation */
.nav-pokemon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    order: -1;
}

.nav-pokemon-container .pokemon-ball {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.nav-pokemon-container .pokemon-ball:hover {
    transform: scale(1.1) rotate(10deg);
    filter: brightness(1.2);
}

.pokemon-blurb {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.02em;
    max-width: 80px;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent-primary);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dark-theme .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.dark-theme .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.light-theme .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.light-theme .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    transform: translateY(-50px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-title .greeting {
    display: block;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.hero-title .name {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    min-height: 3.4em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Interactive Widget */
.interactive-widget {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-heavy);
}

/* Hero Photo */
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-heavy);
}

.hero-photo:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy), 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Photo Placeholder */
.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed var(--border-color);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
}

.photo-placeholder:hover {
    border-color: var(--accent-primary);
    background: rgba(96, 165, 250, 0.05);
    transform: scale(1.02);
}

.photo-icon {
    color: var(--text-muted);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.photo-placeholder:hover .photo-icon {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.photo-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0;
    transition: color 0.3s ease;
}

.photo-placeholder:hover .photo-text {
    color: var(--accent-primary);
}

/* Pokemon Ball animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes capture {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.2) rotate(90deg); }
    50% { transform: scale(0.8) rotate(180deg); }
    75% { transform: scale(1.1) rotate(270deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* Typing effect cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--accent-primary);
    font-weight: 300;
}

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

/* Enhanced particle interactions */
.particle-canvas:hover {
    cursor: crosshair;
}

/* Widget hover effects */
.interactive-widget:hover .widget-controls {
    opacity: 1;
}

.widget-controls {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Pokemon Ball Styles */
.pokemon-ball {
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.pokemon-ball:hover {
    transform: scale(1.1) rotate(10deg);
    filter: brightness(1.2);
}

.pokeball-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 30px 30px 0 0;
    border: 2px solid #333;
}

.pokeball-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 4px;
    background: #333;
    z-index: 2;
}

.pokeball-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 0 0 30px 30px;
    border: 2px solid #333;
}

.pokeball-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #333;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Pokemon Modal Styles */
.pokemon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.pokemon-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pokemon-modal-content {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
    position: relative;
}

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

.pokemon-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.pokemon-modal-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.pokemon-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    min-height: 250px;
}

.pokemon-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.pokemon-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pokemon-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.stat-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    letter-spacing: 0.02em;
}

.pokemon-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.02em;
}

/* Responsive modal */
@media (max-width: 768px) {
    .pokemon-modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pokemon-image {
        width: 150px;
        height: 150px;
    }
    
    .pokemon-modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Skill Boxes */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    animation: floatIn 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-delay: var(--delay);
}

.skill-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-primary);
}

.skill-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.skill-item {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 400;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.skill-item:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

/* Now Section */
.now {
    padding: 6rem 0;
}

.now-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.now-item {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.now-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-primary);
}

.now-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.now-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* Experience Section */
.projects {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.experience-row {
    width: 100%;
}

.experience-card {
    background-color: var(--bg-primary);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 200px;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}





.experience-content {
    padding: 2rem;
    text-align: center;
}

.experience-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.experience-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.experience-company {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

.experience-duration {
    color: var(--text-muted) !important;
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
    font-weight: 400 !important;
}

.experience-description {
    color: var(--text-secondary) !important;
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6 !important;
}

.experience-links {
    display: flex;
    gap: 1rem;
}

.experience-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.experience-link:hover {
    color: var(--accent-secondary);
}

/* Experience Hover Effects */
.experience-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}

.experience-card:hover .experience-hover {
    opacity: 1;
}

.hover-content {
    padding: 2rem;
    text-align: center;
    color: white;
    max-width: 90%;
}

.hover-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.01em;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.tech-tag {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

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

.hover-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.hover-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hover-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.hover-link:hover {
    background-color: var(--accent-primary);
    color: white;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-primary);
    border-radius: 0.375rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.contact-link:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.github-icon,
.linkedin-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-link:hover .github-icon,
.contact-link:hover .linkedin-icon {
    transform: scale(1.1);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .nav-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-pokemon-container {
        order: -1;
    }
    
    .nav-links {
        gap: 1rem;
        margin: 0;
    }
    
    .now-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Additional sleek styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced hover effects */
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.skill-tag:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Subtle gradient backgrounds */
.hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.about {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.contact {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Enhanced button styling */
.btn-primary:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

/* Improved contact link styling */
.contact-link:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-primary);
}
