/* 
 * 澳门旅游娱乐酒店攻略网站样式表
 * 独特设计 - 深紫金色主题
 * 移动端优先响应式设计
 */

/* CSS变量定义 */
:root {
    --primary-gold: #D4AF37;
    --primary-purple: #2D1B4E;
    --secondary-purple: #4A2C7A;
    --accent-red: #C41E3A;
    --text-light: #F5F5F5;
    --text-dark: #1A1A2E;
    --bg-dark: #0F0A1E;
    --bg-card: #1E1433;
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
    --gradient-main: linear-gradient(135deg, #2D1B4E 0%, #0F0A1E 100%);
    --gradient-card: linear-gradient(145deg, #2D1B4E 0%, #1E1433 100%);
    --gradient-button: linear-gradient(90deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
}

/* 重置样式 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--gradient-main);
    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: #F4D03F;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 头部导航 - 非sticky */
.site-header {
    background: rgba(15, 10, 30, 0.95);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrap img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 1px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
}

/* 主导航 */
.main-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 0.5rem 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--secondary-purple);
    color: var(--primary-gold);
}

/* CTA按钮 */
.cta-btn {
    display: inline-block;
    background: var(--gradient-button);
    background-size: 200% auto;
    color: var(--text-dark) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
    transition: all 0.4s ease;
    animation: shimmer 3s infinite;
}

.cta-btn:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 10, 30, 0.7) 0%, rgba(45, 27, 78, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.breadcrumb-list li::after {
    content: '>';
    margin-left: 0.5rem;
    color: var(--primary-gold);
    opacity: 0.5;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--text-light);
    opacity: 0.8;
}

.breadcrumb-list a:hover {
    opacity: 1;
    color: var(--primary-gold);
}

/* 内容区块 */
.content-section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-button);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-light);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.info-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.85;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-gold);
    font-weight: 600;
}

/* 文章内容 */
.article-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.article-content h2 {
    color: var(--primary-gold);
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-gold);
}

.article-content h3 {
    color: #F4D03F;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
}

.article-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* 作者信息 */
.author-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--gradient-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
    object-fit: cover;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 评论区 */
.reviews-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
}

.review-item {
    border-bottom: 1px solid var(--border-gold);
    padding: 1.5rem 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-gold);
}

.reviewer-location {
    font-size: 0.85rem;
    opacity: 0.7;
}

.review-rating {
    color: #FFD700;
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    opacity: 0.6;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* FAQ区域 */
.faq-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-gold);
    padding: 1.25rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-answer {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* 支付方式 */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.payment-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 120px;
}

.payment-item img {
    height: 40px;
    margin: 0 auto 0.5rem;
}

/* 牌照信息 */
.license-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--gradient-card);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.license-badge {
    width: 150px;
    flex-shrink: 0;
}

.license-info h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

/* 页脚 */
.site-footer {
    background: rgba(10, 5, 20, 0.95);
    border-top: 1px solid var(--border-gold);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gold);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-badges img {
    height: 50px;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* 标签页面 */
.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--secondary-purple);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-3px);
}

/* 表格样式 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-gold);
}

.data-table th {
    background: var(--secondary-purple);
    color: var(--primary-gold);
    font-weight: 600;
}

.data-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* 响应式设计 - 移动端优先 */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--bg-dark);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-gold);
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-section {
        min-height: 60vh;
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .license-box {
        flex-direction: column;
        text-align: center;
    }

    .license-badge {
        margin: 0 auto;
    }

    .article-content {
        padding: 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .cta-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .cta-btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* 无障碍优化 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --primary-gold: #FFD700;
        --border-gold: rgba(255, 215, 0, 0.5);
    }
}
