/* 
 * c7娱乐 - 娱乐城网站样式
 * 独特紫金配色方案 - 2026年全新设计
 */

/* ===== CSS变量定义 ===== */
:root {
    --primary-purple: #4A1A6B;
    --secondary-purple: #6B2D9E;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4D03F;
    --dark-bg: #1A0A2E;
    --darker-bg: #0D0518;
    --text-white: #FFFFFF;
    --text-light: #E8E8E8;
    --text-muted: #B8B8B8;
    --success-green: #27AE60;
    --warning-orange: #F39C12;
    --danger-red: #E74C3C;
    --gradient-purple: linear-gradient(135deg, #4A1A6B 0%, #6B2D9E 50%, #8E44AD 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
    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(--darker-bg);
    color: var(--text-white);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-gold-light);
}

ul, ol {
    list-style: none;
}

/* ===== 导航栏 ===== */
.site-header {
    background: linear-gradient(180deg, var(--dark-bg) 0%, transparent 100%);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrapper img {
    height: 50px;
    width: auto;
}

.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: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.main-nav a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
}

.cta-button {
    background: var(--gradient-gold);
    color: var(--dark-bg) !important;
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

/* ===== 移动端菜单 ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===== Hero区域 ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 1.5rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.9) 0%, rgba(74, 26, 107, 0.7) 50%, rgba(26, 10, 46, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.75rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--dark-bg);
}

/* ===== 内容区域 ===== */
.content-section {
    padding: 5rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* ===== 游戏卡片网格 ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background: linear-gradient(145deg, var(--dark-bg) 0%, var(--primary-purple) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.game-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.game-card:hover .game-card-image img {
    transform: scale(1.08);
}

.game-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.game-card-content {
    padding: 1.5rem;
}

.game-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.game-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.game-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.game-card-link:hover {
    gap: 0.8rem;
}

/* ===== 特色区块 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(74, 26, 107, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-box:hover {
    background: rgba(74, 26, 107, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    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;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== 关于我们 ===== */
.about-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-purple) 50%, var(--dark-bg) 100%);
    padding: 5rem 1.5rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ===== 支付方式 ===== */
.payment-section {
    background: var(--darker-bg);
    padding: 4rem 1.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    transition: var(--transition-smooth);
}

.payment-icon:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.payment-icon img {
    height: 40px;
    width: auto;
}

/* ===== 用户评论 ===== */
.reviews-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.review-card {
    background: rgba(74, 26, 107, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.review-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.review-author {
    flex: 1;
}

.review-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.review-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== FAQ区域 ===== */
.faq-section {
    padding: 5rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(74, 26, 107, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 4rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.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;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 45px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--dark-bg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-badges img {
    height: 50px;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-badges img:hover {
    opacity: 1;
}

.age-restriction {
    background: var(--danger-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb-list li a {
    color: var(--text-muted);
}

.breadcrumb-list li a:hover {
    color: var(--accent-gold);
}

.breadcrumb-list li:last-child {
    color: var(--accent-gold);
}

.breadcrumb-list li::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

/* ===== 内页样式 ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-bg) 100%);
    padding: 4rem 1.5rem;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--accent-gold);
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.page-content ul, .page-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1rem;
}

.page-content li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}

.content-image {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* ===== 标签页面 ===== */
.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.tag-item {
    background: rgba(74, 26, 107, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.tag-item:hover {
    background: var(--accent-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* ===== APP下载页面 ===== */
.app-download-section {
    text-align: center;
    padding: 4rem 1.5rem;
}

.app-preview {
    max-width: 600px;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark-bg);
    border: 2px solid var(--accent-gold);
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.download-btn:hover {
    background: var(--accent-gold);
    color: var(--dark-bg);
}

.download-btn img {
    height: 35px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--dark-bg);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .content-section {
        padding: 3rem 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 动画效果 ===== */
@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-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.bg-dark { background: var(--dark-bg); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }
