/* 
 * 全新设计的体育竞猜网站样式表
 * 独特配色方案：深紫渐变 + 金色点缀
 * 移动端优先设计
 */

:root {
    --primary-gradient: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #16213e 100%);
    --accent-gold: #f4c430;
    --accent-gold-light: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --card-bg: rgba(45, 27, 78, 0.85);
    --card-border: rgba(244, 196, 48, 0.3);
    --success-green: #00d4aa;
    --danger-red: #ff4757;
    --font-main: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--primary-gradient);
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
}

/* 图片响应式和懒加载优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接样式 */
a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gold-light);
}

/* 容器布局 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 顶部导航 - 非sticky */
.site-header {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.98) 0%, rgba(45, 27, 78, 0.95) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--card-border);
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrap img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 主导航菜单 */
.main-nav {
    width: 100%;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-list li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    background: rgba(244, 196, 48, 0.1);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(244, 196, 48, 0.25);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* CTA按钮 */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e6b800 100%);
    color: #1a0a2e !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(244, 196, 48, 0.4);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(244, 196, 48, 0.6);
}

/* Hero区域 */
.hero-section {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.breadcrumb li::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-secondary);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

/* 内容区块 */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(244, 196, 48, 0.15);
    border-color: var(--accent-gold);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 特色功能区 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 关于我们区块 */
.about-section {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: justify;
}

.about-img {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--card-border);
}

/* 作者信息区 */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    margin: 2rem 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-gold);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.125rem;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 支付方式区块 */
.payment-section {
    background: rgba(26, 10, 46, 0.8);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.payment-item img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.payment-item h4 {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.payment-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

/* 牌照信息区 */
.license-section {
    text-align: center;
    padding: 3rem 0;
}

.license-badge {
    max-width: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
}

.license-info h3 {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.license-info p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ区块 */
.faq-section {
    background: linear-gradient(180deg, rgba(45, 27, 78, 0.7) 0%, rgba(26, 10, 46, 0.9) 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    color: var(--accent-gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 用户评论区 */
.reviews-section {
    padding: 3rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-gold);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-meta h4 {
    font-size: 1rem;
    color: var(--text-primary);
}

.review-meta span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-rating {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    opacity: 0.7;
}

/* 客户支持区 */
.support-section {
    background: rgba(45, 27, 78, 0.6);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.support-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.support-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-item h4 {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.support-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.95) 0%, #0d0618 100%);
    padding: 3rem 0 1.5rem;
    border-top: 2px solid var(--card-border);
}

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

.footer-col h4 {
    font-size: 1.125rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 196, 48, 0.1);
    border-radius: 50%;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid var(--danger-red);
    border-radius: 8px;
    color: var(--danger-red);
    font-weight: 600;
}

.age-badge img {
    width: 30px;
    height: 30px;
}

/* 内页样式 */
.page-header {
    padding: 2rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-desc {
    color: var(--text-secondary);
}

.content-section {
    padding: 2rem 0;
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
}

.content-article h2 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 2rem 0 1rem;
}

.content-article h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.content-article p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: justify;
}

.content-article ul,
.content-article ol {
    color: var(--text-secondary);
    margin: 1rem 0 1rem 1.5rem;
}

.content-article li {
    margin-bottom: 0.5rem;
}

.content-img {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

/* 下载页面样式 */
.download-section {
    text-align: center;
    padding: 4rem 0;
}

.download-banner {
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--card-border);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--accent-gold);
    color: #1a0a2e;
}

.download-btn img {
    width: 30px;
    height: 30px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .nav-list {
        justify-content: flex-end;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 2rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 负责任博彩声明 */
.responsible-gaming {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.responsible-gaming h4 {
    color: var(--danger-red);
    margin-bottom: 0.75rem;
}

.responsible-gaming p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 数据表格 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.data-table th {
    background: rgba(244, 196, 48, 0.1);
    color: var(--accent-gold);
    font-weight: 600;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tr:hover td {
    background: rgba(244, 196, 48, 0.05);
}

/* 赔率显示 */
.odds-display {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 170, 0.2);
    color: var(--success-green);
    border-radius: 4px;
    font-weight: 600;
}

/* 实时指示器 */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--danger-red);
    font-weight: 600;
}

.live-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--danger-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
