/* Font Faces */
@font-face {
    font-family: 'Akira Expanded';
    src: url('../fonts/Akira_Expanded.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cityburn';
    src: url('../fonts/cityburn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MarshalTheDead';
    src: url('../fonts/MarshalTheDead.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ThccHandwritten';
    src: url('../fonts/ThccHandwritten-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

/* body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
} */

.primary-yellow {
    color: #fff200;
}

/* Styles from index.php */
:root {
    --bg: #050505;
    --panel: #0b0b0b;
    --paper: #f4ecd1;
    --paper-2: #efe5bf;
    --text: #f4f0e7;
    --muted: rgba(244, 240, 231, .66);
    --accent: #fff200;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 242, 0, .22);
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'ThccHandwritten', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
.display {
    /* font-family: 'Space Grotesk', sans-serif; */
    font-family: 'Akira Expanded', sans-serif;
    letter-spacing: -0.05em;
}

.font-grotesk {
    font-family: 'Space Grotesk', sans-serif;
}

.letter-spacing-1 {
    letter-spacing: .1px;
}

.letter-spacing-2 {
    letter-spacing: .2px !important;
}

::selection {
    background: var(--accent);
    color: #111;
}

.container-x {
    width: min(1540px, calc(100% - 28px));
    margin: 0 auto;
}

header img {
    width: 160px;
}

@media screen and (max-width: 500px) {
    header img {
        width: 130px;
        text-align: center;
    }

    header {
        display: flex;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Grids from original design */
.grid-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 108px 108px;
    background-position: center;
}

.grid-dim {
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 84px 84px;
    background-position: center;
}

.grid-paper {
    background-image:
        linear-gradient(rgba(18, 18, 18, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, .07) 1px, transparent 1px);
    background-size: 96px 96px;
    background-position: center;
}

.noise:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: .05;
    mix-blend-mode: screen;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.record-spinner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .95) 0 4%, #111 5% 18%, var(--accent) 19% 26%, #111 27% 35%, transparent 36%), conic-gradient(from 0deg, rgba(255, 242, 0, .12), rgba(255, 242, 0, .85), rgba(255, 242, 0, .12));
    border: 1px solid rgba(255, 242, 0, .25);
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.custom-cursor.active {
    width: 80px;
    height: 80px;
    background: rgba(255, 242, 0, 0.8);
    mix-blend-mode: normal;
}

.cursor-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-cursor.active .cursor-text {
    display: block;
}

/* Magnetic Button */
.btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 242, 0, 0.05);
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-magnetic:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.clip-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Utilities */
.section-pad {
    padding: 120px 0;
}

.img-wrap {
    overflow: hidden;
    position: relative;
}

.img-wrap img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(-10%);
    will-change: transform;
}

.floating-music-icon {
    position: absolute;
    opacity: 0.8;
    will-change: transform;
}

.hero-fade {
    opacity: 0;
}

.marquee-track {
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- NEW SECTIONS STYLING (Value Bridge & THCC Meaning) --- */

.section-heading {
    font-size: clamp(1.8rem, 3.6vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.surface {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

.tilt-card {
    transform-style: preserve-3d;
}

.disc {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .95) 0 4%, #111 5% 18%, var(--accent) 19% 26%, #111 27% 35%, transparent 36%), conic-gradient(from 0deg, rgba(255, 242, 0, .12), rgba(255, 242, 0, .85), rgba(255, 242, 0, .12));
    border: 1px solid rgba(255, 242, 0, .25);
    box-shadow: inset 0 0 18px rgba(255, 242, 0, .3), 0 0 20px rgba(255, 242, 0, .08);
}

.bars {
    display: inline-flex;
    gap: 3px;
    align-items: flex-end;
    height: 18px;
}

.bars span {
    width: 3px;
    height: 6px;
    border-radius: 99px;
    background: var(--accent);
    opacity: .9;
}

/* --- ECOSYSTEM SECTION --- */
.ecosystem-card {
    background: #fff;
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .ecosystem-card {
        padding: 3rem;
    }
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

.ecosystem-card .bg-number {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: clamp(8rem, 15vw, 15rem);
    font-weight: 900;
    opacity: 0.04;
    line-height: 1;
    transform: translate(25%, 25%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.ecosystem-card:hover .bg-number {
    transform: translate(25%, 25%) scale(1.1);
}

.eco-chip {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

/* Equalizer Icon Animation */
.eq-icon {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 12px;
}

.eq-bar {
    width: 3px;
    background-color: var(--accent);
    border-radius: 2px;
    animation: eq-play 1.2s infinite ease-in-out;
}

.eq-bar:nth-child(1) {
    height: 6px;
    animation-delay: 0.0s;
}

.eq-bar:nth-child(2) {
    height: 10px;
    animation-delay: 0.2s;
}

.eq-bar:nth-child(3) {
    height: 14px;
    animation-delay: 0.4s;
}

.eq-bar:nth-child(4) {
    height: 10px;
    animation-delay: 0.6s;
}

.eq-bar:nth-child(5) {
    height: 6px;
    animation-delay: 0.8s;
}

@keyframes eq-play {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1);
    }
}

@media screen and (max-width: 500px) {
    .section-pad {
        padding: 60px 0;
    }
}

/* Featured Drop Responsive Background */
.drop-bg-mobile {
    display: none;
}

@media screen and (max-width: 600px) {
    .drop-bg-desktop {
        display: none;
    }

    .drop-bg-mobile {
        display: block;
    }
}