/* 166bet app - 卡片叠层布局 (Card Stack Layout) - 第42种独特布局 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF4500;      /* 橙红色 */
    --secondary-color: #2C3E50;    /* 深灰色 */
    --accent-color: #FFD700;       /* 金黄色 */
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --bg-light: #F5F5F5;
    --card-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - 非sticky */
header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1A252F 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo-section img {
    height: 45px;
    width: auto;
}

.logo-section h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 5px;
}

nav a:hover,
nav a.current-page {
    color: var(--accent-color);
    background: rgba(255, 215, 0, 0.1);
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.cta-button:hover {
    background: #E63E00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

/* 卡片叠层布局 - 核心特色 */
.card-stack {
    position: relative;
    margin: 60px auto;
    perspective: 1000px;
}

.stacked-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.stacked-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.stacked-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    right: 20px;
    height: 8px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.card-header {
    border-left: 5px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 25px;
}

.card-header h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.card-header .subtitle {
    color: #666;
    font-size: 16px;
}

.card-content {
    line-height: 1.8;
}

.card-content p {
    margin-bottom: 15px;
}

.card-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.card-content li {
    margin-bottom: 12px;
}

.card-image {
    width: 100%;
    border-radius: 15px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF6347 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-weight: 800;
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.game-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.game-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-item-content {
    padding: 20px;
}

.game-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

/* Author Box - E-E-A-T */
.author-box {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    object-fit: cover;
}

.author-info h4 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.author-info p {
    color: #555;
    line-height: 1.6;
}

/* Reviews Section */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid var(--accent-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 18px;
}

.review-rating {
    color: var(--accent-color);
    font-size: 20px;
}

.review-location {
    color: #777;
    font-size: 14px;
    margin-bottom: 12px;
}

.review-text {
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.review-date {
    color: #999;
    font-size: 13px;
}

/* FAQ Section */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-color);
}

.faq-question {
    padding: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 18px;
    cursor: pointer;
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 50px 0 20px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #CCC;
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #AAA;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }
    
    nav ul {
        gap: 10px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
    margin: 0 8px;
}

/* Performance Optimization */
img {
    max-width: 100%;
    height: auto;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}
