:root {
    /* Color Palette */
    --primary-blue: #0E4B75;
    --secondary-blue: #1C81AB;
    --accent-teal: #00B4D8;
    --light-water: #CAF0F8;
    --dark-bg: #031B2A;
    --text-main: #333333;
    --text-light: #F5F5F5;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.accent-section {
    background: var(--gradient-blue);
    color: var(--text-light);
}

/* Typography Helpers */
.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.line {
    height: 4px;
    width: 60px;
    background-color: var(--accent-teal);
    margin-bottom: 1.5rem;
}

.line.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn.primary {
    background-color: var(--accent-teal);
    color: var(--dark-bg);
}

.btn.primary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
}

.btn.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn.secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn.outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn.outline:hover {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 75, 117, 0.25);
}

.dark-section .btn.outline {
    color: var(--white);
    border-color: var(--white);
}

.dark-section .btn.outline:hover,
.accent-section .btn.outline:hover {
    background-color: var(--white);
    color: var(--primary-blue) !important;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Navigation - Glassmorphism */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 1rem 0;
}

nav.scrolled {
    background: rgba(3, 27, 42, 0.9);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
}

.logo span {
    color: var(--accent-teal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-teal);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section (Parallax) */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax */
    z-index: -1;
    background: var(--dark-bg);
    overflow: hidden;
    /* Fallback if no JS/Scroll-driven animation */
    transform: translateY(0);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(3, 27, 42, 0.72) 0%,
        rgba(3, 27, 42, 0.65) 50%,
        rgba(3, 27, 42, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Utilities for JS Animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.delay-1 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Panel Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.glass-panel.dark {
    background: rgba(3, 27, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
}
.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

.about-image {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
}

/* Ecosystem Architecture Diagram */
.about-image {
    padding: 1.25rem;
}

.ecosystem-diagram {
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: block;
}

.ecosystem-diagram text {
    font-family: var(--font-body);
    text-anchor: middle;
    fill: var(--text-main);
}

.ecosystem-diagram .eco-frame-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    fill: var(--primary-blue);
}

.ecosystem-diagram .eco-frame-sub {
    font-size: 11px;
    fill: #64748b;
}

.ecosystem-diagram .eco-layer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    fill: var(--primary-blue);
}

.ecosystem-diagram .eco-layer-sub {
    font-size: 12px;
    fill: #64748b;
}

.ecosystem-diagram .eco-invert {
    fill: var(--white);
}

.ecosystem-diagram .eco-invert-sub {
    fill: var(--light-water);
}

.ecosystem-diagram .eco-chip rect {
    fill: var(--light-water);
    stroke: var(--accent-teal);
    stroke-opacity: 0.5;
}

.ecosystem-diagram .eco-chip text {
    font-size: 12px;
    font-weight: 600;
    fill: var(--primary-blue);
}

.ecosystem-diagram .eco-tool-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    fill: var(--white);
}

.ecosystem-diagram .eco-tool-sub {
    font-size: 11px;
    fill: var(--light-water);
}

@media (max-width: 768px) {
    .about-image {
        height: auto;
        aspect-ratio: 620 / 500;
    }
}

.partners-banner {
    margin-top: 5rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(14, 75, 117, 0.1);
    position: relative;
    overflow: hidden;
}

.partners-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    display: block;
}

.partners-marquee-wrap {
    position: relative;
    padding: 0.5rem 0 1.5rem;
    overflow: hidden;
    width: 100%;
}

.partners-marquee-wrap::before,
.partners-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee-track {
    display: flex;
    width: max-content;
    animation: partners-scroll-left 36s linear infinite;
}

.partners-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes partners-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 108px;
    margin: 0 14px;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(14, 75, 117, 0.1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-decoration: none;
    cursor: pointer;
}

.partner-logo-card:hover {
    background: #ffffff;
    border-color: rgba(14, 75, 117, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(14, 75, 117, 0.12);
}

.partner-logo-card img {
    max-width: 90%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-logo-card:hover img {
    transform: scale(1.08);
}

/* Enhanced visual balance for logos with smaller native aspect ratios */
.partner-logo-card img[src*="lsu"],
.partner-logo-card img[src*="msdeltanlc"] {
    max-width: 96%;
    max-height: 90%;
    transform: scale(1.22);
}

.partner-logo-card:hover img[src*="lsu"],
.partner-logo-card:hover img[src*="msdeltanlc"] {
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .partner-logo-card {
        width: 160px;
        height: 75px;
        margin: 0 10px;
        padding: 0.75rem 1rem;
    }
    .partners-marquee-wrap::before,
    .partners-marquee-wrap::after {
        width: 50px;
    }
}

/* Ecosystem Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tool-media {
    height: 250px;
    background: #0e2a3f;
    overflow: hidden;
    position: relative;
}

.tool-media img,
.tool-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.tool-card:hover .tool-media img,
.tool-card:hover .tool-img {
    transform: scale(1.05);
}

.tool-content {
    padding: 2rem;
}

.tool-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.badge {
    display: inline-block;
    background: var(--accent-teal);
    color: var(--dark-bg);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.features-list {
    margin: 1.5rem 0;
    list-style: none;
}

.features-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.8;
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

.tool-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Learn Section */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.learn-card {
    padding: 2.5rem 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.learn-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(14, 75, 117, 0.06);
    border: 1px solid rgba(14, 75, 117, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.learn-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.learn-card p {
    margin-bottom: 2rem;
    color: #555;
    flex-grow: 1;
}

.learn-card .btn {
    align-self: flex-start;
}

/* Community Section */
.community-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: start;
}

.community-content h2 {
    font-size: 2.4rem;
    margin-bottom: 0.25rem;
}

.community-content > p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
    line-height: 1.5;
}

.pathways {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.pathway-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--accent-teal);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.pathway-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    border-left-color: var(--accent-cyan);
}

.pathway-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: rgba(0, 200, 180, 0.12);
    color: var(--accent-teal);
    margin-top: 2px;
    transition: background 0.25s ease;
}

.pathway-icon svg {
    width: 18px;
    height: 18px;
}

.pathway-card:hover .pathway-icon {
    background: rgba(0, 200, 180, 0.22);
}

.pathway-card-text {
    flex: 1;
    min-width: 0;
}

.pathway-role {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 0.15rem;
}

.pathway-card h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.pathway-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.community-links {
    padding: 1.75rem 1.5rem;
}

.community-links h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.hub-group {
    margin-bottom: 1.25rem;
}

.hub-group:last-child {
    margin-bottom: 0;
}

.hub-group-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.hub-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    padding: 0.7rem 0.85rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    margin-bottom: 0.4rem;
    text-decoration: none;
}

.hub-item:last-child {
    margin-bottom: 0;
}

.hub-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 200, 180, 0.3);
    transform: translateX(3px);
}

.hub-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 6px;
    background: rgba(0, 200, 180, 0.1);
    color: var(--accent-teal);
    transition: background 0.25s ease;
}

.hub-item:hover .hub-item-icon {
    background: rgba(0, 200, 180, 0.2);
}

.hub-item-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hub-item-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.hub-item-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
    margin-top: 1px;
}

.hub-item-arrow {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.hub-item:hover .hub-item-arrow {
    color: var(--accent-teal);
    transform: translateX(2px);
}

/* Discord dialog */
button.hub-item.discord-trigger {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.discord-dialog-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.discord-dialog {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: linear-gradient(145deg, rgba(30, 33, 48, 0.97), rgba(20, 22, 34, 0.98));
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(88, 101, 242, 0.08);
    transform: scale(0.92) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.discord-dialog-overlay[aria-hidden="false"] .discord-dialog {
    transform: scale(1) translateY(0);
}

.discord-dialog-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.discord-dialog-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.discord-dialog-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.85rem 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-dialog-channels {
    display: flex;
    flex-direction: column;
    padding-top: 0.25rem;
}

.discord-channel-hash {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5865F2;
    font-family: monospace;
    line-height: 1;
}

/* Scenario Library Section */
.library-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.scenario-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    background: var(--white);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
}

.scenario-img {
    height: 150px;
    background: #e2e8f0;
    overflow: hidden;
}

.scenario-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.scenario-card:hover .scenario-img img {
    transform: scale(1.05);
}

.scenario-img .img-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #64748b;
    padding: 1rem;
    text-align: center;
}

.scenario-info {
    padding: 1rem;
}

.scenario-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.scenario-info .author {
    font-size: 0.8rem;
    color: #666;
}

.upload-card {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
}

.upload-card:hover {
    background: #f1f5f9;
    border-color: var(--primary-blue);
}

.upload-content {
    text-align: center;
    padding: 2rem 1rem;
}

.icon-large {
    font-size: 3rem;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Events Section */
.events-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    gap: 2rem;
    transition: background 0.3s ease;
}

.event-item:hover {
    background: rgba(255,255,255,0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    min-width: 84px;
    height: 84px;
    border-radius: 8px;
    color: var(--white);
    padding: 0.35rem;
    flex-shrink: 0;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--light-water);
}

.event-date .day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.05;
}

.event-date .year {
    font-size: 0.72rem;
    opacity: 0.85;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    margin-bottom: 0.3rem;
    color: var(--accent-teal);
}

.event-details p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #02111a;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--accent-teal);
}

.footer-brand p {
    opacity: 0.7;
    max-width: 400px;
}

.footer-links h4 {
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Animations & Modern Web API Fallbacks */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid, .tools-grid, .community-split {
        grid-template-columns: 1fr;
    }
    
    .learn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .library-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS toggle for real implementation */
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .learn-grid, .library-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
