/* ===================================
   小鱼Poker - 样式表
   现代化、响应式设计
   =================================== */

/* 全局变量 */
:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1e3d6f;
    --primary-light: #4a7bc8;
    --secondary-color: #e63946;
    --accent-color: #f4a261;
    --success-color: #06d6a0;
    --warning-color: #ffd166;
    
    --text-dark: #1a1a2e;
    --text-light: #eaeaea;
    --text-muted: #6c757d;
    
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #16213e;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.15);
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
    
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* ===================================
   年龄门槛弹窗
   =================================== */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease;
}

.age-gate-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.5s ease;
}

.age-gate-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.age-gate-logo h1 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--primary-color);
}

.age-gate-content h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.age-gate-content > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.age-gate-disclaimer {
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-radius: 8px;
}

.age-gate-disclaimer p {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.age-gate-disclaimer ul {
    list-style: disc;
    margin-left: 20px;
}

.age-gate-disclaimer li {
    margin: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.age-gate-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(44, 90, 160, 0.3);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--text-muted);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.age-gate-links {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.age-gate-links a {
    color: var(--primary-color);
    text-decoration: underline;
}

.age-gate-links a:hover {
    color: var(--primary-dark);
}

/* ===================================
   导航栏
   =================================== */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* ===================================
   语言切换器
   =================================== */
.language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.lang-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-light);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-text {
    font-size: 0.85rem;
}

.logo {
    font-size: 2rem;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(44, 90, 160, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* 下载按钮图片 */
.download-btn {
    height: 60px;
    width: auto;
    margin-left: auto;
    margin-right: 20px;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ===================================
   Hero区域
   =================================== */
.hero {
    position: relative;
    /* 原来的渐变背景 */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    
    /* 新的背景图片 */
    background: url('../images/background.png') center/cover no-repeat;
    background-position: center top;
    
    color: white;
    padding: 150px 0 100px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,117.3C1248,96,1344,64,1392,48L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-title span {
    display: inline-block;
    animation: waveText 3s ease-in-out infinite;
}

.hero-title span:nth-child(1) { animation-delay: 0s; }
.hero-title span:nth-child(2) { animation-delay: 0.15s; }
.hero-title span:nth-child(3) { animation-delay: 0.3s; }
.hero-title span:nth-child(4) { animation-delay: 0.45s; }
.hero-title span:nth-child(5) { animation-delay: 0.6s; }
.hero-title span:nth-child(6) { animation-delay: 0.75s; }
.hero-title span:nth-child(7) { animation-delay: 0.9s; }
.hero-title span:nth-child(8) { animation-delay: 1.05s; }
.hero-title span:nth-child(9) { animation-delay: 1.2s; }
.hero-title span:nth-child(10) { animation-delay: 1.35s; }
.hero-title span:nth-child(11) { animation-delay: 1.5s; }

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Hero区域的玻璃标签 */
.hero-features .feature-tag {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(5px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.hero-features .feature-tag:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 15px 40px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Hero动画卡片 */
.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.25;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.card-1 { top: 10%; left: 10%; animation-delay: 0s; }
.card-2 { top: 20%; right: 15%; animation-delay: 1.5s; }
.card-3 { bottom: 20%; left: 15%; animation-delay: 3s; }
.card-4 { bottom: 15%; right: 10%; animation-delay: 4.5s; }

/* 增强悬停效果 */
.floating-card:hover {
    opacity: 0.5;
    transform: scale(1.2);
}

/* ===================================
   核心特色展示区
   =================================== */
.features-showcase {
    padding: 100px 0 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.features-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.03), transparent);
    pointer-events: none;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
    position: relative;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-visual {
    position: relative;
    z-index: 1;
}

.feature-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 图片宽度由CMS后台动态控制，不再使用固定宽度 */

.feature-block:hover .feature-visual img {
    transform: translateY(-8px) scale(1.02);
}

.feature-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.6s ease;
}

.feature-block:hover .feature-decoration {
    transform: translate(-50%, -50%) scale(1.2);
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12), transparent 70%);
}

.feature-info {
    padding: 20px 0;
}

/* 特色展示区的标签 */
.feature-info .feature-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.feature-info h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.highlight-item .icon {
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highlight-item:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.highlight-item span:last-child {
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .features-showcase {
        padding: 60px 0;
    }
    
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .feature-block.reverse {
        direction: ltr;
    }
    
    .feature-info h2 {
        font-size: 1.8rem;
    }
    
    .feature-info p {
        font-size: 1rem;
    }
    
    .feature-decoration {
        width: 150px;
        height: 150px;
        top: -20px;
        right: -20px;
    }
}

/* ===================================
   游戏展示区
   =================================== */
.games-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.game-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    transition: var(--transition);
}

.game-card:hover .game-icon img {
    transform: scale(1.1) rotate(5deg);
}

.game-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    text-align: center;
}

.game-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.game-desc {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.game-features {
    margin: 20px 0;
}

.game-features li {
    color: var(--text-muted);
    margin: 8px 0;
    padding-left: 5px;
}

.game-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
}

.game-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===================================
   专业工具预览区
   =================================== */
.tools-preview {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.tools-preview .section-header {
    margin-bottom: 60px;
}

.tools-preview .section-header h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.tool-card {
    background: white;
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08), transparent 70%);
    transition: all 0.6s ease;
}

.tool-card:hover::after {
    bottom: -20%;
    right: -20%;
    transform: scale(1.5);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.tool-icon {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    margin-bottom: 25px;
    width: 90px;
    height: 90px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    transition: all 0.4s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.tool-card h3,
.tool-card p,
.tool-link {
    position: relative;
    z-index: 1;
}

.tool-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.tool-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.tool-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

/* ===================================
   学习内容区
   =================================== */
.learning-section {
    padding: 80px 0;
    background: white;
}

.learning-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.learning-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.learning-text > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.learning-points {
    margin-bottom: 30px;
}

.learning-points li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.point-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.learning-points h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.learning-points p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-learn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-learn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(44, 90, 160, 0.3);
}

.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow-hover);
}

.stat {
    text-align: center;
    margin-bottom: 30px;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* ===================================
   FAQ区域
   =================================== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-disclaimer {
    font-size: 0.85rem !important;
}

/* ===================================
   页面Hero（内页）
   =================================== */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ===================================
   游戏导航标签
   =================================== */
.games-nav {
    background: white;
    border-bottom: 2px solid var(--bg-light);
    position: sticky;
    top: 70px;
    z-index: 999;
}

.games-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.game-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.game-tab:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.game-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-icon {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tab-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ===================================
   游戏详情页
   =================================== */
.game-detail {
    padding: 60px 0;
    /* background: white; */
}

/* .game-detail:nth-child(even) {
    background: var(--bg-light);
} */

.game-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.game-badge {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); */
    /* border-radius: 20px; */
    /* box-shadow: var(--card-shadow); */
}

.game-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.game-detail-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.game-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.detail-content {
    max-width: 1000px;
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.rule-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.rule-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.rule-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.rule-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.rule-card.highlight h4 {
    color: white;
}

.rule-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.rule-card.highlight p {
    color: rgba(255, 255, 255, 0.95);
}

/* 牌型排名 */
.hand-rankings {
    display: grid;
    gap: 15px;
}

.hand-rank {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.hand-rank:hover {
    transform: translateX(5px);
    box-shadow: var(--card-shadow-hover);
}

.rank-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rank-content {
    flex: 1;
}

.rank-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.rank-content p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hand-example {
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* 游戏流程 */
.game-flow {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.flow-step h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.flow-note {
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

/* 策略提示 */
.strategy-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.tip-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tip-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 详情页CTA */
.detail-cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.detail-cta .btn-primary,
.detail-cta .btn-secondary {
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-cta .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.detail-cta .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* 短牌特殊样式 */
.rank-changes {
    display: grid;
    gap: 15px;
}

.rank-change-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--accent-color);
}

.rank-change-card.important {
    border-left-color: var(--secondary-color);
    background: #fff5f5;
}

.rank-change-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.rank-change-card p {
    color: var(--text-muted);
}

/* 奥马哈差异 */
.omaha-differences {
    display: grid;
    gap: 20px;
}

.diff-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--card-shadow);
}

.diff-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.diff-card p {
    margin: 10px 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.diff-card strong {
    color: var(--text-dark);
}

/* 麻将特殊样式 */
.game-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.mahjong-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mahjong-rule-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--card-shadow);
}

.mahjong-rule-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.mahjong-rule-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.mahjong-hands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.mahjong-hand {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.mahjong-hand:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    border: 2px solid var(--primary-color);
}

.mahjong-hand h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.mahjong-hand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.culture-note {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

/* 相关链接 */
.related-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.related-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border: 2px solid var(--primary-color);
}

.related-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.related-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.related-card p {
    color: var(--text-muted);
}

/* ===================================
   工具页面样式
   =================================== */
.tools-nav {
    background: white;
    border-bottom: 2px solid var(--bg-light);
    position: sticky;
    top: 70px;
    z-index: 999;
}

.tools-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.tool-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
    background: var(--bg-light);
}

.tool-tab:hover {
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
}

.tool-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tool-section {
    display: none;
    padding: 60px 0;
}

.tool-section.active {
    display: block;
}

.tool-header {
    text-align: center;
    margin-bottom: 50px;
}

.tool-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.tool-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* 胜率计算器 */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-controls,
.calculator-result {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.control-group {
    margin-bottom: 30px;
}

.control-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.game-selector,
.opponent-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.game-btn,
.opponent-btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--bg-light);
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.game-btn:hover,
.opponent-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.game-btn.active,
.opponent-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.game-rule-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.hint-icon {
    font-size: 1.1rem;
}

.card-input {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-input.community {
    gap: 8px;
}

.card-selector {
    width: 70px;
    height: 95px;
    border: 2px dashed var(--text-muted);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.card-selector:hover {
    border-color: var(--primary-color);
    background: rgba(44, 90, 160, 0.05);
}

.card-selector.selected {
    border-style: solid;
    border-color: var(--primary-color);
    background: rgba(44, 90, 160, 0.1);
}

.card-selector .placeholder {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}

.btn-calculate {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-calculate:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(44, 90, 160, 0.3);
}

/* 计算结果 */
.result-display {
    text-align: center;
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.result-display h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.equity-display {
    margin-bottom: 30px;
}

.equity-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.equity-label {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.result-details {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
}

.detail-value {
    font-weight: 600;
    color: var(--text-dark);
}

.result-advice {
    background: rgba(44, 90, 160, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.result-advice p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* 示例场景 */
.example-scenarios {
    margin-top: 30px;
}

.example-scenarios h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.scenario-list {
    display: grid;
    gap: 10px;
}

.scenario-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.scenario-item:hover {
    background: rgba(44, 90, 160, 0.1);
}

.scenario-name {
    color: var(--text-dark);
    font-weight: 500;
}

.scenario-equity {
    color: var(--primary-color);
    font-weight: 700;
}

/* 卡牌选择器 */
.card-picker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUpModal 0.3s ease;
}

.card-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid var(--bg-light);
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.card-picker-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.close-picker {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-picker:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.suits-container {
    padding: 20px 30px;
}

.suit-group {
    margin-bottom: 25px;
}

.suit-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: block;
}

.cards-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-option {
    width: 60px;
    height: 80px;
    border: 2px solid var(--text-muted);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.card-option.red {
    color: #dc3545;
}

.card-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.card-option.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.card-option.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.card-option.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 起手牌推荐 */
.starting-hands-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.position-selector {
    margin-bottom: 40px;
}

.position-selector h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.position-btn {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.position-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.position-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.position-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.position-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hand-chart {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.hand-chart h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.chart-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.legend-color.premium { background: #28a745; }
.legend-color.strong { background: #20c997; }
.legend-color.playable { background: #ffc107; }
.legend-color.marginal { background: #fd7e14; }
.legend-color.fold { background: #dc3545; }

.hand-matrix {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
}

.matrix-note {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
}

.hand-tips {
    margin-top: 40px;
}

.hand-tips h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* 底池赔率计算器 */
.pot-odds-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.pot-odds-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.calc-section,
.calc-result {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.calc-section h3,
.calc-result h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.input-group small {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 5px;
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-with-unit input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--bg-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.input-with-unit input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-with-unit .unit {
    color: var(--text-muted);
    font-weight: 600;
}

.result-box {
    text-align: center;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
}

.result-row:last-of-type {
    border-bottom: none;
    margin-bottom: 25px;
}

.result-label {
    color: var(--text-muted);
    font-weight: 500;
}

.result-value {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.decision-box {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
}

.decision-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.decision-text {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.decision-box.profitable {
    background: #d4edda;
    border: 2px solid #28a745;
}

.decision-box.profitable .decision-icon::before {
    content: '✅';
}

.decision-box.unprofitable {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.decision-box.unprofitable .decision-icon::before {
    content: '❌';
}

/* Outs指南 */
.outs-guide {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.outs-guide h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.outs-table {
    display: grid;
    gap: 10px;
}

.outs-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    align-items: center;
}

.outs-situation {
    color: var(--text-dark);
    font-weight: 500;
}

.outs-count {
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.outs-equity {
    color: var(--success-color);
    font-weight: 700;
    text-align: center;
}

.pot-odds-tips {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.pot-odds-tips h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.pot-odds-tips ul {
    list-style: none;
}

.pot-odds-tips li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
}

.pot-odds-tips li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* 资源区域 */
.resources-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.resources-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.resource-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.resource-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.resource-card p {
    color: var(--text-muted);
}

/* ===================================
   动画
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpModal {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 波浪文字动画 */
@keyframes waveText {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .calculator-wrapper,
    .pot-odds-calculator {
        grid-template-columns: 1fr;
    }
    
    .learning-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 10px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .download-btn {
        height: 44px;
        margin-left: auto;
        margin-right: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tool-card {
        padding: 35px 25px;
    }
    
    .tool-icon {
        width: 70px;
        height: 70px;
        font-size: 2.8rem;
    }
    
    .game-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .detail-cta {
        flex-direction: column;
    }
    
    .outs-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .age-gate-content {
        padding: 25px;
    }
    
    .age-gate-buttons {
        flex-direction: column;
    }
    
    .hero {
        padding: 100px 0 60px 0;
        min-height: 500px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card-selector {
        width: 60px;
        height: 80px;
    }
    
    .card-option {
        width: 50px;
        height: 70px;
        font-size: 1rem;
    }
}

/* ===================================
   文章页面样式
   =================================== */

/* 文章Hero */
.articles-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    opacity: 0.5;
}

/* 分类导航 */
.category-nav {
    background: white;
    border-bottom: 2px solid var(--bg-light);
    position: sticky;
    top: 70px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}

.category-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tab-emoji {
    font-size: 1.2rem;
}

/* 精选文章区域 */
.featured-articles {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header-fancy {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header-fancy h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 800;
}

.section-header-fancy p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* 精选文章头部 - 简洁样式 */
.featured-header {
    margin-bottom: 20px;
}

.section-badge-small {
    display: inline-block;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 216, 155, 0.3);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* 主打文章 */
.featured-main {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.featured-main:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.featured-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 6rem;
    color: rgba(255,255,255,0.8);
}

.article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.article-badge.strategy {
    background: rgba(102, 126, 234, 0.9);
    color: white;
}

.article-badge.news {
    background: rgba(79, 172, 254, 0.9);
    color: white;
}

.article-badge.beginner {
    background: rgba(255, 209, 102, 0.9);
    color: #333;
}

.article-badge.advanced {
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.featured-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.article-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.meta-item .icon {
    font-size: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* 次要文章 */
.featured-secondary {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.featured-secondary:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.featured-image-small {
    position: relative;
    height: 180px;
}

.featured-content-small {
    padding: 20px;
    flex: 1;
}

.featured-content-small h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

.featured-content-small p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 文章列表 */
.articles-list {
    padding: 80px 0;
    background: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 0;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-light);
}

/* 文章卡片图片 */
.article-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-image .card-header {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    padding: 0 20px;
    margin: 0;
}

/* 文章卡片内容 */
.article-card-content {
    padding: 25px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* 没有图片时的样式 */
.article-card:not(:has(.article-card-image)) {
    padding: 30px;
}

.trending-tag {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.article-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
    flex: 1;
}

.card-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--bg-light);
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* 加载更多 */
.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 15px 40px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* 订阅区域 */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.newsletter-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.newsletter-card h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-card > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: 3px solid rgba(255,255,255,0.5);
}

.btn-subscribe {
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.newsletter-note {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* 标签云 */
.tags-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.tags-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag {
    background: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 动画 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===================================
   文章详情页样式
   =================================== */

.article-detail {
    background: var(--bg-light);
    padding: 40px 0 80px;
}

.article-container {
    max-width: 900px;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* 文章头部 */
.article-header {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.article-category-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-category-badge.strategy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.article-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 800;
}

.article-meta-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 2px solid var(--bg-light);
    border-bottom: 2px solid var(--bg-light);
    margin-bottom: 30px;
}

/* 文章内容 */
.article-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--card-shadow);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-intro {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.article-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    font-weight: 700;
}

.article-content h2:first-of-type {
    margin-top: 30px;
}

.article-content h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 35px 0 20px;
    font-weight: 600;
}

.article-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 25px 0 15px;
    font-weight: 600;
}

.article-content h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 20px 0 10px;
    font-weight: 600;
}

.article-content p {
    margin: 20px 0;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin: 12px 0;
    color: var(--text-dark);
}

.article-content ul li {
    list-style-type: disc;
}

.article-content strong {
    font-weight: 700;
    color: var(--primary-color);
}

/* 高亮区块 */
.article-highlight {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.article-highlight h3 {
    color: white !important;
    border: none !important;
    margin: 0 0 15px !important;
    padding: 0 !important;
}

.article-highlight p {
    color: white;
    margin: 10px 0;
}

/* 策略区块 */
.strategy-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.strategy-box.highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-left-width: 6px;
}

.strategy-box.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
}

.strategy-box h4 {
    margin-top: 0 !important;
    color: var(--primary-color);
}

.strategy-box ul {
    margin: 15px 0;
}

/* 示例区块 */
.example-box {
    background: white;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.example-box h4 {
    color: var(--primary-color);
    margin-top: 0 !important;
}

.example-box ol {
    margin: 15px 0;
}

/* 提示列表 */
.tip-list {
    margin: 25px 0;
}

.tip-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    margin: 15px 0;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.tip-item:hover {
    transform: translateX(5px);
    box-shadow: var(--card-shadow-hover);
}

.tip-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tip-item h5 {
    margin: 0 0 8px 0 !important;
    color: var(--text-dark);
}

.tip-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 对比表格 */
.comparison-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.comparison-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.comparison-item h5 {
    margin: 0 0 10px 0 !important;
    font-size: 1.2rem;
}

.comparison-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* 错误区块 */
.mistake-box {
    background: #fff5f5;
    border-left: 4px solid #dc3545;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.mistake-box h4 {
    color: #dc3545;
    margin-top: 0 !important;
}

.mistake-box p {
    margin: 10px 0;
}

/* 总结区块 */
.article-summary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 40px 0;
}

.article-summary h3 {
    margin-top: 0 !important;
    color: var(--primary-color);
}

.article-summary ol {
    margin: 20px 0;
}

.article-summary li {
    margin: 15px 0;
    font-weight: 500;
}

/* 行动区块 */
.action-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 35px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.action-box h3 {
    color: white !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
    padding: 0 !important;
}

.action-box p,
.action-box li {
    color: white;
}

.action-box ul {
    margin: 20px 0;
}

/* 相关文章 */
.related-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--bg-light);
}

.related-articles h3 {
    margin: 0 0 25px 0 !important;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-article-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.related-article-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.related-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.related-article-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 8px 0 !important;
}

.related-article-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* 文章底部行动区 */
.article-actions {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-list {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.back-to-list:hover {
    color: var(--primary-color);
}

/* 文章详情响应式 */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .article-header {
        padding: 25px 20px;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .article-meta-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .back-to-list {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-content {
        font-size: 1rem;
        padding: 20px 15px;
    }
    
    .comparison-table {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* 文章页面响应式 */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-header-fancy h2 {
        font-size: 2.2rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-card h2 {
        font-size: 2rem;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero-animation,
    .age-gate,
    .footer,
    .nav-toggle,
    .btn-calculate,
    .card-picker {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .game-card,
    .tool-card,
    .tip-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

