body {
    background-color: #0b0c10;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; 
}

.navbar {
    width: 100%;
    display: flex;
    align-items: center; 
    padding: 20px 80px;
    background-color: #050508;
    box-sizing: border-box;
    position: relative; 
    z-index: 10;
}

.logo {
    font-size: 24px; 
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.logo-wrapper:hover {
    transform: scale(1.02);
}

.header-logo {
    width: 50px;       
    height: auto;      
    border-radius: 0;  
    object-fit: contain; 
    box-shadow: none;  
}

.color-cyan { 
    color: #00d2ff; 
    text-shadow: 0 0 12px rgba(0, 210, 255, 0.6); 
}

.color-purple { 
    color: #a020f0; 
    text-shadow: 0 0 12px rgba(160, 32, 240, 0.6); 
}

.nav-links {
    display: flex;
    gap: 35px;
    margin-left: auto; 
    margin-right: 35px; 
}

.nav-links a {
    text-decoration: none;
    color: #cccccc;
    font-size: 15px; 
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #00d2ff;
    border-bottom: 2px solid #00d2ff;
    padding-bottom: 8px; 
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    min-height: 80vh; 
}

.container { 
    background: #16181f;
    padding: 60px;
    border-radius: 20px; 
    text-align: center;
    border: 1px solid #333;
    max-width: 600px;
    align-items: center;
}

h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
}

button {
    background: linear-gradient(90deg, #6226ef, #00d4ff);
    border: none; 
    padding: 15px 35px; 
    border-radius: 30px;
    color: white; 
    cursor: pointer; 
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
    margin-top: 20px;
}

button:hover { 
    opacity: 0.9; 
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.astro-footer {
    width: 100%;
    margin-top: 80px; 
    background: rgba(5, 5, 8, 0.6); 
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 80px 20px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo {
    width: 70px; 
    height: auto;
    border-radius: 0;
    box-shadow: none; 
}

.footer-title {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
}

.brand-desc {
    color: #888888;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    width: 28px;
    height: 28px;
    filter: invert(1) opacity(0.8);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
    filter: invert(0) opacity(1) drop-shadow(0 0 8px #00d2ff);
}

.footer-contact-info p {
    color: #888888;
    font-size: 13px;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.footer-contact-info strong {
    color: #cccccc;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.link-column h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.link-column a {
    display: block;
    color: #888888;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.link-column a:hover {
    color: #00d2ff;
    transform: translateX(5px);
}

.footer-portal h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-portal p {
    color: #888888;
    font-size: 13px;
    margin-bottom: 20px;
}

.portal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal-btn {
    display: inline-block;
    background: #00d2ff;
    color: #0b0c10;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}

.portal-btn:hover {
    background: white;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #444;
    color: white;
}

.btn-secondary:hover {
    background: #444;
    color: white;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #555555;
    font-size: 12px;
}

.footer-quote-container {
    max-width: 300px;
    display: flex;
    align-items: center;
}

.quote-box {
    border-left: 2px solid #00d2ff;
    padding-left: 20px;
    position: relative;
}

.quote-text {
    font-style: italic;
    color: #dcdcdc;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.quote-author {
    display: block;
    color: #a020f0;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #00d2ff);
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .container {
        flex-direction: column;
        gap: 40px;
        padding: 20px;
        align-items: center;
        text-align: center;
    }

    .left-panel {
        align-items: center;
    }

    .planet-img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    h1 {
        font-size: 38px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    p {
        font-size: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr; 
        text-align: left; 
    }

    .astro-footer {
        padding: 30px 20px 20px 20px;
        margin-top: 40px;
    }
    
    .footer-content {
        flex-direction: column; 
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-brand, .footer-quote-container {
        max-width: 100%;
    }

    .brand-header, .social-icons {
        justify-content: center; 
    }

    .footer-links {
        justify-content: center;
    }

    .quote-box {
        text-align: left; 
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 30px;
    }
    
    .nav-links {
        font-size: 14px;
        gap: 10px;
    }
    
    .planet-img {
        max-width: 300px;
    }
}