:root {
    /* Background colors for different sections */
    --bg-hero: #0261a0;
    --bg-about: #003d66;
    --bg-themes: #004b7c;
    --bg-faq: #005c99;
    --bg-footer: #0261a0;
    
    --accent-blue: #3b82f6;
    --accent-yellow: #FFC72C;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    
    --transition-speed: 0.8s;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-hero);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed) ease;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(11, 14, 20, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-yellow);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Main Layout */
section {
    min-height: 80vh;
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
#hero {
    text-align: center;
    align-items: center;
    height: 100vh;
}

.hero-tag {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

#hero h1 {
    /* font-size: clamp(3rem, 8vw, 6rem); */
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    text-transform: none;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--accent-yellow);
    color: black;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100px;
    height: 4px;
    background: var(--accent-yellow);
}

/* Grid for content */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.grid img {
    max-width: 100%;
    max-height: 100%;
}
#sponsors .grid div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: #003d66d0;
    border: 1px solid #ffffff40;
    padding: 2.5rem;
    border-radius: 20px;
    transition: background 0.3s;
}

.card:hover {
    background: rgb(15, 98, 153, 240);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--accent-yellow);
}

/* FAQ Styling */
.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

/* Footer */
footer {
    color: var(--text-dim);
    padding: 4rem 10%;
    background: var(--bg-footer);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.socials a {
    color: var(--text-dim);
    text-decoration: none;
}

/* Background switcher utility classes */
.bg-trigger {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    section { padding: 80px 5%; }
}


#voxel-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Puts it behind everything */
    pointer-events: none; /* Allows you to still click buttons/links */
    opacity: 0.6; /* Softens the effect so text remains readable */
}