/* 
 * 壹号娱乐 棋牌娱乐网站样式表
 * 独特的紫金配色方案 - 2026年全新设计
 * 移动端优先响应式设计
 */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #FFD700;
    --primary-purple: #6B2D9C;
    --deep-purple: #3D1A5C;
    --light-purple: #9B59B6;
    --accent-pink: #E91E8C;
    --dark-bg: #1A0A2E;
    --card-bg: #2A1A4A;
    --text-light: #F5F5F5;
    --text-muted: #B8A8C8;
    --success-green: #2ECC71;
    --warning-orange: #F39C12;
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --gradient-purple: linear-gradient(135deg, #6B2D9C 0%, #9B59B6 50%, #3D1A5C 100%);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.3rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--primary-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Navigation - Non-sticky */
.site-header {
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--dark-bg) 100%);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-gold);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--gradient-gold);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    padding: 0.6rem 1rem;
    border-radius: 25px;
    background: var(--card-bg);
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, rgba(107, 45, 156, 0.9) 0%, rgba(26, 10, 46, 0.95) 100%),
                url('../images/hero-banner.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: heroGlow 15s linear infinite;
}

@keyframes heroGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* CTA Buttons */
.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-glow);
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
    color: var(--dark-bg);
}

.cta-btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.cta-btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    padding-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-gold);
}

.game-card:hover::before {
    transform: scaleX(1);
}

.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-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-pink);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-card-content {
    padding: 1.5rem;
}

.game-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.game-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-rtp {
    font-size: 0.85rem;
    color: var(--success-green);
}

.game-play-btn {
    padding: 0.5rem 1.2rem;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid var(--primary-gold);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-gold);
}

/* Payment Methods */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
}

.payment-item {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.3s ease;
}

.payment-item:hover {
    transform: scale(1.05);
}

.payment-item img {
    height: 30px;
    width: auto;
}

/* Reviews Section */
.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: 20px;
    border-left: 4px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-card);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.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);
    border: 2px solid var(--primary-gold);
}

.review-info h4 {
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.review-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
}

.review-date {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
}

.faq-question h4 {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s 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;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* License Section */
.license-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--primary-gold);
    max-width: 600px;
    margin: 0 auto;
}

.license-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.license-number {
    font-size: 1.2rem;
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.support-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
    border: 1px solid var(--primary-gold);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Responsible Gaming */
.responsible-gaming {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--dark-bg) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #E74C3C;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    border: 3px solid white;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--primary-gold);
    margin: 0 0.5rem;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--deep-purple) 0%, #0D0518 100%);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-payment {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-payment img {
    height: 35px;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
}

/* Tags Page */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 2rem 0;
}

.tag-item {
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-item:hover {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    transform: scale(1.05);
}

/* App Download Page */
.app-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.app-mockup {
    text-align: center;
}

.app-mockup img {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
}

.app-features {
    display: grid;
    gap: 1.5rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 15px;
}

.app-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: #000;
    color: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.download-btn img {
    height: 30px;
}

/* Content Page Styles */
.content-page {
    padding: 2rem 0 4rem;
}

.content-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--gradient-purple);
    margin-bottom: 3rem;
    border-radius: 0 0 30px 30px;
}

.content-body {
    max-width: 900px;
    margin: 0 auto;
}

.content-body h2 {
    color: var(--primary-gold);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-gold);
}

.content-body h3 {
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-body p {
    text-align: justify;
    margin-bottom: 1.5rem;
}

.content-body ul, .content-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-body li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.content-image {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.content-image img {
    width: 100%;
    height: auto;
}

.content-image figcaption {
    padding: 1rem;
    background: var(--card-bg);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Info Box */
.info-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-gold);
}

.info-box h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
}

.data-table th {
    background: var(--gradient-purple);
    padding: 1rem;
    text-align: left;
    color: var(--primary-gold);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.data-table tr:hover td {
    background: rgba(255, 215, 0, 0.05);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    margin: 3rem 0;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-gold);
    border: 3px solid var(--primary-gold);
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .app-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--card-bg);
        padding: 1rem;
        border-radius: 15px;
        margin-top: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
    }
    
    .hero-section {
        min-height: 50vh;
        padding: 2rem 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
