/* Enhanced Portfolio Styles - Robs - Komplette Version */

/* Reset und globale Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Erweiterte Farbpalette */
    --primary-color: #ff3333;
    --secondary-color: #667eea;
    --accent-color: #f093fb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #6b7280;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --bg-card: #1f1f1f;
    
    /* Erweiterte Gradients */
    --gradient-primary: linear-gradient(135deg, #ff3333, #ff6b6b);
    --gradient-secondary: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-accent: linear-gradient(135deg, #f093fb, #f5576c);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #ff3333 50%, #ff6b6b 75%, #f093fb 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 51, 51, 0.1), rgba(102, 126, 234, 0.1));
    
    /* Schatten und Effekte */
    --shadow-primary: 0 10px 30px rgba(255, 51, 51, 0.3);
    --shadow-secondary: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 51, 51, 0.5);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-elevated: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Border und Radius */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen Verbesserungen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-primary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#loading-screen.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.loader {
    text-align: center;
    position: relative;
}

.binary-rain {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    overflow: hidden;
    opacity: 0.3;
}

.binary-rain::before {
    content: '1010110010110101011001101011001011010110101100110101100101101011';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    line-height: 1.2;
    animation: binaryFall 3s linear infinite;
}

@keyframes binaryFall {
    0% { transform: translateY(-200px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(200px); opacity: 0; }
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: var(--gradient-hero);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.loading-letter {
    display: inline-block;
    animation: letterBounce 2s ease-in-out infinite;
}

.loading-letter:nth-child(1) { animation-delay: 0s; }
.loading-letter:nth-child(2) { animation-delay: 0.1s; }
.loading-letter:nth-child(3) { animation-delay: 0.2s; }
.loading-letter:nth-child(4) { animation-delay: 0.3s; }
.loading-letter:nth-child(5) { animation-delay: 0.4s; }
.loading-letter:nth-child(6) { animation-delay: 0.5s; }
.loading-letter:nth-child(7) { animation-delay: 0.6s; }

@keyframes letterBounce {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        text-shadow: 0 0 10px currentColor;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        text-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
    }
}

.loading-dots {
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { opacity: 0; }
    40% { opacity: 1; }
    100% { opacity: 0; }
}

.loading-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.loading-progress {
    height: 100%;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    border-radius: 3px;
    animation: loadingProgress 3s ease-in-out infinite, gradientShift 2s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary-color);
}

@keyframes loadingProgress {
    0% { width: 0%; }
    70% { width: 100%; }
    100% { width: 100%; }
}

/* Cursor Trail */
#cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    box-shadow: 0 0 20px var(--primary-color);
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    animation: particleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 6px var(--primary-color);
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(100vh) translateX(0px) rotate(0deg); 
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    50% { 
        transform: translateY(0vh) translateX(50px) rotate(180deg); 
        opacity: 1;
    }
}

/* Matrix Canvas */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Fixed Version */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--primary-color);
}

#navbar nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 80%;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 51, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
}

.typing-container {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.typing-text {
    color: var(--text-primary);
}

.highlight-text {
    background: var(--gradient-hero);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

.role-container {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.role-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.role-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: roleUnderline 3s ease-in-out infinite;
}

@keyframes roleUnderline {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--primary-color);
}

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

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: var(--transition-bounce);
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 51, 51, 0.1);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button::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.6s ease;
}

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

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.cta-button.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 51, 51, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.15;
    animation: advancedFloat 8s ease-in-out infinite;
    animation-delay: var(--delay);
    transition: var(--transition);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.floating-icon:nth-child(1) { top: 15%; left: 8%; animation-duration: 6s; }
.floating-icon:nth-child(2) { top: 70%; left: 88%; animation-duration: 8s; }
.floating-icon:nth-child(3) { top: 25%; left: 85%; animation-duration: 7s; }
.floating-icon:nth-child(4) { top: 85%; left: 12%; animation-duration: 9s; }
.floating-icon:nth-child(5) { top: 45%; left: 3%; animation-duration: 5s; }

@keyframes advancedFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-30px) translateX(15px) rotate(90deg) scale(1.1); 
    }
    50% { 
        transform: translateY(-20px) translateX(-10px) rotate(180deg) scale(0.9); 
    }
    75% { 
        transform: translateY(-40px) translateX(20px) rotate(270deg) scale(1.2); 
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: var(--primary-color);
    transform: translateX(-50%) scale(1.1);
}

.scroll-arrow {
    font-size: 2rem;
    animation: enhancedBounce 2s infinite;
    margin-bottom: 0.5rem;
}

@keyframes enhancedBounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) scale(1); 
    }
    40% { 
        transform: translateY(-15px) scale(1.1); 
    }
    60% { 
        transform: translateY(-8px) scale(1.05); 
    }
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.title-number {
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    margin-right: 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: start;
}

.about-text {
    position: relative;
}

.text-block p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.highlight:hover::after {
    transform: scaleX(1);
}

.quick-facts {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 51, 51, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.quick-facts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.quick-facts h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.quick-facts ul {
    list-style: none;
}

.quick-facts li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.quick-facts li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.quick-facts i {
    color: var(--primary-color);
    width: 25px;
    font-size: 1.2rem;
}

.profile-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0.1;
}

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

.profile-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: var(--shadow-elevated);
}

.profile-info {
    position: relative;
    z-index: 2;
}

.profile-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: scale(0);
    transition: var(--transition);
    border-radius: 50%;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.social-link i {
    position: relative;
    z-index: 2;
}

/* Skills Section */
.skills-content {
    max-width: 1100px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-secondary);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.skill-category:hover::before {
    left: 0;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease-out;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skillShimmer 2s ease-in-out infinite;
}

@keyframes skillShimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.tech-stack {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.tech-stack h3 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
}

.tech-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.tech-icon:hover::before {
    opacity: 0.1;
}

.tech-icon:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.tech-icon i {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.tech-icon:hover i {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.tech-icon span {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-elevated);
}

.project-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.05), rgba(102, 126, 234, 0.05));
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.8);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.9), rgba(102, 126, 234, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

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

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition-bounce);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.project-content {
    padding: 2rem;
}

.project-category {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    position: relative;
}

.project-category::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--primary-color);
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 51, 51, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 51, 51, 0.3);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-content {
  width: 100%;
  padding: 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0 5vw;
}

.contact-intro h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-intro p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hier liegt die wichtige Änderung: Breiter und zentriert */
.contact-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;

  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw;
}

.contact-form {
  flex: 1;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  min-width: 500px;
  max-width: 100%;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.contact-item:hover {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  transform: translateX(10px);
  box-shadow: var(--shadow-card);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.contact-details h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-details p {
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-tertiary);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.1);
  background: var(--bg-secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}


/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    padding: 3rem 0;
    margin-top: 6rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.footer-left p {
    color: var(--text-secondary);
    margin-top: 0.8rem;
    font-style: italic;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-right p {
    color: var(--text-secondary);
    text-align: right;
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: var(--shadow-card);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-primary);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .typing-container {
        font-size: 2.5rem;
    }
    
    .role-container {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-icons {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-right p {
        text-align: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 1rem;
    }
    
    .typing-container {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .projects-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-intro h3 {
        font-size: 1.5rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Focus Styling */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    * {
        background: white !important;
        color: black !important;
    }
    
    #navbar,
    .back-to-top,
    .particles,
    #matrix-canvas,
    #cursor-trail,
    #loading-screen,
    .floating-elements {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .hero {
        min-height: auto;
    }
}

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

.theme-toggle,
.sound-toggle {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover,
.sound-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: var(--transition);
    min-width: 250px;
    box-shadow: var(--shadow-card);
}

.toast.show {
    transform: translateX(0);
}

.toast.toast-success {
    border-left-color: var(--success-color);
}

.toast.toast-error {
    border-left-color: #ef4444;
}

/* Copy Button */
.copy-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
    margin-top: 0.5rem;
}

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

/* Character Counter */
.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Button Loading */
.btn-loading {
    display: none;
}

/* Input Feedback */
.input-feedback {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.input-feedback.valid {
    color: var(--success-color);
}

.input-feedback.invalid {
    color: #ef4444;
}

/* Tech Modal */
.tech-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.tech-modal-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid var(--border-color);
}

.tech-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.tech-modal-close:hover {
    color: var(--primary-color);
}

/* Konami Modal */
.konami-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.konami-content {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--primary-color);
    animation: konamiPulse 0.5s ease-in-out;
}

@keyframes konamiPulse {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--primary-color);
}

/* Mobile anpassungen */
@media (max-width: 768px) {
    .nav-extras {
        display: none;
    }
    
    .status-indicator {
        justify-content: center;
    }
    
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
    }
}

/* Light Theme Support */
[data-theme="light"] {
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e5e5e5;
    --border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .particles .particle {
    background: var(--primary-color);
    opacity: 0.6;
}

[data-theme="light"] #matrix-canvas {
    opacity: 0.03;
}

[data-theme="light"] .floating-icon {
    opacity: 0.08;
}

[data-theme="light"] .hero::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 51, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
}

.project-image.tech-preview {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-image.tech-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 1;
    transition: var(--transition);
}

.project-card:hover .project-image.tech-preview::before {
    opacity: 0.15;
}

/* Tech Preview Content */
.tech-preview-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 2rem;
    width: 100%;
    transition: var(--transition);
}

.project-card:hover .tech-preview-content {
    transform: scale(1.05);
}

/* Large Tech Icon */
.tech-icon-large {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
    transition: var(--transition);
}

.project-card:hover .tech-icon-large {
    transform: rotateY(180deg);
    text-shadow: 0 0 30px rgba(255, 51, 51, 0.6);
}

/* Project Title Preview */
.project-title-preview {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Tech Stack Preview */
.tech-stack-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.tech-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 51, 51, 0.15);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 51, 51, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Special Tech Badge Variants */
.tech-badge.primary {
    background: rgba(255, 51, 51, 0.25);
    border-color: var(--primary-color);
    font-weight: 600;
}

.tech-badge.api {
    background: rgba(102, 126, 234, 0.15);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.tech-badge.api:hover {
    background: var(--secondary-color);
    color: white;
}

/* Project Status */
.project-status {
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: inline-block;
}

.project-status.featured {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    animation: featuredPulse 2s ease-in-out infinite;
}

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

/* Featured Preview Styling */
.project-image.featured-preview {
    background: linear-gradient(135deg, 
        rgba(255, 51, 51, 0.1), 
        rgba(102, 126, 234, 0.1), 
        rgba(240, 147, 251, 0.1));
    border: 2px solid var(--primary-color);
    position: relative;
}

.project-image.featured-preview::before {
    background: var(--gradient-hero);
    opacity: 0.1;
}

.project-card.featured:hover .project-image.featured-preview::before {
    opacity: 0.2;
}

/* Featured Project additional effects */
.project-card.featured .tech-icon-large {
    font-size: 4.5rem;
    animation: featuredFloat 3s ease-in-out infinite;
}

@keyframes featuredFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.project-card.featured .project-title-preview {
    font-size: 1.3rem;
    background: var(--gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

/* Hover Effects für alle Tech Previews */
.project-card:hover .tech-badge {
    transform: translateY(-2px);
}

.project-card:hover .project-status {
    transform: scale(1.1);
}

/* Project Overlay - bleibt für Links */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.9), rgba(102, 126, 234, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10;
}

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

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition-bounce);
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Anpassungen für Tech Previews */
@media (max-width: 768px) {
    .tech-preview-content {
        padding: 1.5rem;
    }
    
    .tech-icon-large {
        font-size: 3rem;
    }
    
    .project-title-preview {
        font-size: 1rem;
    }
    
    .tech-stack-preview {
        gap: 0.3rem;
    }
    
    .tech-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .tech-preview-content {
        padding: 1rem;
    }
    
    .tech-icon-large {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .project-title-preview {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .tech-stack-preview {
        margin-bottom: 0.8rem;
    }
    
    .project-status {
        font-size: 0.8rem;
    }
}

/* Zusätzliche Animationen */
.tech-preview-content > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.tech-icon-large { animation-delay: 0.1s; }
.project-title-preview { animation-delay: 0.2s; }
.tech-stack-preview { animation-delay: 0.3s; }
.project-status { animation-delay: 0.4s; }

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

/* Icon-spezifische Farben für verschiedene Projekte */
.tech-preview-content .fa-gamepad {
    color: var(--primary-color);
}

.tech-preview-content .fa-trophy {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.tech-preview-content .fa-database {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.tech-preview-content .fa-book {
    color: #f59e0b;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.tech-preview-content .fa-chart-line {
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Projekt-spezifische Hover-Effekte */
.project-card:hover .fa-gamepad {
    animation: gamepadShake 0.5s ease-in-out;
}

@keyframes gamepadShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.project-card:hover .fa-trophy {
    animation: trophySpin 1s ease-in-out;
}

@keyframes trophySpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.project-card:hover .fa-database {
    animation: databasePulse 1s ease-in-out infinite;
}

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

.project-card:hover .fa-chart-line {
    animation: chartGrow 0.8s ease-in-out;
}

@keyframes chartGrow {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
    100% { transform: scaleY(1); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }