/* --- Brand Variables --- */
:root {
    --primary-gold: #D4AF37;
    --bg-dark: #121212;
    --bg-surface: #1E1E1E;
    --text-main: #FFFFFF;
    --text-dim: #A0A0A0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.3s ease;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents unwanted horizontal scrolling */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Header & Logo Fixes --- */
.site-header {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 125px; /* This prevents the EA logo from exploding in size */
}

.brand-logo {
    width: 100%;
    height: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.main-nav a:hover { color: var(--primary-gold); }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #000; /* Fallback */
    /* If you have a background image, uncomment the line below */
    /* background: url('hero-bg.jpg') center/cover no-repeat; */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(70deg, rgba(0,0,0,0.9) 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 25px;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary-gold);
    color: #000;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 15px;
    border: none;
    transition: var(--transition);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-main);
    padding: 16px 32px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* --- Categories Grid --- */
.categories-section { padding: 100px 0; }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 50px; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.category-card {
    height: 450px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    position: relative;
    text-decoration: none;
}

.category-card h3 {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
}

/* --- Modal Styles --- */
.modal {
    margin: auto;
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid #333;
    padding: 0;
    max-width: 450px;
    width: 90%;
}

.modal::backdrop { background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(5px); }
.modal-content { padding: 40px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.close-btn { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 5px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px; background: #2a2a2a; border: 1px solid #444; color: #fff;
}

.full-width { width: 100%; cursor: pointer; }

/* --- Navigation CTA Button --- */
.btn-nav-cta {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 8px 16px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.btn-nav-cta:hover {
    background: var(--primary-gold);
    color: #000;
}

/* --- Hero Store Icon Alignment --- */
.hero-store-align {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.store-btn img {
    height: 50px; /* Matching the size from your app.html */
    width: auto;
    display: block;
}

/* Ensure icons are centered on mobile */
@media (max-width: 768px) {
    .hero-store-align {
        justify-content: center;
    }
}

/* 1. Reduce Hero Height */
.artist-hero {
    height: 45vh; /* Lowered from 60vh */
    padding-bottom: 40px;
}

/* 3. Horizontal Video Scroll */
.video-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.video-flex-container {
    display: flex;
    gap: 20px;
    /* This ensures two videos fit per "view" roughly */
}

.video-card {
    min-width: calc(50% - 10px); /* Sets width to roughly half */
    flex: 0 0 auto;
}

/* Custom Scrollbar for better UX */
.video-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}
.video-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}
