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

/* Performance optimization - reduce animations for low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Performance optimization - reduce complex effects for low-end devices */
@media (max-width: 768px), (max-height: 600px) {
    .ufo-fleet,
    .star-field,
    .shooting-stars-container,
    .distant-ufos-container {
        animation-duration: 2s !important;
        animation-iteration-count: 1 !important;
    }
    
    .planet,
    .star-cluster,
    .black-hole {
        animation-duration: 5s !important;
        animation-iteration-count: 1 !important;
    }
}

/* Performance optimization - disable heavy effects on very low-end devices */
@media (max-width: 480px) {
    .ufo-fleet,
    .star-field,
    .shooting-stars-container,
    .distant-ufos-container,
    .planet,
    .star-cluster,
    .black-hole {
        display: none !important;
    }
    
    .container {
        background: var(--dark-bg) !important;
    }
}

:root {
    --primary-green: #7bff00;
    --secondary-green: #9fff00;
    --dark-bg: #081820;
    --darker-bg: #0f1b2d;
    --text-color: #7bff00;
}

body {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
    font-family: 'Press Start 2P', cursive;
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.6;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

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

/* Hide UFOs during splash screen only */
.splash-screen ~ .ufo-fleet {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.splash-screen.fade-out ~ .ufo-fleet {
    visibility: visible;
    opacity: 1;
}



.start-button {
    background: var(--darker-bg);
    color: var(--primary-green);
    border: 4px solid var(--primary-green);
    padding: 25px 50px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 
        0 0 0 3px var(--primary-green),
        inset 0 0 0 2px var(--primary-green),
        0 0 20px rgba(123, 255, 0, 0.3);
    position: relative;
    image-rendering: pixelated;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
    letter-spacing: 2px;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    border-radius: 0;
}

.start-button::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: var(--primary-green);
    z-index: -1;
    opacity: 0.15;
}

.start-button:hover {
    background: var(--primary-green);
    color: var(--darker-bg);
    transform: scale(1.08);
    box-shadow: 
        0 0 0 4px var(--primary-green),
        inset 0 0 0 3px var(--primary-green),
        0 0 30px rgba(123, 255, 0, 0.5);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
}

.start-button:active {
    transform: scale(0.95);
    box-shadow: 
        0 0 0 2px var(--primary-green),
        inset 0 0 0 4px var(--primary-green),
        0 0 15px rgba(123, 255, 0, 0.4);
    letter-spacing: 1px;
}

/* Animated Background */
.star {
    position: fixed;
    width: 2px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: twinkle 2s infinite;
    pointer-events: none;
    z-index: 0;
}

.star:nth-child(3n) {
    background: var(--secondary-green);
    animation-duration: 3s;
}

.star:nth-child(3n+1) {
    background: #ffffff;
    animation-duration: 1.5s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in, visibility 0.8s ease-in;
}

.container.show {
    opacity: 1;
    visibility: visible;
}



/* Navigation */
.menu {
    margin-bottom: 30px;
    text-align: center;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-item {
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 20px;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 12px;
    background: rgba(123, 255, 0, 0.1);
}

.menu-item:hover {
    background: var(--primary-green);
    color: var(--darker-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 255, 0, 0.3);
}

.menu-item.active {
    background: var(--primary-green);
    color: var(--darker-bg);
    box-shadow: 0 4px 15px rgba(123, 255, 0, 0.4);
}

/* Hide scrollbars without affecting layout */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html, body {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

/* Content Sections */
.content {
    position: relative;
    z-index: 2;
}

.section {
    display: none;
    animation: fadeInUp 0.5s ease-out;
    margin-bottom: 60px;
}

.section.active {
    display: block;
    will-change: transform;
    contain: content;
}

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

/* Section titles spacing */
.section h2.pixel-text {
    margin-bottom: 10px;
    font-size: 28px;
    color: var(--text-color);
    text-shadow: 1px 1px var(--darker-bg);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.avatar-container {
    display: flex;
    justify-content: center;
}

.pixel-avatar {
    width: 260px;
    height: 260px;
    background: var(--darker-bg);
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-left: -15px;
    margin-top: 15px;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.pixel-avatar:hover .avatar-image {
    transform: scale(1.05);
}



.about-paragraph {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Enhanced Typing Effect */
.enhanced-typing-text {
    position: relative;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 30px;
    color: var(--text-color);
    overflow: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.enhanced-typing-text.typing-started {
    opacity: 1;
    visibility: visible;
    height: auto;
    margin-bottom: 30px;
    padding: 0;
    overflow: visible;
}

.enhanced-typing-text::after {
    content: '|';
    position: relative;
    display: inline-block;
    color: var(--primary-green);
    font-weight: bold;
    animation: blink 1s infinite;
    margin-left: 2px;
}

/* Persistent blinking cursor that stays at the end */
.enhanced-typing-text.cursor-active::after {
    animation: enhancedBlink 0.8s infinite, cursorPulse 2s infinite;
    text-shadow: 0 0 10px var(--primary-green);
}

/* Add a persistent cursor for when typing is complete */
.enhanced-typing-text.typing-complete::after {
    content: '|';
    position: relative;
    display: inline-block;
    color: var(--primary-green);
    font-weight: bold;
    animation: blink 1s infinite;
    margin-left: 2px;
    text-shadow: 0 0 5px var(--primary-green);
}

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





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

@keyframes cursorPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Typing speed variations for different characters */
.enhanced-typing-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    animation: charAppear 0.1s ease-out forwards;
}

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

/* Special effects for punctuation */
.enhanced-typing-text .char.punctuation {
    animation-delay: 0.2s;
    color: var(--secondary-green);
}

/* Special effects for keywords */
.enhanced-typing-text .char.keyword {
    color: var(--primary-green);
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-green);
}

/* Ensure proper word spacing and prevent word breaking */
.enhanced-typing-text {
    word-spacing: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Prevent characters within words from breaking - more aggressive */
.enhanced-typing-text .char:not(.space) {
    white-space: nowrap;
    display: inline;
}

/* Ensure spaces create proper word separation */
.enhanced-typing-text .char.space {
    white-space: pre;
    margin-right: 0.1em;
}

/* Force all non-space characters to stay together */
.enhanced-typing-text {
    word-break: keep-all;
    overflow-wrap: normal;
}

/* Additional protection for word boundaries */
.enhanced-typing-text .char {
    word-break: keep-all;
}

/* Line break animation */
.enhanced-typing-text .line-break {
    display: block;
    height: 0;
    animation: lineExpand 0.3s ease-out forwards;
}

@keyframes lineExpand {
    to {
        height: 1.8em;
    }
}

/* Stats Container - Enhanced */
.stats-container {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(123, 255, 0, 0.08) 0%, rgba(159, 255, 0, 0.05) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(123, 255, 0, 0.2),
        inset 0 0 20px rgba(123, 255, 0, 0.05);
    transition: all 0.3s ease;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(123, 255, 0, 0.1), transparent);
    transform: rotate(45deg);
    animation: statsShine 3s ease-in-out infinite;
    pointer-events: none;
}

.stats-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(123, 255, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes statsShine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.1), rgba(159, 255, 0, 0.05));
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 
        0 4px 15px rgba(123, 255, 0, 0.2),
        inset 0 0 10px rgba(123, 255, 0, 0.05);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 255, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(123, 255, 0, 0.3),
        0 0 20px rgba(123, 255, 0, 0.2),
        inset 0 0 15px rgba(123, 255, 0, 0.1);
    border-color: var(--secondary-green);
}

.stat-item:active {
    transform: translateY(-2px) scale(0.98);
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 8px;
    text-shadow: 0 0 10px var(--primary-green);
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--secondary-green);
    text-shadow: 0 0 15px var(--secondary-green);
    transform: scale(1.1);
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--secondary-green);
    text-shadow: 0 0 5px var(--secondary-green);
}

/* Enhanced counter animations */
.stat-number.counting {
    animation: numberPulse 0.5s ease-in-out;
}

@keyframes numberPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Stat completion animation */
@keyframes statCompletion {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Sparkle effect */
@keyframes sparkleEffect {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

/* Ripple effect */
@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Stat bounce animation */
@keyframes statBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Particle burst animation */
@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(var(--end-x) - 100vw/2), calc(var(--end-y) - 100vh/2)) scale(0);
        opacity: 0;
    }
}

/* Particle effects for stats */
.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.stat-item:hover::after {
    animation: statParticle 1s ease-out;
}

@keyframes statParticle {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

/* Floating particles around stats */
.stats-container .floating-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 50%;
    pointer-events: none;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
}

/* Enhanced glow effects for stats */
.stats-container:hover {
    box-shadow: 
        0 0 30px rgba(123, 255, 0, 0.3),
        inset 0 0 30px rgba(123, 255, 0, 0.1);
    transform: translateY(-2px);
}

/* Pulse animation for active stats */
.stat-item.active {
    animation: statPulse 2s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(123, 255, 0, 0.2),
            inset 0 0 10px rgba(123, 255, 0, 0.05);
    }
    50% {
        box-shadow: 
            0 4px 25px rgba(123, 255, 0, 0.4),
            inset 0 0 20px rgba(123, 255, 0, 0.1);
    }
}

/* Loading animation for stats */
.stats-container.loading {
    animation: statsLoading 1.5s ease-in-out infinite;
}

@keyframes statsLoading {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Responsive design for stats */
@media (max-width: 768px) {
    .stats-container {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .stat-label {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.2em;
    }
}

/* Enhanced Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.1), rgba(159, 255, 0, 0.05));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 
        0 8px 25px rgba(123, 255, 0, 0.2),
        inset 0 0 20px rgba(123, 255, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 255, 0, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(123, 255, 0, 0.3),
        0 0 30px rgba(123, 255, 0, 0.2),
        inset 0 0 30px rgba(123, 255, 0, 0.1);
    border-color: var(--secondary-green);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(123, 255, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(159, 255, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(123, 255, 0, 0.1) 0%, transparent 70%);
    animation: projectGlow 4s ease-in-out infinite;
}

.project-image::after {
    content: '👨‍💻';
    font-size: 4em;
    opacity: 0.7;
    animation: projectIcon 3s ease-in-out infinite;
}

.project-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    pointer-events: none;
    border: 1px solid;
}

.project-category-badge.web {
    background: rgba(0, 200, 255, 0.2);
    color: #00c8ff;
    border-color: rgba(0, 200, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
}

.project-category-badge.python {
    background: rgba(255, 200, 0, 0.2);
    color: #ffc800;
    border-color: rgba(255, 200, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.2);
}

.project-category-badge.windows {
    background: rgba(200, 100, 255, 0.2);
    color: #c864ff;
    border-color: rgba(200, 100, 255, 0.5);
    box-shadow: 0 0 10px rgba(200, 100, 255, 0.2);
}

@keyframes projectGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes projectIcon {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-links {
    transform: translateY(0);
}

.project-link {
    padding: 12px 20px;
    background: var(--primary-green);
    color: var(--darker-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 255, 0, 0.4);
}

.project-content {
    padding: 25px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content h3 {
    color: var(--primary-green);
    font-size: 1.4em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--primary-green);
}

.project-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(123, 255, 0, 0.2);
    color: var(--primary-green);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid var(--primary-green);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-tag:hover {
    background: var(--primary-green);
    color: var(--darker-bg);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(123, 255, 0, 0.5);
}

.project-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.project-feature-tag {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid;
    letter-spacing: 0.3px;
}

/* Enhanced Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(123, 255, 0, 0.1);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Press Start 2P', cursive;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 255, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    background: var(--primary-green);
    color: var(--darker-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 255, 0, 0.4);
}

.filter-btn.active {
    background: var(--primary-green);
    color: var(--darker-bg);
    box-shadow: 0 0 20px rgba(123, 255, 0, 0.5);
}

/* Project Card Animations */
.project-card.fade-in {
    animation: projectFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Project Card Hover Effects */
.project-card:hover .project-image::after {
    animation: projectIconHover 0.5s ease-out;
}

@keyframes projectIconHover {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
    
    .project-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
        font-family: 'Press Start 2P', cursive;
    }
}

/* Enhanced Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.skill-category {
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.1), rgba(159, 255, 0, 0.05));
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 30px rgba(123, 255, 0, 0.2),
        inset 0 0 20px rgba(123, 255, 0, 0.05);
    cursor: pointer;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 255, 0, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.skill-category:hover::before {
    left: 100%;
}

.skill-category:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 20px 50px rgba(123, 255, 0, 0.4),
        0 0 40px rgba(123, 255, 0, 0.3),
        inset 0 0 30px rgba(123, 255, 0, 0.1);
    border-color: var(--secondary-green);
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.15), rgba(159, 255, 0, 0.08));
}

/* Remove floating particles from skill categories */
.skill-category::after {
    display: none;
}

/* Remove floating particles from skill items */
.skill-item::after {
    display: none;
}

/* Remove skill mastery badges */
.skill-mastery-badge {
    display: none;
}

/* Skill Level Indicators */
.skill-level-indicator {
    position: absolute;
    top: -25px;
    right: 0;
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green));
    color: #000;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(123, 255, 0, 0.4);
}

.skill-bar:hover .skill-level-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Progress Animation */
.skill-progress.animate .skill-fill {
    animation: skillProgressPulse 0.6s ease-out;
}

@keyframes skillProgressPulse {
    0% { transform: scaleX(1); }
    50% { transform: scaleX(1.05); }
    100% { transform: scaleX(1); }
}

/* Skill Category Title Enhancement */
.skill-category h3 {
    color: var(--primary-green);
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 15px var(--primary-green);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.skill-category:hover h3 {
    color: #ffffff;
    text-shadow: 0 0 20px var(--primary-green);
    transform: scale(1.05);
}

.skill-bars {
    position: relative;
    z-index: 2;
}

.skill-bar {
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.skill-bar:hover {
    transform: translateX(5px);
}

.skill-name {
    display: block;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    text-shadow: 0 0 5px var(--primary-green);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-name:hover {
    color: var(--primary-green);
    text-shadow: 0 0 10px var(--primary-green);
    transform: scale(1.05);
}

.skill-progress {
    height: 12px;
    background: rgba(123, 255, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(123, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.skill-progress:hover {
    height: 16px;
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(123, 255, 0, 0.4);
}

.skill-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: progressShine 2s ease-in-out infinite;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        var(--secondary-green) 50%, 
        var(--primary-green) 100%);
    border-radius: 10px;
    position: relative;
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 0 10px rgba(123, 255, 0, 0.5),
        inset 0 0 5px rgba(255, 255, 255, 0.2);
}

.skill-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: fillGlow 1.5s ease-in-out infinite;
}

.skill-fill.animate {
    animation: skillFill 2s ease-out forwards;
}

@keyframes progressShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes fillGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes skillFill {
    from { width: 0%; }
    to { width: var(--target-width); }
}

/* Enhanced Skill Grid */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.skill-item {
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.1), rgba(159, 255, 0, 0.05));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 5px 15px rgba(123, 255, 0, 0.2),
        inset 0 0 10px rgba(123, 255, 0, 0.05);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    hyphens: auto;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 255, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(123, 255, 0, 0.4),
        0 0 25px rgba(123, 255, 0, 0.3),
        inset 0 0 15px rgba(123, 255, 0, 0.1);
    border-color: var(--secondary-green);
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.15), rgba(159, 255, 0, 0.08));
}

/* Add floating particles around skill items */
.skill-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: skillItemParticle 4s ease-in-out infinite;
    pointer-events: none;
}

.skill-item:hover::after {
    opacity: 1;
    animation: skillItemParticle 2s ease-in-out infinite;
}

/* Skill Mastery Badges */
.skill-mastery-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    z-index: 10;
}

.skill-mastery-badge::before {
    content: '🏆';
    margin-right: 5px;
}

.skill-category:hover .skill-mastery-badge {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Skill Category Enhancement - Add mastery badges */
.skill-category[data-mastery="expert"] .skill-mastery-badge {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    content: '🔥 Expert';
}

.skill-category[data-mastery="advanced"] .skill-mastery-badge {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    content: '⚡ Advanced';
}

.skill-category[data-mastery="intermediate"] .skill-mastery-badge {
    background: linear-gradient(45deg, #45b7d1, #96c93d);
    content: '🚀 Intermediate';
}

@keyframes skillItemParticle {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(0px) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) translateY(-15px) scale(1.3);
        opacity: 1;
    }
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.2), rgba(159, 255, 0, 0.1));
    border-color: var(--secondary-green);
    box-shadow: 
        0 10px 25px rgba(123, 255, 0, 0.4),
        0 0 20px rgba(123, 255, 0, 0.3),
        inset 0 0 15px rgba(123, 255, 0, 0.1);
    color: var(--secondary-green);
    text-shadow: 0 0 10px var(--secondary-green);
}

.skill-item:active {
    transform: translateY(-2px) scale(0.98);
}

/* Skill Item Text Styling */
.skill-item {
    text-shadow: 0 0 5px var(--primary-green);
    letter-spacing: 0.5px;
}

/* Staggered Animation Hidden Initial State */
.skill-category,
.skill-item,
.stat-card,
.timeline-item {
    opacity: 0;
    transform: translateY(20px);
}

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

@keyframes skillItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Skill Level Indicators */
.skill-bar::after {
    content: attr(data-level) '%';
    position: absolute;
    right: 0;
    top: -2px;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .skill-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .skill-item {
        padding: 15px 10px;
        font-size: 11px;
        min-height: 80px;
    }
}

/* Enhanced Experience Section */
.experience-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.experience-timeline {
    position: relative;
    padding-left: 40px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        var(--primary-green) 0%, 
        rgba(123, 255, 0, 0.3) 50%, 
        var(--primary-green) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(123, 255, 0, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

@keyframes timelineSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: -29.5px;
    top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 16px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(145deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    box-shadow: 
        0 0 15px rgba(123, 255, 0, 0.5),
        inset 0 0 10px rgba(123, 255, 0, 0.3);
    animation: timelinePulse 3s ease-in-out infinite;
    z-index: 2;
    /* Perfect centering: line center is at 18.5px (17px + 1.5px), dot center should match */
    position: relative;
    margin: 0;
}

.timeline-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-green), transparent);
    margin-top: 5px;
    /* Remove the small line - it was causing the visual artifact */
    display: none;
}

.timeline-glow {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(123, 255, 0, 0.2), transparent);
    border-radius: 50%;
    animation: timelineGlow 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(123, 255, 0, 0.5);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(123, 255, 0, 0.8);
    }
}

@keyframes timelineGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}

.timeline-content {
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.08), 
        rgba(123, 255, 0, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 25px;
    margin-left: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 255, 0, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(123, 255, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-green);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.timeline-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.15), 
        rgba(123, 255, 0, 0.05));
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(123, 255, 0, 0.2);
}

.timeline-title h3 {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(123, 255, 0, 0.3);
}

.timeline-company {
    color: var(--secondary-green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.timeline-date {
    color: var(--text-color);
    font-size: 12px;
    opacity: 0.8;
    font-style: italic;
}

.timeline-description {
    margin-top: 15px;
}

.timeline-description p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

.timeline-project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-link-small {
    background: linear-gradient(145deg, rgba(123, 255, 0, 0.1), rgba(123, 255, 0, 0.05));
    color: var(--primary-green);
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.project-link-small:hover {
    background: var(--primary-green);
    color: var(--darker-bg);
    box-shadow: 0 0 15px rgba(123, 255, 0, 0.3);
    transform: translateY(-2px);
}

.timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.achievement-tag {
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.15), 
        rgba(123, 255, 0, 0.05));
    color: var(--primary-green);
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--primary-green);
    transition: all 0.3s ease;
    text-shadow: 0 0 3px rgba(123, 255, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.achievement-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 255, 0, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.achievement-tag:hover::before {
    left: 100%;
}

.achievement-tag:hover {
    background: var(--primary-green);
    color: var(--bg-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(123, 255, 0, 0.4);
    text-shadow: none;
}

/* Experience Stats */
.experience-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: start;
}

.stat-card {
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.08), 
        rgba(123, 255, 0, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 255, 0, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(123, 255, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-green);
}

.stat-icon {
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.15), 
        rgba(123, 255, 0, 0.05));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(123, 255, 0, 0.2);
}

.stat-info h4 {
    color: var(--primary-green);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(123, 255, 0, 0.3);
}

.stat-info p {
    color: var(--text-color);
    font-size: 12px;
    opacity: 0.8;
}

.stat-badge {
    display: inline-block;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.2), 
        rgba(123, 255, 0, 0.1));
    color: var(--primary-green);
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid var(--primary-green);
    margin-top: 8px;
    text-shadow: 0 0 3px rgba(123, 255, 0, 0.5);
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 5px rgba(123, 255, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 15px rgba(123, 255, 0, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .experience-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .experience-timeline {
        padding-left: 30px;
    }
    
    .experience-timeline::before {
        left: 13px;
        width: 2px;
    }
    
    .timeline-marker {
        left: -24px;
        width: 16px;
    }
    
    .timeline-dot {
        margin: 0;
    }
    
    .timeline-content {
        margin-left: 20px;
        padding: 20px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Achievements Showcase Section */
.achievements-showcase {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.05), 
        rgba(123, 255, 0, 0.02));
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    text-align: center;
}

.achievements-showcase h3 {
    margin-bottom: 40px;
    font-size: 24px;
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(123, 255, 0, 0.5);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.achievement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px 15px;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.08), 
        rgba(123, 255, 0, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 180px;
    cursor: pointer;
}

/* Unique border patterns for each achievement using pseudo-elements */
.achievement-item:nth-child(1)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #7bff00, #00ff88, #7bff00);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.achievement-item:nth-child(2)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b00, #7bff00, #ff6b00);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.achievement-item:nth-child(3)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #006bff, #7bff00, #006bff);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.achievement-item:nth-child(4)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #7bff00, #ff00ff);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.achievement-item:nth-child(5)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffff00, #7bff00, #ffff00);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.achievement-item:nth-child(6)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #7bff00, #ff0000);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.achievement-item:hover::after {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { filter: brightness(1) saturate(1); }
    100% { filter: brightness(1.3) saturate(1.5); }
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 255, 0, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.achievement-item:hover::before {
    left: 100%;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(123, 255, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-green);
}

.achievement-icon {
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.2), 
        rgba(123, 255, 0, 0.1));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(123, 255, 0, 0.2);
    flex-shrink: 0;
}

.achievement-content h4 {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 0 5px rgba(123, 255, 0, 0.3);
}

.achievement-content p {
    color: var(--text-color);
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.9;
}

/* Responsive Design for Achievements */
@media (max-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .achievements-showcase {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .achievement-item {
        padding: 15px 10px;
        min-height: 160px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .achievement-content h4 {
        font-size: 14px;
    }
    
    .achievement-content p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .achievement-item {
        flex-direction: row;
        text-align: left;
        padding: 15px;
        min-height: auto;
    }
    
    .achievement-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Mute Button Styles */
.mute-button-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: auto;
}

.mute-button {
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.15), 
        rgba(123, 255, 0, 0.08));
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--primary-green);
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 4px 12px rgba(123, 255, 0, 0.3),
        inset 0 0 8px rgba(123, 255, 0, 0.1);
    text-shadow: 0 0 4px var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    image-rendering: pixelated;
}

.mute-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 255, 0, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.mute-button:hover::before {
    left: 100%;
}

.mute-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 
        0 6px 20px rgba(123, 255, 0, 0.4),
        0 0 15px rgba(123, 255, 0, 0.3),
        inset 0 0 12px rgba(123, 255, 0, 0.15);
    border-color: var(--secondary-green);
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.2), 
        rgba(123, 255, 0, 0.12));
}

.mute-button:active {
    transform: translateY(-1px) scale(1.01);
}

.mute-text {
    font-size: 8px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
}

/* Muted state */
.mute-button[data-muted="true"] {
    background: linear-gradient(145deg, 
        rgba(255, 107, 107, 0.15), 
        rgba(255, 107, 107, 0.08));
    border-color: #ff6b6b;
    box-shadow: 
        0 4px 12px rgba(255, 107, 107, 0.3),
        inset 0 0 8px rgba(255, 107, 107, 0.1);
    text-shadow: 0 0 4px #ff6b6b;
    color: #ff6b6b;
}

.mute-button[data-muted="true"]:hover {
    box-shadow: 
        0 6px 20px rgba(255, 107, 107, 0.4),
        0 0 15px rgba(255, 107, 107, 0.3),
        inset 0 0 12px rgba(255, 107, 107, 0.15);
    border-color: #ff8e8e;
    background: linear-gradient(145deg, 
        rgba(255, 107, 107, 0.2), 
        rgba(255, 107, 107, 0.12));
}

/* Muted state */
.mute-button[data-muted="true"] {
    background: linear-gradient(145deg, 
        rgba(255, 107, 107, 0.15), 
        rgba(255, 107, 107, 0.08));
    border-color: #ff6b6b;
    box-shadow: 
        0 5px 15px rgba(255, 107, 107, 0.3),
        inset 0 0 10px rgba(255, 107, 107, 0.1);
    text-shadow: 0 0 5px #ff6b6b;
}

.mute-button[data-muted="true"]:hover {
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.4),
        0 0 20px rgba(255, 107, 107, 0.3),
        inset 0 0 15px rgba(255, 107, 107, 0.15);
    border-color: #ff8e8e;
    background: linear-gradient(145deg, 
        rgba(255, 107, 107, 0.2), 
        rgba(255, 107, 107, 0.12));
}

.mute-button[data-muted="true"] .mute-icon {
    content: '🔇';
}

.mute-button[data-muted="true"] .mute-text {
    content: 'SOUND OFF';
}

/* Animation for button press */
@keyframes muteButtonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.mute-button.pressed {
    animation: muteButtonPress 0.2s ease-out;
}

/* Responsive design */
@media (max-width: 768px) {
    .mute-button-container {
        top: 60px;
        right: 15px;
    }
    
    .mute-button {
        padding: 10px 16px;
        font-size: 8px;
        min-width: 100px;
    }
    
    .mute-icon {
        font-size: 12px;
    }
    
    .mute-text {
        font-size: 6px;
    }
}

@media (max-width: 480px) {
    .mute-button-container {
        top: 55px;
        right: 10px;
    }
    
    .mute-button {
        padding: 8px 12px;
        font-size: 6px;
        min-width: 80px;
    }
    
    .mute-icon {
        font-size: 10px;
    }
    
    .mute-text {
        font-size: 5px;
    }
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

/* Contact Info Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Contact link wrapper */
.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.08), 
        rgba(123, 255, 0, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 255, 0, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 
        0 10px 30px rgba(123, 255, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-green);
}

.contact-icon-container {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.15), 
        rgba(123, 255, 0, 0.05));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(123, 255, 0, 0.2);
}

.contact-icon {
    font-size: 28px;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(123, 255, 0, 0.3), transparent);
    border-radius: 15px;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.contact-details {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.contact-details h4 {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(123, 255, 0, 0.3);
}

.contact-details p {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 5px;
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-status {
    color: var(--secondary-green);
    font-size: 11px;
    font-style: italic;
    opacity: 0.8;
}

.contact-action {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-action {
    opacity: 1;
    transform: translateX(0);
}

.contact-item:hover .contact-icon-container {
    transform: rotate(5deg) scale(1.1);
}

.copy-btn {
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.15), 
        rgba(123, 255, 0, 0.05));
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-green);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(123, 255, 0, 0.3);
}

/* Contact Form Section */
.contact-form-container {
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.08), 
        rgba(123, 255, 0, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(123, 255, 0, 0.05), 
        transparent);
    transition: left 0.8s ease;
}

.contact-form-container:hover::before {
    left: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(123, 255, 0, 0.3);
}

.form-header p {
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.input-container {
    position: relative;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: linear-gradient(145deg, 
        rgba(123, 255, 0, 0.08), 
        rgba(123, 255, 0, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 14px;
    font-family: 'Press Start 2P', cursive;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.input-container textarea {
    padding-top: 15px;
    resize: vertical;
    min-height: 100px;
}

.input-container input:focus,
.input-container textarea:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 
        0 0 20px rgba(123, 255, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.input-focus-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 12px;
    background: linear-gradient(145deg, 
        var(--primary-green), 
        var(--secondary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.input-container input:focus ~ .input-focus-border,
.input-container textarea:focus ~ .input-focus-border {
    opacity: 0.3;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-family: 'Press Start 2P', cursive;
    z-index: 3;
    pointer-events: none;
}

.input-container textarea ~ .input-icon {
    top: 20px;
    transform: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.submit-btn {
    flex: 1;
    padding: 18px 30px;
    background: linear-gradient(145deg, 
        var(--primary-green), 
        var(--secondary-green));
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Press Start 2P', cursive;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(123, 255, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-text {
    z-index: 2;
    position: relative;
    text-align: center;
}

.btn-icon {
    font-size: 18px;
    z-index: 2;
    position: relative;
    margin-left: 5px;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(123, 255, 0, 0.3), transparent);
    border-radius: 15px;
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}



/* Contact Particles */
.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) { 
    top: 20%; left: 10%; 
    animation-duration: 8s; 
}
.particle:nth-child(2) { 
    top: 40%; left: 80%; 
    animation-duration: 12s; 
}
.particle:nth-child(3) { 
    top: 60%; left: 20%; 
    animation-duration: 10s; 
}
.particle:nth-child(4) { 
    top: 80%; left: 70%; 
    animation-duration: 15s; 
}
.particle:nth-child(5) { 
    top: 30%; left: 90%; 
    animation-duration: 11s; 
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
        padding: 0 10px;
    }
    
    .contact-item {
        padding: 15px;
        gap: 12px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .contact-icon-container {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .contact-icon {
        font-size: 20px;
    }
    
    .contact-details {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .contact-details h4 {
        font-size: 13px;
        word-break: break-word;
    }
    
    .contact-details p {
        font-size: 11px;
        word-break: break-all;
        overflow-wrap: break-word;
        line-height: 1.4;
    }
    
    .contact-status {
        font-size: 9px;
        display: block;
        margin-top: 4px;
    }
    
    .contact-action {
        flex-shrink: 0;
        opacity: 1;
        transform: translateX(0);
    }
    
    .copy-btn {
        padding: 6px;
        font-size: 14px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .contact-form-container {
        padding: 20px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-container {
        gap: 15px;
        padding: 0 5px;
    }
    
    .contact-item {
        padding: 12px;
        gap: 10px;
    }
    
    .contact-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon {
        font-size: 18px;
    }
    
    .contact-details h4 {
        font-size: 11px;
    }
    
    .contact-details p {
        font-size: 10px;
    }
    
    .contact-status {
        font-size: 8px;
    }
    
    .copy-btn {
        padding: 5px;
        font-size: 12px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .contact-form-container {
        padding: 15px 10px;
    }
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* CV Download Button Styles */
.cv-download-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: transparent;
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
    box-shadow: 
        0 4px 15px rgba(123, 255, 0, 0.2);
}

.cv-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.cv-download-btn:hover::before {
    left: 100%;
}

.cv-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(123, 255, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    background: rgba(123, 255, 0, 0.1);
    color: var(--secondary-green);
}

.cv-download-btn:active {
    transform: translateY(-1px);
}

.cv-download-btn .btn-icon {
    font-size: 16px;
    z-index: 2;
    position: relative;
}

.cv-download-btn .btn-text {
    z-index: 2;
    position: relative;
}

.cv-download-btn .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(123, 255, 0, 0.1), 
        transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cv-download-btn:hover .btn-glow {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .menu {
        margin-bottom: 20px;
    }
    
    .menu ul {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 5px 0;
    }
    
    .menu ul::-webkit-scrollbar {
        display: none;
    }
    
    .menu-item {
        padding: 10px 16px;
        font-size: 10px;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 6px;
        min-width: fit-content;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .pixel-text {
        font-size: 24px;
    }
    
    .about-paragraph {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .menu ul {
        gap: 6px;
    }
    
    .menu-item {
        padding: 8px 12px;
        font-size: 9px;
    }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}



/* Pixelated Earth and UFO Invasion Background */
.earth-container {
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.pixelated-earth {
    width: 120px;
    height: 120px;
    position: relative;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.earth-pixels {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, #4a90e2 0%, #4a90e2 15%, transparent 15%),
        radial-gradient(circle at 70% 60%, #4a90e2 0%, #4a90e2 12%, transparent 12%),
        radial-gradient(circle at 20% 80%, #4a90e2 0%, #4a90e2 8%, transparent 8%),
        radial-gradient(circle at 80% 20%, #4a90e2 0%, #4a90e2 10%, transparent 10%),
        radial-gradient(circle at 50% 50%, #4a90e2 0%, #4a90e2 25%, #2d5aa0 25%, #2d5aa0 35%, #1e3a6b 35%, #1e3a6b 45%, #0f1f3d 45%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(74, 144, 226, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: earthRotate 20s linear infinite;
    position: relative;
}

.earth-pixels::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 30%, #7cb342 0%, #7cb342 8%, transparent 8%),
        radial-gradient(circle at 60% 70%, #7cb342 0%, #7cb342 6%, transparent 6%),
        radial-gradient(circle at 25% 60%, #7cb342 0%, #7cb342 4%, transparent 4%),
        radial-gradient(circle at 75% 40%, #7cb342 0%, #7cb342 5%, transparent 5%);
    border-radius: 50%;
    opacity: 0.7;
    animation: earthRotate 15s linear infinite reverse;
}

@keyframes earthRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* UFO Fleet */
.ufo-fleet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ufo {
    position: absolute;
    width: 30px;
    height: 15px;
    background: 
        radial-gradient(ellipse at center, #4caf50 0%, #4caf50 40%, #2e7d32 40%, #2e7d32 60%, #1b5e20 60%),
        linear-gradient(to bottom, #4caf50 0%, #2e7d32 50%, #1b5e20 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 
        0 0 10px rgba(76, 175, 80, 0.6),
        inset 0 0 5px rgba(255, 255, 255, 0.3);
    animation: ufoFloat 8s ease-in-out infinite paused;
}

.ufo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: #2196f3;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.8);
    animation: ufoBeam 2s ease-in-out infinite;
}

.ufo::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: #ff9800;
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(255, 152, 0, 0.8);
    animation: ufoEngine 0.5s ease-in-out infinite alternate;
}

/* Enhanced UFO Beam with scanning effect */
.ufo-beam {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(33, 150, 243, 0.8), transparent);
    border-radius: 2px;
    animation: beamScan 3s ease-in-out infinite;
}

@keyframes beamScan {
    0%, 100% { 
        opacity: 0.3;
        height: 30px;
        box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
    }
    50% { 
        opacity: 0.8;
        height: 60px;
        box-shadow: 0 0 15px rgba(33, 150, 243, 0.8);
    }
}

/* UFO Hover Effects */
.ufo:hover {
    filter: brightness(1.5) drop-shadow(0 0 20px rgba(76, 175, 80, 0.8));
    transform: scale(1.1);
}

/* Earth Hover Effects */
.earth-container:hover .earth-pixels {
    animation-duration: 10s;
    box-shadow: 
        0 0 30px rgba(74, 144, 226, 0.8),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* UFO Invasion Patterns */
.ufo-formation-1 {
    animation: formation1 8s linear infinite paused;
    filter: drop-shadow(0 0 3px rgba(76, 175, 80, 0.4));
}

.ufo-formation-2 {
    animation: formation2 10s linear infinite paused;
    filter: drop-shadow(0 0 3px rgba(76, 175, 80, 0.4));
}

.ufo-formation-3 {
    animation: formation3 12s linear infinite paused;
    filter: drop-shadow(0 0 3px rgba(76, 175, 80, 0.4));
}

.ufo-formation-4 {
    animation: formation4 10s linear infinite paused;
    filter: drop-shadow(0 0 3px rgba(76, 175, 80, 0.4));
}

.ufo-formation-5 {
    animation: formation5 11s linear infinite paused;
    filter: drop-shadow(0 0 3px rgba(76, 175, 80, 0.4));
}

/* Activate UFO animations after splash screen is dismissed */
.splash-screen.fade-out ~ .ufo-fleet .ufo-formation-1 {
    animation-play-state: running;
}

.splash-screen.fade-out ~ .ufo-fleet .ufo-formation-2 {
    animation-play-state: running;
}

.splash-screen.fade-out ~ .ufo-fleet .ufo-formation-3 {
    animation-play-state: running;
}

.splash-screen.fade-out ~ .ufo-fleet .ufo-formation-4 {
    animation-play-state: running;
}

.splash-screen.fade-out ~ .ufo-fleet .ufo-formation-5 {
    animation-play-state: running;
}

.splash-screen.fade-out ~ .ufo-fleet .ufo {
    animation-play-state: running;
}

/* Invasion Alert Enhanced */
.invasion-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.9), rgba(211, 47, 47, 0.9));
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    z-index: 1000;
    animation: alertBlink 1s ease-in-out infinite;
    border: 2px solid #f44336;
    box-shadow: 
        0 0 20px rgba(244, 67, 54, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes alertBlink {
    0%, 100% { 
        opacity: 1;
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
    }
    50% { 
        opacity: 0.7;
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 0 30px rgba(244, 67, 54, 0.8);
    }
}

/* Pixelated Stars (enhanced) */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
    image-rendering: pixelated;
}

.star::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: starGlow 2s ease-in-out infinite;
}

/* Invasion Atmosphere */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: atmosphereShift 10s ease-in-out infinite;
}

@keyframes atmosphereShift {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .earth-container {
        right: 20px;
    }
    
    .pixelated-earth {
        width: 80px;
        height: 80px;
    }
    
    .ufo {
        width: 20px;
        height: 10px;
    }
    
    .invasion-alert {
        font-size: 10px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .earth-container {
        right: 10px;
    }
    
    .pixelated-earth {
        width: 60px;
        height: 60px;
    }
    
    .ufo {
        width: 15px;
        height: 8px;
    }
}

/* Random UFO Flight Animation */
@keyframes randomUFOFlight {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(100vw + 100px), calc(-100vh - 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* UFO Trail Animation */
@keyframes trailFade {
    0% {
        opacity: 0.8;
        height: 20px;
    }
    100% {
        opacity: 0;
        height: 5px;
    }
}

/* Atmosphere Particle Animation */
@keyframes atmosphereFloat {
    0% {
        opacity: 0.6;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-40px);
    }
}

/* Star Glow Animation */
@keyframes starGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

/* UFO Float Animation */
@keyframes ufoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: brightness(1);
    }
    25% { 
        transform: translateY(-10px) rotate(2deg);
        filter: brightness(1.2);
    }
    50% { 
        transform: translateY(-5px) rotate(-1deg);
        filter: brightness(1.1);
    }
    75% { 
        transform: translateY(-15px) rotate(1deg);
        filter: brightness(1.3);
    }
}

/* UFO Beam Animation */
@keyframes ufoBeam {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 0 8px rgba(33, 150, 243, 0.8);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 15px rgba(33, 150, 243, 1);
    }
}

/* UFO Engine Animation */
@keyframes ufoEngine {
    0% { 
        opacity: 0.7;
        box-shadow: 0 0 6px rgba(255, 152, 0, 0.8);
    }
    100% { 
        opacity: 1;
        box-shadow: 0 0 12px rgba(255, 152, 0, 1);
    }
}

/* UFO Formation Patterns */
@keyframes formation1 {
    0% { transform: translateX(-100px) translateY(50px); }
    25% { transform: translateX(25vw) translateY(100px); }
    50% { transform: translateX(50vw) translateY(150px); }
    75% { transform: translateX(75vw) translateY(100px); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(50px); }
}

@keyframes formation2 {
    0% { transform: translateX(calc(100vw + 100px)) translateY(200px); }
    25% { transform: translateX(75vw) translateY(250px); }
    50% { transform: translateX(50vw) translateY(300px); }
    75% { transform: translateX(25vw) translateY(250px); }
    100% { transform: translateX(-100px) translateY(200px); }
}

@keyframes formation3 {
    0% { transform: translateX(-100px) translateY(350px); }
    33% { transform: translateX(33vw) translateY(400px); }
    66% { transform: translateX(66vw) translateY(350px); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(350px); }
}

@keyframes formation4 {
    0% { transform: translateX(calc(100vw + 100px)) translateY(100px); }
    25% { transform: translateX(75vw) translateY(150px); }
    50% { transform: translateX(50vw) translateY(200px); }
    75% { transform: translateX(25vw) translateY(150px); }
    100% { transform: translateX(-100px) translateY(100px); }
}

@keyframes formation5 {
    0% { transform: translateX(-100px) translateY(250px); }
    20% { transform: translateX(20vw) translateY(300px); }
    40% { transform: translateX(40vw) translateY(250px); }
    60% { transform: translateX(60vw) translateY(300px); }
    80% { transform: translateX(80vw) translateY(250px); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(250px); }
}

/* Solar System */
.solar-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Planet Base Styles */
.planet {
    position: absolute;
    border-radius: 50%;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: planetRotate 30s linear infinite;
}

.planet-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
}

/* Mercury - Small, gray, rocky */
.mercury {
    width: 40px;
    height: 40px;
    top: 15%;
    left: 10%;
    animation-duration: 25s;
}

.mercury .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #8b8b8b 0%, #8b8b8b 20%, transparent 20%),
        radial-gradient(circle at 70% 60%, #6b6b6b 0%, #6b6b6b 15%, transparent 15%),
        radial-gradient(circle at 20% 80%, #5a5a5a 0%, #5a5a5a 10%, transparent 10%),
        radial-gradient(circle at 80% 20%, #7a7a7a 0%, #7a7a7a 12%, transparent 12%),
        radial-gradient(circle at 50% 50%, #9e9e9e 0%, #9e9e9e 30%, #7a7a7a 30%, #7a7a7a 40%, #5a5a5a 40%);
    box-shadow: 0 0 10px rgba(158, 158, 158, 0.3);
}

/* Venus - Medium, orange-yellow, cloudy */
.venus {
    width: 60px;
    height: 60px;
    top: 25%;
    left: 25%;
    animation-duration: 35s;
    animation-direction: reverse;
}

.venus .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #ffb74d 0%, #ffb74d 25%, transparent 25%),
        radial-gradient(circle at 70% 60%, #ff8f00 0%, #ff8f00 20%, transparent 20%),
        radial-gradient(circle at 20% 80%, #f57c00 0%, #f57c00 15%, transparent 15%),
        radial-gradient(circle at 80% 20%, #ffcc02 0%, #ffcc02 18%, transparent 18%),
        radial-gradient(circle at 50% 50%, #ffcc02 0%, #ffcc02 35%, #ff8f00 35%, #ff8f00 45%, #f57c00 45%);
    box-shadow: 0 0 15px rgba(255, 183, 77, 0.4);
}

/* Mars - Medium, red, dusty */
.mars {
    width: 55px;
    height: 55px;
    top: 35%;
    left: 45%;
    animation-duration: 28s;
}

.mars .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #ef5350 0%, #ef5350 22%, transparent 22%),
        radial-gradient(circle at 70% 60%, #d32f2f 0%, #d32f2f 18%, transparent 18%),
        radial-gradient(circle at 20% 80%, #c62828 0%, #c62828 12%, transparent 12%),
        radial-gradient(circle at 80% 20%, #f44336 0%, #f44336 16%, transparent 16%),
        radial-gradient(circle at 50% 50%, #f44336 0%, #f44336 32%, #d32f2f 32%, #d32f2f 42%, #c62828 42%);
    box-shadow: 0 0 12px rgba(244, 67, 54, 0.4);
}

/* Jupiter - Large, orange with bands */
.jupiter {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 70%;
    animation-duration: 45s;
}

.jupiter .planet-surface {
    background: 
        linear-gradient(45deg, #ff9800 0%, #ff9800 20%, #f57c00 20%, #f57c00 40%, #ff9800 40%, #ff9800 60%, #f57c00 60%, #f57c00 80%, #ff9800 80%),
        radial-gradient(circle at 30% 40%, #ffb74d 0%, #ffb74d 15%, transparent 15%),
        radial-gradient(circle at 70% 60%, #ff8f00 0%, #ff8f00 12%, transparent 12%),
        radial-gradient(circle at 20% 80%, #f57c00 0%, #f57c00 8%, transparent 8%),
        radial-gradient(circle at 80% 20%, #ffcc02 0%, #ffcc02 10%, transparent 10%);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

/* Saturn - Enhanced with better design */
.saturn {
    width: 90px;
    height: 90px;
    top: 75%;
    left: 5%;
    animation-duration: 50s;
    animation-direction: reverse;
    filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.6));
}

.saturn .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #ffc107 0%, #ffc107 20%, transparent 20%),
        radial-gradient(circle at 70% 60%, #ff9800 0%, #ff9800 18%, transparent 18%),
        radial-gradient(circle at 20% 80%, #f57c00 0%, #f57c00 12%, transparent 12%),
        radial-gradient(circle at 80% 20%, #ffb300 0%, #ffb300 15%, transparent 15%),
        radial-gradient(circle at 50% 50%, #ffc107 0%, #ffc107 25%, #ff9800 25%, #ff9800 35%, #f57c00 35%, #f57c00 45%, #e65100 45%);
    box-shadow: 
        0 0 25px rgba(255, 193, 7, 0.6),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.saturn .planet-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.1) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.05) 70%, transparent 70%);
    border-radius: 50%;
    animation: saturnAtmosphere 8s ease-in-out infinite;
}

.saturn-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 50px;
    border-radius: 50%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            transparent 5%, 
            rgba(255, 193, 7, 0.9) 5%, 
            rgba(255, 193, 7, 0.9) 15%, 
            rgba(255, 152, 0, 0.8) 15%, 
            rgba(255, 152, 0, 0.8) 25%, 
            rgba(255, 193, 7, 0.9) 25%, 
            rgba(255, 193, 7, 0.9) 35%, 
            rgba(255, 152, 0, 0.8) 35%, 
            rgba(255, 152, 0, 0.8) 45%, 
            rgba(255, 193, 7, 0.9) 45%, 
            rgba(255, 193, 7, 0.9) 55%, 
            rgba(255, 152, 0, 0.8) 55%, 
            rgba(255, 152, 0, 0.8) 65%, 
            rgba(255, 193, 7, 0.9) 65%, 
            rgba(255, 193, 7, 0.9) 75%, 
            rgba(255, 152, 0, 0.8) 75%, 
            rgba(255, 152, 0, 0.8) 85%, 
            rgba(255, 193, 7, 0.9) 85%, 
            rgba(255, 193, 7, 0.9) 95%, 
            transparent 95%),
        radial-gradient(ellipse at center, 
            rgba(255, 193, 7, 0.8) 0%, 
            rgba(255, 152, 0, 0.6) 30%, 
            rgba(255, 193, 7, 0.4) 60%, 
            transparent 80%);
    box-shadow: 
        0 0 25px rgba(255, 193, 7, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: ringRotate 40s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.4));
    z-index: -1;
}

.saturn-rings::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            transparent 8%, 
            rgba(255, 193, 7, 0.3) 8%, 
            rgba(255, 193, 7, 0.3) 92%, 
            transparent 92%);
    animation: ringGlow 3s ease-in-out infinite;
}

.saturn-rings::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            transparent 12%, 
            rgba(255, 255, 255, 0.1) 12%, 
            rgba(255, 255, 255, 0.1) 88%, 
            transparent 88%);
    animation: ringShine 5s ease-in-out infinite;
}

/* Uranus - Medium, blue-green */
.uranus {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 85%;
    animation-duration: 38s;
}

.uranus .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #4fc3f7 0%, #4fc3f7 20%, transparent 20%),
        radial-gradient(circle at 70% 60%, #29b6f6 0%, #29b6f6 18%, transparent 18%),
        radial-gradient(circle at 20% 80%, #0288d1 0%, #0288d1 12%, transparent 12%),
        radial-gradient(circle at 80% 20%, #81c784 0%, #81c784 15%, transparent 15%),
        radial-gradient(circle at 50% 50%, #4fc3f7 0%, #4fc3f7 30%, #29b6f6 30%, #29b6f6 40%, #0288d1 40%);
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.4);
}

/* Neptune - Medium, deep blue */
.neptune {
    width: 65px;
    height: 65px;
    top: 45%;
    left: 85%;
    animation-duration: 42s;
    animation-direction: reverse;
}

.neptune .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #2196f3 0%, #2196f3 20%, transparent 20%),
        radial-gradient(circle at 70% 60%, #1976d2 0%, #1976d2 18%, transparent 18%),
        radial-gradient(circle at 20% 80%, #0d47a1 0%, #0d47a1 12%, transparent 12%),
        radial-gradient(circle at 80% 20%, #42a5f5 0%, #42a5f5 15%, transparent 15%),
        radial-gradient(circle at 50% 50%, #2196f3 0%, #2196f3 30%, #1976d2 30%, #1976d2 40%, #0d47a1 40%);
    box-shadow: 0 0 14px rgba(33, 150, 243, 0.4);
}

/* Planet Rotation Animation */
@keyframes planetRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Saturn Rings Rotation */
@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Saturn Atmosphere Animation */
@keyframes saturnAtmosphere {
    0%, 100% { 
        opacity: 0.8;
        transform: rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: rotate(180deg);
    }
}

/* Ring Glow Animation */
@keyframes ringGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Ring Shine Animation */
@keyframes ringShine {
    0%, 100% { 
        opacity: 0.1;
        transform: translateX(-5px);
    }
    50% { 
        opacity: 0.3;
        transform: translateX(5px);
    }
}

/* Planet Particle Animation */
@keyframes planetParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(calc(var(--end-x) - 100vw/2), calc(var(--end-y) - 100vh/2)) scale(0);
        opacity: 0;
    }
}

/* Planet Pulse Animation */
@keyframes planetPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Planet Atmosphere Float Animation */
@keyframes planetAtmosphereFloat {
    0% {
        opacity: 0.6;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) translateY(-15px);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-30px);
    }
}

/* Enhanced Planet Interactions */
.planet {
    cursor: pointer;
    transition: all 0.3s ease;
}

.planet:hover {
    transform: scale(1.1);
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.planet:hover .planet-surface {
    filter: brightness(1.2);
}

/* Planet Orbits (optional visual effect) */
.planet::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.planet:hover::after {
    opacity: 1;
}

/* Planet Atmospheres */
.planet::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle at center, transparent 0%, transparent 70%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.planet:hover::before {
    opacity: 1;
}

/* Responsive Design for Planets */
@media (max-width: 768px) {
    .mercury { width: 30px; height: 30px; }
    .venus { width: 45px; height: 45px; }
    .mars { width: 40px; height: 40px; }
    .jupiter { width: 70px; height: 70px; }
    .saturn { width: 65px; height: 65px; }
    .saturn-rings { width: 100px; height: 30px; }
    .uranus { width: 50px; height: 50px; }
    .neptune { width: 45px; height: 45px; }
}

@media (max-width: 480px) {
    .mercury { width: 25px; height: 25px; }
    .venus { width: 35px; height: 35px; }
    .mars { width: 30px; height: 30px; }
    .jupiter { width: 55px; height: 55px; }
    .saturn { width: 50px; height: 50px; }
    .saturn-rings { width: 80px; height: 25px; }
    .uranus { width: 40px; height: 40px; }
    .neptune { width: 35px; height: 35px; }
    .pluto { width: 20px; height: 20px; }
    .eris { width: 18px; height: 18px; }
    .ceres { width: 15px; height: 15px; }
    .black-hole { width: 50px; height: 50px; }
    .galaxy { width: 80px; height: 80px; }
    .nebula { width: 100px; height: 70px; }
    .asteroid-belt { width: 150px; height: 150px; }
}

/* New Celestial Objects */

/* Pluto - Small, icy dwarf planet */
.pluto {
    width: 35px;
    height: 35px;
    top: 15%;
    left: 25%;
    animation-duration: 38s;
    animation-direction: reverse;
}

.pluto .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #e0e0e0 0%, #e0e0e0 25%, transparent 25%),
        radial-gradient(circle at 70% 60%, #bdbdbd 0%, #bdbdbd 20%, transparent 20%),
        radial-gradient(circle at 20% 80%, #9e9e9e 0%, #9e9e9e 15%, transparent 15%),
        radial-gradient(circle at 80% 20%, #f5f5f5 0%, #f5f5f5 18%, transparent 18%),
        radial-gradient(circle at 50% 50%, #e0e0e0 0%, #e0e0e0 35%, #bdbdbd 35%, #bdbdbd 45%, #9e9e9e 45%);
    box-shadow: 0 0 8px rgba(224, 224, 224, 0.3);
}

/* Eris - Small, distant dwarf planet */
.eris {
    width: 30px;
    height: 30px;
    top: 80%;
    left: 15%;
    animation-duration: 45s;
    animation-direction: reverse;
}

.eris .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #f5f5f5 0%, #f5f5f5 30%, transparent 30%),
        radial-gradient(circle at 70% 60%, #e0e0e0 0%, #e0e0e0 25%, transparent 25%),
        radial-gradient(circle at 20% 80%, #bdbdbd 0%, #bdbdbd 20%, transparent 20%),
        radial-gradient(circle at 80% 20%, #ffffff 0%, #ffffff 15%, transparent 15%),
        radial-gradient(circle at 50% 50%, #f5f5f5 0%, #f5f5f5 40%, #e0e0e0 40%, #e0e0e0 50%, #bdbdbd 50%);
    box-shadow: 0 0 6px rgba(245, 245, 245, 0.4);
}

/* Ceres - Small asteroid belt dwarf planet */
.ceres {
    width: 25px;
    height: 25px;
    top: 55%;
    left: 35%;
    animation-duration: 32s;
    animation-direction: reverse;
}

.ceres .planet-surface {
    background: 
        radial-gradient(circle at 30% 40%, #8d6e63 0%, #8d6e63 35%, transparent 35%),
        radial-gradient(circle at 70% 60%, #6d4c41 0%, #6d4c41 30%, transparent 30%),
        radial-gradient(circle at 20% 80%, #5d4037 0%, #5d4037 25%, transparent 25%),
        radial-gradient(circle at 80% 20%, #a1887f 0%, #a1887f 20%, transparent 20%),
        radial-gradient(circle at 50% 50%, #8d6e63 0%, #8d6e63 45%, #6d4c41 45%, #6d4c41 55%, #5d4037 55%);
    box-shadow: 0 0 5px rgba(141, 110, 99, 0.3);
}

/* Black Hole */
.black-hole {
    position: fixed;
    top: 15%;
    left: 85%;
    width: 60px;
    height: 60px;
    z-index: 0;
    pointer-events: none;
}

.black-hole-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #000000 0%, #000000 60%, #1a1a1a 60%, #1a1a1a 100%);
    border-radius: 50%;
    box-shadow: 
        inset 0 0 15px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.9);
    animation: blackHolePulse 4s ease-in-out infinite;
}

.black-hole-accretion-disk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #ff6b35 0deg,
        #ff8e53 60deg,
        #ffb366 120deg,
        #ffd93d 180deg,
        #ff6b35 240deg,
        #ff8e53 300deg,
        #ffb366 360deg
    );
    mask: radial-gradient(circle, transparent 20px, black 21px);
    animation: accretionDiskRotate 8s linear infinite;
}

.black-hole-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, rgba(255, 142, 83, 0.08) 30%, transparent 70%);
    border-radius: 50%;
    animation: blackHoleGlow 3s ease-in-out infinite;
}

@keyframes blackHolePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes accretionDiskRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes blackHoleGlow {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

/* Enhanced Star Field */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.star-cluster {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: starClusterTwinkle 8s ease-in-out infinite;
}

.star-cluster-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.star-cluster-2 {
    top: 80%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes starClusterTwinkle {
    0%, 100% { 
        opacity: 0.2;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Distant UFOs */
.distant-ufos-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.distant-ufo {
    position: absolute;
    width: 6px;
    height: 3px;
    background: 
        radial-gradient(ellipse at center, rgba(76, 175, 80, 0.7) 0%, rgba(76, 175, 80, 0.5) 40%, rgba(46, 125, 50, 0.3) 60%, rgba(27, 94, 32, 0.1) 80%),
        linear-gradient(to bottom, rgba(76, 175, 80, 0.5) 0%, rgba(46, 125, 50, 0.3) 50%, rgba(27, 94, 32, 0.1) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 
        0 0 2px rgba(76, 175, 80, 0.3),
        inset 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 0;
    animation: distantUFOMove 12s linear forwards;
    opacity: 0.4;
}

.distant-ufo::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 1px;
    background: rgba(33, 150, 243, 0.4);
    border-radius: 1px;
    box-shadow: 0 0 1px rgba(33, 150, 243, 0.3);
    animation: distantUFOBeam 4s ease-in-out infinite;
}

.distant-ufo::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 1px;
    background: rgba(255, 193, 7, 0.3);
    border-radius: 1px;
    box-shadow: 0 0 1px rgba(255, 193, 7, 0.2);
    animation: distantUFOLight 3s ease-in-out infinite;
}

@keyframes distantUFOMove {
    0% {
        transform: translateX(0) translateY(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(calc(var(--move-x, -150px))) translateY(calc(var(--move-y, 20px))) scale(0.3);
        opacity: 0;
    }
}

@keyframes distantUFOBeam {
    0%, 100% { 
        opacity: 0.2;
        transform: translateX(-50%) scaleY(1);
    }
    50% { 
        opacity: 0.4;
        transform: translateX(-50%) scaleY(1.1);
    }
}

@keyframes distantUFOLight {
    0%, 100% { 
        opacity: 0.1;
        transform: translateX(-50%) scaleX(1);
    }
    50% { 
        opacity: 0.3;
        transform: translateX(-50%) scaleX(1.2);
    }
}