:root {
    /* Dark Theme (Premium) */
    --bg-main: #020617;
    --bg-header: rgba(2, 6, 23, 0.85);
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --purple-glow: rgba(255, 136, 0, 0.3);
    
    --primary-gradient: linear-gradient(135deg, #FF6600 0%, #FF8800 100%);
    --accent-gradient: linear-gradient(135deg, #FF8800 0%, #FFAA00 100%);
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.6);

    /* Responsive Spacing & Scaling */
    --container-padding: 1.5rem;
    --section-padding: 3rem 0;
    --touch-target: 44px;
}


@media (min-width: 768px) {
    :root {
        --container-padding: 2.5rem;
        --section-padding: 5rem 0;
    }
}


[data-theme="light"] {
    --bg-main: #F8FAFC;
    --bg-header: rgba(248, 250, 252, 0.85);
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border-color: rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(15, 23, 42, 0.02);
    --purple-glow: rgba(168, 85, 247, 0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Utilities */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.m-hide { display: none !important; }
@media (min-width: 768px) { .m-hide { display: flex !important; } .d-hide { display: none !important; } }


/* Typography Header Scaling */
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
}

h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Mobile Padding & Spacing */
.py-responsive { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .py-responsive { padding-top: 5rem; padding-bottom: 5rem; } }

.mb-responsive { margin-bottom: 1.5rem; }
@media (min-width: 768px) { .mb-responsive { margin-bottom: 3rem; } }

/* Touch Targets */
.btn-touch { min-height: var(--touch-target); display: inline-flex; align-items: center; justify-content: center; }




.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 25px var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px var(--purple-glow);
}

/* Bootstrap Overrides */
.btn-primary, .bg-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: white !important;
}

.btn-outline-primary {
    color: #FF8800 !important;
    border-color: #FF8800 !important;
}

.btn-outline-primary:hover {
    background: #FF8800 !important;
    color: white !important;
}

.text-primary {
    color: #FF8800 !important;
}

.border-primary {
    border-color: #FF8800 !important;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.pill-btn {
    padding: 0.8rem 1.8rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-secondary);
    font-weight: 700;
    transition: var(--transition);
}

.pill-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: #FF8800;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 480px) {
    .logo { font-size: 1.3rem; }
}


.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo span.loop {
    color: var(--text-secondary);
    font-weight: 400;
}

[data-theme="light"] .logo span.loop {
    color: #64748b;
}

.nav-links {
    display: none;
    gap: 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}


.nav-links a:hover {
    color: #FF8800;
}

.nav-links a.active {
    color: #FF8800;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 767px) {
    .hamburger { display: flex; }
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-main);
    z-index: 2000;
    padding: 2rem;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Logo Theme Switching */
.logo-default { display: none; }
.logo-light { display: block; } /* Default to light logo for dark headers */

[data-theme="light"] .logo-default { display: block !important; }
[data-theme="light"] .logo-light { display: none !important; }

[data-theme="dark"] .logo-default { display: none !important; }
[data-theme="dark"] .logo-light { display: block !important; }

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-links a {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.drawer-links a i {
    width: 20px;
    height: 20px;
    color: #FF8800;
}

.drawer-links a:hover {
    color: var(--text-primary);
}



.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.mobile-toggle {
    display: none !important;
}

.action-icon {
    cursor: pointer;
    position: relative;
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.action-icon:hover {
    background: var(--glass-bg);
    color: #FF8800;
}

/* Cart Icon Special Styling: Orange by default, White on Click/Active */
#cart-icon-btn {
    color: #FF8800;
}

#cart-icon-btn:hover,
#cart-icon-btn.active {
    color: white;
    background: rgba(255, 136, 0, 0.1);
}

/* Badge matches cart state if needed, but currently stays orange */
.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #FF8800;
    color: white;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    border: 2px solid var(--bg-main);
}

/* Hero Section Premium */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
    font-weight: 400;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
    width: 220px;
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    z-index: 5;
}

.card-1 { top: -20px; right: 10%; animation-delay: 0s; }
.card-2 { bottom: 0; left: 5%; animation-delay: 2.5s; width: 240px; }
.card-3 { top: 40%; right: -20px; animation-delay: 5s; width: 180px; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
}

.glow-sphere {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    opacity: 0.6;
}

/* Categories Section */
.categories {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        text-align: left;
    }
}


.creator-slider-wrapper {
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.creator-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.creator-slider {
    display: flex;
    gap: 2rem;
    padding-bottom: 2rem;
    width: max-content;
    min-width: 100%;
}

@media (min-width: 1024px) {
    .creator-slider {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
}

.creator-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    width: 250px;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.category-card {
    background: var(--bg-card);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #FF8800;
    background: var(--bg-card-hover);
}

.cat-icon {
    width: 64px;
    height: 64px;
    background: var(--glass-bg);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #FF8800;
    transition: var(--transition);
}

.category-card:hover .cat-icon {
    background: #FF8800;
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Product Cards Premium - Responsive Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.premium-card {
    background: #0B0E14; /* Slightly darker for more contrast */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer; /* Entire card is clickable */
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(168, 85, 247, 0.3);
}

.card-image-box {
    position: relative;
    height: 220px; /* More compact */
    margin: 10px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: transform 0.6s ease;
    overflow: hidden;
}

.premium-card:hover .card-image-box {
    transform: scale(1.05);
}

.card-top-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: flex-start;
    z-index: 2;
}

.card-bottom-badges {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
}

.rating-pill {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.type-badge {
    background: rgba(168, 85, 247, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #FFAA00;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body {
    padding: 0.5rem 1.25rem 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: #FFFFFF;
}

.card-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-label {
    display: block;
    font-size: 0.65rem;
    color: #64748B;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

.price-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #FF8800; /* Solid color matches screenshot price better */
}

.circle-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition);
    border: none;
}

.premium-card:hover .circle-btn {
    background: #FF8800;
    color: white;
}

.product-card {
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Products Page Sidebar */
.products-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
    padding: 4rem 0;
}

.sidebar-premium {
    position: sticky;
    top: 120px;
}

.filter-group {
    margin-bottom: 3rem;
}

.filter-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-search {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}

.sidebar-search:focus {
    border-color: #FF8800;
    box-shadow: 0 0 0 4px var(--purple-glow);
}

.accordion-item {
    background: var(--bg-card);
    border-radius: 18px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.accordion-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-card-hover);
}

.accordion-header.active {
    background: #FF8800;
    color: white;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item {
    padding: 1.2rem 1.5rem;
    background: var(--bg-card);
    border-radius: 18px;
    border: 1.5px solid var(--border-color);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.filter-item.active {
    background: #FF8800;
    color: white;
    border-color: #FF8800;
}

.filter-item:hover:not(.active) {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

/* Grid Sections */
.journey-section {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15), transparent 70%);
    padding: 10rem 0;
    text-align: center;
    position: relative;
}

.journey-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.journey-content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1;
}

/* Community & Footer */
.community-section {
    text-align: center;
    padding: 8rem 0;
}

footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border-color);
    background: #010409;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 6rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    display: block;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-links a:hover {
    color: #FF8800;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 6rem; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-visual { height: 400px; }
    .footer-main { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
}

@media (max-width: 640px) {
    .footer-main { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-col { padding-left: 0 !important; }
}


@media (max-width: 900px) {
    .products-wrapper { grid-template-columns: 1fr; }
    .sidebar-premium { position: static; margin-bottom: 4rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .section-header h2 { font-size: 2.4rem; }
    .desktop-only { display: none !important; }
    .mobile-toggle { display: flex !important; }
}

/* Additional Visibility Fixes */
[data-theme="light"] label, 
[data-theme="light"] .form-label {
    color: #0F172A;
    font-weight: 600;
}

/* Rating Text Visibility in Light Theme */
[data-theme="light"] .rating-pill {
    background: rgba(255, 255, 255, 0.9);
    color: #0F172A;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

[data-theme="light"] .rating-pill i {
    color: #f59e0b;
}

/* Mini Cart Styles */
.cart-wrapper {
    position: relative;
    display: inline-block;
}

.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: -10px;
    width: 320px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.mini-cart-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-close-btn {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.cart-close-btn:hover {
    color: var(--brand-purple);
}

.mini-cart-items {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.mini-cart-items::-webkit-scrollbar {
    width: 4px;
}

.mini-cart-items::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.mini-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mini-item:last-child {
    border-bottom: none;
}

.mini-item-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.mini-item-info {
    flex: 1;
}

.mini-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-item-price {
    font-size: 0.8rem;
    color: var(--brand-purple);
    font-weight: 700;
}

.mini-item-remove {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s;
}

.mini-item-remove:hover {
    color: #ef4444;
}

.mini-cart-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Drawer Close Fix */
.drawer-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 25px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: var(--transition);
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-purple);
}

@media (max-width: 768px) {
    .drawer-close {
        display: flex;
    }
}

/* Real-time Search Styles */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 400px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    z-index: 1100;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-close-btn {
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    color: #FF8800; /* Use orange for visibility */
    transition: all 0.2s;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-right: -10px;
}

.search-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input-group {
    position: relative;
    margin-bottom: 15px;
}

#header-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 15px 12px 40px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

#header-search-input:focus {
    border-color: var(--brand-purple);
    background: rgba(255, 255, 255, 0.08);
}

.search-input-group::before {
    content: '\F52A'; /* Bootstrap icons search */
    font-family: Bootstrap-icons;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

.search-spinner {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s;
    cursor: pointer;
    margin-bottom: 5px;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.search-result-price {
    font-size: 0.75rem;
    color: var(--brand-purple);
    font-weight: 700;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

    @media (max-width: 576px) {
    .search-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        z-index: 2001;
    }
}

/* Creators Slider Section */
.creators-section {
    padding: 8rem 0;
    background: radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.05), transparent 60%);
}

.creator-slider-wrapper {
    position: relative;
    padding: 20px 0;
}

.creator-slider {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    padding: 10px 10px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.creator-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.creator-card {
    flex: 0 0 240px;
    scroll-snap-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.creator-card:hover {
    transform: translateY(-10px);
    border-color: #FF8800;
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.creator-avatar-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: var(--primary-gradient);
    position: relative;
}

.creator-img, .creator-img-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    font-size: 2rem;
    font-weight: 900;
    color: #FF8800;
}

/* Utility Classes */
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }

@media (max-width: 768px) {
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }
}

/* Advanced Hero Section Recreation */
.hero-advanced {
    position: relative;
    padding: 10rem 0;
    min-height: 800px;
    background: #020617;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-producer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%; /* Extra width for panning */
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    filter: grayscale(100%) blur(4px);
    mix-blend-mode: screen;
    animation: pan-bg 40s linear infinite alternate;
}

@keyframes pan-bg {
    from { transform: translateX(0); }
    to { transform: translateX(-15%); }
}

.hero-bg-visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 1rem;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.v-bar {
    width: 3px;
    background: linear-gradient(to top, #FF6600, #a855f7);
    border-radius: 4px;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { height: 15%; opacity: 0.3; }
    50% { height: 95%; opacity: 1; }
}

/* Add delays for random effect */
.v-bar:nth-child(2n) { animation-duration: 2s; animation-delay: -0.5s; background: #FF8800; }
.v-bar:nth-child(3n) { animation-duration: 1.2s; animation-delay: -0.2s; background: #a855f7; }
.v-bar:nth-child(4n) { animation-duration: 1.8s; animation-delay: -0.8s; }
.v-bar:nth-child(5n) { animation-duration: 1.4s; animation-delay: -1s; }

/* Layer 1: Background Marquee */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    overflow: hidden;
    filter: grayscale(100%) blur(4px);
}

.marquee-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%) rotate(-5deg);
    opacity: 0.12;
    filter: blur(4px);
    pointer-events: none;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee-horizontal 60s linear infinite;
}

.marquee-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@keyframes marquee-horizontal {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 136, 0, 0.1) 0%, transparent 50%);
    z-index: 2;
}

/* Layer 3: Foreground Content */
.hero-container {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 5.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(to right, #FF6600, #FFAA33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .white-text {
    color: white;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 3.5rem;
}

/* Visualizer Badge */
.visualizer-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.375rem 1rem;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 100px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.music-disc-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-disc-spin {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.equalizer .bar {
    width: 2px;
    background: #FF8800;
    border-radius: 1px;
    animation: equalize 1s ease-in-out infinite;
}

.equalizer .bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.equalizer .bar:nth-child(2) { height: 100%; animation-delay: 0s; }
.equalizer .bar:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.equalizer .bar:nth-child(4) { height: 50%; animation-delay: 0.3s; }

@keyframes equalize {
    0%, 100% { height: 40%; }
    50% { height: 100%; }
}

/* Primary Glow Button */
.btn-primary-glow {
    background: linear-gradient(135deg, #FF6600, #FF8800);
    color: white;
    padding: 1.25rem 2.75rem;
    border-radius: 50px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
    border: none;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.6);
    color: white;
    background: linear-gradient(135deg, #FF8800, #FFAA33);
}

.btn-secondary-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    margin-left: 1rem;
    transition: all 0.3s;
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Layer 2: Interactive Visuals (Floating Cards) */
.hero-visual {
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    animation: orb-pulse 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes orb-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.floating-card-v2 {
    position: absolute;
    width: 260px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(255, 102, 0, 0.25);
    z-index: 5;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-card-v2:hover {
    transform: scale(1.05) translateY(-10px) !important;
    border-color: #FF8800;
    z-index: 10;
}

.p-card-img {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.p-card-name {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.p-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-card-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FF8800;
}

.p-card-rating {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-icon {
    width: 12px;
    fill: #f59e0b;
    color: #f59e0b;
}

/* Varied Animations for Cards */
.card-1 {
    top: -5%;
    right: 20%;
    animation: float 4.5s ease-in-out infinite;
    transform: rotate(-4deg);
}

.card-2 {
    bottom: -5%;
    right: -2%;
    width: 250px;
    animation: float 6.5s ease-in-out infinite;
    animation-delay: -1.5s;
    transform: rotate(3deg);
}

.card-3 {
    top: 65%;
    right: 48%;
    width: 230px;
    animation: float 5.5s ease-in-out infinite;
    animation-delay: -3s;
    transform: rotate(2deg);
}

.card-4 {
    top: 15%;
    right: -8%;
    width: 210px;
    animation: float 7s ease-in-out infinite;
    animation-delay: -4.5s;
    transform: rotate(-2deg);
}

.card-5 {
    bottom: 15%;
    right: 60%;
    width: 220px;
    animation: float 5s ease-in-out infinite;
    animation-delay: -2.5s;
    transform: rotate(5deg);
}

.central-disc-button {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6600, #FF8800);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.5);
    z-index: 15;
    animation: float-center 5s ease-in-out infinite;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.central-disc-button img {
    width: 60%;
    height: 60%;
    animation: spin 4s linear infinite;
}

@keyframes float-center {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -15px) scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -30px) rotate(2deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -20px) rotate(-3deg); }
}

@keyframes float-med {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 20px) rotate(1deg); }
}

@media (max-width: 991px) {
    .hero-advanced {
        padding: 6rem 0;
        text-align: center;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 8rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .floating-card-v2 {
        width: 180px;
    }
    
    .card-2 { left: 0; }
    .card-3 { right: 0; }
}

@media (max-width: 576px) {
    .hero-advanced {
        padding: 4rem 1rem;
        min-height: auto;
    }

    .hero-layout {
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-btns .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
    }

    .hero-visual {
        height: 320px;
        margin-top: 2rem;
    }

    .glow-orb {
        width: 180px;
        height: 180px;
    }

    .floating-card-v2 {
        width: 150px;
        padding: 0.5rem;
    }

    /* Simplified floating cards for mobile */
    .card-1 { top: 0; left: 0; display: flex; }
    .card-2 { bottom: 0; right: 0; display: flex; }
    .card-3, .card-4, .card-5 { display: none; }

    .central-disc-button {
        width: 70px;
        height: 70px;
        top: 40% !important;
        right: 35% !important;
    }
}

.creator-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.creator-stats {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.creator-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FF8800;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: rgba(168, 85, 247, 0.1);
    transition: var(--transition);
}

.creator-card:hover .creator-link {
    background: #FF8800;
    color: white;
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.85); /* Dark blue/black glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none !important;
    font-size: 0.7rem;
    font-weight: 700;
    transition: var(--transition);
    padding: 0.5rem;
    min-width: 64px;
}

.nav-item i {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

.nav-item:hover, .nav-item.active {
    color: #FF8800; /* Brand Color */
}

.nav-item.active i {
    color: #FF8800;
    transform: translateY(-2px);
}

/* Mobile Bottom Sheet (Offcanvas) */
.mobile-bottom-sheet {
    border-top-left-radius: 28px !important;
    border-top-right-radius: 28px !important;
    background-color: #0f172a !important; /* Force dark background */
    height: auto !important;
    max-height: 80vh;
    border: none !important;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.82);
    color: white;
}

.mobile-bottom-sheet .offcanvas-title {
    color: #FF8800;
}

.mobile-bottom-sheet {
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px 24px 0 0 !important;
    height: auto !important;
    min-height: 40vh !important;
    z-index: 3000 !important;
}

.offcanvas-backdrop {
    z-index: 2900 !important;
}

.mobile-bottom-sheet .list-group-item {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    padding: 1rem 1.25rem !important;
    border-left: none !important;
    border-right: none !important;
    transition: all 0.2s;
}

.mobile-bottom-sheet .list-group-item:last-child {
    border-bottom: none !important;
}

.mobile-bottom-sheet .list-group-item.active-item {
    background: rgba(255, 136, 0, 0.12) !important;
    color: #FF8800 !important;
    border-left: 4px solid #FF8800 !important;
}

.mobile-bottom-sheet .list-group-item .active-check {
    display: none;
    color: #FF8800;
}

.mobile-bottom-sheet .list-group-item.active-item .active-check {
    display: block;
}

.bg-brand {
    background-color: #FF8800 !important;
}

/* Add padding to body to prevent bottom nav overlapping content */
@media (max-width: 991px) {
    body {
        padding-bottom: 85px !important;
    }
}


