/* 澳门娱乐城网站样式 - 独特设计 */
/* 2026年最新SEO优化版本 */

:root {
    --primary-gold: #D4AF37;
    --primary-purple: #4A1A6B;
    --secondary-purple: #6B2D8B;
    --dark-bg: #1A0A2E;
    --light-gold: #F5E6C8;
    --accent-red: #C41E3A;
    --text-light: #FFFFFF;
    --text-dark: #2D2D2D;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5E6C8 50%, #D4AF37 100%);
    --gradient-purple: linear-gradient(180deg, #4A1A6B 0%, #2D0A4E 100%);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans CJK SC', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    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(--light-gold);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* 头部导航 - 非sticky */
.site-header {
    background: var(--gradient-purple);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-gold);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 主导航 */
.main-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 10px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 25px;
    color: var(--light-gold);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: var(--primary-gold);
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-bg);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 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, 46, 0.7) 0%, rgba(74, 26, 107, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-gold);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gold);
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    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) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    color: var(--dark-bg);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background: rgba(74, 26, 107, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item::after {
    content: '›';
    color: var(--primary-gold);
}

.breadcrumb-item:last-child::after {
    content: '';
}

.breadcrumb-link {
    color: var(--light-gold);
    opacity: 0.8;
}

.breadcrumb-link:hover {
    opacity: 1;
}

.breadcrumb-current {
    color: var(--primary-gold);
    font-weight: 600;
}

/* 内容区块 */
.section {
    padding: 60px 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(74, 26, 107, 0.2) 0%, rgba(26, 10, 46, 0.4) 100%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    color: var(--light-gold);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: linear-gradient(145deg, rgba(74, 26, 107, 0.6) 0%, rgba(45, 10, 78, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.card-text {
    color: var(--light-gold);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

/* 特色区块 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: rgba(74, 26, 107, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(74, 26, 107, 0.5);
    border-color: var(--primary-gold);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--light-gold);
    opacity: 0.85;
    font-size: 0.95rem;
}

/* 作者信息 */
.author-box {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: rgba(74, 26, 107, 0.4);
    border-radius: 16px;
    border-left: 4px solid var(--primary-gold);
    margin: 40px 0;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.author-title {
    color: var(--light-gold);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.author-bio {
    color: var(--light-gold);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 评论区 */
.reviews-section {
    margin-top: 50px;
}

.review-card {
    background: rgba(45, 10, 78, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.reviewer-location {
    color: var(--light-gold);
    opacity: 0.7;
    font-size: 0.9rem;
}

.review-rating {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--light-gold);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.review-date {
    color: var(--light-gold);
    opacity: 0.6;
    font-size: 0.85rem;
}

/* FAQ区域 */
.faq-section {
    margin-top: 50px;
}

.faq-item {
    background: rgba(74, 26, 107, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 700;
    color: var(--primary-gold);
    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::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--light-gold);
    line-height: 1.8;
}

/* 支付方式 */
.payment-section {
    padding: 40px 0;
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.payment-item img {
    height: 40px;
    width: auto;
}

/* 牌照信息 */
.license-section {
    background: rgba(74, 26, 107, 0.4);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.license-badge {
    max-width: 300px;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.license-info h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.license-info p {
    color: var(--light-gold);
    opacity: 0.9;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, #2D0A4E 0%, #1A0A2E 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 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    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(--primary-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gold);
    opacity: 0.8;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    color: var(--light-gold);
    opacity: 0.8;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-legal a {
    color: var(--light-gold);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    opacity: 1;
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-red);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 20px;
}

.copyright {
    color: var(--light-gold);
    opacity: 0.6;
    font-size: 0.85rem;
}

/* 标签页面 */
.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag-item {
    padding: 12px 25px;
    background: rgba(74, 26, 107, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    color: var(--light-gold);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* 内容文章 */
.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(--light-gold);
    margin: 30px 0 15px;
}

.article-content p {
    color: var(--light-gold);
    opacity: 0.95;
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
    color: var(--light-gold);
}

.article-content li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.article-content blockquote {
    background: rgba(74, 26, 107, 0.4);
    border-left: 4px solid var(--primary-gold);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 12px 12px 0;
}

.article-content blockquote p {
    margin: 0;
    font-style: italic;
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(74, 26, 107, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.data-table th {
    background: var(--primary-gold);
    color: var(--dark-bg);
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--light-gold);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: rgba(212, 175, 55, 0.1);
}

/* 响应式设计 - 移动端优先 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-link {
        display: block;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .cta-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* 懒加载图片占位 */
img[loading="lazy"] {
    background: rgba(74, 26, 107, 0.3);
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .cta-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
