/* 
 * 澳门彩 - 澳门娱乐城官方网站
 * 独特紫金配色方案 - 2026年版本
 */

/* CSS变量定义 */
:root {
    --primary-gold: #D4AF37;
    --primary-purple: #4A0E4E;
    --secondary-purple: #7B2D8E;
    --accent-red: #C41E3A;
    --dark-bg: #1A0A1F;
    --card-bg: #2D1233;
    --text-light: #F5F5F5;
    --text-gold: #FFD700;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFE55C 50%, #D4AF37 100%);
    --gradient-purple: linear-gradient(180deg, #4A0E4E 0%, #7B2D8E 100%);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-purple: 0 4px 20px rgba(123, 45, 142, 0.4);
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 链接样式 */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--text-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.site-header {
    background: linear-gradient(180deg, rgba(74, 14, 78, 0.98) 0%, rgba(26, 10, 31, 0.95) 100%);
    padding: 12px 0;
    border-bottom: 2px solid var(--primary-gold);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 主导航 */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-list li a {
    display: block;
    padding: 8px 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    -webkit-text-fill-color: var(--dark-bg);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: var(--gradient-gold);
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* CTA按钮 */
.cta-btn {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--dark-bg) !important;
    -webkit-text-fill-color: var(--dark-bg) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 10, 31, 0.7) 0%, rgba(74, 14, 78, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(45, 18, 51, 0.8);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-list li::after {
    content: '›';
    margin-left: 10px;
    color: var(--primary-gold);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumb-list span {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

/* 章节样式 */
.section {
    padding: 60px 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 游戏卡片网格 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.game-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-img img {
    transform: scale(1.1);
}

.game-card-body {
    padding: 20px;
}

.game-card-body h3 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.game-card-body p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* 特色列表 */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-purple);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid var(--primary-gold);
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

/* 作者信息框 */
.author-box {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 40px 0;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.author-info .title {
    font-size: 0.9rem;
    color: var(--secondary-purple);
    margin-bottom: 10px;
    display: block;
}

.author-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

/* 评论区 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.review-rating {
    color: var(--text-gold);
    font-size: 1.1rem;
}

.review-content {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 10px;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* FAQ手风琴 */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.faq-icon {
    color: var(--primary-gold);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* 支付方式 */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.payment-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.payment-item:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

.payment-item img {
    height: 40px;
    width: auto;
}

/* 牌照区域 */
.license-section {
    text-align: center;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.license-badge {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
}

.license-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.license-info h3 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.license-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* 内容文章 */
.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--text-gold);
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.article-content blockquote {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-gold);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.data-table th {
    background: var(--gradient-purple);
    color: var(--primary-gold);
    font-weight: 600;
}

.data-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* 图片画廊 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--primary-gold);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, var(--card-bg) 0%, #0D050F 100%);
    padding: 60px 0 30px;
    border-top: 2px solid var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-red);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

/* 标签页面 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag-item {
    background: var(--card-bg);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
}

/* APP下载页面 */
.app-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.app-image {
    flex: 1;
    min-width: 300px;
}

.app-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-gold);
}

.app-info {
    flex: 1;
    min-width: 300px;
}

.app-info h2 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    margin: 25px 0;
}

.app-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-features li::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: 700;
}

.download-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    padding: 15px 25px;
    border-radius: 12px;
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--gradient-gold);
    color: var(--dark-bg);
}

.download-btn span {
    font-size: 0.8rem;
    display: block;
}

.download-btn strong {
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 20px;
        border-bottom: 2px solid var(--primary-gold);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-list li a {
        padding: 12px 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .app-showcase {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .game-card-body h3 {
        font-size: 1.1rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* 负责任博彩区域 */
.responsible-gaming {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(74, 14, 78, 0.2) 100%);
    border: 1px solid var(--accent-red);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
}

.responsible-gaming h3 {
    color: var(--accent-red);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.responsible-gaming ul {
    list-style: none;
}

.responsible-gaming li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(196, 30, 58, 0.2);
}

.responsible-gaming li:last-child {
    border-bottom: none;
}

/* 规则表格 */
.rules-table {
    margin: 30px 0;
}

.rules-table table {
    width: 100%;
    border-collapse: collapse;
}

.rules-table th,
.rules-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.rules-table th {
    background: var(--gradient-purple);
    color: var(--primary-gold);
}

.rules-table tr:nth-child(even) {
    background: rgba(45, 18, 51, 0.5);
}

/* 赔率表 */
.odds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.odds-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.odds-item .odds-value {
    font-size: 1.8rem;
    color: var(--primary-gold);
    font-weight: 700;
}

.odds-item .odds-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}
