:root {
    /* Color Palette */
    --bg-dark: #0f0f11;
    --bg-card: #1a1a1f;
    --bg-player: rgba(20, 20, 24, 0.95);
    --bg-modal: rgba(15, 15, 17, 0.85);

    --text-main: #f5f5f5;
    --text-muted: #a0a0a5;

    --accent-primary: #e6192b;
    /* Vibrant Red */
    --accent-hover: #ff3344;
    --gold: #f1c40f;
    /* Optional gold for premium feel */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-player: 0 -10px 30px rgba(0, 0, 0, 0.5);

    /* Layout */
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 90px;
    /* Space for the fixed audio player */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 25, 43, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.small-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    gap: 0.5rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 15, 17, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo h1 {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.nav-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.cart-toggle {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 15, 17, 0.3) 0%, rgba(15, 15, 17, 1) 100%),
        url("../assets/images/mixer-2666136_1280.jpg") no-repeat center center/cover;
    z-index: -1;
    opacity: 0.6;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content .tagline {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-content .accent {
    color: var(--accent-primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Beat Store Section */
.beat-store {
    background-color: var(--bg-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    font-size: 2.5rem;
}

.store-filters {
    display: flex;
    gap: 1rem;
}

.store-filters input,
.store-filters select {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-family: var(--font-body);
}

.store-filters input:focus,
.store-filters select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Beat List Grid */
.beat-list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beat-list {
    list-style: none;
}

.beat-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--bg-card);
    margin-bottom: 0.5rem;
    border-radius: 6px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.beat-item:hover {
    background: #222228;
    transform: translateX(5px);
}

.beat-item.playing {
    border-left: 3px solid var(--accent-primary);
}

.beat-title-col {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.beat-art {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.beat-art .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    font-size: 1.5rem;
}

.beat-art:hover .play-overlay,
.beat-item.playing .play-overlay {
    opacity: 1;
}

.beat-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.beat-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.beat-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.beat-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Audio Player */
.audio-player {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 150%);
    width: 95%;
    max-width: 950px;
    background: rgba(18, 18, 22, 0.98); /* Almost solid to avoid overlap bugs on unsupported browsers */
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.03); /* Soft, elevated shadow */
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    padding: 0;
    overflow: hidden;
}

.audio-player.active {
    transform: translate(-50%, 0);
}

.top-progress {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 6px;
    margin: 0;
    padding: 0;
}

.top-progress .time-label {
    display: none;
}

.top-progress .progress-bar {
    height: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
}

.top-progress .progress-fill {
    border-radius: 0;
    background: var(--accent-primary);
}

.player-controls {
    display: flex;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
}

.player-track-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 25%;
}

.track-artwork {
    width: 60px;
    height: 60px;
    background-color: #333;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.track-details h4 {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.track-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.player-main-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    gap: 0.5rem;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.play-pause-btn {
    font-size: 2.5rem;
    color: var(--text-main);
}

.play-pause-btn:hover {
    color: var(--accent-primary);
    transform: scale(1.05);
}

.accent-play-btn {
    color: var(--accent-primary);
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 10px rgba(230,25,43,0.3));
}

.accent-play-btn:hover {
    color: var(--accent-hover);
    transform: scale(1.1);
    filter: drop-shadow(0 6px 15px rgba(230,25,43,0.5));
}

.progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 3px;
    width: 0%;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.progress-bar:hover .progress-fill::after {
    opacity: 1;
}

.player-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    width: 25%;
}

#volume-slider {
    width: 80px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

/* Modals & Overlays */
.cart-overlay,
.license-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-modal);
    backdrop-filter: blur(5px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.cart-overlay.show,
.license-modal.show {
    opacity: 1;
    pointer-events: all;
}

.cart-modal,
.license-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}

.cart-overlay.show .cart-modal,
.license-modal.show .license-content {
    transform: translateY(0);
}

.cart-header,
.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-items {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cart-item-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cart-checkout {
    width: 100%;
}

/* Licensing Options */
.license-content {
    max-width: 800px;
}

.license-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.license-card {
    background: #222228;
    padding: 1.5rem;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.license-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.license-card.selected,
.license-card:active {
    border-color: var(--accent-primary);
    background: rgba(230, 25, 43, 0.05);
}

.license-card h4 {
    margin-bottom: 0.5rem;
}

.license-card .price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.license-card ul {
    list-style: none;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.license-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.license-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* About & Contact */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: url('https://images.unsplash.com/photo-1516280440502-8610eb6752da?q=80&w=2070&auto=format&fit=crop') center/cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.footer {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 1rem;
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-info h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.social-links a:hover {
    color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Hide standard links to keep navbar clean, user can scroll */
    }

    .beat-list-header,
    .beat-item {
        grid-template-columns: 2fr 1.5fr auto; /* Hide BPM/Time to keep it simple */
    }

    .header-tags,
    .beat-tags,
    .beat-time,
    .beat-bpm {
        display: none;
    }

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

    .license-options {
        grid-template-columns: 1fr;
    }

    .audio-player {
        padding: 0;
    }

    .player-controls {
        padding: 0.8rem 1rem;
    }

    .player-main-controls {
        width: auto;
    }

    .player-track-info {
        width: auto;
        flex-grow: 1;
    }

    .player-actions {
        width: auto;
    }

    .hide-mobile {
        display: none !important;
    }
    
    .accent-play-btn {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .hero-content .tagline {
        font-size: 2.5rem;
    }

    .beat-list-header {
        display: none;
    }

    .beat-item {
        grid-template-columns: 1fr; /* Stack everything */
        gap: 0.5rem;
        padding: 1rem;
        text-align: center;
    }

    .beat-title-col {
        flex-direction: column;
        align-items: center;
    }

    .beat-actions {
        justify-content: center;
        width: 100%;
    }

    .player-controls {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .track-details p {
        display: none; /* hide artist name on small mobile to save space */
    }
    
    .track-details h4 {
        max-width: 100px;
        white-space: normal;
        overflow: visible;
        font-size: 0.9rem;
    }

    body {
        padding-bottom: 120px;
    }
}

/* --- V2 NEW SECTIONS CSS --- */

/* Base Grid System for new sections */
.videos-grid,
.services-grid,
.memberships-grid,
.merch-grid,
.blog-grid {
    display: grid;
    gap: 2rem;
}

.videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.video-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-primary);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.video-placeholder:hover {
    background: #1a1a1a;
}

.video-card h4 {
    padding: 1rem;
    text-align: center;
}

/* Services */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color var(--transition-fast);
}

.service-card:hover {
    border-color: var(--accent-primary);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-height: 50px;
}

.service-card .price {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--text-main);
    margin: 1.5rem 0;
}

/* Memberships */
.memberships-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
}

.membership-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.membership-card.premium-tier {
    background: #222228;
    border-color: var(--accent-primary);
    transform: scale(1.05);
    padding: 3.5rem 2rem;
    box-shadow: 0 10px 30px rgba(230, 25, 43, 0.2);
}

.membership-card .badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.membership-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.membership-card .price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.membership-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.membership-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.membership-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.membership-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Merchandise */
.merch-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.merch-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition-fast);
}

.merch-card:hover {
    transform: translateY(-5px);
}

.merch-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #111;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
}

.merch-card h4 {
    margin-bottom: 0.5rem;
}

.merch-card .price {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Blog */
.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.blog-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-img {
    width: 100%;
    height: 200px;
    background: #2a2a30;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-weight: bold;
}

.blog-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.blog-info h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.blog-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: bold;
    font-family: var(--font-heading);
    transition: color var(--transition-fast);
}

.read-more:hover {
    color: var(--accent-primary);
}

/* Mobile Adjustments for new sections */
@media (max-width: 900px) {
    .membership-card.premium-tier {
        transform: scale(1);
        padding: 2.5rem 2rem;
    }
}

/* --- CHECKOUT PAGE CSS --- */

.checkout-page {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.order-summary {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    height: fit-content;
}

.checkout-items {
    margin: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.checkout-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.license-badge {
    display: inline-block;
    background: rgba(230, 25, 43, 0.1);
    color: var(--accent-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
}

.payment-section {
    padding: 1rem 0;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.payment-option {
    flex: 1;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: all var(--transition-fast);
}

.payment-option.active {
    border-color: var(--accent-primary);
    background: rgba(230, 25, 43, 0.05);
}

.payment-option input {
    display: none;
}

.payment-option i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.payment-option.active i {
    color: var(--accent-primary);
}

.checkout-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}

.crypto-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1.5rem;
}

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

/* --- HFSPROD / BEATSTARS SPA CLONE STYLES --- */

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.auth-link:hover {
    color: var(--accent-primary);
}

.nav-separator {
    color: rgba(255, 255, 255, 0.2);
}

.clickable-title {
    cursor: pointer;
    transition: color var(--transition-fast);
}

.clickable-title:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Track Details Modal SPA */
.track-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(230,25,43,0.1) 0%, transparent 50%),
        url('../assets/images/mesh-dark.png');
    background-size: cover;
    background-position: center;
    overflow-y: auto;
}

.track-details-modal.open {
    transform: translateY(0);
}

.td-header {
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-start;
    background: transparent;
}

.td-close-btn {
    font-size: 2.5rem;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 0.5rem;
}

.td-content {
    display: flex;
    gap: 3rem;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.td-main {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.td-cover {
    width: 100%;
    aspect-ratio: 1;
    background: #222;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.td-info h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.td-artist {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.td-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.td-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #ccc;
}

.td-stat i {
    color: var(--accent-primary);
}

.td-action-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.td-action-buttons .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 30px;
}

.td-action-buttons .icon-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 1.5rem;
}

.td-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.td-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.td-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.comment-input-area {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.comment-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.small-btn {
    padding: 0.8rem 1rem;
}

/* Related Tracks Item */
.related-track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

.related-track-item:hover {
    background: rgba(255,255,255,0.05);
}

.rt-cover {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.rt-info h5 {
    margin: 0;
    font-size: 1rem;
}

.rt-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Audio Visualizer */
.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-bottom: 2rem;
}

.visualizer .bar {
    width: 8px;
    height: 5px;
    background: var(--accent-primary);
    border-radius: 4px 4px 0 0;
    transition: height 0.1s ease;
}

.visualizer.playing .bar {
    animation: eq 1.2s infinite ease-in-out;
}

.visualizer.playing .bar:nth-child(1) { animation-delay: 0.1s; }
.visualizer.playing .bar:nth-child(2) { animation-delay: 0.4s; }
.visualizer.playing .bar:nth-child(3) { animation-delay: 0.2s; }
.visualizer.playing .bar:nth-child(4) { animation-delay: 0.6s; }
.visualizer.playing .bar:nth-child(5) { animation-delay: 0.3s; }
.visualizer.playing .bar:nth-child(6) { animation-delay: 0.7s; }
.visualizer.playing .bar:nth-child(7) { animation-delay: 0.2s; }
.visualizer.playing .bar:nth-child(8) { animation-delay: 0.5s; }

@keyframes eq {
    0%, 100% { height: 5px; }
    50% { height: 100%; }
}

@media (max-width: 900px) {
    .td-content {
        flex-direction: column;
    }
    
    .td-info h2 {
        font-size: 2.5rem;
    }
}