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

/* ==================== BODY & HINTERGRUND ==================== */
body {
    background: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ==================== STERNE SYSTEM ==================== */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ==================== EINSTELLUNGSMENÜ ==================== */
/* Hamburger Button */
.settings-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.settings-button:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.settings-button:hover .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.settings-button:hover .hamburger-line:nth-child(2) {
    opacity: 0;
}

.settings-button:hover .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Einstellungsmenü Panel */
.settings-menu {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    color: white;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.settings-menu.open {
    transform: translateX(0);
    opacity: 1;
}

.settings-section {
    margin-bottom: 20px;
}

.settings-section h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.setting-item input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 8px 12px;
    color: white;
    font-size: 12px;
    width: 180px;
}

.setting-item input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
}

.setting-item label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.search-engine-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 8px 12px;
    color: white;
    font-size: 12px;
    width: 180px;
}

.search-engine-select option {
    background: #000;
    color: white;
}

.save-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    font-size: 12px;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.save-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== HAUPTINHALT CONTAINER ==================== */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    z-index: 1;
}

/* ==================== �BERSCHRIFT ==================== */
.title {
    font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', serif;
    font-size: 5.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 50px;
    animation: titleGlow 6s infinite;
    font-weight: 300;
    letter-spacing: 12px;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
        transform: scale(1.02);
    }
}

/* ==================== SUCHBEREICH ==================== */
.search-container {
    margin-bottom: 40px;
}

.search-form {
    position: relative;
}

.search-input {
    width: 500px;
    padding: 15px 20px;
    font-size: 16px;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 25px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    color: #000000;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.05);
}

/* ==================== LINKS BEREICH ==================== */
.links-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
}

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

.link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.link:hover::after {
    width: 100%;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .title {
        font-size: 4rem;
        letter-spacing: 6px;
    }
    
    .search-input {
        width: 90vw;
        max-width: 400px;
    }
    
    .links-container {
        gap: 20px;
    }
    
    .link {
        font-size: 14px;
    }

    .settings-menu {
        width: 90vw;
        right: 5vw;
    }
}
