:root {
    --primary-color: #000000;
    --background-color: #ffffff;
    --text-color: #333333;
    --accent-color: #666666;
    --card-bg: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    z-index: 1002;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    transition: color 0.2s ease;
    position: relative;
    z-index: 1002;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}
.nav-logo-futuristic {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  
  .logo-image {
    height: 40px; /* Adjust height as needed */
    width: auto;
    margin-right: 10px;
  }

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 120px 2rem 4rem;
    max-width: 1800px;
    margin: 0 auto;
    min-height: 0;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

.hero-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--background-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-2px);
}

.stream-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--background-color);
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.stream-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.minecraft-grid {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.about-preview {
    padding: 5rem 2rem;
    background: var(--card-bg);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-item {
    padding: 2rem;
    background: var(--background-color);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.live-preview {
    padding: 5rem 2rem;
}

.stream-placeholder {
    aspect-ratio: 16/9;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stream-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
}

.stream-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-color);
}

h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.live-stream {
    padding: 5rem 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.stream-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.about {
    padding: 5rem 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Blog Page Styles */
.blog-page {
    padding-top: 80px;
}

.blog-header {
    background: var(--card-bg);
    padding: 4rem 0;
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    padding: 4rem 0;
    background: var(--background-color);
}

.featured-post {
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card.featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.blog-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
}

.blog-meta time {
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.875rem;
}

.blog-card.featured h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--card-bg);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-dots {
    color: var(--text-color);
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 3rem 0;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-card.featured h2 {
        font-size: 1.75rem;
    }

    .blog-card h3 {
        font-size: 1.25rem;
    }

    .filter-container {
        padding-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 1.5rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination-btn {
        width: 35px;
        height: 35px;
    }
}

/* Team Page Styles */
.team-page {
    padding-top: 80px;
}

.team-header {
    background: var(--card-bg);
    padding: 4rem 0;
    text-align: center;
}

.team-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-header p {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.leadership-section,
.core-team-section,
.advisors-section {
    padding: 4rem 0;
}

.leadership-section h2,
.core-team-section h2,
.advisors-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-grid,
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.member-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-color);
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 1;
}

.team-card.leadership {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.team-card.leadership .member-image {
    aspect-ratio: 1;
}

.team-card.advisor {
    text-align: center;
}

.team-card.advisor .member-image {
    aspect-ratio: 1;
    max-width: 200px;
    margin: 2rem auto 0;
    border-radius: 50%;
}

.join-team-section {
    background: var(--card-bg);
    padding: 4rem 0;
    text-align: center;
}

.join-team-content {
    max-width: 600px;
    margin: 0 auto;
}

.join-team-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.join-team-content p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.join-team-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 1024px) {
    .team-card.leadership {
        grid-template-columns: 1fr;
    }

    .team-header h1 {
        font-size: 2.5rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-header {
        padding: 3rem 0;
    }

    .team-header h1 {
        font-size: 2rem;
    }

    .leadership-section h2,
    .core-team-section h2,
    .advisors-section h2 {
        font-size: 1.75rem;
    }

    .join-team-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .member-info {
        padding: 1rem;
    }

    .member-info h3 {
        font-size: 1.25rem;
    }
}

/* About Page Styles */
.about-page {
    padding-top: 80px;
}

.about-header {
    background: var(--card-bg);
    padding: 4rem 0;
    text-align: center;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-header p {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.about-intro {
    padding: 4rem 0;
    background: var(--background-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.methodology {
    padding: 4rem 0;
    background: var(--card-bg);
}

.methodology h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.methodology-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.methodology-card:hover {
    transform: translateY(-5px);
}

.methodology-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.methodology-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.methodology-card p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
}

.timeline {
    padding: 4rem 0;
    background: var(--background-color);
}

.timeline h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-content {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
}

.timeline-content time {
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-color);
    opacity: 0.9;
}

.impact {
    padding: 4rem 0;
    background: var(--card-bg);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.impact-image {
    border-radius: 12px;
    overflow: hidden;
}

.impact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.impact-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.9;
}

.impact-list {
    list-style: none;
    padding: 0;
}

.impact-list li {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.impact-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.partners {
    padding: 4rem 0;
    background: var(--background-color);
}

.partners h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
}

.contact-section {
    padding: 4rem 0;
    background: var(--card-bg);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 1024px) {
    .about-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 3rem 0;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .methodology-card,
    .timeline-content,
    .partner-logo {
        padding: 1rem;
    }
}

/* Live Stream Page Styles */
.live-page {
    padding-top: 80px;
}

.live-header {
    background: var(--card-bg);
    padding: 4rem 0;
    text-align: center;
}

.live-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.live-header p {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.stream-section {
    padding: 2rem 0;
    background: var(--background-color);
}

.stream-container {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.stream-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.stream-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-info {
    padding: 1.5rem;
}

.stream-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    color: #ff0000;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.viewer-count {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.875rem;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.stream-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stream-info p {
    color: var(--text-color);
    opacity: 0.9;
}

.civilization-stats {
    padding: 4rem 0;
    background: var(--background-color);
}

.civilization-stats h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stats-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
}

.stats-header {
    margin-bottom: 2rem;
}

.stats-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.civilization-age {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.875rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--text-color);
    opacity: 0.7;
}

.stat-value {
    font-weight: 500;
}

.progress-bars {
    margin-top: 2rem;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-item label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.875rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.recent-events {
    padding: 4rem 0;
    background: var(--card-bg);
}

.recent-events h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.events-container {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 12px;
}

.event-card time {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.875rem;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--text-color);
    opacity: 0.9;
}

.interaction-section {
    padding: 4rem 0;
    background: var(--background-color);
}

.interaction-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.interaction-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.interaction-content p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.notification-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.notification-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--card-bg);
}

.notification-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.notification-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.9;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .live-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .live-header {
        padding: 3rem 0;
    }

    .live-header h1 {
        font-size: 2rem;
    }

    .notification-form {
        flex-direction: column;
    }

    .event-card {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .stream-info,
    .stats-card,
    .event-card {
        padding: 1rem;
    }

    .notification-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Section Containers */
.section-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* About Section */
.about-section {
    background: var(--background-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    background: var(--card-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-image {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
    font-size: 0.9375rem;
}

/* Live Stats Section */
.live-stats-section {
    background: var(--background-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.stat-metrics {
    display: grid;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--background-color);
    border-radius: 8px;
}

.stat-label {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9375rem;
}

.stat-value {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Latest Updates Section */
.latest-updates {
    background: var(--card-bg);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.update-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.update-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
}

.update-meta time {
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.875rem;
}

.update-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.update-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--background-color);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-container {
        padding: 3rem 1.5rem;
    }

    .about-grid,
    .features-grid,
    .stats-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 2rem 1rem;
    }

    .about-card,
    .feature-card,
    .stat-card,
    .update-card {
        padding: 1.5rem;
    }
}

@media (max-width: 1400px) {
    .stream-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

@media (max-width: 1200px) {
    .stream-layout {
        grid-template-columns: 1fr;
        max-width: 1000px;
    }

    .stream-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .live-chat {
        height: 350px;
    }
}

@media (max-width: 1024px) {
    .section-container {
        padding: 0 2rem;
    }

    .grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .section-container {
        padding: 0 1rem;
    }

    .modal {
        padding: 1.5rem;
    }

    .form-footer {
        flex-direction: column;
    }

    .form-footer button {
        width: 100%;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1001;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.toast-message {
    color: var(--text-color);
    font-size: 0.875rem;
}

@media (max-width: 480px) {
    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        text-align: center;
        justify-content: center;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    transition: color 0.2s ease;
    position: relative;
    z-index: 1002;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: var(--card-bg);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: var(--background-color);
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.active {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-color);
    opacity: 0.9;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--background-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    background: var(--background-color);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
}

/* Additional Responsive Optimizations */
@media (max-width: 1024px) {
    .section-container {
        padding: 0 2rem;
    }

    .grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 0 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .section-container {
        padding: 0 1rem;
    }

    .modal {
        padding: 1.5rem;
    }

    .form-footer {
        flex-direction: column;
    }

    .form-footer button {
        width: 100%;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

/* Experiments Page */
.experiments-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.experiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.experiment-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.experiment-card:hover {
    transform: translateY(-4px);
}

.experiment-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.experiment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experiment-content {
    padding: 1.5rem;
}

.experiment-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.metric {
    text-align: center;
    padding: 0.5rem;
    background: var(--background-color);
    border-radius: 4px;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-color);
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* AI Comparison Table */
.ai-comparison {
    margin-top: 4rem;
}

.table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--background-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--background-color);
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Roadmap Page */
.roadmap-container {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-timeline {
    margin-top: 3rem;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-left: 2px solid var(--accent-color);
    margin-left: 50px;
    position: relative;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 2rem;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
}

.roadmap-date {
    font-weight: 500;
    color: var(--accent-color);
}

.roadmap-content {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Whitepaper Page */
.whitepaper-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: calc(var(--navbar-height) + 20rem);
    padding-top: 6rem;
}

.paper-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.paper-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.paper-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
}

.paper-meta .author {
    font-weight: 500;
}

.paper-section {
    margin: 3rem 0;
}

.paper-section h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.paper-section h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 2rem 0 1rem;
}

.paper-section h4 {
    font-size: 1.2rem;
    color: #444;
    margin: 1.5rem 0 1rem;
}

.paper-section p {
    line-height: 1.6;
    color: #333;
    margin: 1rem 0;
}

.paper-section ul, 
.paper-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.paper-section li {
    margin: 0.5rem 0;
    line-height: 1.5;
    color: #333;
}

.formula-block {
    background: rgba(0, 0, 0, 0.02);
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
}

.formula {
    font-family: 'KaTeX_Math', serif;
    font-size: 1.2rem;
    text-align: center;
    margin: 1rem 0;
    color: #1a1a1a;
}

.formula-block ul {
    margin-top: 1rem;
    list-style-type: none;
    padding-left: 0;
}

.formula-block li {
    margin: 0.5rem 0;
    color: #444;
}

@media (max-width: 768px) {
    .whitepaper-container {
        padding: 1rem;
        margin: 1rem;
    }

    .paper-header h1 {
        font-size: 2rem;
    }

    .paper-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .formula-block {
        padding: 1rem;
    }
}

/* Roadmap Detail Page */
.roadmap-detail {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.roadmap-article {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
}

.roadmap-article .meta {
    margin: 1rem 0 2rem;
    color: var(--accent-color);
}

.content-section {
    margin: 2rem 0;
}

.timeline {
    margin-top: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
}

.timeline-item .date {
    color: var(--accent-color);
    font-weight: 500;
}

/* Futuristic Navbar Styles */
.navbar-futuristic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    overflow: hidden;
}

.nav-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nav-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.nav-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo-futuristic {
    position: relative;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-text {
    position: relative;
    z-index: 1;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-logo-futuristic:hover .logo-glow {
    opacity: 1;
}

.nav-links-futuristic {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    overflow: hidden;
}

.link-text {
    position: relative;
    z-index: 1;
}

.link-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-link:hover .link-hover-effect {
    transform: translateX(100%);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Add subtle animation for the grid */
@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

.nav-grid {
    animation: gridMove 20s linear infinite;
}

/* Add hover effect for the entire navbar */
.navbar-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.navbar-futuristic:hover::before {
    transform: translateX(100%);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation Utility Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Add animation delays for staggered effect */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Apply animations to main content sections */
.whitepaper-container,
.live-page,
.experiments-container,
.roadmap-container {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

/* Animate sections within pages */
.paper-section,
.live-header,
.experiment-card,
.roadmap-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations for list items and cards */
.paper-section:nth-child(1) { animation-delay: 200ms; }
.paper-section:nth-child(2) { animation-delay: 400ms; }
.paper-section:nth-child(3) { animation-delay: 600ms; }

.experiment-card:nth-child(1) { animation-delay: 200ms; }
.experiment-card:nth-child(2) { animation-delay: 400ms; }
.experiment-card:nth-child(3) { animation-delay: 600ms; }

.roadmap-item:nth-child(1) { animation-delay: 200ms; }
.roadmap-item:nth-child(2) { animation-delay: 400ms; }
.roadmap-item:nth-child(3) { animation-delay: 600ms; }

/* Animate navbar items */
.nav-links-futuristic .nav-link {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.nav-links-futuristic .nav-link:nth-child(1) { animation-delay: 100ms; }
.nav-links-futuristic .nav-link:nth-child(2) { animation-delay: 200ms; }
.nav-links-futuristic .nav-link:nth-child(3) { animation-delay: 300ms; }
.nav-links-futuristic .nav-link:nth-child(4) { animation-delay: 400ms; }
.nav-links-futuristic .nav-link:nth-child(5) { animation-delay: 500ms; }

/* Animate logo */
.nav-logo-futuristic {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Add smooth transitions for hover effects */
.nav-link,
.experiment-card,
.roadmap-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhance hover effects */
.experiment-card:hover,
.roadmap-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feed-container {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.feed-item {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feed-item time {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.feed-content {
    color: var(--text-color);
}

.feed-item:last-child {
    border-bottom: none;
}
