* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #000;
    color: #f5f5f5;
    min-height: 100vh;
    padding: 10px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 100;
    backdrop-filter: blur(5px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #e50914, #f5c518);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 12px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(40, 40, 40, 0.7));
    border: 1px solid rgba(229, 9, 20, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: 0.5s;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover, nav a.active {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.45), rgba(40, 40, 40, 0.8));
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
    transform: translateY(-2px);
}

nav a.active {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.7), rgba(245, 197, 24, 0.4));
    border: 1px solid rgba(245, 197, 24, 0.5);
}

.section-title {
    text-align: center;
    margin: 20px 0 25px;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #e50914, #f5c518);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #e50914, #f5c518);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    flex-grow: 1;
}

.video-card {
    background: rgba(30, 30, 30, 0.9);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.3);
}

.premium-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #e50914, #f5c518);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.thumbnail {
    height: 160px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 重新设计的播放按钮 */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.9;
    z-index: 2;
}

.play-icon::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #fff;
    margin-left: 6px;
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    background: rgba(229, 9, 20, 0.85);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

.video-card:hover .play-icon::before {
    border-left-color: #fff;
    transform: scale(1.05);
}

.video-info {
    padding: 12px;
}

.video-info h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-info p {
    color: #aaa;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.meta {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.75rem;
}

.load-more {
    text-align: center;
    margin: 25px 0;
}

.load-more-btn {
    background: rgba(229, 9, 20, 0.2);
    color: #f5f5f5;
    border: 1px solid #e50914;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(229,9,20,0.3), rgba(245,197,24,0.2));
}

.load-more-btn:hover {
    background: rgba(229, 9, 20, 0.4);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
    transform: translateY(-3px);
}

.load-more-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.load-more-btn:hover::after {
    left: 100%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.purchase-modal {
    background: #111;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.3);
    border: 1px solid #333;
    transform: scale(0.9);
    transition: transform 0.4s;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.modal-overlay.active .purchase-modal {
    transform: scale(1);
}

.purchase-modal h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.purchase-modal .subtitle {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.purchase-option {
    background: rgba(40, 40, 40, 0.9);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}



.purchase-option:hover {
    background: rgba(229, 9, 20, 0.15);
    border-color: #e50914;
    transform: translateY(-3px);
}

.purchase-option h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #e50914;
}



.purchase-option .price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: #f1c40f;
}



.purchase-option .desc {
    color: #aaa;
    font-size: 0.85rem;
}



.close-modal {
    background: rgba(60, 60, 60, 0.9);
    color: #ddd;
    border: 1px solid #444;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    width: 100%;
}

.close-modal:hover {
    background: rgba(229, 9, 20, 0.2);
    color: #fff;
}

.loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #e50914, #f5c518);
    width: 0%;
    transition: width 0.5s;
}

footer {
    text-align: center;
    padding: 25px 0 12px;
    color: #666;
    font-size: 0.8rem;
    border-top: 1px solid #222;
    margin-top: 15px;
}

.float-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    min-width: 120px;
}

.float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

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

.btn-payment {
    background: #ff4757;
    border: 2px solid #ff6b81;
}

.btn-refund {
    background: #2ed573;
    border: 2px solid #7bed9f;
}

.btn-complaint {
    background: #3742fa;
    border: 2px solid #5352ed;
}
/* 操作按钮容器 */
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    gap: 10px;
}

/* 操作按钮通用样式 */
.action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* 各按钮颜色 */
.btn-payment {
    background-color: #ff6b6b;
    color: white;
}

.btn-refund {
    background-color: #4ecdc4;
    color: white;
}

.btn-complaint {
    background-color: #ff9f43;
    color: white;
}

/* 悬浮效果 */
.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    margin-bottom: 1.25rem;
}

.btn-content {
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    background: transparent;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 30px;
}
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 0;
    transition: opacity 0.3s;
}
.btn:hover::before {
    opacity: 0.5;
}
.btn-bg-1 {
    background-image: url('/images/image1.jpg');
}

.btn-bg-2 {
    background-image: url('/images/image2.jpg');
}
.btn-bg-3 {
    background-image: url('/images/image3.jpg');
}
.btn-bg-4 {
    background-image: url('/images/image4.jpg');
}
/*.btn img {*/
/*    width: 42px;*/
/*    height: 42px;*/
/*    border-radius: 50%;*/
/*    margin-right: 10px;*/
/*    object-fit: contain;*/
/*}*/

.btn h5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    white-space: nowrap;
}

.btn::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #3d3d3d;
    border-right: 2px solid #3d3d3d;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 1rem;
}
.fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}
.shake_button2 {
    border-radius: 1.875rem;
}
.m-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}
.dialog-mask {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
.dialog-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    padding: 20px;
    background: #fff;
    border-radius: 30px;
}
.dialog-close {
    width: 2rem;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}
/* 响应式设计 */
@media (max-width: 1100px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 12px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .thumbnail {
        height: 140px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    nav a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .dialog-content {
        width: 90%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    .container {
        padding: 8px;
    }
    
    header {
        padding: 10px 0;
        margin-bottom: 12px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    nav a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin: 10px 0 15px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .video-card {
        border-radius: 6px;
    }
    
    .premium-badge {
        top: 6px;
        right: 6px;
        padding: 2px 5px;
        font-size: 0.65rem;
    }
    
    .thumbnail {
        height: 110px;
    }
    
    /* 移动端播放按钮优化 */
    .play-icon {
        width: 40px;
        height: 40px;
        background: rgba(229, 9, 20, 0.85) !important;
        opacity: 1 !important;
    }
    
    .play-icon::before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 16px solid #fff;
        margin-left: 4px;
    }
    
    /* 确保移动端无遮罩 */
    .thumbnail::after {
        display: none !important;
    }
    
    .video-info {
        padding: 8px;
    }
    
    .video-info h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.4em;
        line-height: 1.2;
    }
    
    .video-info p {
        display: none;
    }
    
    .meta {
        font-size: 0.7rem;
    }
    
    .load-more-btn {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    .purchase-modal {
        padding: 18px;
        max-width: 95%;
    }
    
    .purchase-modal h2 {
        font-size: 1.2rem;
    }
    
    .purchase-options {
        gap: 10px;
        margin: 15px 0;
    }
    
    .purchase-option {
        padding: 12px;
    }
    
    .purchase-option h3 {
        font-size: 1.1rem;
    }
    
    .purchase-option .price {
        font-size: 1.3rem;
    }
    
    .purchase-option .desc {
        font-size: 0.8rem;
    }
    
    .close-modal {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
    
    footer {
        padding: 20px 0 10px;
        font-size: 0.75rem;
    }
}
/* 快手代发员按钮样式 */
.btn-recruit {
    background-color: #FF5000;
    color: white;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-recruit:hover {
    background-color: #e04800;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 80, 0, 0.3);
}

/* 招募详情样式 */
.recruit-details {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #eee;
}

.recruit-details div {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 4px;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.recruit-details div:last-child {
    margin-bottom: 0;
}

.recruit-details div:first-child {
    color: #FF5000;
    font-weight: 500;
}

/* 容器样式 */
.recruit-section {
    margin: 15px 0;
    text-align: center;
}

/* 图片弹窗样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    background: white;
    border-radius: 8px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}
/* 快手代发员按钮样式 */
.btn-recruit {
    background-color: #FF5000;
    color: white;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-recruit:hover {
    background-color: #e04800;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 80, 0, 0.3);
}

/* 招募详情样式 */
.recruit-details {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #eee;
}

.recruit-details div {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 4px;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.recruit-details div:last-child {
    margin-bottom: 0;
}

.recruit-details div:first-child {
    color: #FF5000;
    font-weight: 500;
}

/* 容器样式 */
.recruit-section {
    margin: 15px 0;
    text-align: center;
}

/* 图片弹窗样式 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    background: white;
    border-radius: 8px;
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #333;
}