:root {
    --space-bg: #030508;
    --star-color: rgba(255, 255, 255, 0.8);
    --orbit-color: rgba(255, 255, 255, 0.1);
    --planet-hover: rgba(255, 215, 0, 0.3);
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

#universe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Navigáció */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-left {
    display: flex;
    gap: 1rem;
}

.nav-center h1 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.help-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.help-btn:hover {
    color: var(--primary-purple);
    transform: scale(1.1);
}

/* Dátum választó */
.date-picker {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.date-picker input {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.date-picker button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
}

/* Bolygó információs panel */
.planet-info {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    color: #fff;
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.planet-info.visible {
    transform: translateX(0);
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-header h2 {
    margin: 0;
    color: #ffd700;
    font-size: 24px;
}

.close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.planet-description, .planet-effects {
    margin-bottom: 20px;
}

.planet-description h3, .planet-effects h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 18px;
}

.planet-description p, .planet-effects p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.planet-description ul, .planet-effects ul {
    list-style: none;
    padding-left: 0;
}

.planet-description li, .planet-effects li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.4;
}

.planet-description li:before, .planet-effects li:before {
    content: "•";
    color: #ffd700;
    position: absolute;
    left: 5px;
}

/* Animáció a listaelemeknek */
.planet-description li, .planet-effects li {
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.5s ease forwards;
}

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

/* Késleltetett animáció minden következő elemnek */
.planet-description li:nth-child(1) { animation-delay: 0.1s; }
.planet-description li:nth-child(2) { animation-delay: 0.2s; }
.planet-description li:nth-child(3) { animation-delay: 0.3s; }
.planet-description li:nth-child(4) { animation-delay: 0.4s; }
.planet-description li:nth-child(5) { animation-delay: 0.5s; }

.planet-effects li:nth-child(1) { animation-delay: 0.6s; }
.planet-effects li:nth-child(2) { animation-delay: 0.7s; }
.planet-effects li:nth-child(3) { animation-delay: 0.8s; }
.planet-effects li:nth-child(4) { animation-delay: 0.9s; }
.planet-effects li:nth-child(5) { animation-delay: 1.0s; }

/* Vezérlők */
.controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.controls button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.controls button.primary {
    background: linear-gradient(45deg, #7b2ff7, #f72f93);
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3);
}

.controls button.primary:hover {
    background: linear-gradient(45deg, #8b3ff7, #f72fa3);
    box-shadow: 0 0 25px rgba(123, 47, 247, 0.5);
}

.controls button:active {
    transform: scale(0.95);
}

/* Sebesség kijelző */
.speed-indicator {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#speedValue {
    color: #ffd700;
    font-weight: bold;
    font-size: 16px;
}

/* Constellation Toggle */
.constellation-toggle {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.toggle-btn {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.toggle-btn.active {
    background: linear-gradient(45deg, #7b2ff7, #f72f93);
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.3);
}

.toggle-btn i {
    font-size: 16px;
}


/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-right: 1rem;
}

.lang-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lang-btn.active {
    background: linear-gradient(45deg, #7b2ff7, #f72f93);
    box-shadow: 0 0 15px rgba(123, 47, 247, 0.3);
}

/* Reszponzív design */
@media (max-width: 768px) {
    .nav {
        padding: 0.5rem;
    }
    
    .planet-info {
        width: 90%;
        right: 5%;
        bottom: 5rem;
        top: auto;
    }

    .nav-center h1 {
        font-size: 1.2rem;
    }

    .home-btn span,
    .back-btn span {
        display: none;
    }

    .date-picker {
        flex-direction: column;
        width: 90%;
    }

    .language-switcher {
        margin-right: 0.5rem;
    }

    .lang-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
} 