/* ==========================================================================
   CODEPLAYER RADIOS — CUSTOM CSS (v8.0)
   ========================================================================== */

:root {
    --cp-primary: #3bc8e7;
    --cp-primary-dark: #2ec8e6;
    --cp-success: #28a745;
    --cp-error:   #dc3545;
    --cp-warning: #ffc107;
    --cp-info:    #0dcaf0;
    --cp-bg-card: #1b2039;
    --cp-bg-dark: #14182a;
    --cp-text:        #777777;
    --cp-text-light:  #ffffff;
    --cp-border:      #252b4d;
}

/* ==========================================================================
   1. FLASH MESSAGES
   ========================================================================== */
.alert-flash {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; margin: 80px 30px 16px;
    border-radius: 8px; border-left: 4px solid;
    color: #fff; font-size: 14px;
    animation: slideDownFade .35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    position: relative; z-index: 999;
}
@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.alert-flash i { font-size: 20px; flex-shrink: 0; line-height: 1; }
.alert-flash span { flex: 1; line-height: 1.4; }
.alert-flash .alert-close {
    background: none; border: none; color: inherit;
    font-size: 24px; line-height: 1; cursor: pointer;
    opacity: .65; margin-left: auto; padding: 0 6px;
    transition: opacity .2s ease;
}
.alert-flash .alert-close:hover { opacity: 1; }
.alert-flash-success { background: rgba(40,167,69,.18);  border-color: var(--cp-success); color: #d4edda; }
.alert-flash-error   { background: rgba(220,53,69,.18);  border-color: var(--cp-error);   color: #f8d7da; }
.alert-flash-warning { background: rgba(255,193,7,.18);  border-color: var(--cp-warning); color: #fff3cd; }
.alert-flash-info    { background: rgba(13,202,240,.18); border-color: var(--cp-info);    color: #cff4fc; }

/* ==========================================================================
   2. USER DROPDOWN
   ========================================================================== */
.user-dropdown { position: relative; display: inline-block; }
.user-dropdown .ms_admin_name {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 12px; border-radius: 20px;
    transition: background .2s ease;
    text-decoration: none; color: #fff; cursor: pointer;
    background: rgba(255,255,255,.04);
}
.user-dropdown .ms_admin_name:hover {
    background: rgba(59,200,231,.12); color: var(--cp-primary);
}
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #3bc8e7, #2ec8e6);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0; border: 2px solid rgba(255,255,255,.1);
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-initial {
    color: #fff; font-weight: 700; font-size: 15px;
    text-transform: uppercase; line-height: 1;
}
.user-greeting { font-size: 13px;  white-space: nowrap; line-height: 1.2; }
.user-greeting strong { color: #8b84bb font-weight: 600; display: block; font-size: 14px; }
.user-dropdown .bi-chevron-down {
    font-size: 11px; color: rgba(255,255,255,.6);
    transition: transform .2s ease; margin-left: 4px;
}
.user-dropdown .ms_admin_name[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }

.pro_dropdown_menu {
    position: absolute; top: calc(100% + 10px); right: 0;
    min-width: 240px; background: #16213e;
    border: 1px solid #2d3561; border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
    list-style: none; padding: 8px; margin: 0; z-index: 1050;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.pro_dropdown_menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.pro_dropdown_menu li { list-style: none; margin: 0; padding: 0; }
.pro_dropdown_menu .dropdown-header {
    padding: 10px 12px; color: #fff; line-height: 1.4; border-radius: 6px;
}
.pro_dropdown_menu .dropdown-header strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.pro_dropdown_menu .dropdown-header small {
    display: block; color: #a0a8c0; font-size: 12px;
    font-weight: normal; margin-top: 2px; word-break: break-all;
}
.pro_dropdown_menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; color: #e8e8f0;
    text-decoration: none; border-radius: 6px;
    font-size: 13px; transition: background .15s ease, color .15s ease;
    line-height: 1.2;
}
.pro_dropdown_menu a i { font-size: 14px; color: #a0a8c0; width: 16px; text-align: center; }
.pro_dropdown_menu a:hover { background: rgba(59,200,231,.15); color: #fff; }
.pro_dropdown_menu a:hover i { color: var(--cp-primary); }
.pro_dropdown_menu .admin-link { color: #ffc107; font-weight: 600; }
.pro_dropdown_menu .admin-link i { color: #ffc107; }
.pro_dropdown_menu .logout-link { color: #ff8a9d; }
.pro_dropdown_menu .logout-link i { color: #ff8a9d; }
.pro_dropdown_menu hr { margin: 4px 8px; border: 0; border-top: 1px solid #2d3561; }
/*.pro_dropdown_menu::before {
    content: ""; position: absolute; top: -6px; right: 20px;
    width: 12px; height: 12px; background: #16213e;
    border-left: 1px solid #2d3561; border-top: 1px solid #2d3561;
    transform: rotate(45deg);
}*/

/* ==========================================================================
   3. SEARCH FORM
   ========================================================================== */
/*.ms_top_search { position: relative; display: inline-block; width: 100%; max-width: 395px; float: left; }
.ms_top_search form { display: flex; align-items: center; margin: 0; padding: 0; }
.ms_top_search .form-control {
    display: inline-block; width: 100%; height: 40px;
    padding: 0 20px; font-size: 15px; line-height: 45px;
    color: #777; border: none; border-radius: 5px;
    background-color: #fff; outline: none; box-shadow: none;
}
.ms_top_search .form-control:focus {
    box-shadow: 0 0 10px rgba(59,200,231,.55);
    border: 1px solid var(--cp-primary);
}
.search_icon {
    position: absolute; right: 0; top: 0;
    height: 40px; line-height: 40px;
    background-color: var(--cp-primary);
    border-radius: 0 5px 5px 0; padding: 0 16px;
    cursor: pointer; border: none; color: #fff;
    transition: background .2s ease;
}
.search_icon:hover { background-color: var(--cp-primary-dark); }
.search_icon img { width: 14px; height: 14px; vertical-align: middle; pointer-events: none; }

/* ==========================================================================
   4. AUTH BUTTONS
   ========================================================================== */
.ms_top_btn { display: flex; align-items: center; gap: 8px; z-index: 100; }
.ms_btn {
    background-color: var(--cp-primary); color: #fff; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    text-transform: capitalize; min-width: 200px; padding: 0 28px;
    text-align: center; line-height: 1; border-radius: 20px;
    margin-left: 15px; transition: all .3s ease;
    text-decoration: none; border: none; cursor: pointer; font-size: 13px;
}
.ms_btn:hover { color: #fff; box-shadow: 0 0 20px 0 var(--cp-primary); }
.ms_btn i { margin-right: 6px; }

/* ==========================================================================
   5. ADMIN LINK
   ========================================================================== */
.pro_dropdown_menu .admin-link {
    background: rgba(255, 193, 7, .08);
    border: 1px solid rgba(255, 193, 7, .2);
    margin: 4px 0;
}
.pro_dropdown_menu .admin-link:hover { background: rgba(255, 193, 7, .15); }

/* ==========================================================================
   6. PLAY BUTTON STATES
   ========================================================================== */
.ms_play_icon { cursor: pointer; transition: opacity .3s ease, transform .3s ease; }
.ms_rcnt_box .ms_play_icon img { transition: transform .3s ease, opacity .3s ease; }

/* ==========================================================================
   7. LOADING SPINNER
   ========================================================================== */
.spinner {
    display: inline-block; width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,.3); border-radius: 50%;
    border-top-color: var(--cp-primary); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   8. PAGINATION
   ========================================================================== */
.pagination {
    display: flex; justify-content: center; gap: 6px;
    margin: 30px 0; padding: 0; list-style: none;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    background: var(--cp-bg-card); color: var(--cp-text-light);
    border: 1px solid var(--cp-border); border-radius: 6px;
    text-decoration: none; transition: all .2s ease;
}
.pagination a:hover, .pagination .active span {
    background: var(--cp-primary);
    border-color: var(--cp-primary); color: #fff;
}

/* ==========================================================================
   9. EMPTY STATE
   ========================================================================== */
.empty-state { text-align: center; padding: 60px 20px; color: rgba(255,255,255,.5); }
.empty-state i { font-size: 48px; margin-bottom: 16px; color: var(--cp-primary); opacity: .6; }
.empty-state p { font-size: 16px; margin: 0; }

/* ==========================================================================
   10. MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .user-greeting { display: none; }
    .pro_dropdown_menu { right: -10px; min-width: 220px; }
    .alert-flash { margin: 70px 16px 12px; font-size: 13px; padding: 12px 16px; }
    .alert-flash i { font-size: 18px; }
}
@media (max-width: 480px) {
    .pro_dropdown_menu { right: -20px; }
    .user-avatar { width: 32px; height: 32px; }
    .avatar-initial { font-size: 13px; }
}

/* ==========================================================================
   11. ACCESSIBILITY
   ========================================================================== */
*:focus-visible { outline: 2px solid var(--cp-primary); outline-offset: 2px; }
.ms_btn:disabled, button[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }
@media print {
    .ms_player_wrapper, .ms_sidemenu_wrapper, .ms_header, .alert-flash { display: none !important; }
}

/* ==========================================================================
   12. UTILITIES
   ========================================================================== */
/*.text-muted    { color: rgba(255,255,255,.5) !important; }*/
.text-primary  { color: var(--cp-primary)  !important; }
.text-success  { color: var(--cp-success)  !important; }
.text-error    { color: var(--cp-error)    !important; }
.text-center   { text-align: center  !important; }
.text-right    { text-align: right   !important; }
.mt-0 { margin-top: 0    !important; }
.mt-1 { margin-top: 8px  !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0    !important; }
.mb-1 { margin-bottom: 8px  !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.d-flex       { display: flex !important; }
.flex-wrap    { flex-wrap: wrap !important; }
.gap-1        { gap: 8px  !important; }
.gap-2        { gap: 16px !important; }
.justify-between { justify-content: space-between !important; }
.align-center    { align-items: center !important; }

/* ==========================================================================
   13. SUBMIT RADIO FORM
   ========================================================================== */
.ms_submit_radio_wrapper { padding: 50px 0; min-height: 70vh; }
.ms_submit_form { background: #1a1d29; padding: 35px; border-radius: 12px; margin-top: 20px; box-shadow: 0 5px 25px rgba(0,0,0,.3); }
.ms_submit_form .form-group { margin-bottom: 18px; }
.ms_submit_form .form-group label { color: #c9c9c9; font-weight: 500; margin-bottom: 8px; display: block; }
.ms_submit_form .form-group label i { color: #00b4d8; margin-right: 4px; }
.ms_submit_form .form-control { background: #0f1117; border: 1px solid #2a2d39; color: #fff; padding: 10px 14px; border-radius: 6px; }
.ms_submit_form .form-control:focus { background: #0f1117; border-color: #00b4d8; box-shadow: 0 0 0 3px rgba(0,180,216,.15); color: #fff; }
.ms_submit_form .form-control-file { color: #c9c9c9; padding: 8px 0; }
.ms_submit_form .form-text { color: #888; font-size: 12px; margin-top: 4px; }
.ms_submit_form .ms_btn-lg { padding: 14px 36px; font-size: 15px; margin: 0 5px; }
.ms_submit_form .ms_btn-secondary { background: #444; }
.ms_submit_form .ms_btn-secondary:hover { background: #555; }

/* ==========================================================================
   14. ADMIN USER RADIOS GRID
   ========================================================================== */
.ms_cms_wrapper { padding: 30px 0; min-height: 80vh; }
.ms_cms_header { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.05); }
.ms_cms_header h1 { color: #fff; margin: 0 0 5px; font-size: 26px; }
.ms_cms_header h1 i { color: #00b4d8; }
.ms_cms_filters { margin-bottom: 20px; }
.user-radios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.user-radio-card { background: #1a1d29; border-radius: 12px; overflow: hidden; border: 2px solid transparent; transition: all .3s; }
.user-radio-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,.4); }
.user-radio-card.status-pending  { border-color: #ffc107; }
.user-radio-card.status-approved { border-color: #28a745; }
.user-radio-card.status-rejected { border-color: #dc3545; }
.card-logo { position: relative; width: 100%; aspect-ratio: 16/9; background: #0f1117; overflow: hidden; }
.card-logo img { width: 100%; height: 100%; object-fit: cover; }
.no-logo-big { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 80px; }
.status-badge { position: absolute; top: 10px; right: 10px; padding: 5px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.status-badge.status-pending  { background: #ffc107; color: #000; }
.status-badge.status-approved { background: #28a745; color: #fff; }
.status-badge.status-rejected { background: #dc3545; color: #fff; }
.card-body { padding: 20px; }
.card-body h3 { color: #fff; margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.card-body .meta { color: #888; font-size: 12px; display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.card-body .meta i { color: #00b4d8; margin-right: 3px; }
.card-body .meta strong { color: #fff; }
.stream-box { background: #0f1117; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stream-box code { color: #00b4d8; font-size: 11px; word-break: break-all; flex: 1; }
.btn-copy { background: transparent; border: 1px solid #2a2d39; color: #c9c9c9; padding: 4px 8px; border-radius: 4px; cursor: pointer; }
.btn-copy:hover { background: #00b4d8; color: #fff; border-color: #00b4d8; }
.card-body .desc { color: #b8b8b8; font-size: 13px; margin: 10px 0; line-height: 1.5; }
.info-row { display: flex; gap: 14px; font-size: 12px; color: #888; margin: 10px 0; }
.info-row i { color: #00b4d8; }
.admin-note { background: rgba(255,193,7,.08); border-left: 3px solid #ffc107; padding: 8px 12px; font-size: 12px; color: #ffc107; margin: 12px 0; border-radius: 0 4px 4px 0; }
.card-actions { display: flex; gap: 6px; margin-top: 15px; flex-wrap: wrap; }
.card-actions .btn { padding: 6px 12px; font-size: 12px; }
.player-download-btn { transition: all 0.2s ease; }
.player-download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(29, 209, 161, 0.5) !important; }
@media (max-width: 768px) {
    .user-radios-grid { grid-template-columns: 1fr; }
    .ms_submit_form { padding: 20px; }
}

/* ==========================================================================
   15. FREE PLAYERS SECTION
   ========================================================================== */
.ms_free_players_wrapper { margin: 40px 0; padding: 0 15px; }
.fp_card { background: #16213e; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column;  }
.fp_card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.5); }
.fp_card_img { position: relative; width: 100%; /*height: 180px;*/ overflow: hidden; /*background: #ffffff;*/ padding: 8px 8px 0 8px; }
.fp_card_img img { width: 100%; /*height: 100%; object-fit: cover;*/ transition: transform 0.4s ease; }
.fp_card:hover .fp_card_img img { transform: scale(1.05); }
.fp_badge { position: absolute; top: 12px; left: 12px; padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: bold; color: #fff; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.fp_free { background: linear-gradient(135deg, #6c5ce7, #5f27cd); }
.fp_trending { background: linear-gradient(135deg, #00b4d8, #0096b8); }
.fp_overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.fp_card:hover .fp_overlay { opacity: 1; }
.fp_play_btn { width: 50px; height: 50px; background: #e94560; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; transition: all 0.2s; }
.fp_play_btn:hover { background: #ff5571; transform: scale(1.1); }
.fp_card_body { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.fp_title { margin: 0 0 8px 0; font-size: 16px; font-weight: 600; color: #fff; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.fp_title a {  text-decoration: none; transition: color 0.2s; }
.fp_title a:hover { color: #e94560; }
.fp_meta { font-size: 13px; color: #e94560; margin-bottom: 12px; }
.fp_divider { margin: 0 6px; color: #555; }
.fp_footer { margin-top: auto; padding-top: 12px; border-top: 1px solid #2d3561; }
.fp_price { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fp_price_free  { color: #1dd1a1; font-size: 18px; }
.fp_price_paid  { color: #fff;     font-size: 18px; }
.fp_downloads   { font-size: 12px; color: #888; }
.fp_downloads i { margin-right: 4px; }
.fp_actions { display: flex; gap: 8px; }
.fp_btn { flex: 1; padding: 8px 0; border-radius: 6px; text-align: center; text-decoration: none; font-size: 14px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.fp_btn_download { background: transparent; border: 2px solid #e94560; color: #e94560; }
.fp_btn_download:hover { background: #e94560; color: #fff; }
.fp_btn_cart     { background: transparent; border: 2px solid #1dd1a1; color: #1dd1a1; }
.fp_btn_cart:hover     { background: #1dd1a1; color: #fff; }
.fp_btn_preview  { background: transparent; border: 2px solid #5f9eff; color: #5f9eff; }
.fp_btn_preview:hover  { background: #5f9eff; color: #fff; }
.fp_empty { text-align: center; padding: 60px 20px; background: #16213e; border-radius: 12px; color: #888; }
.fp_empty i { font-size: 60px; color: #2d3561; margin-bottom: 15px; display: block; }
.fp_empty p { margin-bottom: 20px; color: #a0a8c0; }
@media (max-width: 992px) { .fp_card_img { height: 160px; } }
@media (max-width: 576px) {
    .fp_card_img { height: 140px; }
    .fp_title { font-size: 14px; }
}

/* ==========================================================================
   16. FREE PLAYERS - PAGINATION
   ========================================================================== */
.fp_count { display: inline-block; background: #e94560; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-left: 8px; font-weight: bold; }
.fp_pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.fp_pages { display: flex; gap: 4px; align-items: center; }
.fp_page_btn, .fp_page_num { background: #16213e; border: 1px solid #2d3561; color: #a0a8c0; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.2s; min-width: 38px; text-align: center; font-family: inherit; }
.fp_page_btn:hover:not(:disabled), .fp_page_num:hover { background: #2d3561; color: #fff; border-color: #e94560; }
.fp_page_num.fp_active { background: #e94560; color: #fff; border-color: #e94560; font-weight: bold; }
.fp_page_btn:disabled { opacity: 0.4; cursor: not-allowed; }
.fp_dots { color: #888; padding: 0 4px; }
.fp_info { text-align: center; margin-top: 15px; color: #888; font-size: 13px; }
.fp_info strong { color: #e94560; }
@media (max-width: 576px) {
    .fp_page_btn { padding: 6px 10px; font-size: 13px; }
    .fp_page_num { padding: 6px 10px; min-width: 32px; }
    .fp_pagination { gap: 4px; }
}

/* ==========================================================================
   17. NOW PLAYING - LIVE METADATA
   ========================================================================== */
.fp-now-playing-meta {
    min-height: 75px !important;
    max-height: 78px !important;
    width: 300px !important;
    position: absolute;
    border-radius: 12px 0 0 12px;
    background-color: #3bc8e7;
    box-shadow: 0 0 24px 6px var(--shadow-color);
    top: -12px;
    right: -155px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.fp-now-playing-meta::before {
    content: '';
    position: absolute;
    top: 0; left: -2px;
    width: 2px; height: 100%;
    box-shadow: 0 0 8px rgba(59, 200, 231, 0.6);
}
.fp-np-cover {
    width: 55px; height: 55px;
    border-radius: 6px; margin-left: 12px !important;
    overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, #1a2540, #16213e);
    position: relative; border: 1px solid #3bc8e7;
}
.fp-np-cover::after {
    content: '🎵'; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #3bc8e7; opacity: 0.5;
}
.fp-np-cover img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.4s ease;
    position: relative; z-index: 1;
}
.fp-np-cover img.fp-np-loaded  { opacity: 1; }
.fp-np-cover img.fp-np-loading { opacity: 0.3; }
.fp-np-info {
    flex: 1; min-width: 0; overflow: hidden;
    display: flex; flex-direction: column;
    gap: 1px; justify-content: center;
}
.fp-np-track {
    color: #ffffff; font-size: 13px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3; margin: 10px 0 0 0;
}
.fp-np-track.fp-np-empty {
    color: #666; font-weight: 400; font-style: italic;
}
.fp-np-artist {
    color: #0e0c0c; font-size: 11px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.2;
}
.fp-np-stats { display: flex; gap: 8px; margin-top: 2px; font-size: 10px; color: #ffffff; opacity: 0.8; }
.fp-np-stats span { display: inline-flex; align-items: center; gap: 3px; }
.fp-np-stats i { font-size: 10px; }
@keyframes fpNpPulse {
    0%   { border-color: #3bc8e7; box-shadow: 0 0 0 0 rgba(59, 200, 231, 0.6); }
    100% { border-color: #3bc8e7; box-shadow: 0 0 0 6px rgba(59, 200, 231, 0); }
}
.fp-np-update { animation: fpNpPulse 0.6s ease-out; }
.ms_player_wrapper .jp-gui { position: relative; }
.fp-now-playing-meta { align-self: center; }
@media (max-width: 1200px) {
    .fp-now-playing-meta { min-width: 220px; max-width: 280px; position: absolute; right: -150px; }
    .fp-np-cover { width: 40px; height: 40px; }
    .fp-np-track { font-size: 12px; }
    .fp-np-artist { font-size: 10px; }
}
@media (max-width: 992px) {
    .fp-now-playing-meta { min-width: 250px; padding: 4px 10px; position: absolute; right: -95px; }
}
@media (max-width: 950px) {
    .fp-now-playing-meta { min-width: 240px; padding: 4px 10px; position: absolute; right: -120px; }
}
@media (max-width: 768px) {
    .fp-now-playing-meta { display: none !important; position: absolute; right: -95px; }
}

/* ==========================================================================
   18. FORGOT PASSWORD MODAL
   ========================================================================== 
#forgot_modal .modal-content { background: linear-gradient(135deg, #e94560 0%, #c23354 100%); border: none; border-radius: 16px; color: #fff; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
#forgot_modal .close { position: absolute; top: -15px; right: -15px; background: #fff; color: #e94560; width: 36px; height: 36px; border-radius: 50%; opacity: 1; z-index: 10; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; text-shadow: none; }
#forgot_modal .close:hover { opacity: 0.85; transform: scale(1.05); }
#forgot_modal .modal-body { display: flex; align-items: center; padding: 50px 40px; gap: 40px; }
#forgot_modal .ms_register_img { flex: 1; max-width: 45%; text-align: center; }
#forgot_modal .ms_register_img img { max-width: 100%; height: auto; filter: brightness(0) invert(1); opacity: 0.95; }
#forgot_modal .ms_register_form { flex: 1; text-align: center; padding: 10px 0; }
#forgot_modal .ms_register_form h2 { color: #fff; font-weight: 700; font-size: 26px; margin: 0 0 25px 0; text-transform: none; font-family: inherit; }
#forgot_modal .form-group { position: relative; margin-bottom: 25px; }
#forgot_modal .form-control { background: rgba(255, 255, 255, 0.95); border: none; padding: 14px 50px 14px 18px; border-radius: 8px; color: #333; font-size: 14px; box-shadow: none; width: 100%; }
#forgot_modal .form-control::placeholder { color: #999; font-weight: 400; }
#forgot_modal .form-control:focus { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); outline: none; }
#forgot_modal .form_icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #e94560; pointer-events: none; }
#forgot_modal .ms_btn.forgot_now { background: transparent; border: 2px solid #fff; color: #fff; padding: 12px 40px; border-radius: 30px; font-weight: 600; font-size: 14px; display: inline-block; margin-bottom: 20px; transition: all 0.3s; text-decoration: none; cursor: pointer; }
#forgot_modal .ms_btn.forgot_now:hover { background: #fff; color: #e94560; transform: translateY(-1px); }
#forgot_modal .ms_register_form p { color: #fff; margin: 0; font-size: 14px; }
#forgot_modal .ms_register_form p a { color: #fff; font-weight: bold; text-decoration: none; cursor: pointer; }
#forgot_modal .ms_register_form p a:hover { text-decoration: underline; }
#forgot_modal .login_error, #forgot_modal .error { color: #ffeb3b; font-size: 13px; margin-top: 5px; min-height: 18px; }*/
@media (max-width: 768px) {
    #forgot_modal .modal-body { flex-direction: column; padding: 30px 20px; }
    #forgot_modal .ms_register_img { max-width: 60%; margin-bottom: 20px; }
    #forgot_modal .ms_register_form { width: 100%; }
}

/* ==========================================================================
   19. SEARCH DROPDOWN AJAX
   ========================================================================== */
.ms_top_search { position: relative; }
.search-wrapper { position: relative; }
/*.search-dropdown {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important; right: 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    z-index: 99999 !important;
    max-height: 500px !important;
    overflow-y: auto !important;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    border: 1px solid rgba(0, 0, 0, 0.06);
}*/
.search-dropdown.active { opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; }
.search-dropdown-header {
    display: flex !important; align-items: center !important; gap: 8px !important;
    padding: 12px 16px 10px !important;
    font-size: 11px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.5px !important;
    color: #ff3b30 !important;
    background: linear-gradient(to right, #fafafa, #ffffff) !important;
    border-bottom: 1px solid #ececec !important;
}
.search-dropdown-header:first-child {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}
.search-item {
    display: flex !important; align-items: center !important; gap: 12px !important;
    padding: 12px 16px !important;
    text-decoration: none !important; color: #1a1a1a !important;
    transition: background .15s ease, padding-left .2s ease !important;
    border-left: 3px solid transparent !important;
}
.search-item:hover, .search-item.active {
    background: #f3f4f6 !important;
    border-left-color: #ff3b30 !important;
    padding-left: 19px !important;
}
.search-item-image {
    flex-shrink: 0 !important;
    width: 48px !important; height: 48px !important;
    border-radius: 8px !important; overflow: hidden !important;
    background: linear-gradient(135deg, #e8e8e8, #f5f5f5) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: #9ca3af !important; font-size: 20px !important;
}
.search-item-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.search-item-info { flex: 1 !important; min-width: 0 !important; }
.search-item-title {
    font-size: 14px !important; font-weight: 600 !important;
    color: #111827 !important; margin: 0 !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
.search-item-title mark {
    background: linear-gradient(120deg, #fef08a 0%, #fde047 100%) !important;
    color: #111827 !important; padding: 0 3px !important;
    border-radius: 3px !important; font-weight: 700 !important;
}
.search-item-subtitle {
    font-size: 12px !important; color: #6b7280 !important;
    margin: 3px 0 0 !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
.search-item-type {
    flex-shrink: 0 !important;
    padding: 3px 10px !important; border-radius: 12px !important;
    font-size: 10px !important; font-weight: 700 !important;
    text-transform: uppercase !important;
    background: #f3f4f6 !important; color: #6b7280 !important;
}
.search-item-type.station { background: #fee2e2 !important; color: #dc2626 !important; }
.search-item-type.album   { background: #dbeafe !important; color: #2563eb !important; }
.search-item-type.artist  { background: #f3e8ff !important; color: #7c3aed !important; }
.search-item-type.genre   { background: #d1fae5 !important; color: #059669 !important; }
.search-loading { display: none !important; align-items: center !important; justify-content: center !important; gap: 12px !important; padding: 28px !important; color: #6b7280 !important; font-size: 14px !important; }
.search-loading[style*="block"], .search-loading[style*="flex"] { display: flex !important; }
.search-empty { text-align: center !important; padding: 36px 16px !important; color: #6b7280 !important; }
.search-empty i { font-size: 40px !important; color: #d1d5db !important; display: block !important; margin-bottom: 10px !important; }
.search-empty p { margin: 6px 0 0 !important; font-size: 14px !important; color: #374151 !important; font-weight: 600 !important; }
.search-hint { text-align: center !important; padding: 28px 16px !important; color: #9ca3af !important; }
.search-hint i { font-size: 32px !important; color: #d1d5db !important; display: block !important; margin-bottom: 8px !important; }
.search-hint p { margin: 4px 0 0 !important; font-size: 13px !important; }
.search-footer { border-top: 1px solid #e9ecef !important; background: #f9fafb !important; padding: 10px 16px !important; border-bottom-left-radius: 12px !important; border-bottom-right-radius: 12px !important; }
.search-footer a { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; color: #ff3b30 !important; text-decoration: none !important; font-size: 13px !important; font-weight: 700 !important; padding: 6px !important; border-radius: 6px !important; transition: background .15s ease !important; }
.search-footer a:hover { background: #fee2e2 !important; }
.search-dropdown::-webkit-scrollbar { width: 8px !important; }
.search-dropdown::-webkit-scrollbar-track { background: transparent !important; }
.search-dropdown::-webkit-scrollbar-thumb { background: #d1d5db !important; border-radius: 4px !important; }
.search-dropdown::-webkit-scrollbar-thumb:hover { background: #9ca3af !important; }

/* ==========================================================================
   20. MP3 SECTION (corrigido)
   ========================================================================== */
.ms_type_indicator { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; margin-left: 8px; vertical-align: middle; }
.ms_type_radio { background: rgba(255, 59, 48, 0.15); color: #ff3b30; border: 1px solid rgba(255, 59, 48, 0.3); }
.ms_type_mp3   { background: rgba(59, 200, 231, 0.15); color: #3bc8e7; border: 1px solid rgba(59, 200, 231, 0.3); }

/* === Card MP3 (base) === */
.mp3-card, .ms_rcnt_box.mp3-card, .ms_rcnt_box.mp3-track-card {
    position: relative;
    background: linear-gradient(145deg, #16213e 0%, #1a1f3a 100%);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}
.mp3-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(59, 200, 231, 0.2);
}

/* === Cover === */
.mp3-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1a1d29, #16213e);
    overflow: hidden;
}
.mp3-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}
.mp3-card:hover .mp3-cover img {
    transform: scale(1.05);
    filter: brightness(0.7);
}
.mp3-cover-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%);
    color: #fff;
    font-size: 60px;
}

/* === Badges === */
.mp3-type-badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 10px;
    background: rgba(59, 200, 231, 0.95);
    color: #fff;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}
.mp3-duration {
    position: absolute;
    bottom: 10px; right: 10px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 3;
}

/* === Botão Play (FORA do overlay - canto inferior direito) === */
.mp3-play-btn {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: none !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease !important;
    padding: 0 !important;
    opacity: 1 !important;
}
.mp3-play-btn:hover {
    background: rgba(29, 185, 84, 0.95) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(29, 185, 84, 0.5);
}
.mp3-play-btn i {
    font-size: 22px;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1;
}
.mp3-play-btn.is-playing {
    background: rgba(29, 185, 84, 0.95) !important;
}
.mp3-play-btn.is-playing i {
    color: #fff !important;
}

/* === Versão "overlay" do botão - escondida (evita duplicação) === */
.mp3-play-btn-overlay {
    display: none !important;
}

/* === Overlay HOVER (mais opções) === */
.mp3-overlay, .ms_main_overlay.mp3-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 4;
    pointer-events: none;
}
.mp3-card:hover .mp3-overlay { opacity: 1; visibility: visible; }
.mp3-overlay .ms_more_icon,
.mp3-overlay .more_option,
.mp3-overlay .more_option * { pointer-events: auto; }
.mp3-overlay .ms_box_overlay { pointer-events: none; }

/* === Info do MP3 === */
.mp3-info {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
}
.mp3-info h4, .mp3-info h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp3-info h4 a, .mp3-info h3 a { color: inherit; text-decoration: none; }
.mp3-info .mp3-artist {
    margin: 0 0 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mp3-info .mp3-artist i { font-size: 10px; color: #3bc8e7; }
.mp3-info small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}
.mp3-meta {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}
.mp3-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mp3-meta i { color: rgba(59, 200, 231, 0.7); }

/* === Botões de ação === */
.mp3-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    opacity: 1;
}
.mp3-btn {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mp3-btn:hover {
    background: rgba(59, 200, 231, 0.1);
    border-color: rgba(59, 200, 231, 0.4);
    color: #3bc8e7;
}

/* === Tabs === */
.mp3-tabs {
    display: flex;
    gap: 8px;
    margin: 20px 0 30px;
    flex-wrap: wrap;
}
.mp3-tab {
    padding: 8px 20px;
    background: #16213e;
    border: 1px solid #2d3561;
    border-radius: 20px;
    color: #a0a8c0;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mp3-tab:hover { border-color: #3bc8e7; color: #3bc8e7; }
.mp3-tab.active {
    background: linear-gradient(135deg, #3bc8e7, #2ec8e6);
    border-color: #3bc8e7;
    color: #fff;
}

/* === Empty State === */
.mp3-empty {
    text-align: center;
    padding: 80px 20px;
    color: #777;
}
.mp3-empty i { font-size: 60px; color: #2d3561; display: block; margin-bottom: 16px; }
.mp3-empty h3 { color: #fff; margin: 0 0 8px; }
.mp3-empty p { margin: 0 0 20px; }

.ms_mp3_home_wrapper { margin: 30px 0; padding: 0 15px; }

/* ==========================================================================
   21. MP3 FAVORITE BUTTON
   ========================================================================== */
.mp3-btn-favorite { color: #888; transition: all 0.25s ease; }
.mp3-btn-favorite:hover { color: #ff3b30; background: rgba(255, 59, 48, 0.1); border-color: #ff3b30; transform: scale(1.05); }
.mp3-btn-favorite.is-favorite { color: #ff3b30; background: rgba(255, 59, 48, 0.15); border-color: #ff3b30; }
.mp3-btn-favorite.is-favorite i { animation: heartBeatFav 0.6s ease-in-out; }
@keyframes heartBeatFav {
    0%, 100% { transform: scale(1); }
    25%      { transform: scale(1.3); }
    50%      { transform: scale(0.95); }
    75%      { transform: scale(1.15); }
}

/* ==========================================================================
   22. NOTIFICAÇÃO TOPO
   ========================================================================== */
.mp3-login-notice {
    background: linear-gradient(135deg, #1a1d29 0%, #2d3561 100%);
    border-left: 4px solid #ff3b30;
    border-radius: 12px;
    margin: 20px 0 30px;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.15);
    position: relative;
    overflow: hidden;
}
.mp3-notice-content {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 24px; color: #fff; flex-wrap: wrap;
}
.mp3-notice-content > i.bi-shield-lock-fill { font-size: 28px; color: #ff3b30; flex-shrink: 0; }
.mp3-notice-text { flex: 1; min-width: 200px; font-size: 14px; line-height: 1.5; }
.mp3-notice-text strong { color: #ff3b30; }
.mp3-notice-actions { display: flex; gap: 8px; flex-shrink: 0; }
.mp3-notice-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.mp3-notice-login { background: linear-gradient(135deg, #3bc8e7, #2ec8e6); color: #fff; }
.mp3-notice-login:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 200, 231, 0.4); }
.mp3-notice-register { background: transparent; color: #3bc8e7; border: 2px solid #3bc8e7; }
.mp3-notice-register:hover { background: rgba(59, 200, 231, 0.1); transform: translateY(-2px); }
.mp3-notice-close {
    background: transparent; border: none; color: #888;
    font-size: 24px; cursor: pointer; padding: 0 8px;
    transition: color 0.2s; flex-shrink: 0;
}
.mp3-notice-close:hover { color: #fff; }
@media (max-width: 768px) {
    .mp3-notice-content { padding: 12px 16px; gap: 12px; }
    .mp3-notice-content > i.bi-shield-lock-fill { font-size: 22px; }
    .mp3-notice-text { font-size: 13px; }
    .mp3-notice-actions { width: 100%; }
    .mp3-notice-btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   23. NAV BADGES
   ========================================================================== */
.nav_section_label {
    padding: 16px 18px 8px !important;
    margin: 8px 0 4px !important;
    font-size: 11px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 1px !important;
    color: #3bc8e7 !important; pointer-events: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.nav_separator {
    height: 1px;
    margin: 8px 18px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}
.nav_badge {
    display: inline-block; margin-left: 6px;
    padding: 1px 6px; border-radius: 8px;
    font-size: 9px; font-weight: 700; text-transform: uppercase;
}
.nav_badge_radio { background: rgba(255, 59, 48, 0.15); color: #ff5e54; border: 1px solid rgba(255, 59, 48, 0.3); }
.nav_badge_mp3   { background: rgba(59, 200, 231, 0.15); color: #3bc8e7; border: 1px solid rgba(59, 200, 231, 0.3); }
.ms_nav_wrapper li a.active .nav_badge_radio { background: #ff3b30; color: #fff; }
.ms_nav_wrapper li a.active .nav_badge_mp3   { background: #3bc8e7; color: #fff; }

/* ==========================================================================
   24. RESPONSIVE (BREAKPOINTS)
   ========================================================================== */

/* Mobile (até 575px): 1 coluna */
@media (max-width: 575px) {
    .mp3-play-btn { width: 44px !important; height: 44px !important; bottom: 10px; right: 10px; }
    .mp3-play-btn i { font-size: 20px; }
}

/* Mobile/tablet (576px-767px): 1 coluna  */
@media (min-width: 576px) and (max-width: 767px) {
    .mp3-play-btn { width: 44px !important; height: 44px !important; }
}

/* Tablet (768px-991px): 2 colunas */
@media (min-width: 768px) and (max-width: 991px) {
    .mp3-play-btn { width: 46px !important; height: 46px !important; }
}

/* Tablet maior / desktop pequeno (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .mp3-play-btn { width: 46px !important; height: 46px !important; }
}

/* Desktop (1200px+): botão padrão */
@media (min-width: 1200px) {
    .mp3-play-btn { width: 48px !important; height: 48px !important; }
}

/* Override do breakpoint antigo - previne sobreposição */
@media (max-width: 768px) {
    .mp3-tabs { overflow-x: auto; flex-wrap: nowrap; padding: 4px; }
    .mp3-tab { padding: 8px 14px; font-size: 12px; }
    .mp3-info { padding: 12px 14px; }
    .mp3-info h4, .mp3-info h3 { font-size: 14px; }
}
/* ==========================================================================
   MP3 DETAIL - LAYOUT IDÊNTICO À PÁGINA DE RÁDIO
   ========================================================================== */

.ms_mp3_detail_wrapper {
    padding: 20px 0 40px;
}

.ms_mp3_detail_wrapper .ms_heading .back-link {
    color: var(--cp-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.ms_mp3_detail_wrapper .ms_heading .back-link:hover {
    color: var(--cp-primary-dark);
}

/* === HERO CARD (igual à Rádio) === */
.mp3-detail-hero {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.08) 0%, rgba(59, 200, 231, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.mp3-detail-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 200, 231, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* === Capa === */
.mp3-detail-cover {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1a1d29, #16213e);
}

.mp3-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp3-cover-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3bc8e7;
    font-size: 80px;
    background: linear-gradient(135deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%);
    opacity: 0.7;
}

/* Badge MP3 (igual ao badge "Dance" da Rádio) */
.mp3-cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #3bc8e7, #2ec8e6);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Contador de plays (canto inferior) */
.mp3-cover-plays {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* === Tipo Badge (estilo "Dance") === */
.mp3-detail-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.15), rgba(255, 59, 48, 0.08));
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 20px;
    color: #ff5e54;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: capitalize;
}

/* === Título grande (igual à Rádio) === */
.mp3-detail-title {
    font-size: 48px;
    font-weight: 800;
    /*color: #fff;*/
    margin: 0 0 16px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .mp3-detail-title { font-size: 32px; }
}

/* === Descrição (igual à Rádio) === */
.mp3-detail-description-hero {
    /*font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 28px;
    line-height: 1.6;
    max-width: 600px;*/
}

/* === 4 BOTÕES PRINCIPAIS (estilo Rádio) === */
.mp3-detail-actions-hero {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.mp3-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #fff;
    white-space: nowrap;
}

.mp3-action-btn i { font-size: 16px; }

.mp3-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 1. Ouvir Agora - Azul */
.mp3-action-play {
    background: linear-gradient(135deg, #3bc8e7, #2ec8e6);
    color: #fff !important;
}

.mp3-action-play:hover {
    box-shadow: 0 8px 24px rgba(59, 200, 231, 0.5);
}

/* 2. Descarregar - Verde */
.mp3-action-download {
    background: linear-gradient(135deg, #28a745, #1ed760);
    color: #fff !important;
}

.mp3-action-download:hover {
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.5);
}

/* 3. Partilhar - Cinza */
.mp3-action-share {
    background: #007bff;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mp3-action-share:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* 4. Favoritar - Vermelho */
.mp3-action-favorite {
    background: linear-gradient(135deg, #dc3545, #ff3b30);
    color: #fff !important;
}

.mp3-action-favorite:hover {
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.5);
}

.mp3-action-favorite.is-favorite {
    background: rgba(220, 53, 69, 0.95);
}

.mp3-action-favorite.is-favorite i {
    animation: heartBeatFav 0.6s ease-in-out;
}

@media (max-width: 576px) {
    .mp3-action-btn {
        padding: 10px 18px;
        font-size: 13px;
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
    }
}

/* === SECÇÃO INFORMAÇÕES + SOBRE (2 colunas) === */
.mp3-detail-info-section {
    margin-top: 30px;
}

.mp3-info-card {
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px;
    height: 100%;
}

.mp3-info-heading {
    color: var(--cp-primary);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp3-info-heading i {
    font-size: 20px;
}

/* === Lista de informações (estilo Frequência/Género da Rádio) === */
.mp3-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mp3-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.mp3-info-list li:last-child {
    border-bottom: none;
}

.mp3-info-list li > i {
    color: var(--cp-primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.mp3-info-list .info-label {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    min-width: 90px;
}

.mp3-info-list .info-value {
    color: #fff;
    font-weight: 600;
    flex: 1;
    text-align: right;
}

/* === Texto "Sobre" === */
.mp3-about-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
}

.mp3-about-text p {
    margin: 0 0 16px;
}

.mp3-about-additional {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* === SECÇÃO PARTILHAR (colapsada) === */
.mp3-share-section {
    margin-top: 30px;
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px;
}

.mp3-share-heading {
    color: var(--cp-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp3-share-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.mp3-share-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mp3-share-fb { background: #1877f2; }
.mp3-share-tw { background: #000; }
.mp3-share-wa { background: #25d366; }

.mp3-share-social:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.mp3-share-link {
    display: flex;
    gap: 8px;
}

.mp3-share-link input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-family: monospace;
}

#mp3-copy-link {
    padding: 10px 20px;
    background: var(--cp-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

#mp3-copy-link:hover {
    background: var(--cp-primary-dark);
}

#mp3-copy-link.copied {
    background: var(--cp-success);
}

/* === Responsivo geral === */
@media (max-width: 768px) {
    .mp3-detail-hero {
        padding: 24px 20px;
    }

    .mp3-info-card {
        padding: 20px;
    }

    .mp3-share-section {
        padding: 20px;
    }
}
/* ==========================================================================
   MP3 LIST PAGE - LAYOUT IDÊNTICO ÀS RÁDIOS
   ========================================================================== */

.mp3-list-heading {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mp3-list-heading h1 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp3-list-heading h1 i {
    color: var(--cp-primary);
}

.mp3-list-heading .text-muted {
    margin: 0;
    font-size: 14px;
}

.mp3-list-heading .text-muted strong {
    color: var(--cp-primary);
    font-weight: 700;
}

/* === Grid de MP3s === */
.mp3-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.mp3-item {
    padding: 0 12px;
    margin-bottom: 24px;
    display: flex;
}

.mp3-item > .mp3-card {
    width: 100%;
}

/* Card MP3 */
.mp3-card,
.ms_rcnt_box.mp3-card,
.ms_rcnt_box.mp3-track-card {
    background: linear-gradient(145deg, #16213e 0%, #1a1f3a 100%);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.mp3-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(59, 200, 231, 0.18);
}

/* === Cover quadrado === */
.mp3-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #1a1d29, #16213e);
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.mp3-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.mp3-card:hover .mp3-cover > img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.mp3-cover-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%);
    color: #fff;
    font-size: 60px;
    opacity: 0.65;
}

/* === Badge MP3 (canto superior esquerdo) === */
.mp3-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(59, 200, 231, 0.95);
    color: #fff;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(8px);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mp3-type-badge i {
    font-size: 11px;
}

/* === Contador de plays (canto inferior direito) === */
.mp3-cover-plays {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

/* === Duração (canto inferior esquerdo) === */
.mp3-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 3;
    font-variant-numeric: tabular-nums;
}

/* === Overlay HOVER === */
.mp3-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 4;
    pointer-events: none;
}

.mp3-card:hover .mp3-overlay {
    opacity: 1;
    visibility: visible;
}

.mp3-overlay > * {
    pointer-events: auto;
}

.mp3-overlay .ms_box_overlay {
    pointer-events: none;
}

/* === Botão Play (centro em hover) === */
.ms_play_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.mp3-play-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease;
    padding: 0;
}

.mp3-play-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.mp3-play-btn.is-playing {
    background: linear-gradient(135deg, #1db954, #1ed760);
}

.mp3-play-btn.is-playing img,
.mp3-play-btn.is-playing i {
    filter: brightness(0) invert(1);
}

.mp3-play-btn img {
    width: 22px;
    height: 22px;
}

/* === Info do MP3 (sempre visível) === */
.mp3-info {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
}

.mp3-info h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.mp3-info h3 a {
    color: inherit;
    text-decoration: none;
}

.mp3-card:hover .mp3-info h3 {
    color: #3bc8e7;
}

.mp3-artist {
    margin: 0 0 10px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mp3-artist i {
    font-size: 11px;
    color: #3bc8e7;
}

.mp3-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.mp3-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mp3-meta i {
    color: rgba(59, 200, 231, 0.7);
    font-size: 11px;
}

/* === Responsivo === */
@media (max-width: 575px) {
    .mp3-play-btn {
        width: 50px;
        height: 50px;
    }
    .mp3-cover-plays,
    .mp3-duration {
        font-size: 10px;
        padding: 2px 6px;
    }
}

@media (min-width: 1200px) {
    .mp3-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .mp3-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .mp3-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .mp3-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* ==========================================================================
   FREE PLAYERS - LAYOUT IDÊNTICO ÀS RÁDIOS
   ========================================================================== */

/* === LISTA === */
.fp-list-heading {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fp-list-heading h1 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-list-heading h1 i {
    color: var(--cp-success);
}

.fp-list-heading .text-muted strong {
    color: var(--cp-success);
}

/* === Login Notice (Free Players) === */
.fp-login-notice {
    background: linear-gradient(135deg, #1a1d29 0%, #2d3561 100%);
    border-left: 4px solid var(--cp-success);
    border-radius: 12px;
    margin: 20px 0 30px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.fp-notice-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    color: #fff;
}

.fp-notice-content > i {
    font-size: 28px;
    color: var(--cp-success);
    flex-shrink: 0;
}

.fp-notice-text { flex: 1; font-size: 14px; }

.fp-notice-text strong { color: var(--cp-success); font-weight: 700; }

.fp-notice-close {
    background: transparent; border: none; color: #888;
    font-size: 24px; cursor: pointer; padding: 0 8px;
    transition: color 0.2s;
}

.fp-notice-close:hover { color: #fff; }

/* === Card Base === */
.fp-card,
.ms_rcnt_box.fp-card {
    background: linear-gradient(145deg, #16213e 0%, #1a1f3a 100%);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.fp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(29, 185, 84, 0.18);
}

/* === Cover === */
.fp-cover {
    position: relative;
    width: 100%;
    height: 175px;
    aspect-ratio: 1 / 1;
   /* background: linear-gradient(135deg, #1a1d29, #16213e);*/
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.fp-cover > img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    border-radius: inherit;
    transition: transform 0.4s ease, filter 0.3s ease;
    padding: 10px 10px 0px 10px;
}

.fp-card:hover .fp-cover > img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.fp-cover-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%);
    color: #fff;
    font-size: 64px;
    opacity: 0.7;
}

/* === Badges === */
.fp-version-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    z-index: 3;
    backdrop-filter: blur(8px);
}

.fp-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fp-free { background: linear-gradient(135deg, #6c5ce7, #5f27cd); }

.fp-cover-downloads {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
}

/* === Overlay === */
.fp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 4;
    pointer-events: none;
}

.fp-card:hover .fp-overlay {
    opacity: 1;
    visibility: visible;
}

.fp-overlay > * { pointer-events: auto; }
.fp-overlay .ms_box_overlay { pointer-events: none; }

.fp-overlay .ms_more_icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.fp-overlay .more_option {
    position: absolute;
    top: 38px;
    right: 12px;
}

/* === Botão View centralizado === */
.fp-view-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
    transition: transform 0.25s ease;
}

.fp-view-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* === Info === */
.fp-info {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
    /*background: rgba(0, 0, 0, 0.15);*/
}

.fp-info h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.fp-info h3 a { color: inherit; text-decoration: none; }

.fp-card:hover .fp-info h3 { color: var(--cp-success); }

.fp-category {
    margin: 0 0 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fp-category i { font-size: 11px; color: var(--cp-success); }

.fp-meta {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: rgb(38 146 241);
}

.fp-meta span { display: inline-flex; align-items: center; gap: 4px; }
.fp-meta i { color: var(--cp-success); font-size: 11px; }

.fp-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.fp-btn {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fp-btn-download { background: transparent; border: 1px solid var(--cp-success); color: var(--cp-success); }
.fp-btn-download:hover { background: var(--cp-success); color: #fff; }
.fp-btn-preview  { background: transparent; border: 1px solid var(--cp-primary); color: var(--cp-primary); }
.fp-btn-preview:hover  { background: var(--cp-primary); color: #fff; }

.fp-empty {
    text-align: center;
    padding: 80px 20px;
    color: #777;
    background: rgba(22, 33, 62, 0.6);
    border-radius: 16px;
    border: 1px dashed rgba(29, 185, 84, 0.2);
}

.fp-empty i {
    font-size: 60px;
    color: var(--cp-success);
    display: block;
    margin-bottom: 16px;
    opacity: 0.7;
}

.fp-empty h3 { color: #fff; margin: 0 0 8px; }
.fp-empty p { margin: 0; color: rgba(255, 255, 255, 0.6); }

/* === RESPONSIVO LISTA === */
@media (min-width: 1200px) {
    .fp-page { flex: 0 0 25%; max-width: 25%; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .fp-page { flex: 0 0 33.333%; max-width: 33.333%; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .fp-page { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 767px) {
    .fp-page { flex: 0 0 100%; max-width: 100%; }
}

/* === DETALHE: HERO CARD === */
.ms_free_player_detail_wrapper { padding: 20px 0 40px; }

.fp-detail-hero {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.08) 0%, rgba(59, 200, 231, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.fp-detail-cover {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1a1d29, #16213e);
}

.fp-detail-cover img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.fp-cover-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.fp-cover-version {
    position: absolute;
    top: 12px; right: 12px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

/* === Detail Info === */
.fp-detail-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.15), rgba(29, 185, 84, 0.08));
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 20px;
    color: var(--cp-success);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.fp-detail-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .fp-detail-title { font-size: 32px; }
}

.fp-detail-description-hero {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 28px;
    line-height: 1.6;
    max-width: 600px;
}

.fp-detail-actions-hero {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fp-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #fff;
    white-space: nowrap;
}

.fp-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.fp-action-download {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
}

.fp-action-download:hover {
    box-shadow: 0 8px 24px rgba(29, 185, 84, 0.5);
    color: #fff;
}

.fp-action-preview {
    background: linear-gradient(135deg, #3bc8e7, #2ec8e6);
}

.fp-action-preview:hover {
    box-shadow: 0 8px 24px rgba(59, 200, 231, 0.5);
    color: #fff;
}

.fp-action-share {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fp-action-share:hover {
    background: rgba(255, 255, 255, 0.18);
}

.fp-action-like {
    background: linear-gradient(135deg, #dc3545, #ff3b30);
}

.fp-action-like:hover {
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.5);
}

.fp-action-like.is-liked {
    background: rgba(220, 53, 69, 0.95);
}

@media (max-width: 576px) {
    .fp-action-btn {
        padding: 10px 18px;
        font-size: 13px;
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
    }
}

/* === Detail Info Section === */
.fp-detail-info-section { margin-top: 30px; }

.fp-info-card {
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px;
    height: 100%;
}

.fp-info-heading {
    color: var(--cp-success);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-info-list { list-style: none; margin: 0; padding: 0; }

.fp-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.fp-info-list li:last-child { border-bottom: none; }

.fp-info-list li > i {
    color: var(--cp-success);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.fp-info-list .info-label {
    color: rgba(255, 255, 255, 0.5);
    min-width: 110px;
}

.fp-info-list .info-value {
    color: #fff;
    font-weight: 600;
    flex: 1;
    text-align: right;
}

.fp-about-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
}

.fp-about-text p { margin: 0 0 16px; }
.fp-about-additional { color: rgba(255, 255, 255, 0.6); font-style: italic; }

/* === Share Section === */
.fp-share-section {
    margin-top: 30px;
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px;
}

.fp-share-heading {
    color: var(--cp-success);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-share-buttons { display: flex; gap: 14px; margin-bottom: 20px; }

.fp-share-social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.fp-share-fb { background: #1877f2; }
.fp-share-tw { background: #000; }
.fp-share-wa { background: #25d366; }

.fp-share-social:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}

.fp-share-link { display: flex; gap: 8px; }

.fp-share-link input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-family: monospace;
}

.fp-copy-link {
    padding: 10px 20px;
    background: var(--cp-success);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.fp-copy-link:hover { background: #10ac84; }

/* === Related === */
.fp-related-section { margin-top: 40px; }

.fp-related-heading {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp-related-heading i { color: var(--cp-success); }

@media (max-width: 768px) {
    .fp-detail-hero { padding: 24px 20px; }
    .fp-info-card { padding: 20px; }
    .fp-share-section { padding: 20px; }
}
/* === BOTÃO AGRADECER (coração azul/lilás) === */
.mp3-action-thank {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: #fff;
}

.mp3-action-thank:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.5);
}

.mp3-action-thank.is-thanked {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
}

/* === MENSAGEM DE STATUS DEBAIXO DOS BOTÕES === */
.mp3-action-status {
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--cp-primary);
}

.status-info {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-info i {
    font-size: 16px;
    color: var(--cp-primary);
}

.status-info strong {
    color: #fff;
    font-weight: 700;
}

.status-info.status-thank {
    border-left-color: #a78bfa;
}

.status-info.status-thank i {
    color: #a78bfa;
}

.status-info.status-success {
    border-left-color: var(--cp-success);
}

.status-info.status-success i {
    color: var(--cp-success);
}
/* ============================================ */
/* 🎨 TEMA CLARO                                */
/* ============================================ */
body.theme-light {
    background: #f5f7fa !important;
    color: #1a1a2e !important;
}

body.theme-light .ms_header {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e6ed !important;
}

body.theme-light .ms_top_search input.form-control {
    background: #f0f2f5 !important;
    color: #1a1a2e !important;
    border-color: #e0e6ed !important;
}

body.theme-light .ms_top_search input.form-control::placeholder {
    color: #888 !important;
}

body.theme-light .ms_top_trend {
    color: #1a1a2e !important;
}

body.theme-light .ms_top_trend .ms_color {
    color: #ff6b00 !important;
}

body.theme-light .trending-item {
    background: #f0f2f5 !important;
    border-color: #e0e6ed !important;
    color: #1a1a2e !important;
}

body.theme-light .trending-item:hover {
    background: rgba(233, 69, 96, 0.1) !important;
    border-color: #e94560 !important;
    color: #e94560 !important;
}

body.theme-light .trending-item .trending-icon,
body.theme-light .trending-item .trending-type {
    color: #ff6b00 !important;
}

body.theme-light .ms_admin_name {
    color: #1a1a2e !important;
}

body.theme-light .ms_top_btn .ms_btn {
    background: linear-gradient(135deg, #00b4d8, #0096b8) !important;
}

body.theme-light .pro_dropdown_menu {
    background: #ffffff !important;
    border: 1px solid #e0e6ed !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

body.theme-light .pro_dropdown_menu li a {
    color: #1a1a2e !important;
}

body.theme-light .pro_dropdown_menu li a:hover {
    background: #f0f2f5 !important;
    color: #e94560 !important;
}

body.theme-light .pro_dropdown_menu li.divider {
    background: #e0e6ed !important;
}

body.theme-light #ms-content,
body.theme-light .ms_content_wrapper {
    background: #f5f7fa !important;
}

body.theme-light .ms-banner {
    background: #ffffff !important;
}

body.theme-light .ms_banner_text h1 {
    color: #1a1a2e !important;
}

body.theme-light .ms_banner_text p {
    color: #555 !important;
}

body.theme-light .ms_rcnt_box,
body.theme-light .ms_release_box,
body.theme-light .ms_weekly_box,
body.theme-light .fp_card {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

body.theme-light .ms_rcnt_box_text h3 a,
body.theme-light .ms_release_box h3 a,
body.theme-light .ms_weekly_box .w_tp_song_name h3 a {
    color: #1a1a2e !important;
}

body.theme-light .ms_rcnt_box_text p,
body.theme-light .ms_release_box p,
body.theme-light .ms_weekly_box .w_tp_song_name p {
    color: #666 !important;
}

body.theme-light .ms_heading h1 {
    color: #1a1a2e !important;
}

body.theme-light .alert-flash-success {
    background: #1dd1a1 !important;
    color: #fff !important;
}

body.theme-light .alert-flash-error {
    background: #e94560 !important;
    color: #fff !important;
}

body.theme-light .alert-flash-warning {
    background: #ffa500 !important;
    color: #fff !important;
}

body.theme-light .alert-flash-info {
    background: #00b4d8 !important;
    color: #fff !important;
}
