.home-body {
    background-color: #050508; 
    overflow: hidden; 
}

.hero-content {
    text-align: center;
    max-width: 800px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.highlight { color: #00d2ff; }

.hero-content p {
    color: #aaaaaa;
    font-size: 18.5px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-btn {
    background: linear-gradient(90deg, #6226ef, #00d2ff);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 45px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.gradient-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
}

body {
    background-color: #0b0c10;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden; 
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    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;
}

.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: 5px;
}

.container {
    display: flex;
    gap: 80px;
    max-width: 1200px; 
    padding: 40px 20px;
    margin-top: 20px;
}

.left-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.back-btn {
    text-decoration: none;
    display: inline-block;
    background: transparent;
    color: white;
    border: 1px solid #444;
    padding: 10px 20px; 
    border-radius: 20px;
    cursor: pointer;
    width: fit-content;
    font-size: 15px;
    transition: 0.3s;
}

.back-btn:hover {
    background: #00d2ff;
    color: #0b0c10;
    border-color: #00d2ff;
    font-weight: bold;
}

.image-wrapper {
    box-shadow: 0 0 40px rgba(255, 165, 0, 0.4); 
    border-radius: 15px;
    overflow: hidden;
}

.planet-img {
    width: 500px; 
    height: auto;
    display: block;
    border-radius: 15px;
}

.right-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px; 
}

h1 {
    color: #00d2ff;
    font-size: 56px; 
    margin: 0 0 10px 0;
}

h2 {
    color: #a0a0a0;
    font-size: 24px; 
    font-style: italic;
    font-weight: normal;
    margin: 0 0 25px 0;
}

p {
    font-size: 18px; 
    line-height: 1.8;
    color: #dcdcdc;
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background-color: #16181f;
    padding: 20px; 
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.border-blue { border-left: 4px solid #00d2ff; }
.border-purple { border-left: 4px solid #8a2be2; }
.border-red { border-left: 4px solid #ff0055; }

.label {
    font-size: 14px; 
    color: #888;
}

.value {
    font-size: 22px; 
    font-weight: bold;
}

.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;
}

/* --- COPYRIGHT --- */
.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;
    }
}