/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- VARIABLES (DARK MODE) --- */
:root {
    --font-main: 'Inter', sans-serif;

    --color-bg: #050505;
    --color-surface: #121212;
    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-border: #333333;

    --header-height: 70px;
    --border-radius-pill: 100px;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide Scrollbar globally for cleaner look */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

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

/* Hide everything except loader until loaded */
body:not(.loaded)>*:not(#loader) {
    opacity: 0;
}

body>*:not(#loader) {
    transition: opacity 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}


img {
    display: block;
    max-width: 100%;
}

/* --- LOADER --- */
#loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loading-done #loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-main);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-line {
    width: 0;
    height: 2px;
    background: var(--color-text-main);
    animation: loadLine 1.2s ease-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes loadLine {
    0% {
        width: 0;
    }

    100% {
        width: 150px;
    }
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-pill {
    background: var(--color-surface);
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-main);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-pill {
    background: var(--color-surface);
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    cursor: pointer;
}

/* --- HERO --- */
.hero-section {
    position: relative;
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 7vw;
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 20px;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 500;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-text-main);
    color: var(--color-bg);
    border-radius: var(--border-radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 10px;
}

/* --- SPLIT --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 80vh;
    width: 100%;
}

.split-block {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
}

.split-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.split-block:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.split-title {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* --- HORIZONTAL SCROLL SECTIONS --- */
.section-container {
    padding: 60px 0 60px 40px;
    /* Right padding removed for full bleed scroll */
    max-width: 100%;
    overflow: hidden;
    /* Hide overflow from container */
    position: relative;
}

.section-header {
    margin-bottom: 30px;
    padding-right: 40px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--color-text-main);
}

/* Horizontal Scroll Container */
.products-scroll-wrapper {
    position: relative;
    width: 100%;
}

.product-grid {
    display: flex;
    /* Horizontal flow */
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-right: 80px;
    /* Space for arrow */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-card {
    min-width: 280px;
    /* Fixed card width */
    max-width: 280px;
    flex-shrink: 0;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-surface);
    margin-bottom: 15px;
    border-radius: 4px;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.product-card:hover .product-img {
    transform: scale(1.05);
    filter: brightness(1);
}

.product-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Right Arrow Overlay */
.scroll-arrow-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--color-bg) 40%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.products-scroll-wrapper:hover .scroll-arrow-right {
    opacity: 1;
}

.arrow-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    transition: transform 0.2s;
}

.arrow-circle:hover {
    transform: scale(1.1);
    background: #333;
}


/* --- FANZONE (MARQUEE) --- */
.fanzone-section {
    padding: 80px 0;
    background: var(--color-surface);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

/* Pause on hover */
.marquee-track:hover {
    animation-play-state: paused;
}

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

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

    /* Shift by half (since we duplicate content) */
}

.fan-card {
    min-width: 300px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.fan-img-container {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.fan-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fan-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fan-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.fan-username {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.fan-handle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* --- FOOTER --- */
footer {
    background: #000;
    color: #888;
    padding: 80px 40px;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--color-text-main);
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

/* --- SEARCH OVERLAY --- */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.98);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.search-overlay.active {
    pointer-events: auto;
    opacity: 1;
}

.search-wrap {
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
}

.search-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 40px;
}

#search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    outline: none;
    text-transform: uppercase;
}

.close-btn {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .split-section {
        grid-template-columns: 1fr;
        height: auto;
    }

    .split-block {
        height: 50vh;
    }

    .section-container {
        padding-left: 20px;
    }

    header {
        padding: 0 20px;
    }

    .section-header {
        padding-right: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}