* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0a0a1a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    z-index: -2;
}

.stars-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(2px 2px at 60px 20px, #ddd, transparent),
        radial-gradient(2px 2px at 80px 50px, #fff, transparent),
        radial-gradient(2px 2px at 100px 80px, #eee, transparent),
        radial-gradient(2px 2px at 120px 40px, #fff, transparent),
        radial-gradient(2px 2px at 140px 60px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.5;
    z-index: -1;
    animation: stars-move 100s linear infinite;
}

@keyframes stars-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(10, 10, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(64, 224, 208, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: #40e0d0;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1001;
}

.logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(64, 224, 208, 0.2);
    color: #40e0d0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #40e0d0;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cccccc;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #40e0d0, #20b2aa);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(64, 224, 208, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #40e0d0;
    border: 2px solid #40e0d0;
}

.btn-secondary:hover {
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-space-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin: 60px 0 40px;
    color: #ffffff;
}

.features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(20, 20, 50, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(64, 224, 208, 0.2);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
    border-color: #40e0d0;
}

.feature-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.feature-content {
    padding: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

.countdown {
    text-align: center;
    padding: 60px 0;
    background: rgba(10, 20, 40, 0.5);
    border-radius: 20px;
    margin: 60px 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(20, 20, 50, 0.8);
    border-radius: 10px;
    padding: 20px;
    min-width: 120px;
    border: 1px solid rgba(64, 224, 208, 0.3);
}

.time-unit span {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #40e0d0;
    display: block;
}

.time-unit p {
    margin-top: 10px;
    color: #cccccc;
}

.fun-fact {
    padding: 60px 0;
    text-align: center;
}

.fact-container {
    background: rgba(20, 20, 50, 0.7);
    border-radius: 15px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(64, 224, 208, 0.2);
}

#fact-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header {
    text-align: center;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.mission-header {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto;
}

.planets-controls, .gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(20, 20, 50, 0.7);
    border-radius: 30px;
    padding: 10px 20px;
    border: 1px solid rgba(64, 224, 208, 0.3);
    flex: 1;
    min-width: 250px;
}

.search-box i {
    color: #40e0d0;
    margin-right: 10px;
}

.search-box input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.filter-buttons, .gallery-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(20, 20, 50, 0.7);
    border: 1px solid rgba(64, 224, 208, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background: rgba(64, 224, 208, 0.2);
    color: #40e0d0;
    border-color: #40e0d0;
}

.planets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.planet-card {
    background: rgba(20, 20, 50, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(64, 224, 208, 0.2);
    height: 100%;
}

.planet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
    border-color: #40e0d0;
}

.planet-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.planet-card:hover .planet-image {
    transform: scale(1.05);
}

.planet-info {
    padding: 20px;
}

.planet-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.planet-info p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.planet-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.planet-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0d8f0;
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #40e0d0, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #40e0d0;
    font-weight: 700;
}

.timeline-content {
    flex: 2;
    background: rgba(20, 20, 50, 0.7);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(64, 224, 208, 0.2);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #40e0d0;
    border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.timeline-content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mission-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.mission-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(64, 224, 208, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #a0d8f0;
}

.missions-stats {
    margin: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(20, 20, 50, 0.7);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(64, 224, 208, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #40e0d0;
}

.stat-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #40e0d0;
    margin-bottom: 10px;
}

.stat-card p {
    color: #cccccc;
    font-size: 1.1rem;
}

.gallery-view {
    display: flex;
    gap: 10px;
}

.view-btn {
    background: rgba(20, 20, 50, 0.7);
    border: 1px solid rgba(64, 224, 208, 0.3);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active, .view-btn:hover {
    background: rgba(64, 224, 208, 0.2);
    color: #40e0d0;
    border-color: #40e0d0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gallery-grid.list-view {
    grid-template-columns: 1fr;
}

.gallery-item {
    background: rgba(20, 20, 50, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(64, 224, 208, 0.2);
    cursor: pointer;
}

.gallery-grid.list-view .gallery-item {
    display: flex;
    height: 200px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(64, 224, 208, 0.2);
    border-color: #40e0d0;
}

.gallery-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.gallery-grid.list-view .gallery-img {
    width: 300px;
    height: auto;
    flex-shrink: 0;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.gallery-info p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.gallery-category {
    display: inline-block;
    background: rgba(64, 224, 208, 0.2);
    color: #40e0d0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    max-height: 90vh;
    background: rgba(20, 20, 50, 0.95);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #40e0d0;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #40e0d0;
}

.lightbox-image {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    display: block;
}

.lightbox-info {
    padding: 20px;
}

.lightbox-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.lightbox-info p {
    color: #cccccc;
    line-height: 1.6;
}

footer {
    background: rgba(10, 15, 30, 0.9);
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(64, 224, 208, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3, .footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: #40e0d0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section a {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #40e0d0;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-date {
        flex: 0 0 100px;
        text-align: left;
        padding-left: 0;
    }
    
    .timeline-content::before {
        left: -40px !important;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        height: 300px;
        margin-top: 20px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .mission-header {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 35, 0.98);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 10px;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 15px;
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin: 40px 0 30px;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .time-unit span {
        font-size: 2rem;
    }
    
    .planets-controls, .gallery-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .filter-buttons, .gallery-filter {
        justify-content: center;
    }
    
    .planets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid.list-view .gallery-item {
        flex-direction: column;
        height: auto;
    }
    
    .gallery-grid.list-view .gallery-img {
        width: 100%;
        height: 200px;
    }
    
    .timeline-item {
        margin-left: 40px;
    }
    
    .timeline-content::before {
        left: -30px !important;
        width: 15px;
        height: 15px;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 10px 5px;
    }
    
    .time-unit span {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .timeline-date {
        font-size: 1.2rem;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .lightbox-content {
        max-height: 80vh;
    }
    
    .lightbox-image {
        max-height: 50vh;
    }
}

@media (max-width: 360px) {
    .logo span {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .time-unit {
        min-width: 60px;
    }
    
    .time-unit span {
        font-size: 1.3rem;
    }
}

@media (hover: none) {
    .feature-card:hover,
    .planet-card:hover,
    .gallery-item:hover,
    .stat-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}