:root {
    --bg-dark: #110a08; /* Dark charcoal near-black background */
    --accent-red: #E52E04;
    --accent-orange: #FFA500;
    --accent-blue: #0047AB; /* From the wave in the logo */
    --accent-cyan: #00FFFF;
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --font-heading: 'Outfit', sans-serif;
    --font-accent: 'Permanent Marker', cursive; /* Surf/chill accent font */
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: var(--bg-dark); /* Fallback */
}

/* Subtle gradient to anchor the content over the embers */
.overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 0%, rgba(17, 10, 8, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Setup */
h1, h2, h3 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-hot {
    color: var(--accent-red);
    font-family: var(--font-accent);
    font-size: 2rem;
    padding-right: 5px;
}

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

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

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-orange);
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 2rem 4rem 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tagline {
    font-family: var(--font-accent);
    color: var(--accent-orange);
    font-size: 2rem;
    margin-bottom: 1rem;
    transform: rotate(-3deg);
}

.hero h1 {
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.9;
    margin: 0;
    clear: both;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-red);
    text-shadow: 0 0 20px rgba(229, 46, 4, 0.4);
}

.char {
    display: inline-block;
}

.cta-btn {
    margin-top: 3rem;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-orange));
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(229, 46, 4, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(229, 46, 4, 0.5);
}

/* Bento Grid Features */
.features {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.bento-card {
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s, border-color 0.4s;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(229, 46, 4, 0.1), rgba(0, 71, 171, 0.05));
    z-index: -1;
}

.glass {
    background: rgba(17, 10, 8, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bento-card:hover {
    transform: translateY(-10px);
    border-color: rgba(229, 46, 4, 0.4);
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card h2, .bento-card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.bento-card.large h2 {
    font-size: 3rem;
    line-height: 1.1;
}

.bento-card h3 {
    font-size: 2rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Page Headers */
.page-header {
    padding: 12rem 4rem 6rem;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    color: var(--accent-orange);
    margin-bottom: 1rem;
    white-space: nowrap;
}
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem 6rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1.5rem 2rem;
    }
    .nav-links {
        display: none; /* Hide by default */
    }
    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(17, 10, 8, 0.98);
        backdrop-filter: blur(20px);
        box-sizing: border-box;
        padding-top: 4rem;
        align-items: center;
        gap: 3rem;
    }
    .nav-links.nav-active a {
        font-size: 2rem;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        /* Dropped minimum font size so words don't awkwardly break characters */
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        white-space: nowrap; /* Prevents awkward single-letter drop */
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.large {
        grid-column: span 1;
    }
    .features {
        padding: 4rem 2rem;
    }
}
