/* 
 * c7娱乐 - 彩票娱乐平台样式表
 * 独特紫金配色方案 - 2026年全新设计
 */

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-purple: #6B21A8;
    --primary-gold: #F59E0B;
    --dark-purple: #3B0764;
    --light-purple: #A855F7;
    --accent-gold: #FCD34D;
    --bg-dark: #1E1B2E;
    --bg-card: #2D2640;
    --text-light: #F8FAFC;
    --text-muted: #CBD5E1;
    --success-green: #10B981;
    --danger-red: #EF4444;
    --gradient-main: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 50%, var(--bg-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    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(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Navigation - Non-sticky */
.site-header {
    background: var(--gradient-main);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-gold);
    position: relative;
    z-index: 100;
}

.header-inner {
    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 {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.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: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: var(--transition);
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

/* Navigation */
.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
}

.main-nav.active {
    display: flex;
}

@media (min-width: 992px) {
    .main-nav {
        display: flex;
        flex-direction: row;
        width: auto;
        padding-top: 0;
        gap: 2rem;
    }
}

.nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.nav-link:hover {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-gold);
    text-decoration: none;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--dark-purple);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    text-decoration: none;
    color: var(--dark-purple);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--dark-purple);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 3rem 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(180deg, rgba(30, 27, 46, 0.7) 0%, rgba(59, 7, 100, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px 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(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.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;
}

.section-title p {
    max-width: 700px;
    margin: 1rem auto 0;
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}

.game-card-image {
    position: relative;
    height: 180px;
    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-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.game-card-content {
    padding: 1.5rem;
}

.game-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    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);
}

/* 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(--bg-card);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    border-color: var(--light-purple);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-gold);
    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.25rem;
    margin-bottom: 0.75rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Payment Methods */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.payment-item {
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 150px;
    transition: var(--transition);
}

.payment-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.payment-item img {
    height: 40px;
    margin: 0 auto 0.75rem;
    object-fit: contain;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-gold);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    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-purple);
}

.review-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.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;
    line-height: 1.7;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* FAQ Section */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* License Section */
.license-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.license-badge {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.license-info {
    max-width: 600px;
}

.license-info h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Responsible Gaming */
.responsible-gaming {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(59, 7, 100, 0.3) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.responsible-gaming h3 {
    color: var(--danger-red);
    margin-bottom: 1rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--danger-red);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.support-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.support-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.support-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

/* Footer */
.site-footer {
    background: var(--dark-purple);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-payment {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-payment img {
    height: 30px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-payment img:hover {
    opacity: 1;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-age-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 0.5rem;
    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(--accent-gold);
}

/* Article Content */
.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-content h2 {
    color: var(--accent-gold);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    color: var(--light-purple);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content ul, .article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    align-items: center;
    flex-wrap: wrap;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
}

.author-info h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--light-purple);
    margin-bottom: 0.75rem;
}

/* Tags Page */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag-item {
    background: var(--bg-card);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tag-item:hover {
    background: var(--primary-gold);
    color: var(--dark-purple);
    text-decoration: none;
    border-color: var(--accent-gold);
}

/* App Download Page */
.app-hero {
    text-align: center;
    padding: 4rem 0;
}

.app-preview {
    max-width: 400px;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--light-purple);
}

.download-btn:hover {
    background: var(--primary-purple);
    text-decoration: none;
    transform: translateY(-3px);
}

.download-btn img {
    width: 30px;
    height: 30px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-purple { color: var(--light-purple); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Animations */
@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-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .btn-cta {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
