@font-face {
    font-family: 'Yeezy';
    src: url('https://cockthoughts.com/yeezy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #ff0000;
    --red-glow: rgba(255, 0, 0, 0.5);
    --black: #000000;
    --glass: rgba(0, 0, 0, 0.85);
    --border: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.55);
}

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

body {
    font-family: 'Yeezy', 'IBM Plex Mono', monospace;
    background: var(--black);
    color: var(--text);
    min-height: 100vh;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: color-mix(in srgb, #000 70%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 5%, transparent),
        inset 0 -2px 0px -1px color-mix(in srgb, #fff 8%, transparent),
        0px 4px 16px 0px color-mix(in srgb, #000 50%, transparent),
        0px 8px 32px 0px color-mix(in srgb, #000 30%, transparent);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 28px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-btn.silver {
    background: linear-gradient(145deg, #e8e8e8, #b8b8b8);
    color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-btn.silver:hover {
    background: linear-gradient(145deg, #f0f0f0, #c8c8c8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nav-btn.gold {
    background: linear-gradient(145deg, #ffd700, #b8860b);
    color: #1a1a1a;
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.4);
}

.nav-btn.gold:hover {
    background: linear-gradient(145deg, #ffe033, #d4a000);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.6);
}

.nav-btn.red {
    background: linear-gradient(145deg, #dc2626, #991b1b);
    color: #fff;
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 2px 8px rgba(153, 27, 27, 0.4);
}

.nav-btn.red:hover {
    background: linear-gradient(145deg, #ef4444, #b91c1c);
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.6);
}

.nav-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.25rem;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.nav-icon:hover {
    opacity: 0.8;
}

.nav-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nav-icon.holo svg {
    width: 18px;
    height: 18px;
    fill: url(#holoGradient);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
    transition: filter 0.2s ease;
}

.nav-icon.holo:hover svg {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 12px rgba(147, 51, 234, 0.4));
}

/* Login icon */
.nav-icon.login-icon {
    display: flex;
}

.nav-icon.login-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    transition: fill 0.2s ease;
}

.nav-icon.login-icon:hover svg {
    fill: var(--text);
}

/* Profile dropdown */
.profile-dropdown {
    position: relative;
    display: none;
}

.profile-dropdown-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease;
}

.profile-dropdown-btn:hover {
    border-color: var(--red);
}

.profile-dropdown-btn .profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.profile-dropdown.open .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--text);
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto 1.25rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text);
}

.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 2px 8px var(--red-glow);
}

.filter-btn.active:hover {
    background: #c91e42;
    border-color: #c91e42;
}

.filter-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 0.5rem;
}

/* Pinned Section */
.pinned-section {
    max-width: 1400px;
    margin: 0 auto 0;
}

.pinned-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pinned-icon {
    width: 16px;
    height: 16px;
    stroke: var(--red);
}

.section-separator {
    max-width: 400px;
    height: 1px;
    margin: 2rem auto;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* Grid */
main {
    padding: 5rem 1.5rem 2rem;
    position: relative;
    z-index: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    header {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .logo img {
        height: 22px;
    }

    nav {
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.65rem;
    }

    .nav-separator {
        height: 16px;
        margin: 0 0.15rem;
    }

    .nav-icon {
        width: 24px;
        height: 24px;
    }

    .nav-icon img {
        width: 18px;
        height: 18px;
    }

    .nav-icon.holo svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 600px) {
    header {
        padding: 0.75rem 1rem;
        justify-content: center;
    }

    .logo {
        display: none;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .nav-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.6rem;
    }

    .nav-separator {
        display: none;
    }

    .nav-icons {
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    main {
        padding-top: 6rem;
    }
    
    .filter-bar {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .nav-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.55rem;
    }

    .nav-icons {
        gap: 0.3rem;
    }

    .nav-icon {
        width: 22px;
        height: 22px;
    }

    .nav-icon img {
        width: 16px;
        height: 16px;
    }
}

/* Card */
.card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: visible;
    background: #111;
}

.card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.card-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 48px;
    height: 48px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 6px rgba(0,0,0,0.5);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 351.5123 350.33783'%3E%3Cpath fill='%23ff0000' d='M 176.56641 6.65625 C 168.07003 6.8214115 142.40983 30.431624 130.75977 31.90625 C 111.21112 34.380655 90.880205 30.114405 84.929688 35.035156 C 77.015639 41.57964 71.544705 70.636415 59.117188 80.757812 C 44.725693 92.47874 26.574563 99.916377 23.503906 107.41992 C 19.729497 116.64317 30.427028 139.3123 27.208984 154.94531 C 23.266733 174.09646 8.4302687 193.34947 11.060547 203.58008 C 14.383861 216.50629 32.957839 224.84451 40.115234 243.46094 C 43.648658 252.65139 43.954634 286.09517 50.765625 291.125 C 58.793335 297.05337 83.073001 299.00522 96.701172 308.10938 C 109.57118 316.70704 120.81051 339.69149 131.83789 342.07227 C 141.8413 344.23197 158.52795 331.27517 177.39648 331.13477 C 194.09859 331.01049 216.63264 345.5376 226.99609 340.77539 C 233.12122 337.96077 249.49914 313.67592 261.74414 306.17578 C 276.50642 297.1338 301.05347 297.04137 306.45312 287.9043 C 311.24845 279.78987 308.45595 255.16593 317.11133 238.21289 C 326.18131 220.44778 344.30264 209.29918 344.33984 199.32422 C 344.37741 189.24269 330.42277 172.03093 327.54102 157.1875 C 324.73624 142.74043 334.56254 115.2467 329.87891 106.37305 C 324.74626 96.050969 297.27571 87.128175 289.82617 75.021484 C 279.76112 58.664268 273.93566 36.780969 267.34961 32.908203 C 262.32976 29.95639 238.12635 35.806735 219.28516 30.3125 C 205.60396 25.834115 185.65026 6.4796688 176.56641 6.65625 z M 176.27344 21.339844 C 178.8335 21.332144 200.01243 39.173853 213.8125 43.828125 C 230.93945 49.604433 254.15767 44.9084 259.27148 46.121094 C 262.0353 46.776509 273.02666 77.337601 280.9082 87.019531 C 290.72338 99.076809 316.67865 109.4059 317.36719 112.94336 C 319.03593 121.51671 312.1948 143.22864 313.79102 157.99805 C 315.1843 170.88968 330.82281 196.1858 330.11328 199.55273 C 329.23107 203.73905 306.4263 223.80735 301.79297 238.12305 C 295.82443 256.56416 296.13145 276.09958 294.48242 279.0293 C 292.06604 283.3223 276.26387 283.27807 260.8125 290.64062 C 236.4688 302.24036 225.15262 326.80006 221.77539 327.48242 C 215.28286 328.79422 193.01091 316.74898 176.17383 316.72852 C 158.97486 316.70762 137.48964 329.30663 134.48242 328.29102 C 131.18108 327.17607 122.58028 310.34186 104.99609 296.58594 C 89.133438 284.17674 63.475862 283.66186 60.767578 280.56055 C 58.400218 277.84964 58.656129 247.28053 51.451172 233.97461 C 44.057611 220.32039 24.650642 204.19687 24.519531 200.4707 C 24.430911 197.95203 36.953975 175.33703 40.068359 161.79688 C 43.964433 144.85823 34.193748 119.24917 36.085938 114.14453 C 38.192231 108.46229 57.687058 104.92381 72.144531 88.148438 C 87.499065 70.332187 89.130789 48.725104 93.458984 46.335938 C 99.0045 43.27481 119.93193 49.583839 139.12695 44.271484 C 154.55266 40.002309 172.90997 21.350018 176.27344 21.339844 z'/%3E%3Cpath fill='%23ff0000' d='M 174.5332 84.048828 C 105.64016 83.774664 56.676646 158.48039 57.884766 173.60742 C 59.266988 190.91438 96.114496 262.59405 177.50977 265.13281 C 256.16856 267.58622 295.74459 186.65252 295.30078 174.50781 C 294.69308 157.87846 254.87516 84.368553 174.5332 84.048828 z M 176.04102 99.195312 C 234.61035 96.88719 253.14027 148.66579 253.30273 175.37109 C 253.48364 205.11041 226.74165 251.15697 177.88281 252.49414 C 132.26129 253.7427 101.5687 212.94849 101.26367 172.52539 C 101.11459 152.7693 117.59599 101.49854 176.04102 99.195312 z'/%3E%3Cpath fill='%23ff0000' d='m 192.13974,116.05369 c 0.99913,0.21072 -9.98668,5.00927 -13.85079,17.39683 -4.50847,14.45319 0.40079,25.92796 6.50608,32.74016 6.81824,7.6077 17.40594,13.72587 31.25659,11.15187 12.0053,-2.23107 20.49453,-13.39655 20.5245,-13.19734 5.15363,34.26236 -17.81002,70.73208 -60.33502,71.23762 -31.61462,0.37584 -57.96861,-26.9753 -59.2461,-59.5936 -0.95008,-24.25834 22.92372,-70.74903 75.14474,-59.73554 z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 5;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
}

/* Tag colour variants - use hue-rotate to shift from red base */
.card-tag[data-color="#9333ea"],
.card-tag[data-color="purple"] {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5)) hue-rotate(280deg);
}

.card-tag[data-color="#3b82f6"],
.card-tag[data-color="blue"] {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5)) hue-rotate(220deg);
}

.card-tag[data-color="#22c55e"],
.card-tag[data-color="green"] {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5)) hue-rotate(100deg);
}

.card-tag[data-color="#eab308"],
.card-tag[data-color="yellow"],
.card-tag[data-color="gold"] {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5)) hue-rotate(40deg);
}

/* Resume Prompt */
.resume-prompt {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: color-mix(in srgb, #000 70%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 5%, transparent),
        inset 0 -2px 0px -1px color-mix(in srgb, #fff 8%, transparent),
        0px 4px 16px 0px color-mix(in srgb, #000 50%, transparent),
        0px 8px 32px 0px color-mix(in srgb, #000 30%, transparent);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
}

.resume-prompt.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.resume-eye {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.resume-eye-svg {
    width: 100%;
    height: 100%;
    fill: var(--red);
    animation: resumeBlink 3s ease-in-out infinite;
}

.resume-eye-pupil {
    transform-origin: 175px 175px;
    animation: resumeLook 4s ease-in-out infinite;
}

@keyframes resumeBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes resumeLook {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.resume-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.resume-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.resume-track {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resume-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.resume-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.resume-btn.resume-yes {
    background: var(--red);
    color: #fff;
}

.resume-btn.resume-yes:hover {
    background: #ff3333;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.resume-btn.resume-no {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.resume-btn.resume-no:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

@media (max-width: 600px) {
    .resume-prompt {
        bottom: 5rem;
        left: 1rem;
        right: 1rem;
        transform: translateX(0) translateY(150%);
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .resume-prompt.visible {
        transform: translateX(0) translateY(0);
    }
    
    .resume-content {
        flex: 1;
        min-width: 0;
    }
    
    .resume-actions {
        width: 100%;
        margin-left: 0;
    }
    
    .resume-btn {
        flex: 1;
    }
}

/* Player Overlay */
.player {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background-color: color-mix(in srgb, #000 60%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 8%, transparent),
        inset 2px 3px 0px -2px color-mix(in srgb, #fff 15%, transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, #fff 10%, transparent),
        inset -0.3px -1px 4px 0px color-mix(in srgb, #000 30%, transparent),
        0px 4px 12px 0px color-mix(in srgb, #000 40%, transparent),
        0px 8px 24px 0px color-mix(in srgb, #000 30%, transparent);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card.playing .player {
    border-color: var(--red);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 20%, transparent),
        inset 2px 3px 0px -2px color-mix(in srgb, #fff 15%, transparent),
        inset -2px -2px 0px -2px color-mix(in srgb, #fff 10%, transparent),
        0px 0px 20px 0px var(--red-glow),
        0px 4px 12px 0px color-mix(in srgb, #000 40%, transparent);
}

/* Player Header */
.player-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.player.has-tracks .player-header {
    border-bottom: 1px solid var(--border);
}

.play-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--red);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 15px var(--red-glow);
}

.play-btn svg {
    width: 14px;
    height: 14px;
    fill: white;
}

.play-btn .icon-play {
    margin-left: 2px;
}

.play-btn .icon-pause {
    display: none;
}

.card.playing .play-btn .icon-play {
    display: none;
}

.card.playing .play-btn .icon-pause {
    display: block;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1px;
}

.player-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-duration {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.info-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

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

.info-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
}

/* Tracklist */
.tracklist {
    max-height: 120px;
    overflow-y: auto;
}

.tracklist::-webkit-scrollbar {
    width: 4px;
}

.tracklist::-webkit-scrollbar-track {
    background: transparent;
}

.tracklist::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.track {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

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

.track.active {
    background: rgba(185, 28, 60, 0.15);
}

.track-num {
    font-size: 0.7rem;
    color: var(--text-muted);
    width: 16px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.track.active .track-num {
    color: var(--red);
}

.track-name {
    flex: 1;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-dur {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Progress Bar */
.progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--red);
    transition: width 0.1s linear;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.modal-cover {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
}

.modal-info {
    flex: 1;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.modal-series {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.modal-close svg {
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
}

.modal-body {
    padding: 1.25rem;
}

.modal-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* About Page */
.about-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 2.5rem;
}

.about-hero {
    text-align: center;
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-logo {
    display: block;
    max-width: 420px;
    width: 100%;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 24px rgba(185, 28, 60, 0.3));
}

.about-tagline {
    font-size: 1rem;
    color: var(--red);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-left: 1.25rem;
}

.about-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--red);
    border-radius: 2px;
}

.about-section p {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

.about-section strong {
    color: #fff;
    font-weight: 600;
}

.about-section em {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.about-section .highlight {
    color: var(--red);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(185, 28, 60, 0.4);
    text-underline-offset: 3px;
}

.about-section .stars {
    color: #ffd700;
    font-size: 1.3em;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.about-reviews {
    margin: 3rem 0;
    min-height: 200px;
    position: relative;
}

.about-reviews .senja-embed {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-reviews.loaded .senja-embed {
    opacity: 1;
}

.about-reviews.loaded .reviews-loading {
    display: none;
}

.reviews-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.about-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    margin: 3rem 0;
}

.about-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(185, 28, 60, 0.1);
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
}

.feature-card:hover {
    background: rgba(185, 28, 60, 0.08);
    border-color: rgba(185, 28, 60, 0.25);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-framework {
    background: linear-gradient(135deg, rgba(185, 28, 60, 0.15) 0%, rgba(185, 28, 60, 0.03) 100%);
    border: 1px solid rgba(185, 28, 60, 0.3);
    border-radius: 14px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.about-framework::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), rgba(255, 0, 0, 0.3));
}

.about-framework h2 {
    padding-left: 0;
    text-align: center;
}

.about-framework h2::before {
    display: none;
}

.about-center {
    text-align: center;
    padding-top: 1.5rem;
}

.about-cta-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    background: var(--red);
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(185, 28, 60, 0.4);
}

.about-link:hover {
    background: #c91e42;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(185, 28, 60, 0.5);
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-logo {
        max-width: 300px;
    }
}

@media (max-width: 500px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-logo {
        max-width: 250px;
    }
    
    .feature-card {
        padding: 1rem;
    }
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 1.5rem 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

/* Add padding when player is active so content isn't hidden */
body.visualiser-active footer {
    padding-bottom: 8rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 32px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.footer-logo img:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-links img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-links .x-link svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 1);
}

.footer-copy {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    letter-spacing: 0.02em;
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copy a:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 1;
    visibility: visible;
    transition: opacity 5s ease, visibility 5s ease;
}

.age-gate.verified {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.age-gate-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.age-gate-logo {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
}

.age-gate-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.age-gate-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.age-gate-inputs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.age-select {
    font-family: 'Yeezy', 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    min-width: 80px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
}

.age-select:focus {
    outline: none;
    border-color: #fff;
}

.age-select option {
    background: #1a1a1a;
    color: #fff;
}

.age-submit {
    font-family: 'Yeezy', 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.85rem 3rem;
    background: #fff;
    color: var(--red);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}

.age-submit:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.age-submit:active {
    transform: translateY(0);
}

.hidden {
    display: none;
}

/* Conversion Popup */
.conversion-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.conversion-popup.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.conversion-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.conversion-eye {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
    animation: conversionPulse 2s ease-in-out infinite;
}

@keyframes conversionPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.conversion-stats {
    margin-bottom: 1.5rem;
}

.conversion-time-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.conversion-time {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.conversion-time-live {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
    height: 1em;
}

.conversion-chart-container {
    margin: 1.5rem auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    max-width: 300px;
}

.conversion-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.conversion-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.conversion-btn {
    font-family: 'Yeezy', 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    border: none;
    min-width: 100px;
}

.conversion-btn.gold {
    background: linear-gradient(145deg, #ffd700, #b8860b);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

.conversion-btn.gold:hover {
    background: linear-gradient(145deg, #ffe033, #d4a000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.conversion-btn.red {
    background: linear-gradient(145deg, #fff, #e0e0e0);
    color: #cc0000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.conversion-btn.red:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.conversion-btn.ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.conversion-btn.ghost:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Volume Control */
.now-playing {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    max-width: 200px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.now-playing.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.now-playing-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.now-playing-bars span {
    width: 3px;
    background: var(--red);
    border-radius: 1px;
    animation: none;
}

.now-playing.playing .now-playing-bars span {
    animation: barPulse 0.8s ease-in-out infinite;
}

.now-playing-bars span:nth-child(1) {
    height: 6px;
    animation-delay: 0s;
}

.now-playing-bars span:nth-child(2) {
    height: 10px;
    animation-delay: 0.2s;
}

.now-playing-bars span:nth-child(3) {
    height: 4px;
    animation-delay: 0.4s;
}

@keyframes barPulse {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.now-playing.paused .now-playing-bars span {
    animation: none;
    opacity: 0.5;
}

.now-playing-info {
    overflow: hidden;
}

.now-playing-track {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.now-playing-series {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .now-playing {
        bottom: 5rem;
        right: 1rem;
        max-width: 160px;
        padding: 0.4rem 0.6rem;
    }
    
    .now-playing-track {
        font-size: 0.65rem;
    }
    
    .now-playing-series {
        font-size: 0.55rem;
    }
}

.volume-control {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

.volume-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.volume-btn:hover {
    background: rgba(50, 50, 50, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
}

.volume-btn svg {
    width: 22px;
    height: 22px;
    fill: rgba(255, 255, 255, 0.9);
}

.volume-slider-wrap {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0 1rem;
    height: 48px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.volume-control.open .volume-slider-wrap {
    opacity: 1;
    width: 120px;
    padding: 0 1rem;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .volume-control {
        bottom: 1rem;
        right: 1rem;
    }
    
    .volume-btn {
        width: 44px;
        height: 44px;
    }
    
    .volume-slider-wrap {
        height: 44px;
    }
    
    .volume-control.open .volume-slider-wrap {
        width: 100px;
    }
}

/* =============================================
   UNIFIED PLAYER DRAWER
   ============================================= */

/* Fullscreen button - outside drawer */
.player-fullscreen-btn {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    color: #fff;
}

.player-fullscreen-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

.player-fullscreen-btn svg {
    width: 22px;
    height: 22px;
}

body.visualiser-active .player-fullscreen-btn {
    display: flex;
}

/* Player Drawer Container */
.player-drawer {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 500px;
    z-index: 999;
    background-color: color-mix(in srgb, #000 70%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 5%, transparent),
        inset 0 2px 0px -1px color-mix(in srgb, #fff 8%, transparent),
        0px 4px 16px 0px color-mix(in srgb, #000 50%, transparent),
        0px 8px 32px 0px color-mix(in srgb, #000 30%, transparent);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

body.visualiser-active .player-drawer {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.player-drawer.collapsed .drawer-content {
    max-height: 0;
    opacity: 0;
    padding: 0 1rem;
    overflow: hidden;
}

.player-drawer.collapsed .handle-chevron {
    transform: rotate(180deg);
}

/* Drawer Handle */
.drawer-handle {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 0.25rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.drawer-handle:hover {
    background: rgba(50, 50, 50, 0.95);
    color: #fff;
}

.handle-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Drawer Content */
.drawer-content {
    padding: 1.25rem 1.25rem 0.75rem;
    max-height: 200px;
    opacity: 1;
    transition: all 0.3s ease;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Control Groups - 2x2 grid */
.drawer-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
    margin-bottom: 0.85rem;
}

.drawer-control-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.control-label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.control-buttons {
    display: flex;
    gap: 3px;
}

.drawer-btn {
    padding: 0.4rem 0.65rem;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.15s ease;
    letter-spacing: 0.02em;
}

.drawer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.drawer-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* Custom text loader */
.custom-text-label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.custom-text-label input[type="file"] {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.custom-text-status {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.35rem;
}

.custom-text-status.loaded {
    color: var(--red);
}

/* Info tip button */
.info-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.55rem;
    font-style: normal;
    font-weight: 600;
    cursor: pointer;
    border: none;
    vertical-align: middle;
    transition: all 0.15s;
}

.info-tip:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Info Modal */
.info-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.info-modal-overlay.open {
    display: flex;
}

.info-modal {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.info-modal-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

.info-modal-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-modal-close {
    padding: 0.5rem 1.25rem;
    background: var(--red);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s;
}

.info-modal-close:hover {
    filter: brightness(1.15);
}

/* Volume in Drawer */
.drawer-volume {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    max-width: 250px;
    margin: 0 auto;
}

.drawer-volume .volume-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.drawer-volume-slider {
    flex: 1;
    height: 24px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    touch-action: none;
}

.drawer-volume-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.drawer-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.drawer-volume-slider::-moz-range-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    border: none;
}

.drawer-volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.drawer-volume-slider::-moz-range-progress {
    background: var(--red);
    height: 4px;
    border-radius: 2px;
}

/* Progress in Drawer */
.drawer-progress {
    padding: 0.25rem 0;
}

.drawer-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.drawer-progress-fill {
    height: 100%;
    background: var(--red);
    width: 0%;
    transition: width 0.1s linear;
}

/* Mini Player Section */
.drawer-mini {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
}

.drawer-cover {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
    background: #222;
    flex-shrink: 0;
}

.drawer-info {
    flex: 1;
    min-width: 0;
}

.drawer-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-artist {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-playback {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.drawer-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.drawer-play-btn:hover {
    color: #fff;
}

.drawer-play-btn svg {
    width: 16px;
    height: 16px;
}

.drawer-play-btn.main {
    width: 38px;
    height: 38px;
    background: var(--red);
    color: #fff;
}

.drawer-play-btn.main:hover {
    background: #d91e42;
    transform: scale(1.05);
}

.drawer-play-btn.main svg {
    width: 18px;
    height: 18px;
}

/* Mobile adjustments for drawer */
@media (max-width: 600px) {
    .player-drawer {
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateX(0) translateY(100%);
        max-width: none;
        width: 100%;
        border-radius: 16px 16px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    
    body.visualiser-active .player-drawer {
        transform: translateX(0) translateY(0);
    }
    
    .player-fullscreen-btn {
        bottom: auto;
        top: 4rem;
        right: 1rem;
    }
    
    .drawer-controls {
        gap: 1rem;
    }
    
    .drawer-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.55rem;
    }
    
    .drawer-volume {
        max-width: 200px;
    }
    
    .drawer-mini {
        padding: 0.6rem 0.75rem;
    }
    
    .drawer-cover {
        width: 40px;
        height: 40px;
    }
    
    .drawer-play-btn.main {
        width: 40px;
        height: 40px;
    }
}

/* Hide drawer in fullscreen - only show exit button */
body.vis-fullscreen .player-drawer {
    z-index: 10001;
}

body.vis-fullscreen .player-fullscreen-btn {
    display: none;
}

/* HIDE OLD PLAYERS - replaced by unified drawer */
.visualiser-player,
.mini-player,
.volume-control,
.now-playing,
.vis-controls,
.controls-toggle,
.colour-controls {
    display: none !important;
}
