/* BEYOND EMBER - CORE STYLES */
:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-900: #18181b;
}

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

html,
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    cursor: none !important;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
.loader-text,
.menu-link,
.about-title {
    font-family: 'Syncopate', sans-serif;
    text-transform: uppercase;
}

/* ASH CANVAS */
#ash-canvas {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0.6;
}

@media (max-width: 768px) {
    #ash-canvas {
        z-index: 1;
        opacity: 0.35;
    }
}

/* CURSOR */
.cursor {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    mix-blend-mode: difference;
}

@media (max-width: 768px) {

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }
}

.cursor-follower {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: blur(5px);
}

/* NAV */
.main-nav {
    mix-blend-mode: difference;
    z-index: 1000;
}

.menu-toggle {
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger {
    width: 30px;
    height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 1px;
    background: white;
    transition: 0.4s;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* MENU OVERLAY - ABSOLUTE CENTER FIX */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    width: 100%;
}

.menu-link {
    font-size: clamp(2rem, 6vw, 6rem);
    color: white;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.05em;
    opacity: 0.3;
    transition: 0.4s;
    display: block;
}

.menu-link:hover {
    opacity: 1;
    letter-spacing: 0.1em;
}

/* HERO */
#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-bg-text,
.hero-bg-text-outline {
    font-size: 18vw;
    font-weight: 900;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    will-change: transform;
}

.hero-bg-text {
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
}

.hero-bg-text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    z-index: 2;
}

.hero-logo-main {
    max-width: 500px;
    width: 70vw;
    z-index: 10;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.about-image {
    height: 100vh;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.6);
    transition: 1.5s;
}

.about-text-container {
    padding: 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.about-title {
    font-size: 6vw;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.about-p {
    font-size: 1.2rem;
    color: var(--zinc-500);
    max-width: 500px;
    line-height: 1.6;
    font-style: italic;
}

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

    .about-image {
        height: 60vh;
    }

    .about-image img {
        filter: grayscale(0.5) brightness(0.8);
    }

    .about-title {
        font-size: 12vw;
    }

    .about-text-container {
        padding: 10vw 8vw;
    }
}

/* ENSEMBLE */
#members {
    padding: 15vh 0;
    background: transparent;
    /* Changed for ash visibility */
    width: 100%;
}

.member-card {
    transition: 0.5s;
    padding: 0;
}

.member-image-box {
    aspect-ratio: 4/5;
    background: #0a0a0a;
    overflow: hidden;
}

.member-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: 0.8s;
}

.member-card:hover .member-image-box img {
    transform: scale(1.05);
    filter: grayscale(0);
}

@media (max-width: 768px) {
    .member-image-box img {
        filter: grayscale(0.2) brightness(0.9);
    }
}

.member-info {
    padding-top: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    transition: 0.4s;
}

.member-card:hover h3 {
    letter-spacing: 0.2em;
}

/* SUPPORT & MERCH */
#support {
    padding: 10vh 5vw;
    background: transparent;
    /* Changed for ash visibility */
}

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

.support-card {
    height: 50vh;
    position: relative;
    overflow: hidden;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.5s;
}

.support-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.support-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.support-card p {
    color: var(--zinc-500);
    max-width: 350px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 10;
}

.support-btn {
    width: fit-content;
    padding: 1rem 2.5rem;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    position: relative;
    z-index: 10;
    transition: 0.3s;
}

.support-btn:hover {
    background: white;
    color: black;
}

.support-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.01;
    color: white;
    pointer-events: none;
    line-height: 1;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        height: 50vh;
        padding: 2rem;
    }

    .support-card h3 {
        font-size: 1.8rem;
    }
}

/* EXPERIENCE */
#experience {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.experience-marquee {
    display: flex;
    white-space: nowrap;
    opacity: 0.02;
    font-size: 15vw;
    font-weight: 900;
    position: absolute;
}

.unleash-title {
    font-size: clamp(1.2rem, 5vw, 5vw);
    font-weight: 900;
    letter-spacing: 0.2em;
    text-align: center;
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .unleash-title {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        padding: 0 2rem;
    }

    .main-nav {
        padding: 1.5rem !important;
    }
}

/* UTILITIES */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.items-center {
    align-items: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.w-full {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.z-100 {
    z-index: 1000;
}

.z-101 {
    z-index: 1001;
}

.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

.p-16 {
    padding: 4rem;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.text-xs {
    font-size: 0.75rem;
}

.opacity-30 {
    opacity: 0.3;
}

/* GRID */
.grid {
    display: grid;
}

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

.gap-0 {
    gap: 0;
}

.gap-10 {
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* LOADER */
.loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-bar {
    width: 0;
    height: 1px;
    background: white;
    margin-top: 2rem;
}

/* FOOTER FIX */
footer {
    padding: 10vh 2rem;
}

footer img {
    height: 30px !important;
    width: auto !important;
    object-fit: contain;
    margin-bottom: 2rem;
}