/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000000;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(88, 86, 214, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(255, 82, 82, 0.05) 0%, transparent 50%);
    min-height: 100vh;
}

/* Header and Navigation */
header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(88, 86, 214, 0.5);
}

.logo i {
    color: #5856d6;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5856d6, #ff5252);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(88, 86, 214, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(88, 86, 214, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 86, 214, 0.5);
}

/* Stars Animation */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiNmZmYiLz48L3N2Zz4=');
    background-size: 100px 100px;
    animation: stars 200s linear infinite;
}

@keyframes stars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-1000px);
    }
}

/* Explore Section */
.explore-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.explore-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.explore-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.explore-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.explore-card h3 {
    padding: 1rem;
    color: #fff;
}

.explore-card p {
    padding: 0 1rem 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.learn-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 1rem;
    color: #5856d6;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: #ff5252;
}

/* Discoveries Section */
.discoveries-section {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.discoveries-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.discoveries-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.discovery-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discovery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.discovery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.discovery-card h3 {
    padding: 1rem;
    color: #fff;
}

.discovery-card p {
    padding: 0 1rem 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Chat Section */
.chat-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.chat-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #5856d6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #5856d6;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .explore-grid,
    .discoveries-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Header */
.page-header {
    padding: 8rem 1rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(88, 86, 214, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* News Filters */
.news-filters {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(88, 86, 214, 0.2);
    border-color: #5856d6;
}

.filter-btn.active {
    background: linear-gradient(135deg, #5856d6, #ff5252);
    border-color: transparent;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.search-container input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 1rem;
}

.search-container input:focus {
    outline: none;
    border-color: #5856d6;
    box-shadow: 0 0 10px rgba(88, 86, 214, 0.2);
}

.search-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(88, 86, 214, 0.5);
}

/* Featured News */
.featured-news {
    padding: 4rem 2rem;
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
}

.article-content {
    padding: 2rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #5856d6;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #ff5252;
    transform: translateX(5px);
}

/* News Grid */
.news-grid {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-card .article-image {
    height: 200px;
}

.news-card .article-content {
    padding: 1.5rem;
}

.news-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #5856d6;
    box-shadow: 0 0 10px rgba(88, 86, 214, 0.2);
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(88, 86, 214, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .news-filters {
        padding: 1rem;
    }

    .filter-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .submit-button {
        width: 100%;
    }
}

/* Explore Categories */
.explore-categories {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.2), rgba(255, 82, 82, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 2rem;
    color: #5856d6;
}

.category-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.explore-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(88, 86, 214, 0.3);
}

/* Interactive Tour */
.interactive-tour {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.interactive-tour h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tour-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.tour-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 2;
}

.tour-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tour-btn:hover {
    background: rgba(88, 86, 214, 0.3);
    transform: scale(1.1);
}

.tour-content {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tour-slide {
    display: none;
    position: relative;
}

.tour-slide.active {
    display: block;
}

.tour-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.slide-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.slide-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Space Facts */
.space-facts {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.space-facts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fact-card i {
    font-size: 2.5rem;
    color: #5856d6;
    margin-bottom: 1rem;
}

.fact-card h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.fact-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }

    .tour-slide img {
        height: 300px;
    }

    .slide-info {
        padding: 1rem;
    }

    .slide-info h3 {
        font-size: 1.5rem;
    }

    .slide-info p {
        font-size: 1rem;
    }

    .tour-controls {
        padding: 0 0.5rem;
    }

    .tour-btn {
        width: 40px;
        height: 40px;
    }
}

/* Discoveries Filter */
.discoveries-filter {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Featured Discovery */
.featured-discovery {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.discovery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.discovery-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.discovery-image {
    position: relative;
    overflow: hidden;
}

.discovery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discovery-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
}

.discovery-details {
    padding: 2rem;
}

.discovery-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.discovery-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.discovery-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discovery-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.discovery-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.stat-item i {
    font-size: 1.5rem;
    color: #5856d6;
    margin-bottom: 0.5rem;
}

.stat-item span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Discoveries Grid */
.discoveries-grid {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.discovery-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.discovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.discovery-card .discovery-image {
    height: 200px;
}

.discovery-card .discovery-content {
    padding: 1.5rem;
}

.discovery-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* Discovery Timeline */
.discovery-timeline {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.discovery-timeline h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #5856d6, #ff5252);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-date {
    position: absolute;
    right: -2rem;
    top: 0;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: -2rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .discovery-content {
        grid-template-columns: 1fr;
    }

    .discovery-stats {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 2rem;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 2rem;
    }

    .timeline-date {
        left: -2rem;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: -2rem;
    }
}

/* Contact Container */
.contact-container {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-card i {
    font-size: 2rem;
    color: #5856d6;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-container h2 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5856d6;
    box-shadow: 0 0 10px rgba(88, 86, 214, 0.2);
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
}

.faq-question i {
    color: #5856d6;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Tabs Container */
.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    background: rgba(88, 86, 214, 0.2);
    border-color: #5856d6;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #5856d6, #ff5252);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(88, 86, 214, 0.3);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs-navigation {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .tab-btn i {
        font-size: 1rem;
    }
}

/* Diagrams Section */
.diagrams-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
}

.diagrams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.diagram-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.diagram-card:hover {
    transform: translateY(-5px);
}

.diagram-card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.diagram-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline Diagram */
.timeline-diagram {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-diagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

.timeline-point {
    position: relative;
    width: 20px;
    height: 20px;
    background: #4ecdc4;
    border-radius: 50%;
    z-index: 1;
}

.timeline-point::before {
    content: attr(data-year);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
}

.point-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Pie Diagram */
.pie-diagram {
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 50%;
    background: #2c3e50;
}

.pie-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform-origin: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

.pie-segment.dark-energy {
    background: #ff6b6b;
    clip-path: polygon(50% 50%, 100% 0, 100% 100%);
    transform: rotate(0deg);
}

.pie-segment.dark-matter {
    background: #4ecdc4;
    clip-path: polygon(50% 50%, 100% 0, 100% 100%);
    transform: rotate(244.8deg);
}

.pie-segment.visible-matter {
    background: #ffd93d;
    clip-path: polygon(50% 50%, 100% 0, 100% 100%);
    transform: rotate(334.8deg);
}

/* Galaxy Types */
.galaxy-types {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.galaxy-type {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.galaxy-shape {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.galaxy-shape.spiral {
    background: radial-gradient(circle at center, #4ecdc4 0%, transparent 70%),
                repeating-linear-gradient(45deg, #4ecdc4 0%, transparent 10%, transparent 20%);
}

.galaxy-shape.elliptical {
    background: radial-gradient(circle at center, #ff6b6b 0%, transparent 70%);
    transform: scale(0.7, 1);
}

.galaxy-shape.irregular {
    background: radial-gradient(circle at center, #ffd93d 0%, transparent 70%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.type-label {
    color: #fff;
    font-size: 1.1rem;
}

/* Star Life Cycle */
.star-cycle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 200px;
}

.cycle-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stage-shape {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.stage-shape.nebula {
    background: radial-gradient(circle at center, #ff6b6b 0%, transparent 70%);
    filter: blur(5px);
}

.stage-shape.protostar {
    background: radial-gradient(circle at center, #ffd93d 0%, #ff6b6b 70%);
}

.stage-shape.main-sequence {
    background: radial-gradient(circle at center, #4ecdc4 0%, #ffd93d 70%);
}

.stage-shape.red-giant {
    background: radial-gradient(circle at center, #ff6b6b 0%, #ffd93d 70%);
    transform: scale(1.5);
}

.stage-shape.white-dwarf {
    background: radial-gradient(circle at center, #fff 0%, #4ecdc4 70%);
    transform: scale(0.5);
}

.stage-label {
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 768px) {
    .diagrams-grid {
        grid-template-columns: 1fr;
    }

    .diagram-container {
        min-height: 250px;
    }

    .timeline-diagram {
        height: 150px;
    }

    .star-cycle {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .cycle-stage {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* AI Images Section */
.ai-images-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95));
}

.ai-images-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-image-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.ai-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.ai-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ai-image-card:hover .ai-image-container img {
    transform: scale(1.05);
}

.ai-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-image-card:hover .ai-image-overlay {
    opacity: 1;
}

.ai-prompt {
    font-size: 0.9rem;
    font-style: italic;
}

.ai-image-info {
    padding: 1.5rem;
}

.ai-image-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.ai-image-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.regenerate-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #5856d6, #ff5252);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.regenerate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 86, 214, 0.3);
}

@media (max-width: 768px) {
    .ai-images-grid {
        grid-template-columns: 1fr;
    }

    .ai-image-container {
        height: 250px;
    }
}

/* Simulation Preview Styles */
.simulation-preview {
    position: relative;
    overflow: hidden;
}

.simulation-preview-container {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #4ecdc4;
    transition: all 0.3s ease;
}

.preview-icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.preview-placeholder span {
    font-size: 1.2rem;
    font-weight: bold;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Simulation Styles */
#simulation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom, #000000, #1a1a1a);
}

.simulation-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 15px;
    color: white;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.simulation-controls button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    background: linear-gradient(135deg, #5856d6, #4ecdc4);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.simulation-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.3);
}

.telemetry {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 15px;
    color: white;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.telemetry div {
    margin: 5px 0;
    font-family: 'Courier New', monospace;
    color: #4ecdc4;
}

.environment-selector {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.environment-selector label {
    display: block;
    margin-bottom: 8px;
    color: #4ecdc4;
}

.environment-selector select {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.environment-selector select:focus {
    outline: none;
    border-color: #4ecdc4;
} 
/* Ensure box-sizing is consistent */
* {
    box-sizing: border-box;
  }
  
  /* Set default font and remove default margins */
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
  }
  
  /* Container for content */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
  }
  
  /* Flexible layout with Flexbox */
  .flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  /* Default styles for elements (e.g., divs, sections) */
  .responsive-item {
    flex: 1 1 calc(33.33% - 20px); /* 3 items per row by default */
    margin: 10px;
    min-width: 250px; /* Minimum width to prevent items from being too small */
  }
  
  /* Responsive images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Media query for tablets (max-width: 768px) */
  @media (max-width: 768px) {
    .responsive-item {
      flex: 1 1 calc(50% - 20px); /* 2 items per row */
    }
    .container {
      padding: 10px;
    }
    body {
      font-size: 14px; /* Slightly smaller font for tablets */
    }
  }
  
  /* Media query for mobile phones (max-width: 480px) */
  @media (max-width: 480px) {
    .responsive-item {
      flex: 1 1 100%; /* 1 item per row */
    }
    .container {
      padding: 8px;
    }
    body {
      font-size: 12px; /* Smaller font for mobile */
    }
  }