:root {
    --bg-color: #050508;
    --text-color: #ffffff;
    --primary-color: #e0e0e0; /* Moon Silver */
    --secondary-color: #8fa3b0; /* Slate Blue/Gray */
    --accent-glow: #76c0ff; /* Moon Pale Blue */
    --accent-glow-mars: rgba(118, 192, 255, 0.7);
    --glass-bg: rgba(20, 20, 30, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--accent-glow-mars);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Background Canvas */
#spaceCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn {
    background: linear-gradient(135deg, var(--secondary-color), #ffffff);
    color: var(--bg-color);
    border: none;
    box-shadow: 0 0 20px rgba(118, 192, 255, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(118, 192, 255, 0.8);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 1px solid var(--accent-glow);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2) inset;
}

.secondary-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5) inset, 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}

.mars-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px var(--primary-color); }
    50% { transform: scale(1.5); box-shadow: 0 0 20px var(--primary-color); }
    100% { transform: scale(1); box-shadow: 0 0 10px var(--primary-color); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 400;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-glow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background: white;
    color: var(--bg-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.5); /* Dark overlay to make text readable */
    z-index: -1;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
    opacity: 0.8;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(118, 192, 255, 0.1) 0%, rgba(5, 5, 8, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    padding: 100px 20px 40px; /* Top padding to clear navbar, bottom padding for breathing space */
    margin-top: 0; 
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards 0.5s;
    position: relative;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.glitch {
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    background: -webkit-linear-gradient(45deg, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.4rem;
    letter-spacing: 5px;
    margin-bottom: 25px;
    color: #aaa;
    font-weight: 300;
}

.hero-quotes {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.7);
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    text-align: left;
    display: inline-block;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 15px;
    margin: 10px auto 0;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-glow);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Hero Logos */
.hero-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px; 
    margin-bottom: -20px;
}

.logos-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-logo {
    height: 70px;
    width: auto;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: var(--transition-smooth);
}

.hero-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mission Section */
.mission {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 45, 0.6);
    border-color: rgba(226, 88, 34, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(226, 88, 34, 0.5);
}

.stat-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-sub {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Stations Section / Cards */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.station-card {
    background: linear-gradient(180deg, rgba(20,20,30,0.6) 0%, rgba(10,10,15,0.8) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.station-img-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.station-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.station-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.station-card:hover {
    transform: translateY(-15px);
    border-color: rgba(118, 192, 255, 0.4);
    box-shadow: 0 15px 40px rgba(118, 192, 255, 0.1);
}

.station-card:hover .station-number {
    color: rgba(118, 192, 255, 0.2);
    transform: scale(1.1);
}

.station-card:hover .station-img {
    transform: scale(1.1);
}

.station-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.activity {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(226, 88, 34, 0.1);
    border: 1px solid rgba(226, 88, 34, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.station-card p:last-child {
    color: rgba(255,255,255,0.8);
    position: relative;
    z-index: 2;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(180deg, rgba(20,20,30,0.8) 0%, rgba(10,10,15,0.95) 100%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(118, 192, 255, 0.1);
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    padding: 50px 40px;
    position: relative;
    transform: scale(0.9) translateY(40px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 30px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 5px;
}

.modal-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.modal-body {
    text-align: left;
    margin-bottom: 30px;
}

.modal-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.modal-act-wrapper {
    background: rgba(118, 192, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

/* Networking Section */
.networking {
    position: relative;
}

.networking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.networking-text h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.networking-text h3 {
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 20px;
    font-weight: 400;
}

.networking-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.networking-list {
    list-style: none;
    margin-bottom: 40px;
}

.networking-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.nights-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.night-badge {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.networking-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.networking-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(118, 192, 255, 0.1);
    transform-style: preserve-3d;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.networking-image-wrapper:hover {
    transform: rotateY(0) rotateX(0);
}

.networking-video-sim {
    width: 120%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: -10%;
    animation: cinematicPan 25s ease-in-out infinite alternate;
    filter: brightness(0.9) contrast(1.1);
}

.networking-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(118, 192, 255, 0.2) 0%, transparent 50%, rgba(5, 5, 8, 0.8) 100%);
    pointer-events: none;
}

@keyframes cinematicPan {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(-2%, 2%); }
    100% { transform: scale(1.05) translate(2%, -2%); }
}

/* Footer & Sponsors */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(0deg, rgba(5,5,8,1) 0%, rgba(10,10,15,0) 100%);
}

.sponsorship {
    text-align: center;
    margin-bottom: 80px;
}

.sponsorship h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.artemis-badge {
    display: inline-block;
    padding: 20px 40px;
    border: 1px solid var(--accent-glow);
    background: rgba(0, 240, 255, 0.05);
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: var(--accent-glow);
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .glitch { font-size: 4rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .networking-content { grid-template-columns: 1fr; }
    .networking-visual { height: 300px; }
    .footer-bottom { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .hero-cta { flex-direction: column; }
    .glitch { font-size: 3rem; }
    .section-header h2 { font-size: 2.5rem; }
}

/* Reveal Animation Class for JS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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