:root {
    --bg: #080808;
    --panel: #101010;
    --panel-light: #181818;
    --text: #f5f5f5;
    --muted: #747474;
    --red: #ff2b2b;
    --dark-red: #7a0808;
    --border: rgba(255, 255, 255, 0.1);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Barlow Condensed", sans-serif;
    overflow-x: hidden;
}
button,
input {
    font: inherit;
}
button {
    -webkit-tap-highlight-color: transparent;
}
[hidden] {
    display: none !important;
}
/* =========================================
   BACKGROUND
========================================= */
.background-grid {
    position: fixed;
    inset: 0;
    z-index: -5;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px);
    background-size: 45px 45px;
}
.noise {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.035;
    background-image:
        repeating-radial-gradient(circle,
            rgba(255, 255, 255, 0.8) 0,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1px,
            transparent 4px);
    background-size: 5px 5px;
}
.red-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -2;
    background: var(--red);
}
.glow-one {
    width: 500px;
    height: 500px;
    top: 0;
    right: -150px;
}
.glow-two {
    width: 450px;
    height: 450px;
    bottom: 0;
    left: -200px;
}
/* =========================================
   APP
========================================= */
.app {
    width: min(1400px, 100%);
    margin: auto;
    padding: 0 50px 260px;
}
/* =========================================
   HEADER
========================================= */
.header {
    height: 90px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    text-decoration: none;
    color: white;
    font-family: "Anton", sans-serif;
    font-size: 30px;
    letter-spacing: 1px;
}
.logo span,
.side-menu-header span span {
    color: var(--red);
}
.header-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--muted);
}
.status-dot {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    box-shadow:
        0 0 15px var(--red);
    animation: pulse 1.2s infinite;
}
@keyframes pulse {
    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header-button {
    border: 0;
    background: transparent;
    color: white;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    cursor: pointer;
}
/* =========================================
   INSTALL BUTTON
========================================= */
.install-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 43, 43, 0.55);
    background:
        rgba(255, 43, 43, 0.12);
    color: white;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.2s,
        border-color 0.2s;
}
.install-btn:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-1px);
}
.menu-button {
    width: 32px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.menu-button span {
    width: 100%;
    height: 2px;
    background: white;
}
/* =========================================
   HERO
========================================= */
.hero {
    min-height: 70vh;
    padding: 110px 0 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.hero-content {
    max-width: 760px;
}
.hero-top-line {
    display: flex;
    gap: 20px;
    color: var(--red);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 2px;
}
.hero h1 {
    margin: 15px 0 20px;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(100px, 16vw, 240px);
    line-height: 0.8;
    letter-spacing: -3px;
}
.hero h1 span {
    display: block;
    color: var(--red);
    text-shadow:
        0 0 40px rgba(255, 43, 43, 0.3);
}
.hero-description {
    max-width: 430px;
    margin: 30px 0;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #9b9b9b;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.primary-button,
.secondary-button {
    padding: 15px 25px;
    border: 1px solid var(--border);
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
}
.primary-button {
    background: var(--red);
    color: white;
    border-color: var(--red);
}
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 35px rgba(255, 43, 43, 0.3);
}
.secondary-button {
    background: transparent;
    color: white;
}
.secondary-button:hover {
    border-color: white;
}
/* =========================================
   WORKOUT PANEL
========================================= */
.workout-panel {
    width: 330px;
    min-width: 330px;
    padding: 25px;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
}
.workout-panel-header {
    display: flex;
    justify-content: space-between;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: var(--muted);
}
.live {
    color: var(--red);
}
.stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 10px;
    margin: 40px 0;
}
.stat {
    border-left:
        1px solid var(--border);
    padding-left: 10px;
}
.stat-value {
    display: block;
    font-family: "Anton", sans-serif;
    font-size: 36px;
    color: white;
}
.stat-label {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: var(--muted);
}
/* =========================================
   EQUALIZER
========================================= */
.equalizer {
    height: 70px;
    display: flex;
    align-items: end;
    gap: 5px;
}
.equalizer span {
    flex: 1;
    background: var(--red);
    animation:
        equalize 0.8s ease-in-out infinite alternate;
}
.equalizer span:nth-child(1) {
    height: 30%;
}
.equalizer span:nth-child(2) {
    height: 80%;
    animation-delay: 0.2s;
}
.equalizer span:nth-child(3) {
    height: 50%;
    animation-delay: 0.1s;
}
.equalizer span:nth-child(4) {
    height: 100%;
    animation-delay: 0.4s;
}
.equalizer span:nth-child(5) {
    height: 60%;
    animation-delay: 0.2s;
}
.equalizer span:nth-child(6) {
    height: 90%;
    animation-delay: 0.5s;
}
.equalizer span:nth-child(7) {
    height: 40%;
    animation-delay: 0.1s;
}
.equalizer span:nth-child(8) {
    height: 70%;
    animation-delay: 0.3s;
}
.equalizer span:nth-child(9) {
    height: 45%;
    animation-delay: 0.4s;
}
.equalizer span:nth-child(10) {
    height: 85%;
    animation-delay: 0.2s;
}
@keyframes equalize {
    to {
        height: 20%;
    }
}
/* =========================================
   SECTIONS
========================================= */
.categories-section {
    padding-top: 70px;
}
.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.section-eyebrow {
    font-family: "DM Mono", monospace;
    color: var(--red);
    font-size: 10px;
    letter-spacing: 2px;
}
.section-title-row h2 {
    margin: 10px 0 0;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: 55px;
    letter-spacing: 1px;
}
.track-count {
    font-family: "DM Mono", monospace;
    color: var(--muted);
    font-size: 10px;
}
/* =========================================
   FILTERS
========================================= */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
}
.filter {
    padding: 11px 20px;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
}
.filter:hover,
.filter.active {
    background: var(--red);
    border-color: var(--red);
    color: white;
}
/* =========================================
   PLAYLIST
========================================= */
.playlist-section {
    margin-top: 50px;
}
.playlist-header {
    display: grid;
    grid-template-columns:
        50px 1fr 140px 100px 40px;
    padding: 15px 0;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: 10px;
    border-bottom:
        1px solid var(--border);
}
.song {
    min-height: 90px;
    display: grid;
    grid-template-columns:
        50px 1fr 140px 100px 40px;
    align-items: center;
    border-bottom:
        1px solid var(--border);
    cursor: pointer;
    transition: 0.2s;
}
.song:hover {
    padding-left: 15px;
    background:
        rgba(255, 255, 255, 0.025);
}
.song.active {
    border-left:
        3px solid var(--red);
    padding-left: 12px;
}
.song-number {
    font-family: "DM Mono", monospace;
    color: var(--muted);
    font-size: 11px;
}
.song-info {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}
.song-cover {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    object-fit: cover;
    filter:
        grayscale(100%) contrast(1.2);
}
.song.active .song-cover {
    filter: none;
}
.song-text {
    min-width: 0;
}
.song-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-text p {
    margin: 5px 0 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-mode,
.song-energy {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: var(--muted);
}
.song-energy {
    color: var(--red);
}
.song-play {
    border: 0;
    background: transparent;
    color: white;
    font-size: 17px;
    cursor: pointer;
}
/* =========================================
   MOTIVATION
========================================= */
.motivation {
    margin: 180px auto 80px;
    max-width: 900px;
    text-align: center;
}
.quote-mark {
    display: block;
    height: 80px;
    font-family: "Anton", sans-serif;
    font-size: 120px;
    color: var(--red);
}
.motivation p {
    margin: 20px 0;
    font-family: "Anton", sans-serif;
    font-size:
        clamp(35px, 5vw, 75px);
    line-height: 1;
}
.quote-line {
    display: block;
    width: 100px;
    height: 3px;
    margin: 35px auto;
    background: var(--red);
}
/* =========================================
   PLAYER
========================================= */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 145px;
    padding: 20px 50px;
    display: grid;
    grid-template-columns:
        1fr minmax(350px, 600px) 1fr;
    align-items: center;
    gap: 30px;
    background:
        rgba(10, 10, 10, 0.96);
    backdrop-filter:
        blur(30px);
    border-top:
        1px solid var(--border);
    z-index: 20;
}
.player-track {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}
.cover-wrapper {
    width: 80px;
    height: 80px;
    position: relative;
    flex-shrink: 0;
}
.cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cover-overlay {
    position: absolute;
    inset: 0;
    border:
        1px solid rgba(255, 255, 255, 0.2);
}
.track-details {
    min-width: 0;
}
.playing-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--red);
}
.playing-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}
.track-details h2 {
    margin: 6px 0;
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-details p {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* =========================================
   PROGRESS
========================================= */
.progress-container {
    width: 100%;
}
input[type="range"] {
    width: 100%;
    cursor: pointer;
    accent-color: var(--red);
}
.time-row {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: var(--muted);
}
/* =========================================
   CONTROLS
========================================= */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 10px;
}
.control-button {
    border: 0;
    background: transparent;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}
.control-button:hover {
    color: var(--red);
}
.control-button.active {
    color: var(--red);
}
.main-play-button {
    width: 55px;
    height: 55px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}
.main-play-button:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 30px rgba(255, 43, 43, 0.5);
}
/* =========================================
   VOLUME
========================================= */
.player-side {
    display: flex;
    justify-content: flex-end;
}
.volume {
    width: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: var(--muted);
}
/* =========================================
   SIDE MENU
========================================= */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(430px, 100%);
    height: 100vh;
    padding: 40px;
    background: #0a0a0a;
    border-left:
        1px solid var(--border);
    z-index: 100;
    transform:
        translateX(100%);
    transition:
        transform 0.4s ease;
}
.side-menu.open {
    transform:
        translateX(0);
}
.side-menu-header {
    display: flex;
    justify-content: space-between;
    font-family: "Anton", sans-serif;
    font-size: 28px;
}
.side-menu-header button {
    border: 0;
    background: transparent;
    color: white;
    font-size: 32px;
    cursor: pointer;
}
.side-menu nav {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.side-menu nav a {
    color: white;
    text-decoration: none;
    font-family: "Anton", sans-serif;
    font-size: 60px;
    transition: 0.2s;
}
.side-menu nav a:hover {
    color: var(--red);
}
.menu-bottom {
    position: absolute;
    bottom: 40px;
}
.menu-bottom p {
    max-width: 230px;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.7;
    color: var(--muted);
}
.menu-bottom span {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: #444;
}
/* =========================================
   OVERLAY
========================================= */
.overlay {
    position: fixed;
    inset: 0;
    background:
        rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 90;
}
.overlay.show {
    opacity: 1;
    pointer-events: auto;
}
/* =========================================
   TOAST
========================================= */
.toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform:
        translate(-50%, -100px);
    padding: 13px 25px;
    background: var(--red);
    color: white;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    z-index: 200;
    transition: 0.3s;
}
.toast.show {
    transform:
        translate(-50%, 0);
}
/* =========================================
   HIDDEN YOUTUBE PLAYER
========================================= */
#youtube-player {
    position: fixed;
    width: 1px;
    height: 1px;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}
/* =========================================
   FOLLOW / INSTAGRAM
========================================= */
.follow-section {
    position: relative;
    margin: 180px auto 100px;
    padding: 100px 40px;
    max-width: 1000px;
    text-align: center;
    overflow: hidden;
    border-top:
        1px solid var(--border);
    border-bottom:
        1px solid var(--border);
}
.follow-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform:
        translate(-50%, -50%);
    border-radius: 50%;
    background:
        rgba(255, 43, 43, 0.08);
    filter:
        blur(100px);
    pointer-events: none;
}
.follow-section>* {
    position: relative;
    z-index: 1;
}
.follow-section h2 {
    margin: 15px 0;
    font-family: "Anton", sans-serif;
    font-size:
        clamp(55px, 10vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 1px;
}
.follow-section h2 span {
    display: block;
    color: var(--red);
}
.follow-section p {
    margin: 30px 0;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 1px;
    color: var(--muted);
}
.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 17px 28px;
    border:
        1px solid rgba(255, 43, 43, 0.6);
    background:
        rgba(255, 43, 43, 0.08);
    color: white;
    text-decoration: none;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 1px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}
.instagram-button:hover {
    transform:
        translateY(-3px);
    background: var(--red);
    box-shadow:
        0 15px 45px rgba(255, 43, 43, 0.3);
}
.instagram-icon {
    font-size: 20px;
    line-height: 1;
}
.instagram-arrow {
    font-size: 16px;
    transition:
        transform 0.2s ease;
}
.instagram-button:hover .instagram-arrow {
    transform:
        translate(3px, -3px);
}
/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .workout-panel {
        width: 100%;
    }
    .player {
        grid-template-columns: 1fr;
        padding: 15px 20px;
        gap: 12px;
    }
    .player-side {
        display: none;
    }
    .player-track {
        justify-content: center;
    }
    .player-center {
        width: 100%;
    }
    .app {
        padding-bottom: 360px;
    }
}
@media (max-width: 700px) {
    .app {
        padding:
            0 20px 370px;
    }
    .header {
        height: 75px;
    }
    .header-status {
        display: none;
    }
    .header-actions {
        gap: 10px;
    }
    .install-btn {
        padding: 8px 10px;
        font-size: 9px;
    }
    .hero {
        padding-top: 70px;
        min-height: auto;
    }
    .hero h1 {
        font-size:
            clamp(85px, 25vw, 150px);
    }
    .workout-panel {
        min-width: auto;
    }
    .playlist-header {
        grid-template-columns:
            35px 1fr 40px;
    }
    .playlist-header span:nth-child(3),
    .playlist-header span:nth-child(4) {
        display: none;
    }
    .song {
        grid-template-columns:
            35px 1fr 40px;
    }
    .song-mode,
    .song-energy {
        display: none;
    }
    .song-cover {
        width: 48px;
        height: 48px;
    }
    .song-text h3 {
        font-size: 17px;
    }
    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .track-details h2 {
        font-size: 18px;
    }
    .cover-wrapper {
        width: 60px;
        height: 60px;
    }
    .controls {
        gap: 16px;
    }
    .side-menu {
        padding: 30px 25px;
    }
    .side-menu nav a {
        font-size: 50px;
    }
    .follow-section {
        margin: 100px auto 50px;
        padding: 70px 20px;
    }
    .follow-section h2 {
        font-size:
            clamp(50px, 16vw, 90px);
    }
    .instagram-button {
        width: 100%;
        padding: 16px 15px;
        font-size: 10px;
    }
}
