/* ===== IMPORT LOCAL FONTS ===== */
@import url('../fonts/fonts.css');

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iNCIgZmlsbD0iIzAwZmZmZiIgZmlsbC1vcGFjaXR5PSIwLjgiLz4KPC9zdmc+'), auto;
}

/* ===== STERNE HINTERGRUND ===== */
#stars, #stars2, #stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#stars {
    background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGRlZnM+CjxyYWRpYWxHcmFkaWVudCBpZD0ic3RhciI+CjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgo8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgo8L3JhZGlhbEdyYWRpZW50Pgo8L2RlZnM+CjxjaXJjbGUgY3g9IjI1IiBjeT0iMjUiIHI9IjEiIGZpbGw9InVybCgjc3RhcikiLz4KPGNpcmNsZSBjeD0iNzUiIGN5PSI3NSIgcj0iMSIgZmlsbD0idXJsKCNzdGFyKSIvPgo8Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSIwLjUiIGZpbGw9InVybCgjc3RhcikiLz4KPC9zdmc+') repeat;
    animation: moveStars 50s linear infinite;
}

#stars2 {
    background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGRlZnM+CjxyYWRpYWxHcmFkaWVudCBpZD0ic3RhciI+CjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMwMGZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgo8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMGZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgo8L3JhZGlhbEdyYWRpZW50Pgo8L2RlZnM+CjxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjAuNSIgZmlsbD0idXJsKCNzdGFyKSIvPgo8Y2lyY2xlIGN4PSI5MCIgY3k9IjkwIiByPSIwLjUiIGZpbGw9InVybCgjc3RhcikiLz4KPC9zdmc+') repeat;
    animation: moveStars 100s linear infinite;
}

#stars3 {
    background: transparent url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGRlZnM+CjxyYWRpYWxHcmFkaWVudCBpZD0ic3RhciI+CjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNmZjAwZmYiIHN0b3Atb3BhY2l0eT0iMC44Ii8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmMDBmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CjwvcmFkaWFsR3JhZGllbnQ+CjwvZGVmcz4KPGNpcmNsZSBjeD0iNjAiIGN5PSI0MCIgcj0iMC4zIiBmaWxsPSJ1cmwoI3N0YXIpIi8+CjxjaXJjbGUgY3g9IjMwIiBjeT0iODAiIHI9IjAuMyIgZmlsbD0idXJsKCNzdGFyKSIvPgo8L3N2Zz4=') repeat;
    animation: moveStars 150s linear infinite;
}

@keyframes moveStars {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

/* ===== PARTIKEL CONTAINER ===== */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* ===== NAVIGATION ===== */
.cosmic-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.cosmic-nav.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease-in-out infinite;
}

.logo-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: orbit 4s linear infinite;
}

.logo-orbit::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff;
}

@keyframes orbit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0, 100, 200, 0.1) 0%, rgba(0, 0, 0, 0.8) 70%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.cosmic-title {
    position: relative;
    margin-bottom: 30px;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
}

.letter {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #ffffff, #ff00ff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: letterGlow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.2s; }
.letter:nth-child(3) { animation-delay: 0.4s; }
.letter:nth-child(4) { animation-delay: 0.6s; }

.universe-text {
    background: linear-gradient(45deg, #ff00ff, #ffff00, #00ffff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes letterGlow {
    0% { 
        background-position: 0% 50%; 
        transform: scale(1);
    }
    100% { 
        background-position: 100% 50%; 
        transform: scale(1.05);
    }
}

.title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cosmic-button {
    position: relative;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cosmic-button.primary {
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.cosmic-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.cosmic-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.6);
}

.cosmic-button.primary:hover {
    background: linear-gradient(45deg, #0080ff, #00ffff);
}

.cosmic-button.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
}

.button-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.button-particles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.cosmic-button:hover .button-particles::before {
    width: 100px;
    height: 100px;
    animation: particleExplosion 0.6s ease-out;
}

@keyframes particleExplosion {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

/* ===== PLANETEN ===== */
.planets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.planet {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.planet-1 {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #d63031);
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.4);
    animation-delay: 0s;
}

.planet-2 {
    top: 60%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #74b9ff, #0984e3);
    box-shadow: 0 0 40px rgba(116, 185, 255, 0.4);
    animation-delay: 2s;
}

.planet-3 {
    bottom: 20%;
    left: 20%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #fd79a8, #e84393);
    box-shadow: 0 0 30px rgba(253, 121, 168, 0.4);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #00ffff);
    margin: 0 auto 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #00ffff;
}

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

/* ===== SECTIONS ===== */
.universe-section, .galaxy-section, .contact-section {
    padding: 100px 0;
    position: relative;
}

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

.cosmic-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease-in-out infinite;
    margin-bottom: 20px;
}

.cosmic-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    margin: 0 auto;
    position: relative;
}

.cosmic-line::before,
.cosmic-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px #00ffff;
}

.cosmic-line::before {
    left: -10px;
    animation: pulse 2s ease-in-out infinite;
}

.cosmic-line::after {
    right: -10px;
    animation: pulse 2s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.3; transform: translateY(-50%) scale(1.5); }
}

/* ===== UNIVERSE GRID ===== */
.universe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.universe-card {
    position: relative;
    padding: 40px 30px;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.universe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-card:hover::before {
    opacity: 1;
}

.universe-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universe-card:hover .card-glow {
    opacity: 1;
    animation: cardGlow 2s ease-in-out infinite;
}

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

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.universe-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #00ffff;
}

.universe-card p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== GALAXY SECTION ===== */
.galaxy-section {
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.9) 0%, rgba(30, 10, 50, 0.9) 100%);
}

.galaxy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.galaxy-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff00ff;
}

.galaxy-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.galaxy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-galaxy {
    position: relative;
    width: 300px;
    height: 300px;
    animation: galaxyRotate 20s linear infinite;
}

.galaxy-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ffff00, #ff6600);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.8);
    animation: centerPulse 3s ease-in-out infinite;
}

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

.galaxy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 100px;
    height: 100px;
    animation: ringRotate 8s linear infinite;
}

.ring-2 {
    width: 150px;
    height: 150px;
    animation: ringRotate 12s linear infinite reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    animation: ringRotate 16s linear infinite;
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

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

.galaxy-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ffff;
}

.ring-1 .galaxy-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.ring-1 .galaxy-dot:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.ring-1 .galaxy-dot:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }

.ring-2 .galaxy-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); background: #ff00ff; box-shadow: 0 0 8px #ff00ff; }
.ring-2 .galaxy-dot:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); background: #ff00ff; box-shadow: 0 0 8px #ff00ff; }
.ring-2 .galaxy-dot:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); background: #ff00ff; box-shadow: 0 0 8px #ff00ff; }
.ring-2 .galaxy-dot:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); background: #ff00ff; box-shadow: 0 0 8px #ff00ff; }

.ring-3 .galaxy-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); background: #ffff00; box-shadow: 0 0 8px #ffff00; }
.ring-3 .galaxy-dot:nth-child(2) { top: 25%; right: 25%; background: #ffff00; box-shadow: 0 0 8px #ffff00; }
.ring-3 .galaxy-dot:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); background: #ffff00; box-shadow: 0 0 8px #ffff00; }
.ring-3 .galaxy-dot:nth-child(4) { bottom: 25%; right: 25%; background: #ffff00; box-shadow: 0 0 8px #ffff00; }
.ring-3 .galaxy-dot:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); background: #ffff00; box-shadow: 0 0 8px #ffff00; }

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00ffff;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(20, 20, 30, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(20, 20, 30, 0.8);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
}

/* ===== FORM STYLES ===== */
.cosmic-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(20, 20, 30, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.8);
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 15px;
    font-size: 14px;
    color: #00ffff;
}

/* ===== FOOTER ===== */
.cosmic-footer {
    padding: 40px 0;
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease-in-out infinite;
    margin-bottom: 10px;
}

.cosmic-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cosmic-button {
        width: 100%;
        max-width: 300px;
    }
    
    .galaxy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .universe-grid {
        grid-template-columns: 1fr;
    }
    
    .rotating-galaxy {
        width: 200px;
        height: 200px;
    }
    
    .ring-1 { width: 80px; height: 80px; }
    .ring-2 { width: 120px; height: 120px; }
    .ring-3 { width: 160px; height: 160px; }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cosmic-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .universe-card {
        padding: 30px 20px;
    }
}

/* ===== TILT EFFECT ===== */
[data-tilt] {
    transform-style: preserve-3d;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.9);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ffff, #ff00ff);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff00ff, #00ffff);
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: rgba(0, 255, 255, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(0, 255, 255, 0.3);
    color: #fff;
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

/* ===== SPACE INVADERS GAME STYLES ===== */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.game-modal.hidden {
    display: none !important;
}

.game-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid var(--cosmic-blue);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 50px rgba(101, 187, 255, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cosmic-blue);
    flex-wrap: wrap;
    gap: 10px;
}

.game-header h2 {
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    color: var(--cosmic-blue);
    margin: 0;
    text-shadow: 0 0 10px rgba(101, 187, 255, 0.5);
}

.game-stats {
    display: flex;
    gap: 20px;
    font-family: var(--font-orbitron);
    color: #00ff88;
    font-weight: 700;
    font-size: 0.9rem;
}

.close-game {
    background: rgba(255, 69, 69, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-game:hover {
    background: rgba(255, 69, 69, 1);
    transform: scale(1.1);
}

#space-invaders-canvas {
    border: 2px solid var(--cosmic-blue);
    border-radius: 10px;
    background: linear-gradient(180deg, #000428 0%, #004e92 100%);
    display: block;
    margin: 0 auto;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.game-controls {
    margin-top: 20px;
    text-align: center;
}

.control-instructions {
    margin-bottom: 15px;
}

.control-instructions p {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
}

.game-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.game-buttons button {
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--cosmic-purple), var(--cosmic-blue));
    border: none;
    border-radius: 25px;
    color: white;
    font-family: var(--font-space-grotesk);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-buttons button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 187, 255, 0.4);
}

.game-buttons button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--cosmic-blue);
    box-shadow: 0 0 30px rgba(101, 187, 255, 0.5);
}

.game-over h3 {
    font-family: var(--font-orbitron);
    color: #ff4444;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.game-over p {
    font-family: var(--font-space-grotesk);
    color: #00ff88;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.game-over button {
    margin: 0 10px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--cosmic-purple), var(--cosmic-blue));
    border: none;
    border-radius: 25px;
    color: white;
    font-family: var(--font-space-grotesk);
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-over button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 187, 255, 0.4);
}

/* ===== URKNALL EFFEKT ANIMATIONEN ===== */
@keyframes bigBangFlash {
    0% { 
        opacity: 0; 
        transform: scale(0); 
    }
    10% { 
        opacity: 1; 
        transform: scale(0.1); 
    }
    30% { 
        opacity: 0.8; 
        transform: scale(2); 
    }
    60% { 
        opacity: 0.4; 
        transform: scale(5); 
    }
    100% { 
        opacity: 0; 
        transform: scale(10); 
    }
}

@keyframes expandRing {
    0% { 
        width: 0px; 
        height: 0px; 
        opacity: 1; 
    }
    50% { 
        width: 400px; 
        height: 400px; 
        opacity: 0.6; 
    }
    100% { 
        width: 800px; 
        height: 800px; 
        opacity: 0; 
    }
}

@keyframes bigBangText {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0) rotateZ(0deg); 
    }
    20% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.5) rotateZ(10deg); 
    }
    40% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2) rotateZ(-5deg); 
    }
    60% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.3) rotateZ(3deg); 
    }
    80% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1.1) rotateZ(0deg); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.8) rotateZ(0deg); 
    }
}

/* Game responsive design */
@media (max-width: 768px) {
    .game-container {
        padding: 15px;
        margin: 10px;
    }
    
    .game-header h2 {
        font-size: 1.2rem;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }
    
    #space-invaders-canvas {
        width: 100%;
        height: auto;
        max-width: 400px;
    }
    
    .game-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .game-buttons button {
        width: 80%;
        max-width: 200px;
    }
}