/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 头部样式 */
.site-header {
    background-color: #1e88e5;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    width: 200px;
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
    object-position: center;
}

.logo-container h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.promotion-text {
    text-align: center;
}

.promotion-text p {
    font-size: 16px;
    margin-bottom: 15px;
}

.invite-code {
    font-size: 16px;
    margin-top: 10px;
    display: inline-block;
}

.invite-code span {
    font-weight: bold;
    color: #ffeb3b;
}

.invite-code a {
    color: #ffeb3b;
    text-decoration: underline;
    cursor: pointer;
}

/* 主按钮样式 */
.main-buttons {
    margin-bottom: 20px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.main-button {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    align-items: center;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 添加波纹效果 */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    animation: ripple 0.6s;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(6);
        opacity: 0;
    }
}

.button-icon {
    font-size: 24px;
    margin-right: 15px;
}

.button-text {
    display: flex;
    flex-direction: column;
}

.button-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.button-subtitle {
    font-size: 14px;
    color: #666;
}

.android-download .button-icon {
    color: #3ddc84; /* Android green */
}

.ios-download .button-icon {
    color: #000000; /* Apple black */
}

.buy-vip .button-icon {
    color: #ffc107; /* Gold */
}

.check-order .button-icon {
    color: #2196f3; /* Blue */
}

/* 提示框样式 */
.notice-box {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.notice-title {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.notice-title h3 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.notice-content p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
}

.highlight-code {
    color: #e91e63;
    font-weight: bold;
}

.notice-button {
    background-color: #1e88e5;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.notice-button:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
}

/* 直播频道样式 */
.live-channels {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.live-channels h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.live-channels h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #1e88e5;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.channel-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.channel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.channel-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.channel-name {
    font-size: 14px;
    font-weight: bold;
}

/* FAQ部分样式 */
.faq-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.faq-section h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #1e88e5;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    color: #1e88e5;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 页脚样式 */
.site-footer {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 14px;
    margin-top: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }
    
    .site-header {
        padding: 15px;
    }
    
    .logo-container h1 {
        font-size: 24px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-button {
        flex: 1 1 100%;
        margin-bottom: 5px;
    }
    
    .channel-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .notice-box {
        padding: 12px;
    }
    
    .notice-title h3 {
        font-size: 16px;
    }
    
    .live-channels h2 {
        font-size: 18px;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .site-header {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .logo-container h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .promotion-text p,
    .invite-code {
        font-size: 13px;
    }
    
    .promotion-text p {
        margin-bottom: 10px;
    }
    
    .button-title {
        font-size: 15px;
    }
    
    .button-subtitle {
        font-size: 12px;
    }
    
    .main-button {
        padding: 12px 10px;
    }
    
    .button-icon {
        font-size: 20px;
        margin-right: 10px;
    }
    
    .channel-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .channel-item {
        padding: 10px;
    }
    
    .channel-name {
        font-size: 12px;
    }
    
    .channel-icon {
        font-size: 20px;
    }
    
    .notice-content p {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .notice-button {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .live-channels h2:after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 8px;
    }
    
    .site-header {
        padding: 12px 8px;
        margin-bottom: 12px;
    }
    
    .logo-container h1 {
        font-size: 20px;
    }
    
    .promotion-text p,
    .invite-code {
        font-size: 12px;
    }
    
    .channel-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .button-icon {
        font-size: 18px;
        margin-right: 8px;
    }
    
    .button-title {
        font-size: 14px;
    }
    
    .button-subtitle {
        font-size: 11px;
    }
    
    .main-button {
        padding: 10px 8px;
    }
    
    .notice-box {
        padding: 10px;
    }
    
    .notice-title h3 {
        font-size: 15px;
    }
    
    .notice-content p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .notice-button {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .live-channels {
        padding: 15px 10px;
    }
    
    .live-channels h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .site-footer {
        padding: 15px 0;
        font-size: 12px;
    }
}