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

:root {
    --primary-bg: #09090b;
    --secondary-bg: #131316;
    --tertiary-bg: #1e1e22;
    --card-bg: var(--tertiary-bg);
    --accent-bg: #363637;
    --light-text: #f0f0f5;
    --medium-text: #c5c5c8;
    --dark-text: #888899;
    --border-color: #3f3f42;
    --accent-color: #0bbb98;
    --accent-hover: #10ac92;
    --accent-glow: null;
    --success-color: var(--accent-color);
    --success-hover: var(--accent-hover);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(49, 49, 49, 0.7);
    --pick-color: #ff6b6b;
    --pick-hover: #ff5252;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary-bg);
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--secondary-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px var(--shadow-color);
}

main {
    flex: 1;
    margin-left: 260px;
    margin-right: auto;
    padding: 2.5rem 3rem 4rem 3rem;
    max-width: 1200px;
}

.quote-banner {
    background: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quote-banner::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #0bbb98;
    opacity: 0.3;
    font-family: 'Times New Roman', Times, serif;
}

.quote-banner::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: 'Times New Roman', Times, serif;
}

.quote-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--light-text);
    margin: 0 0 0.75rem 0;
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--muted-text);
    margin: 0;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.sidebar-footer .last-updated {
    margin-bottom: 0rem;
    font-size: 0.2rem !important;
    color: var(--medium-text);
    text-align: center;
}

.sidebar-footer .last-updated p {
    font-size: 0.6rem !important;
    margin: 0;
}

.category {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.category h2 {
    font-size: 1.6rem;
    color: var(--light-text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    text-transform: capitalize;
    letter-spacing: -0.2px;
    font-weight: 600;
}

.items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.item:hover {
    border-color: var(--light-text);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.item-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: -100px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    position: relative;
    mask-image: linear-gradient(to bottom, 
        black 0%, 
        black 30%, 
        rgba(0,0,0,0.8) 50%,
        rgba(0,0,0,0.5) 70%,
        rgba(0,0,0,0.2) 85%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to bottom, 
        black 0%, 
        black 30%, 
        rgba(0,0,0,0.8) 50%,
        rgba(0,0,0,0.5) 70%,
        rgba(0,0,0,0.2) 85%,
        transparent 100%
    );
}

.item-image.broken {
    background: linear-gradient(135deg, var(--tertiary-bg), var(--accent-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
}

.item-image[src*="placeholder"]::before,
.item-image[src=""]::before,
.item-image:not([src])::before {
    content: "🎵";
    font-size: 3rem;
    opacity: 0.3;
}

.item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
    padding: 0 0.3rem;
    margin-bottom: 0;
}

.item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--light-text);
    flex: 1;
    margin: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.pick-badge {
    background: var(--pick-color);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    cursor: help;
    transition: all 0.3s ease;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
}

.pick-badge:hover {
    background: var(--pick-hover);
    transform: scale(1.05);
}

.item p {
    color: var(--success-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding: 0 0.5rem;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.item a {
    display: inline-block;
    background: white;
    color: var(--primary-bg);
    padding: 0.65rem 3rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    margin-top: auto;
    text-align: center;
    align-self: center;
    width: auto;
}

.item a:hover {
    background: var(--light-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.item .extra-data-btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    align-self: center;
    width: auto;
    text-decoration: none;
}

.item .extra-data-btn:hover {
    background: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.item-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.sidebar-footer {
    padding: 1rem;
    background: var(--secondary-bg);
}

.sidebar-footer p {
    margin: 0 0 1rem 0;
    color: var(--medium-text);
    font-size: 0.8rem;
}

.sidebar-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sidebar-footer a:hover {
    color: var(--accent-hover);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    padding: 0.75rem;
    background: var(--tertiary-bg);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-text);
}

.social-links a:hover {
    background: var(--accent-bg);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateX(4px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.disclaimer {
    margin-top: 0.3rem;
    padding-top: 0.3rem;
}

.disclaimer p {
    font-size: 0.75rem;
    color: var(--dark-text);
    margin: 0.5rem 0;
    line-height: 1.5;
    text-align: justify;
}

.disclaimer p:first-child {
    color: var(--medium-text);
}

.disclaimer a {
    color: var(--accent-color);
    font-weight: 600;
}

.disclaimer a:hover {
    color: var(--accent-hover);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.sidebar-header {
    padding: 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(9, 9, 11, 0.7)), url('../hero_image.jpeg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.sidebar-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.sidebar-header h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--light-text);
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.sidebar-close-btn {
    display: none;
}

.sidebar-section {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--tertiary-bg);
    color: var(--light-text);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-box input::placeholder {
    color: var(--medium-text);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--medium-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-btn {
    padding: 0.4rem 0.8rem;
    background: transparent;
    color: var(--medium-text);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: var(--tertiary-bg);
    color: var(--light-text);
    border-color: var(--accent-color);
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    color: var(--medium-text);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.filter-item select {
    padding: 0.875rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--tertiary-bg);
    color: var(--light-text);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.filter-item select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--light-text);
    text-transform: none;
    font-weight: normal;
    letter-spacing: normal;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: var(--tertiary-bg);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Modal for pick badge info */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px var(--shadow-color);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    color: var(--light-text);
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.modal-content p {
    color: var(--medium-text);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.modal-close {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.modal-close:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* Extra Data Modal Styles */
.extra-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.extra-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.extra-tiktoks {
    margin-bottom: 1.5rem;
    text-align: center;
}

.extra-tiktoks h4 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.tiktok-link {
    display: inline-block;
    background: #ff0050;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.tiktok-link:hover {
    background: #e0004a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 0, 80, 0.3);
}

.extra-notes h4 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
}

.extra-notes p {
    color: var(--medium-text);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: none;
    z-index: 999;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-filter-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: none;
}

.mobile-filter-btn svg {
    width: 20px;
    height: 20px;
}

.sidebar-overlay {
    display: none;
}

/* Mobile Header (hidden on desktop) */
.mobile-header {
    display: none;
}

@media (max-width: 768px) {
    /* Show mobile header */
    .mobile-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(9, 9, 11, 0.85)), url('../hero_image.jpeg');
        background-size: cover;
        background-position: top center;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .mobile-header-logo {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .mobile-header h1 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--light-text);
        margin: 0;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    /* Show mobile filter button */
    .mobile-filter-btn {
        display: flex;
    }

    .container {
        flex-direction: column;
    }

    /* Hide desktop sidebar header */
    .sidebar-header {
        display: none;
    }

    /* Bottom sheet filter panel */
    .sidebar {
        position: fixed;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        bottom: -100%;
        top: auto;
        max-height: 85vh;
        border-right: none;
        border-top: 1px solid var(--border-color);
        border-radius: 20px 20px 0 0;
        overflow-y: auto;
        transition: bottom 0.3s ease;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        bottom: 0;
    }

    /* Overlay when sidebar is open */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .sidebar-close-btn {
        background: none;
        border: none;
        color: var(--light-text);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        line-height: 1;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        transition: background 0.2s ease;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        z-index: 10;
    }

    .sidebar-close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar-logo {
        display: none;
    }

    .sidebar-header h1 {
        display: none;
    }

    .sidebar-section {
        padding: 1rem;
    }

    .section-header {
        margin-bottom: 0.75rem;
    }

    .filter-controls {
        gap: 0.75rem;
    }

    /* Social icons styling */
    .social-section {
        border-top: 1px solid var(--border-color);
        padding: 0.75rem 1rem;
    }

    .social-links {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: nowrap;
    }

    .social-links a {
        color: var(--medium-text);
        transition: color 0.2s ease, transform 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: var(--tertiary-bg);
        border: 1px solid var(--border-color);
    }

    .social-links a:hover {
        color: var(--accent-color);
        transform: translateY(-2px);
        background: var(--accent-bg);
    }

    .sidebar-footer {
        padding: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .sidebar-footer .disclaimer {
        font-size: 0.75rem;
    }

    main {
        margin-left: 0;
        padding: 1rem;
        overflow-x: hidden;
        width: 100%;
    }

    .quote-banner {
        padding: 1.5rem 1.5rem;
        margin-bottom: 2rem;
        border-radius: 10px;
    }

    .quote-banner::before,
    .quote-banner::after {
        display: none;
    }

    .quote-text {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .quote-author {
        font-size: 1rem;
    }

    .sidebar-footer .last-updated p {
        font-size: 0.7rem !important;
        margin: 0;
        padding: 0 0.5rem;
    }

    .category {
        margin-bottom: 2rem;
        overflow-x: hidden;
        width: 100%;
    }

    .category h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    /* Horizontal scrolling container */
    .items {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1rem;
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-color) var(--tertiary-bg);
    }

    .items::-webkit-scrollbar {
        height: 6px;
    }

    .items::-webkit-scrollbar-track {
        background: var(--tertiary-bg);
        border-radius: 3px;
    }

    .items::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 3px;
    }

    .item {
        flex: 0 0 280px;
        scroll-snap-align: start;
        max-width: 280px;
    }

    /* Scroll buttons container */
    .category {
        position: relative;
    }
}

@media (max-width: 480px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        padding: 0;
    }

    .sidebar-header {
        padding: 1.25rem 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .sidebar-logo {
        width: 40px;
        height: 40px;
    }

    .sidebar-header h1 {
        font-size: 1.1rem;
    }

    .filters {
        padding: 1rem;
    }

    footer {
        padding: 1rem;
    }

    main {
        padding: 1rem;
    }

    .items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category h2 {
        font-size: 1.2rem;
    }
}