/* 
 * 皇冠娱乐城 - 主样式表
 * 独特的紫金配色方案 + 现代玻璃态设计
 * 移动端优先响应式设计
 */

/* CSS变量定义 */
:root {
    --primary-gold: #D4AF37;
    --primary-purple: #4A0E4E;
    --secondary-purple: #7B2D8E;
    --accent-gold: #FFD700;
    --dark-bg: #0D0D1A;
    --darker-bg: #050510;
    --card-bg: rgba(74, 14, 78, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-light: #F5F5F5;
    --text-muted: #B8B8C8;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    --gradient-purple: linear-gradient(135deg, #4A0E4E 0%, #7B2D8E 100%);
    --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.3);
    --shadow-purple: 0 4px 30px rgba(123, 45, 142, 0.4);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(123, 45, 142, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* 链接样式 */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.main-header {
    background: linear-gradient(180deg, rgba(13, 13, 26, 0.98) 0%, rgba(13, 13, 26, 0.9) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.logo-text {
    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;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--glass-bg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-gold);
    color: var(--dark-bg) !important;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb-nav {
    padding: 15px 0;
    background: rgba(74, 14, 78, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-list li::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-muted);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--text-muted);
}

.breadcrumb-list a:hover {
    color: var(--primary-gold);
}

/* ==================== Hero区域 ==================== */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    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(135deg, rgba(13, 13, 26, 0.9) 0%, rgba(74, 14, 78, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 15px 35px;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    font-weight: 700;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    padding: 15px 35px;
    background: transparent;
    color: var(--primary-gold);
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-purple);
}

/* ==================== 游戏卡片区域 ==================== */
.games-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.game-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 13, 26, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-card-body {
    padding: 25px;
}

.game-card-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-gold);
}

.game-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.game-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--gradient-purple);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-right: 8px;
    margin-bottom: 8px;
}

/* ==================== 特色区域 ==================== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(74, 14, 78, 0.2) 0%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-gold);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==================== 关于我们 ==================== */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: justify;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-purple);
}

/* ==================== 支付方式 ==================== */
.payment-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(74, 14, 78, 0.2) 100%);
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.payment-item {
    padding: 20px 30px;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.payment-item:hover {
    border-color: var(--primary-gold);
    transform: scale(1.05);
}

.payment-item img {
    height: 40px;
    filter: brightness(0) invert(1);
}

/* ==================== 用户评论 ==================== */
.reviews-section {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(10px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.review-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.review-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.review-content {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.review-date {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ==================== FAQ区域 ==================== */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(74, 14, 78, 0.2) 0%, transparent 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.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 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==================== 牌照区域 ==================== */
.license-section {
    padding: 60px 0;
    text-align: center;
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 30px 50px;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.license-badge img {
    width: 80px;
    height: auto;
}

.license-info h3 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.license-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==================== 页脚 ==================== */
.main-footer {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 25px;
    color: #FF6B6B;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 30px;
    opacity: 0.7;
    transition: var(--transition);
}

.payment-icons img:hover {
    opacity: 1;
}

/* ==================== 内页样式 ==================== */
.page-header {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, rgba(74, 14, 78, 0.5) 0%, rgba(13, 13, 26, 0.9) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin: 40px 0 20px;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 30px 0 15px;
}

.content-wrapper p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.9;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0;
    padding-left: 25px;
    color: var(--text-muted);
}

.content-wrapper li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-purple);
}

.content-image img {
    width: 100%;
}

.info-box {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-gold);
}

.info-box h4 {
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-wrapper {
        flex-direction: column;
    }
    
    .main-nav {
        justify-content: center;
        width: 100%;
    }
    
    .main-nav a {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 1.7rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .license-badge {
        flex-direction: column;
        padding: 25px;
    }
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.cta-button {
    animation: pulse 2s infinite;
}

/* 滚动显示动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
