/* 澳门娱乐城 - 主样式表 */
/* 独特配色方案：深紫罗兰+金色+翡翠绿 */

:root {
    --primary-dark: #1a0a2e;
    --primary-purple: #2d1b4e;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --emerald: #2ecc71;
    --emerald-dark: #27ae60;
    --text-light: #f8f9fa;
    --text-muted: #b8b8b8;
    --card-bg: rgba(45, 27, 78, 0.85);
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-purple: rgba(26, 10, 46, 0.6);
}

* {
    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', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-purple) 50%, #0d0d1a 100%);
    color: var(--text-light);
    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);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 顶部导航 - 非sticky */
.site-header {
    background: linear-gradient(180deg, var(--primary-dark) 0%, transparent 100%);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
}

.main-nav a {
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover::before {
    width: 80%;
}

.main-nav a.active {
    background: linear-gradient(135deg, var(--accent-gold), var(--emerald));
    color: var(--primary-dark);
}

.cta-btn {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: var(--text-light) !important;
    padding: 0.75rem 2rem !important;
    border-radius: 30px !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(46, 204, 113, 0.7); }
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-gold);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent-gold), var(--text-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--accent-gold);
    margin: 0 0.5rem;
}

/* 内容区域 */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--emerald));
    border-radius: 2px;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: all 0.4s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-purple);
    border-color: var(--accent-gold);
}

.game-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-img img {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, var(--primary-dark) 100%);
}

.game-card-content {
    padding: 1.5rem;
}

.game-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.game-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.game-card-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: var(--text-light);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 特色区块 */
.features-section {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.5), rgba(26, 10, 46, 0.8));
    padding: 4rem 0;
    margin: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--emerald));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 作者信息区 */
.author-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-gold);
    margin: 3rem 0;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
    flex-shrink: 0;
}

.author-info h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--emerald);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.author-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 用户评论 */
.reviews-section {
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-gold);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.review-author h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.review-location {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.review-rating {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-content {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* FAQ区域 */
.faq-section {
    padding: 4rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-gold);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--accent-gold);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* 支付方式 */
.payment-section {
    padding: 3rem 0;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.payment-icon {
    width: 100px;
    height: 60px;
    background: var(--card-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gold);
    transition: all 0.3s ease;
}

.payment-icon:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.payment-icon img {
    max-width: 80%;
    max-height: 40px;
}

/* 页脚 */
.site-footer {
    background: linear-gradient(180deg, var(--primary-purple), var(--primary-dark));
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-gold);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--emerald);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-gold);
    padding-top: 2rem;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-gold);
}

.footer-badge img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-badge span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-copyright a {
    color: var(--accent-gold);
}

/* 文章内容样式 */
.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-gold);
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.article-content img {
    border-radius: 10px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px var(--shadow-purple);
}

.article-content blockquote {
    background: var(--card-bg);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.article-content th, .article-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-gold);
}

.article-content th {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    font-weight: 600;
}

.article-content td {
    color: var(--text-muted);
}

/* 标签页面 */
.tags-section {
    padding: 3rem 0;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag-item {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 25px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* APP下载页面 */
.app-download-section {
    padding: 4rem 0;
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.app-mockup img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-purple);
}

.app-info h2 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.app-features {
    list-style: none;
    margin: 2rem 0;
}

.app-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: bold;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--accent-gold);
    border-radius: 10px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.download-btn img {
    width: 30px;
    height: 30px;
}

/* 响应式设计 - 移动端优先 */
@media screen and (max-width: 992px) {
    .app-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-mockup {
        order: -1;
    }
    
    .app-features {
        text-align: left;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    .download-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 1rem 0;
        margin-top: 1rem;
        border-top: 1px solid var(--border-gold);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        text-align: center;
        padding: 1rem;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 1rem;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .author-section {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .payment-icons {
        gap: 0.75rem;
    }
    
    .payment-icon {
        width: 80px;
        height: 50px;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* 性能优化 - 减少重绘 */
.game-card, .feature-item, .review-card, .faq-item {
    will-change: transform;
}

/* 打印样式 */
@media print {
    .site-header, .site-footer, .cta-btn, .hero-cta {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
