/* ========================================
   LRON ENTERTAINMENT - 移动端样式
   完整的移动端适配，每个页面单独设计
   ======================================== */

/* ========== 全局移动端基础样式 ========== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        padding-top: 60px;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* ========== 导航栏移动端样式 ========== */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 60px;
        max-width: 100%;
    }
    
    .nav-logo {
        font-size: 1.25rem;
    }
    
    .nav-logo-main {
        font-size: 1.25rem;
    }
    
    .nav-logo-sub {
        display: none;
    }
    
    /* 汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        order: 3;
    }
    
    .mobile-menu-toggle .menu-icon {
        font-size: 1.5rem;
        color: var(--text-primary);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-toggle.active .menu-icon {
        transform: rotate(90deg);
    }
    
    /* 移动端菜单面板 */
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        padding-bottom: calc(5rem + env(safe-area-inset-bottom));
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        gap: 0.25rem;
        z-index: 999;
        display: flex;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 1rem 0.75rem;
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        border-radius: 8px;
    }
    
    .nav-link:active {
        background: rgba(221, 0, 0, 0.1);
        color: var(--accent-red);
    }
    
    /* 导航栏操作区域 */
    .nav-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        flex-wrap: wrap;
    }
    
    .nav-actions .language-switcher {
        display: none;
    }
    
    .mobile-language-switcher {
        display: block;
        padding: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 0.5rem;
    }
    
    .mobile-language-switcher .language-switcher {
        display: flex;
        justify-content: center;
    }
    
    .mobile-language-switcher .language-current {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        background: var(--bg-light);
        border-radius: 8px;
        width: 100%;
        justify-content: center;
    }
    
    .mobile-language-switcher .language-menu {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        border-radius: 8px;
        margin-top: 0.5rem;
        max-height: none;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
    
    .mobile-language-switcher .language-option {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .nav-actions .btn {
        flex: 1;
        min-width: 80px;
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .nav-actions .nav-link {
        display: none;
    }
    
    /* 购物车图标 */
    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background: var(--accent-red);
        color: white;
        font-size: 0.7rem;
        min-width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* ========== 按钮样式 ========== */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .btn-red {
        padding: 0.875rem 1.5rem;
    }
    
    /* ========== Hero区域 ========== */
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    /* ========== 页面Hero ========== */
    .page-hero {
        padding: 3rem 0 2rem;
        min-height: auto;
    }
    
    .page-hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .page-hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* ========== 区块样式 ========== */
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* ========== 筛选栏 ========== */
    .filter-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0.375rem;
        gap: 0.5rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .filter-bar::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        white-space: nowrap;
        border-radius: 20px;
    }
    
    /* ========== 卡片网格 ========== */
    .card-grid,
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .item-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .item-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 12px 12px 0 0;
    }
    
    .item-card-content {
        padding: 0.75rem;
    }
    
    .item-card-title {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3;
    }
    
    .item-card-meta {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }
    
    .item-card-desc {
        display: none;
    }
    
    .item-card-footer {
        padding: 0.625rem 0.75rem;
    }
    
    .item-card-price {
        font-size: 0.95rem;
    }
    
    /* ========== 分页 ========== */
    .pagination {
        flex-wrap: wrap;
        gap: 0.375rem;
        padding: 1rem 0;
        justify-content: center;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    /* ========== 空状态 ========== */
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .empty-state-title {
        font-size: 1.25rem;
    }
    
    .empty-state-text {
        font-size: 0.9rem;
    }
    
    /* ========== 表单样式 ========== */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    /* ========== Toast提示 ========== */
    .toast {
        left: 1rem;
        right: 1rem;
        bottom: calc(80px + env(safe-area-inset-bottom));
        max-width: none;
        border-radius: 12px;
    }
    
    .toast-content {
        padding: 1rem;
    }
    
    /* ========== 模态框 ========== */
    .modal-content {
        margin: 0.5rem;
        max-height: 90vh;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    /* ========== 语言选择器 ========== */
    .language-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .language-option {
        padding: 1rem 1.5rem;
    }
}

/* ========== 首页移动端样式 ========== */
@media (max-width: 768px) {
    .home-hero {
        height: 60vh;
        min-height: 350px;
    }
    
    .home-hero-content {
        padding: 0 1rem;
    }
    
    .home-hero-title {
        font-size: 2.25rem;
    }
    
    .home-section {
        padding: 2rem 0;
    }
    
    .home-section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .news-card-horizontal {
        flex-direction: column;
    }
    
    .news-card-image {
        width: 100%;
        height: 180px;
    }
    
    .featured-artist {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-artist-image {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }
}

/* ========== 艺人列表页移动端样式 ========== */
@media (max-width: 768px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .artist-card {
        border-radius: 12px;
    }
    
    .artist-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 12px 12px 0 0;
    }
    
    .artist-card-content {
        padding: 0.875rem;
        text-align: center;
    }
    
    .artist-card-name {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .artist-card-genres {
        font-size: 0.75rem;
    }
}

/* ========== 艺人详情页移动端样式 ========== */
@media (max-width: 768px) {
    .artist-hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .artist-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .artist-profile-image {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    .artist-info {
        width: 100%;
    }
    
    .artist-name {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }
    
    .artist-english-name {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .artist-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .artist-meta-item {
        text-align: center;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    .artist-meta-label {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }
    
    .artist-meta-value {
        font-size: 0.85rem;
    }
    
    .artist-bio {
        padding: 1.5rem 1rem;
    }
    
    .artist-bio h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .artist-bio p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .artist-albums {
        padding: 2rem 0;
    }
}

/* ========== 专辑列表页移动端样式 ========== */
@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .album-card {
        border-radius: 12px;
    }
    
    .album-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 12px 12px 0 0;
    }
    
    .album-card-content {
        padding: 0.75rem;
    }
    
    .album-card-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .album-card-artist {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
    
    .album-card-meta {
        font-size: 0.7rem;
    }
}

/* ========== 专辑详情页移动端样式 ========== */
@media (max-width: 768px) {
    .album-hero {
        padding: 2rem 0;
    }
    
    .album-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .album-cover-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .album-cover {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }
    
    .album-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .album-artist {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .album-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .album-meta-item {
        font-size: 0.85rem;
    }
    
    .album-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .album-actions .btn {
        width: 100%;
    }
    
    .track-list {
        padding: 1.25rem;
        border-radius: 12px;
        margin: 1.5rem 0;
    }
    
    .track-list h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .track-item {
        padding: 0.875rem 0;
        gap: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .track-item:last-child {
        border-bottom: none;
    }
    
    .track-number {
        font-size: 0.85rem;
        min-width: 24px;
    }
    
    .track-title {
        font-size: 0.95rem;
    }
    
    .track-duration {
        font-size: 0.8rem;
    }
    
    .album-intro {
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 1.5rem;
    }
    
    .album-intro h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .album-intro p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

/* ========== 演出列表页移动端样式 ========== */
@media (max-width: 768px) {
    .events-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .event-card {
        flex-direction: column;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .event-image {
        width: 100%;
        height: 180px;
        border-radius: 12px 12px 0 0;
    }
    
    .event-info {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .event-meta {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .event-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .event-price {
        font-size: 1.1rem;
    }
    
    .event-footer .btn {
        width: 100%;
    }
    
    .event-status-badge {
        align-self: flex-start;
    }
}

/* ========== 演出详情页移动端样式 ========== */
@media (max-width: 768px) {
    .event-detail-hero {
        height: 40vh;
        min-height: 280px;
    }
    
    .event-detail-hero-content {
        padding: 0 1rem;
    }
    
    .event-detail-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .event-detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .event-info-section {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .event-info-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .event-info-item {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .seat-selector {
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .seat-option {
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }
    
    .seat-option:last-child {
        margin-bottom: 0;
    }
    
    .seat-type {
        font-size: 1rem;
    }
    
    .seat-price {
        font-size: 1.1rem;
    }
    
    /* 购票面板固定在底部 */
    .purchase-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        padding: 1rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 100;
    }
    
    .purchase-panel .panel-title {
        display: none;
    }
    
    .purchase-panel .price-summary {
        margin-bottom: 0.75rem;
    }
    
    .purchase-panel .btn-red {
        width: 100%;
        padding: 1rem;
    }
    
    .quantity-selector {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.75rem;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        font-size: 1.25rem;
    }
    
    .quantity-value {
        font-size: 1.25rem;
        min-width: 40px;
        text-align: center;
    }
    
    body.has-purchase-panel {
        padding-bottom: calc(120px + env(safe-area-inset-bottom));
    }
}

/* ========== 新闻列表页移动端样式 ========== */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .news-card-image {
        width: 100%;
        height: 180px;
        border-radius: 12px 12px 0 0;
    }
    
    .news-card-content {
        padding: 1rem;
    }
    
    .news-card-category {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .news-card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .news-card-excerpt {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .news-card-meta {
        font-size: 0.75rem;
        margin-top: 0.75rem;
    }
}

/* ========== 新闻详情页移动端样式 ========== */
@media (max-width: 768px) {
    .news-detail-hero {
        padding: 3rem 0 2rem;
    }
    
    .news-detail-content {
        padding: 1.25rem;
        border-radius: 12px;
        margin: -1rem 1rem 1rem;
    }
    
    .news-detail-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .news-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .news-detail-body {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .news-detail-body img {
        border-radius: 8px;
        margin: 1rem 0;
    }
    
    .news-detail-body p {
        margin-bottom: 1rem;
    }
    
    .related-news {
        padding: 1.5rem 0;
    }
    
    .related-news-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

/* ========== 商店列表页移动端样式 ========== */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-card-image {
        aspect-ratio: 1 / 1;
        border-radius: 12px 12px 0 0;
    }
    
    .product-card-content {
        padding: 0.75rem;
    }
    
    .product-card-title {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-card-price {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card-stock {
        font-size: 0.7rem;
    }
    
    .add-to-cart-btn {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
}

/* ========== 商品详情页移动端样式 ========== */
@media (max-width: 768px) {
    .product-hero {
        padding: 2rem 0;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-gallery {
        gap: 0.5rem;
    }
    
    .product-main-image {
        border-radius: 12px;
        width: 100%;
    }
    
    .product-thumbnails {
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-thumbnail {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .product-info {
        padding: 0;
    }
    
    .product-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .product-artist {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .product-price {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .product-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .product-options {
        margin-bottom: 1.5rem;
    }
    
    .product-quantity {
        margin-bottom: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

/* ========== 购物车页移动端样式 ========== */
@media (max-width: 768px) {
    .cart-page {
        padding: 1.5rem 0;
    }
    
    .cart-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cart-items-card {
        border-radius: 12px;
        padding: 1rem;
    }
    
    .cart-items-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .cart-item {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .cart-item:last-child {
        border-bottom: none;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .cart-item-info {
        flex: 1;
        min-width: 0;
    }
    
    .cart-item-title {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .cart-item-meta {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .cart-item-price {
        font-size: 1rem;
    }
    
    .cart-item-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
    
    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        font-size: 1rem;
    }
    
    .quantity-input {
        width: 40px;
        height: 32px;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .remove-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .order-summary {
        position: relative;
        border-radius: 12px;
        padding: 1.25rem;
    }
    
    .order-summary-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .summary-row {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .summary-row.total {
        font-size: 1.1rem;
    }
    
    .checkout-btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    .continue-shopping {
        width: 100%;
        text-align: center;
        margin-top: 0.75rem;
        display: block;
    }
}

/* ========== 结算页移动端样式 ========== */
@media (max-width: 768px) {
    .checkout-page {
        padding: 1.5rem 0;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checkout-section {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .checkout-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .order-items-list {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .order-item {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }
    
    .order-item-image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }
    
    .order-item-title {
        font-size: 0.9rem;
    }
    
    .order-item-price {
        font-size: 0.9rem;
    }
    
    .payment-methods {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .payment-method {
        padding: 1rem;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .payment-method-icon {
        width: 40px;
        height: 40px;
    }
    
    .payment-method-name {
        font-size: 0.95rem;
    }
    
    .payment-proof-upload {
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .upload-area {
        padding: 2rem 1rem;
        border-radius: 12px;
    }
    
    .submit-order-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* ========== 个人中心页移动端样式 ========== */
@media (max-width: 768px) {
    .profile-page {
        padding: 1.5rem 0;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        font-size: 2rem;
    }
    
    .profile-name {
        font-size: 1.25rem;
    }
    
    .profile-email {
        font-size: 0.9rem;
    }
    
    .profile-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.5rem;
        padding: 0.5rem;
        margin-bottom: 1.5rem;
        background: var(--bg-light);
        border-radius: 12px;
    }
    
    .profile-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-button {
        flex-shrink: 0;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        white-space: nowrap;
        border-radius: 8px;
    }
    
    .profile-form-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .profile-form-card h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .profile-form .form-group {
        margin-bottom: 1rem;
    }
    
    .profile-form .btn {
        width: 100%;
    }
    
    .order-card {
        border-radius: 12px;
        margin-bottom: 1rem;
        overflow: hidden;
    }
    
    .order-header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .order-number {
        font-size: 0.9rem;
    }
    
    .order-status {
        align-self: flex-start;
    }
    
    .order-items-preview {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .order-item-thumb {
        width: 50px;
        height: 50px;
        border-radius: 6px;
    }
    
    .order-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .order-total {
        font-size: 1rem;
    }
    
    .order-footer .btn {
        width: 100%;
    }
    
    .ticket-card {
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 1rem;
    }
    
    .ticket-header {
        padding: 1rem;
    }
    
    .ticket-event-title {
        font-size: 1rem;
    }
    
    .ticket-main {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .ticket-info {
        width: 100%;
    }
    
    .ticket-qr {
        width: 100%;
        text-align: center;
    }
    
    .ticket-qr img {
        max-width: 150px;
    }
}

/* ========== 关于我们页移动端样式 ========== */
@media (max-width: 768px) {
    .about-page {
        padding: 1.5rem 0;
    }
    
    .about-hero {
        padding: 3rem 0 2rem;
    }
    
    .about-hero-title {
        font-size: 1.75rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-intro {
        text-align: center;
        padding: 1.5rem;
    }
    
    .about-intro h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-intro p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-title {
        font-size: 0.85rem;
    }
    
    .about-mission,
    .about-values {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .about-mission h2,
    .about-values h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

/* ========== 登录/注册页移动端样式 ========== */
@media (max-width: 768px) {
    .auth-container {
        padding: 2rem 1rem;
        min-height: calc(100vh - 60px);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .auth-card {
        padding: 1.5rem;
        border-radius: 16px;
        width: 100%;
        max-width: 400px;
    }
    
    .auth-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .auth-form .form-group {
        margin-bottom: 1rem;
    }
    
    .auth-form .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .auth-links {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .social-login {
        margin-top: 1.5rem;
    }
    
    .social-login-title {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .social-buttons {
        gap: 0.75rem;
    }
    
    .social-btn {
        flex: 1;
        padding: 0.75rem;
    }
}

/* ========== 客服页移动端样式 ========== */
@media (max-width: 768px) {
    .customer-service-page {
        padding: 1rem 0;
        height: calc(100vh - 60px);
        display: flex;
        flex-direction: column;
    }
    
    .chat-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    
    .chat-messages {
        flex: 1;
        padding: 1rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .chat-message {
        max-width: 85%;
        padding: 0.75rem 1rem;
        border-radius: 16px;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .chat-message.user {
        margin-left: auto;
        border-bottom-right-radius: 4px;
    }
    
    .chat-message.support {
        margin-right: auto;
        border-bottom-left-radius: 4px;
    }
    
    .chat-input-area {
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
    }
    
    .chat-input-wrapper {
        display: flex;
        gap: 0.5rem;
        align-items: flex-end;
    }
    
    .chat-input {
        flex: 1;
        padding: 0.75rem 1rem;
        border-radius: 20px;
        font-size: 0.95rem;
        resize: none;
        max-height: 100px;
    }
    
    .chat-send-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .quick-replies {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .quick-reply-btn {
        flex-shrink: 0;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-radius: 16px;
        white-space: nowrap;
    }
}

/* ========== 管理后台移动端样式 ========== */
@media (max-width: 768px) {
    body.admin-panel {
        padding-top: 60px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
    
    .admin-wrapper {
        flex-direction: column;
    }
    
    .admin-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        height: auto;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0.5rem;
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
        z-index: 1000;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .admin-sidebar::-webkit-scrollbar {
        display: none;
    }
    
    .admin-nav {
        flex-direction: row;
        gap: 0.25rem;
        display: flex;
    }
    
    .admin-nav-item {
        flex-shrink: 0;
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .admin-nav-item i {
        margin-right: 0;
    }
    
    .admin-nav-item span:not(.badge) {
        display: none;
    }
    
    .admin-main {
        padding: 1rem;
        padding-bottom: 0;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .admin-stat-card {
        padding: 1rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .admin-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-info-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .admin-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .admin-table {
        min-width: 600px;
    }
    
    .admin-form {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .admin-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* ========== 页脚移动端样式 ========== */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========== 超小屏幕 (480px以下) ========== */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .card-grid,
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .item-card {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    .item-card-image {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        border-radius: 12px 0 0 12px;
    }
    
    .item-card-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .item-card-title {
        font-size: 0.95rem;
        -webkit-line-clamp: 1;
    }
    
    .item-card-footer {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .page-hero-title {
        font-size: 1.5rem;
    }
    
    .filter-bar {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        text-align: center;
    }
    
    .artists-grid {
        grid-template-columns: 1fr;
    }
    
    .artist-card {
        display: flex;
        flex-direction: row;
    }
    
    .artist-card-image {
        width: 100px;
        height: 100px;
        border-radius: 12px 0 0 12px;
    }
    
    .albums-grid {
        grid-template-columns: 1fr;
    }
    
    .album-card {
        display: flex;
        flex-direction: row;
    }
    
    .album-card-image {
        width: 100px;
        height: 100px;
        border-radius: 12px 0 0 12px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        display: flex;
        flex-direction: row;
    }
    
    .product-card-image {
        width: 100px;
        height: 100px;
        border-radius: 12px 0 0 12px;
    }
}

/* ========== 安全区域适配 (iPhone X及以上) ========== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .nav-actions,
        .purchase-panel,
        .admin-sidebar,
        .chat-input-area {
            padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
        }
        
        .nav-menu {
            padding-bottom: calc(5rem + env(safe-area-inset-bottom));
        }
    }
}

/* ========== 桌面端隐藏移动端元素 ========== */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    body {
        padding-top: 0;
    }
}

/* ========== 触摸设备优化 ========== */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .filter-btn,
    .tab-button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .card:hover,
    .item-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .card:active,
    .item-card:active {
        transform: scale(0.98);
    }
}

/* ========== 打印样式 ========== */
@media print {
    .navbar,
    .nav-actions,
    .mobile-menu-toggle,
    .purchase-panel,
    .admin-sidebar,
    .footer {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
}
