/* app.css - Streamlined styles for Muqils */

/* Base Styles */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body, html {
    height: 100%;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #646566;
    background-color: #f4f5f6;
    margin: 0;
    padding: 0;
}

a, a:visited {
    text-decoration: none;
    color: #42b983;
    transition: all 0.3s ease;
}

a:hover, a:active, a:focus {
    color: #38a169;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

i {
    font-style: normal;
}

/* Utility Classes */
.hidden { display: none; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.ml-2 { margin-left: 8px; }
.text-white { color: white; }
.text-right { text-align: right; }
.inline-block { display: inline-block; }

/* Layout */
.wrapper {
    background: #f4f5f6;
}

.container {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 10px;
    overflow: auto;
}

.main-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.lefter {
    width: 180px;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.righter {
    width: 270px;
    flex-shrink: 0;
}

.content {
    width: 100%;
}

/* Header Styles */
.header {
    width: 100%;
}

.header-top {
    background: linear-gradient(135deg, #42b983 0%, #349b6d 100%);
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(66, 185, 131, 0.2);
}

.header-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo-text, .logo-text h1 {
    font-size: 26px;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    display: inline;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-text:hover {
    color: #fff !important;
    transform: scale(1.02);
}

.subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    font-weight: 500;
}

/* Search Section */
.header-search-section {
    width: 100%;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.search-titles {
    margin-bottom: 20px;
}

.header-search-section h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
    border-bottom: none;
    padding-bottom: 0;
}

.header-search-section h1::after {
    display: none;
}

.search-titles p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.search-form-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    max-width: 650px;
    margin: 0 auto;
    border: 2px solid #42b983;
}

.search-form-container:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(66, 185, 131, 0.2);
}

.search-input-new {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px 0;
    color: #333;
    background: transparent;
}

.search-submit-btn {
    background: #42b983;
    border: none;
    color: #fff;
    padding: 10px 25px;
    border-radius: 35px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-submit-btn:hover {
    background: #38a169;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(66, 185, 131, 0.3);
}

.search-submit-btn:active {
    transform: scale(0.95);
}

/* Hot Searches */
.hot-searches {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* .hot-searches span {
    color: #888;
    font-size: 13px;
    line-height: 26px;
} */

.hot-tag {
    color: #42b983;
    font-size: 12px;
    text-decoration: none;
    padding: 2px 12px;
    background: #ebf9f2;
    border-radius: 15px;
    transition: all 0.2s;
    line-height: 22px;
    border: 1px solid transparent;
    cursor: pointer;
}

.hot-tag:hover {
    background: #42b983;
    color: #fff;
}

/* User Status & Header Right */
.header-right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-status-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.status-badge:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.status-badge.premium {
    background: linear-gradient(135deg, #ebf9f2 0%, #e6f0eb 100%);
    color: #42b983;
    border: 1px solid #c6f0dc;
}

.status-badge.expired {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border: 1px solid #fecaca;
}

.status-badge.regular {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-badge.credits {
    background: rgba(255, 252, 232, 0.2);
    color: #fef08a;
    border: 1px solid rgba(254, 240, 138, 0.3);
}

.header-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #42b983;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-login-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.header-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background 0.2s;
    color: #fff;
}

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

.header-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

.header-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 30px 0;
}

.pagination a, .pagination span, .pagination li a, .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.2s;
}

.pagination a:hover, .pagination li a:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.pagination .current, .pagination li.active span {
    background-color: #42b983;
    border-color: #42b983;
    color: #ffffff;
}

.pagination .disabled {
    color: #9ca3af;
    cursor: not-allowed;
    background-color: #f9fafb;
}

/* Mobile Quick Nav */
.mobile-quick-nav {
    display: none;
    background-color: #fff;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.mobile-nav-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.mobile-nav-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-nav-item {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
    position: relative;
}

.mobile-nav-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 30%;
    height: 40%;
    width: 1px;
    background-color: #eee;
}

.mobile-nav-item:last-child::after {
    display: none;
}

.mobile-nav-item.active {
    color: #42b983;
    font-weight: 600;
}

.mobile-nav-item.active::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 3px;
    background: #42b983;
    border-radius: 3px 3px 0 0;
}

.nav-icon {
    display: flex;
    align-items: center;
    margin-right: 6px;
}

/* Toast & Queue Tip */
.toast-item {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toast-in 0.3s ease-out;
}

@keyframes toast-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-item.success { background: #42b983; }
.toast-item.error { background: #dc2626; }

.queue-tip-container {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 10px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.queue-tip-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.queue-tip-icon { color: #dc2626; }
.queue-tip-text {
    font-size: 13px;
    color: #991b1b;
    font-weight: 500;
    line-height: 1.4;
}

.queue-upgrade-btn {
    background: linear-gradient(135deg, #42b983 0%, #38a169 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.queue-upgrade-btn:hover {
    box-shadow: 0 4px 12px rgba(66, 185, 131, 0.3);
    transform: translateY(-1px);
}

/* Category Sidebar */
.category-module {
    padding: 15px !important;
}

.category-module h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.category-module a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #4b5563;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.category-module a:hover {
    background: #ebf9f2;
    color: #42b983;
    transform: translateX(5px);
}

.category-module a.actived {
    background: #42b983;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(66, 185, 131, 0.2);
}

.category-module a.actived .nav-icon {
    color: #fff !important;
}

.category-module .nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.category-module a:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Modules */
.module {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.module:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.module h1, .module h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    padding-bottom: 15px;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #ebf9f2;
    position: relative;
}

.module h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #42b983;
}

/* Ringtone List Items */
.item-cat {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 2px;
}

.item-cat:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
    background: #f3f4f6;
    border: 1px solid #eee;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.item-cat:hover .item-thumb img {
    transform: scale(1.1);
}

.item-info {
    flex: 1;
    min-width: 0;
    margin-right: 15px;
}

.item-info a {
    display: block;
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.item-info a:hover {
    color: #42b983;
}

.play-btn {
    width: 42px;
    height: 42px;
    background: #ebf9f2;
    color: #42b983;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    font-size: 18px;
    border: 2px solid transparent;
}

.play-btn:hover {
    background: #42b983;
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(66, 185, 131, 0.3);
}

.play-btn.playing {
    background: #42b983;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(66, 185, 131, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(66, 185, 131, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 185, 131, 0); }
}

.item-details {
    display: flex;
    gap: 15px;
    color: #9ca3af;
    font-size: 12px;
}

.item-details i {
    display: inline-flex;
    align-items: center;
    font-style: normal;
}

.item-details .fa-play {
    color: #70a1ff; /* 柔和蓝色 */
}

.item-details .fa-download {
    color: #ff7f50; /* 珊瑚色 */
}

.item-details .fa-user {
    color: #a29bfe; /* 柔和紫色 */
}

.item-details .fa-clock {
    color: #a4b0be; /* 柔和灰蓝色 */
}

.item-details .mr-1 {
    margin-right: 4px;
}

/* Tabs */
.cd-tabs { margin: 2em 0; }
.cd-tabs-navigation {
    display: flex;
    border-bottom: 2px solid #ebeef0;
    margin-bottom: 20px;
}

.cd-tabs-navigation li { margin-right: 10px; }
.cd-tabs-navigation a {
    display: block;
    padding: 10px 20px;
    color: #666;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.cd-tabs-navigation a.selected {
    color: #42b983;
    border-bottom-color: #42b983;
}

.cd-tabs-content li { display: none; }
.cd-tabs-content li.selected {
    display: block;
    animation: cd-fade-in 0.5s;
}

@keyframes cd-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modals */
.modal-overlay, .pay-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
    backdrop-filter: blur(2px);
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: modal-up 0.3s ease-out;
}

@keyframes modal-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, #42b983 0%, #38a169 100%);
    padding: 5px;
    color: white;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 12px; right: 12px;
    background: none; border: none;
    color: white; font-size: 20px;
    cursor: pointer; opacity: 0.7;
}

.modal-body { padding: 24px; }

/* 登录注册模态框增强样式 */
.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: white;
    border: 1px solid #e5e7eb;
    padding: 12px;
    border-radius: 10px;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 8px;
}

.google-login-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.modal-divider {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: #9ca3af;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-divider::before,
.modal-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #f0f0f0;
}

.modal-divider span {
    padding: 0 12px;
}

.modal-tabs {
    display: flex;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.modal-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s;
    font-size: 15px;
}

.modal-tab-btn.active {
    background: white;
    color: #38a169;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.modal-form-item { margin-bottom: 20px; }

.modal-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
}

.modal-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
    background: #f9fafb;
}

.modal-form-input:focus {
    outline: none;
    border-color: #42b983;
    background: white;
    box-shadow: 0 0 0 4px rgba(66, 185, 131, 0.1);
}

.modal-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #42b983 0%, #38a169 100%);
    font-size: 16px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(66, 185, 131, 0.2);
}

.modal-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(66, 185, 131, 0.3);
    opacity: 0.95;
}

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

/* 下载按钮加载状态样式 */
.loading-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    width: 100%;
}

.countdown-container {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.countdown-num {
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* More Link Wrapper */
.more-link-wrapper {
    text-align: center;
    padding-top: 20px;
    margin-top: 10px;
}


.more-link {
    display: inline-block;
    padding: 8px 25px;
    background: #f3f4f6;
    color: #42b983;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.more-link:hover {
    background: #42b983;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 185, 131, 0.2);
}

/* Tab Switcher (Category Page) */
.tab-switcher {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tab-link {
    color: #666;
    font-size: 15px;
    padding: 5px 10px;
    position: relative;
    transition: all 0.3s;
}

.tab-link:hover {
    color: #42b983;
}

.tab-link.active {
    color: #42b983;
    font-weight: bold;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #42b983;
    border-radius: 3px 3px 0 0;
}

/* Search Hot Module */
.search-hot-module {
    padding: 20px;
}

.search-hot-module h2 {
    margin-bottom: 15px;
}

#tagsList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#tagsList a {
    display: inline-block;
    padding: 4px 10px;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s;
}

#tagsList a:hover {
    background: #42b983;
    color: #fff;
    transform: translateY(-2px);
}

#tagsList .more-link {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    background: transparent;
    color: #42b983;
    border: 1px solid #42b983;
}

#tagsList .more-link:hover {
    background: #42b983;
    color: #fff;
}

/* Download Module (Right Sidebar) */
.download-module {
    padding: 20px;
}

.latest-downloader {
    padding: 12px 0;
    border-bottom: 1px dashed #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.latest-downloader:last-child {
    border-bottom: none;
}

.downloader-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.user-name {
    color: #4b5563;
    font-weight: 600;
}

.action-type {
    color: #9ca3af;
    font-size: 12px;
}

.ringtone-info {
    margin: 2px 0;
}

.ringtone-info a, .ringtone-title {
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.ringtone-info a:hover {
    color: #42b983;
}

.action-time {
    font-size: 11px;
    color: #9ca3af;
    display: block;
    text-align: right;
}

@media (max-width: 1024px) {
    .righter {
        display: none;
    }
}

/* Footer Styles */
.footer-wrapper {
    background-color: #ffffff;
    padding: 60px 0 30px;
    border-top: 1px solid #f3f4f6;
    margin-top: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #42b983;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #6b7280;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #42b983;
    transform: translateX(5px);
}

.language-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: #ebf9f2;
    border-color: #42b983;
    color: #42b983;
}

.lang-btn.active {
    background: #42b983;
    border-color: #42b983;
    color: #fff;
    box-shadow: 0 4px 12px rgba(66, 185, 131, 0.2);
}

.footer-links {
    padding: 30px 0;
    border-top: 1px dashed #e5e7eb;
    border-bottom: 1px dashed #e5e7eb;
    margin-bottom: 40px;
}

.footer-links h4 {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.links-container a {
    color: #6b7280;
    font-size: 13px;
    transition: color 0.2s;
}

.links-container a:hover {
    color: #42b983;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: #9ca3af;
    font-size: 14px;
    margin: 5px 0;
}

.footer-desc {
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-wrapper {
        padding: 40px 0 80px; /* 为移动端底部导航留出空间 */
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
    }
}

/* Loading & Spinners */
.spin-loader {
    width: 18px; height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .lefter { display: none; }
}

@media (min-width: 768px) {
    .pay-modal-container.wide { min-width: 900px; max-width: 1100px; }
}

@media (max-width: 768px) {
    .container { padding: 0 0; }
    .righter { display: none; }
    .mobile-quick-nav { display: block; }
    
    .badge-text-full { display: none; }
    .badge-text-short { display: inline; }
    
    .logo-text, .logo-text h1 { font-size: 20px; }
    .subtitle { display: none; }
    
    .header-login-btn, .header-nickname { display: none; }
    
    .header-search-section { padding: 5px 15px 15px; }
    .search-titles h1 { font-size: 22px; }

    .hot-searches {
        margin-top: 10px;
        gap: 6px;
    }
    
    .hot-tag {
        padding: 2px 10px;
        font-size: 11px;
    }


    .module {
        padding: 12px 5px;
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .cd-tabs { margin: 1em 0; }
    
    .item-cat { 
        padding: 10px 0; 
        margin-bottom: 0;
        border-radius: 8px;
    }
    
    .item-thumb {
        width: 48px;
        height: 48px;
        margin-right: 12px;
    }
    
    .item-info {
        margin-right: 10px;
    }
    
    .item-info a {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .item-details {
        gap: 8px;
        font-size: 11px;
        flex-wrap: wrap;
    }

    

    .play-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .cd-tabs-navigation a {
        padding: 8px 12px;
        font-size: 14px;
    }
}
