@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* =====================================================
   BASE — exact clone222 CSS
   ===================================================== */

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: #fff;
}

.main {
    display: flex;
    height: 100vh;
    padding: 0.85rem;
}

.sidebar {
    background-color: #121212;
    width: 340px;
    border-radius: 1rem;
    margin-right: 0.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.main-content {
    background-color: #121212;
    flex: 1;
    border-radius: 1rem;
    overflow: auto;
    padding: 0 1.5rem 0 1.5rem;
}

a {
    text-decoration: none;
    color: #fff;
}

.nav {
    background-color: #121212;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    padding: 0.5rem 0.75rem;
}

.nav-option {
    line-height: 2.5rem;
    opacity: 0.7;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.nav-option:hover {
    opacity: 1;
}

.nav-option i {
    font-size: 1.25rem;
}

.nav-option a {
    font-size: 1rem;
    margin-left: 1rem;
}

#nav-option-home {
    opacity: 1;
}

.library {
    background-color: #121212;
    border-radius: 1rem;
    flex: 1;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    overflow-y: auto;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lib-option img {
    height: 1.25rem;
    width: 1.25rem;
}

.icons {
    font-size: 1.25rem;
    display: flex;
}

.icons i {
    opacity: 0.7;
    margin-right: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.icons i:hover {
    opacity: 1;
}

.box {
    background-color: #232323;
    height: 10rem;
    border-radius: 0.75rem;
    margin: 0.75rem 0 1.75rem 0;
    padding: 0.75rem 1rem;
}

.box-p1 {
    background-color: #232323;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.box-p2 {
    background-color: #232323;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.badge {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 0.5rem;
    height: 2rem;
    width: fit-content;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 0.85rem;
}

.badge:hover {
    transform: scale(1.04);
}

.dark-badge {
    background-color: #000;
    color: #fff;
}

.dark-badge i {
    margin-right: 5px;
}

.sticky-nav {
    position: sticky;
    top: 0;
    background-color: #121212;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}

.sticky-nav-icons {
    margin-left: 0.75rem;
    background-color: #121212;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sticky-nav-icons img {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.sticky-nav-icons img:hover {
    opacity: 1;
}

.sticky-nav-options {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item {
    margin-left: 1rem;
}

@media (max-width: 1000px) {
    .hide {
        display: none;
    }
}

.card {
    background-color: #232323;
    width: 150px;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-left: 1.5rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cards-container {
    margin-left: -0.5rem;
}

.card:hover {
    background-color: #2a2a2a;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
}

.card-img {
    width: 100%;
    border-radius: 0.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-info {
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line {
    width: 90%;
    height: 50%;
    border-top: 1px solid white;
    opacity: 0.4;
}

/* Bottom music player bar */
.music-player {
    background-color: black;
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.album {
    width: 25%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.album img {
    padding: 1rem 0 1rem 0;
}

.album .album-thumb {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    object-fit: cover;
    padding: 0;
}

.album-title {
    font-size: 0.85rem;
    font-weight: 500;
}

.singer {
    font-size: 0.75rem;
    opacity: 0.7;
}

.album_icon2 {
    height: 2.5rem;
}

.player {
    width: 50%;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-control-icon {
    height: 1rem;
    margin-right: 1.75rem;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
}

.player-control-icon:hover {
    opacity: 1;
}

.pause {
    opacity: 1;
    height: 2rem;
}

.playback-bar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.playback-bar .current-time,
.playback-bar .tot-time {
    font-size: 0.7rem;
    opacity: 0.6;
    min-width: 35px;
    text-align: center;
}

.playback-bar .progress-bar {
    width: 70%;
    appearance: none;
    background-color: transparent;
    cursor: pointer;
}

.playback-bar .progress-bar::-webkit-slider-runnable-track {
    background-color: #ddd;
    border-radius: 100px;
    height: 0.2rem;
}

.playback-bar .progress-bar::-webkit-slider-thumb {
    appearance: none;
    height: 1rem;
    width: 1rem;
    margin-top: -6px;
    background-color: #1bd760;
    border-radius: 50%;
}

.controls {
    width: 25%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-right: 2rem;
}

.controls_icon1 { height: 2.5rem; width: 1.8rem; }
.controls_icon2 { height: 2.5rem; width: 2rem; }
.controls_icon3 { height: 1.5rem; width: 1.5rem; }
.controls_icon4 { height: 1.2rem; width: 1.2rem; }
.controls_icon5 { height: 2.5rem; width: 2rem; }

.controld_icon {
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.2s;
}

.controld_icon:hover {
    opacity: 1;
}

.sound {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    width: 30%;
}

.sound-bar {
    width: 90%;
    appearance: none;
    background-color: transparent;
    cursor: pointer;
}

.sound-bar::-webkit-slider-runnable-track {
    background-color: #ddd;
    border-radius: 100px;
    height: 0.2rem;
}

.sound-bar::-webkit-slider-thumb {
    appearance: none;
    height: 0.8rem;
    width: 0.8rem;
    background-color: #ddd;
    border-radius: 0.5rem;
    margin-top: -5px;
}

/* Scrollbar — clone222 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background-color: #000;
}
::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #17a15e;
}
::-webkit-scrollbar-thumb:active {
    background-color: #128e50;
}


/* =====================================================
   APP-SPECIFIC — extends clone222 for MusicSpot
   ===================================================== */

/* --- Login page --- */
body.login-page {
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
}

.login-card {
    background-color: #121212;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
}

.login-logo {
    margin-bottom: 2rem;
}

.login-logo img {
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
}

.login-logo h1 {
    font-size: 2rem;
    font-weight: 700;
}

.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #232323;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 2px #1bd760;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.login-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #1bd760;
    color: #000;
    border: none;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn:hover {
    transform: scale(1.04);
    background-color: #1ed760;
}

.login-info {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    opacity: 0.7;
}

.login-info p {
    margin-bottom: 0.4rem;
}

.error-message {
    background-color: #e74c3c;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    text-align: center;
}

/* --- Evaluation card (inside main-content) --- */
.eval-card {
    background-color: #232323;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.album-art {
    width: 200px;
    height: 200px;
    background-color: #181818;
    border-radius: 0.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.album-art i {
    font-size: 3rem;
    color: #555;
}

.album-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info {
    margin-bottom: 1rem;
}

.song-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.song-artist {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.big-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1bd760;
    border: none;
    color: #000;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem auto;
    transition: transform 0.2s, background-color 0.2s;
}

.big-play-btn:hover {
    transform: scale(1.06);
    background-color: #1ed760;
}

/* Audio progress inside eval card */
.progress-section {
    margin: 1rem auto;
    max-width: 400px;
}

.progress-bar-container {
    position: relative;
}

.eval-card .progress-bar,
.progress-section .progress-bar {
    width: 100%;
    height: 4px;
    background-color: #444;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    appearance: auto;
}

.progress-fill {
    height: 100%;
    background-color: #1bd760;
    border-radius: 100px;
    width: 0%;
    transition: width 0.1s;
    pointer-events: none;
}

.progress-handle {
    position: absolute;
    top: -5px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-bar-container:hover .progress-handle {
    opacity: 1;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.4rem;
}

/* Evaluation buttons */
.evaluation-section {
    margin-top: 1.5rem;
}

.evaluation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.eval-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    color: #fff;
    position: relative;
}

.eval-btn::before {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
}

.eval-btn:hover::before {
    opacity: 0.7;
}

.dislike-btn {
    background-color: #e74c3c;
}

.dislike-btn:hover {
    transform: scale(1.1);
}

.dislike-btn.selected {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(231, 76, 60, 0.5);
}

.like-btn {
    background-color: #1bd760;
    color: #000;
}

.like-btn:hover {
    transform: scale(1.1);
}

.like-btn.selected {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(27, 215, 96, 0.5);
}

.comment-section {
    margin-bottom: 1.25rem;
}

.comment-section textarea {
    width: 100%;
    max-width: 450px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #181818;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    resize: vertical;
    min-height: 70px;
    outline: none;
    transition: box-shadow 0.2s;
}

.comment-section textarea::placeholder {
    color: #666;
}

.comment-section textarea:focus {
    box-shadow: 0 0 0 2px #1bd760;
}

.submit-btn {
    background-color: #1bd760;
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: scale(1.04);
}

.submit-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

/* Progress info bar */
.progress-info {
    background-color: #232323;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.progress-text {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.progress-info .progress-bar {
    width: 100%;
    height: 4px;
    background-color: #444;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-info .progress-fill {
    background: linear-gradient(90deg, #1bd760, #1ed760);
}

/* Congratulations banner */
.congrats-banner {
    background-color: #1bd760;
    color: #000;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    margin: 1.25rem 0;
}

.congrats-banner h2 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.congrats-banner p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- Balance pill (sticky-nav) --- */
.balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #232323;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    height: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1bd760;
    transition: background-color 0.2s;
}

.balance-pill:hover {
    background-color: #2a2a2a;
    color: #1bd760;
}

.user-pill {
    font-size: 0.8rem;
    opacity: 0.7;
}

.logout-pill {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #aaa;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}

.logout-pill:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* --- Modals --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-content {
    background-color: #232323;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    max-width: 440px;
    width: 90%;
    margin: auto;
}

.modal-header {
    margin-bottom: 1rem;
}

.modal-header i {
    font-size: 2.5rem;
    color: #1bd760;
    margin-bottom: 0.5rem;
}

.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-body {
    margin-bottom: 1.25rem;
}

.modal-body p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.modal-btn {
    background-color: #1bd760;
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-btn:hover {
    transform: scale(1.04);
}

/* --- Withdraw page --- */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.page-subtitle {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 1.25rem;
}

.balance-card {
    background-color: #232323;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
    border: 2px solid #1bd760;
}

.balance-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1bd760;
}

.balance-label {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: 0.25rem;
}

.withdraw-card {
    background-color: #232323;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.method-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.method-option {
    background-color: #181818;
    border: 2px solid #333;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.method-option:hover {
    border-color: #1bd760;
}

.method-option.selected {
    border-color: #1bd760;
    background-color: rgba(27, 215, 96, 0.08);
}

.method-option i {
    font-size: 1.5rem;
    color: #1bd760;
    margin-bottom: 0.4rem;
    display: block;
}

.method-option-img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    margin-bottom: 0.4rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.method-option h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.method-option p {
    font-size: 0.75rem;
    opacity: 0.5;
}

.warning-box {
    background-color: #232323;
    border: 2px solid #f39c12;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.warning-box i {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: 0.75rem;
}

.warning-box h2 {
    color: #f39c12;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.warning-box p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.info-footer {
    text-align: center;
    padding: 1rem 0 2rem;
    font-size: 0.75rem;
    opacity: 0.4;
}

/* --- Verification page --- */
.verification-message {
    background-color: #232323;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.verification-message h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1bd760;
    margin-bottom: 0.5rem;
}

.verification-message p {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.5;
}

.video-container {
    background-color: #181818;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.video-container wistia-player {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 320px;
    background-color: #232323;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.video-placeholder:hover {
    background-color: #2a2a2a;
}

.video-icon {
    font-size: 3rem;
    color: #1bd760;
    margin-bottom: 0.75rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.video-description {
    font-size: 0.8rem;
    opacity: 0.5;
}

.timer-container {
    background-color: #232323;
    border: 2px solid #1bd760;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.25rem;
    display: none;
}

.timer-text {
    font-size: 0.9rem;
    color: #1bd760;
    margin-bottom: 0.4rem;
}

.timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1bd760;
    margin-bottom: 0.4rem;
}

.withdraw-button {
    background-color: #1bd760;
    color: #000;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
    display: none;
}

.withdraw-button:hover {
    transform: scale(1.04);
}

.info-box {
    background-color: #232323;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: left;
    margin-bottom: 2rem;
}

.info-box h3 {
    color: #1bd760;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    margin-bottom: 0.4rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.8rem;
    opacity: 0.7;
}

.info-box li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #1bd760;
    font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .sidebar {
        width: 72px;
        min-width: 72px;
    }
    .nav-option a,
    .lib-option a,
    .icons,
    .box {
        display: none;
    }
    .nav-option {
        justify-content: center;
    }
    .music-player .album .name,
    .music-player .controls {
        display: none;
    }
    .music-player .player {
        width: 80%;
    }
}

/* =====================================================
   MOBILE — correções e ajustes para telas pequenas
   ===================================================== */
@media (max-width: 640px) {
    html {
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    body {
        overflow: auto;
        overflow-x: hidden;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .main {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .sidebar {
        display: none;
    }

    .main-content {
        border-radius: 0;
        min-height: 100vh;
        padding: 0 1rem 2rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    body.has-music-player .main-content {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0));
    }

    /* Sticky nav — layout flexível e sem overflow */
    .sticky-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 0;
        padding-top: max(0.75rem, env(safe-area-inset-top));
    }

    .sticky-nav-icons {
        margin-left: 0;
    }

    .sticky-nav-options {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    .sticky-nav-options .nav-item {
        margin-left: 0;
    }

    .balance-pill {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
        height: 1.75rem;
    }

    .badge.dark-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        height: 1.75rem;
    }

    .badge.dark-badge i {
        margin-right: 3px;
    }

    /* Títulos */
    .main-content h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .page-subtitle {
        font-size: 0.8rem;
    }

    /* Eval card — ajustes para mobile */
    .eval-card {
        padding: 1.25rem 1rem;
        margin-bottom: 1rem;
    }

    .album-art {
        width: 140px;
        height: 140px;
        margin-bottom: 1rem;
    }

    .song-title {
        font-size: 1.1rem;
    }

    .song-artist {
        font-size: 0.8rem;
    }

    .big-play-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        margin: 1rem auto;
    }

    .progress-section {
        margin: 0.75rem auto;
    }

    .evaluation-buttons {
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .eval-btn {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
        min-width: 56px;
        min-height: 56px;
    }

    .eval-btn::before {
        display: none;
    }

    .comment-section {
        margin-bottom: 1rem;
    }

    .comment-section textarea {
        max-width: 100%;
        min-height: 60px;
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        min-height: 44px;
    }

    .congrats-banner {
        padding: 0.85rem 1rem;
        margin: 1rem 0;
    }

    .congrats-banner h2 {
        font-size: 1rem;
    }

    .congrats-banner p {
        font-size: 0.8rem;
    }

    /* Progress info */
    .progress-info {
        padding: 0.85rem 1rem;
        margin-bottom: 1rem;
    }

    .progress-text {
        font-size: 0.8rem;
    }

    /* Cards e formulários */
    .balance-card,
    .withdraw-card,
    .warning-box {
        padding: 1.25rem 1rem;
        margin-bottom: 1rem;
    }

    .balance-amount {
        font-size: 1.75rem;
    }

    .method-options {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .method-option {
        padding: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.85rem 1rem;
        font-size: 16px; /* evita zoom no iOS */
    }

    /* Modais - centrados em mobile e desktop */
    .modal {
        padding: 1rem;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 1.25rem;
        border-radius: 1rem;
        margin: auto;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body p {
        font-size: 0.9rem;
    }

    .modal-btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }

    /* Verification page */
    .verification-message {
        padding: 1rem;
    }

    .video-placeholder {
        height: 180px;
        min-height: 180px;
    }

    .info-box {
        padding: 1rem;
    }

    .info-box h3 {
        font-size: 0.9rem;
    }

    .info-box li {
        font-size: 0.75rem;
    }

    .info-footer {
        font-size: 0.7rem;
        padding: 0.75rem 0 1.5rem;
    }

    .timer-container {
        padding: 0.85rem;
    }

    .withdraw-button {
        width: 100%;
        min-height: 48px;
        padding: 0.85rem 1.5rem;
    }

    /* Footer e barra de progresso touch-friendly */
    .footer {
        height: 120px;
    }

    .progress-bar-container {
        padding: 0.5rem 0;
    }

    .progress-handle {
        width: 18px;
        height: 18px;
        top: -7px;
        opacity: 1;
    }

    /* Login page */
    body.login-page {
        padding: 1rem;
        padding-top: max(1rem, env(safe-area-inset-top));
    }

    .login-container {
        padding: 0.5rem;
        max-width: 100%;
    }

    .login-card {
        padding: 1.5rem 1.25rem;
    }

    .login-logo img {
        width: 48px;
        height: 48px;
    }

    .login-logo h1 {
        font-size: 1.5rem;
    }

    .login-btn {
        min-height: 48px;
        font-size: 0.95rem;
    }

    .error-message {
        font-size: 0.85rem;
        padding: 0.65rem 0.85rem;
    }

    /* Music player bar — layout compacto */
    .music-player {
        height: 72px;
        padding: 0 0.5rem;
        padding-bottom: env(safe-area-inset-bottom, 0);
        flex-wrap: nowrap;
        gap: 0.25rem;
    }

    .music-player .album {
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .music-player .album img.album-thumb {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .music-player .player {
        flex: 1;
        min-width: 0;
        width: auto;
    }

    .music-player .player-controls {
        gap: 0.5rem;
    }

    .music-player .player-control-icon {
        margin-right: 0.5rem;
        height: 0.9rem;
    }

    .music-player .player-control-icon.pause {
        height: 1.75rem;
    }

    .playback-bar .progress-bar {
        width: 60%;
    }

    .playback-bar .current-time,
    .playback-bar .tot-time {
        font-size: 0.65rem;
        min-width: 28px;
    }

    .music-player .controls {
        display: none;
    }

    .card {
        margin-left: 0.5rem;
        width: 140px;
    }

    .cards-container {
        margin-left: 0;
        padding: 0 0.5rem;
    }
}

/* Mobile extra pequeno (< 380px) */
@media (max-width: 380px) {
    .main-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .eval-card {
        padding: 1rem 0.75rem;
    }

    .album-art {
        width: 120px;
        height: 120px;
    }

    .evaluation-buttons {
        gap: 1rem;
    }

    .eval-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        font-size: 1rem;
    }

    .balance-pill {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .badge.dark-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .card {
        width: 120px;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}