/* ============================================
   冰球突破 PG电子游艺网站 - 全新设计风格
   深紫金主题 + 玻璃拟态 + 现代渐变
   ============================================ */

/* CSS变量定义 */
:root {
    --primary-dark: #0d0221;
    --primary-purple: #2d1b4e;
    --accent-gold: #ffd700;
    --accent-orange: #ff8c00;
    --accent-pink: #ff1493;
    --glass-bg: rgba(45, 27, 78, 0.6);
    --glass-border: rgba(255, 215, 0, 0.2);
    --text-white: #ffffff;
    --text-light: #e0d4f7;
    --text-muted: #a89cc8;
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ff6347 100%);
    --gradient-purple: linear-gradient(180deg, #1a0a2e 0%, #2d1b4e 50%, #0d0221 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.3);
    --shadow-purple: 0 10px 40px rgba(13, 2, 33, 0.5);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--gradient-purple);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(45, 27, 78, 0.5) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* 链接样式 */
a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 列表重置 */
ul, ol {
    list-style: none;
}

/* ============================================
   头部导航
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 2, 33, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.main-nav {
    max-width: 1400px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    gap: 2rem;
}

.logo-link {
    flex-shrink: 0;
}

.site-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-block;
    padding: 0.6rem 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.1);
}

.nav-link.cta-link {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
}

.nav-link.cta-link:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    color: var(--primary-dark);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.menu-bar {
    width: 24px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   主内容区域
   ============================================ */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* 页面英雄区 */
.page-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    font-weight: 400;
}

/* 面包屑导航 */
.breadcrumb-nav {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-muted);
}

.breadcrumb-list a:hover {
    color: var(--accent-gold);
}

/* ============================================
   内容区块
   ============================================ */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.section-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-purple);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* 内容主体 */
.content-body {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.content-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-body h3 {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--glass-border);
}

.content-body h4 {
    font-size: 1.15rem;
    color: var(--text-white);
    margin: 1.5rem 0 0.75rem;
}

/* 列表样式 */
.content-body ul,
.content-body ol,
.feature-list,
.benefit-list,
.rule-list,
.tip-list,
.step-list,
.promo-list,
.series-list,
.app-benefits,
.install-steps {
    margin: 1.5rem 0;
    padding-left: 0;
}

.content-body ul li,
.content-body ol li,
.feature-list li,
.benefit-list li,
.rule-list li,
.tip-list li,
.step-list li,
.promo-list li,
.series-list li,
.app-benefits li,
.install-steps li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--accent-gold);
}

.content-body ul li::before,
.feature-list li::before,
.benefit-list li::before,
.rule-list li::before,
.tip-list li::before,
.promo-list li::before,
.series-list li::before,
.app-benefits li::before {
    content: '✦';
    position: absolute;
    left: 0.75rem;
    color: var(--accent-gold);
    font-size: 0.8rem;
}

.content-body ol,
.step-list,
.install-steps {
    counter-reset: step-counter;
}

.content-body ol li,
.step-list li,
.install-steps li {
    counter-increment: step-counter;
}

.content-body ol li::before,
.step-list li::before,
.install-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0.6rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* 定义列表 */
.content-body dl,
.game-list,
.symbol-list,
.volatility-list,
.faq-list {
    margin: 1.5rem 0;
}

.content-body dt,
.game-list dt,
.symbol-list dt,
.volatility-list dt,
.faq-list dt {
    font-weight: 700;
    color: var(--accent-gold);
    padding: 0.75rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    margin-top: 1rem;
}

.content-body dd,
.game-list dd,
.symbol-list dd,
.volatility-list dd,
.faq-list dd {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--glass-border);
}

/* 表格样式 */
.content-body table,
.game-info-table,
.comparison-table,
.rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.content-body th,
.content-body td,
.game-info-table th,
.game-info-table td,
.comparison-table th,
.comparison-table td,
.rtp-table th,
.rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.content-body th,
.game-info-table th,
.comparison-table th,
.rtp-table th {
    background: rgba(255, 215, 0, 0.15);
    color: var(--accent-gold);
    font-weight: 600;
}

.content-body tr:hover,
.game-info-table tr:hover,
.comparison-table tr:hover,
.rtp-table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* 图片展示 */
.game-showcase,
.app-showcase {
    margin: 2rem 0;
    text-align: center;
}

.game-showcase img,
.app-showcase img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-purple);
    margin: 0 auto;
}

.game-showcase figcaption,
.app-showcase figcaption {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* 内容底部 */
.content-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.cta-button-large {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    margin: 0.5rem;
}

.cta-button-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
    color: var(--primary-dark);
}

/* ============================================
   游戏卡片网格
   ============================================ */
.demo-games-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.demo-game-card,
.category-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.demo-game-card:hover,
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-gold);
}

.demo-game-card figure,
.category-card figure {
    position: relative;
    overflow: hidden;
}

.demo-game-card img,
.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.demo-game-card:hover img,
.category-card:hover img {
    transform: scale(1.05);
}

.demo-game-card h4,
.category-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.demo-game-card p,
.category-card p {
    padding: 0 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.demo-link,
.category-link {
    display: block;
    margin: 1rem;
    padding: 0.75rem;
    text-align: center;
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.demo-link:hover,
.category-link:hover {
    background: var(--gradient-gold);
    color: var(--primary-dark);
}

/* ============================================
   下载页面特殊样式
   ============================================ */
.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.download-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.download-icon img {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 20px;
}

.download-title {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.download-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.download-info {
    text-align: left;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
}

.download-info li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.download-button {
    display: block;
    padding: 1rem 2rem;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
}

.download-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
    color: var(--primary-dark);
}

.download-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-reminder {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ============================================
   页脚
   ============================================ */
.site-footer {
    background: rgba(13, 2, 33, 0.95);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-title {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-badges img {
    height: 40px;
    width: auto;
}

.footer-legal {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 2, 33, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .cta-button {
        display: none;
    }
    
    .page-hero {
        height: 280px;
    }
    
    .section-container {
        padding: 1.5rem;
    }
    
    .content-section {
        padding: 0 1rem 3rem;
    }
    
    .breadcrumb-nav {
        padding: 0 1rem;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .site-logo {
        height: 32px;
    }
    
    .page-hero {
        height: 220px;
    }
    
    .section-container {
        padding: 1rem;
        border-radius: var(--border-radius-sm);
    }
    
    .content-body h3 {
        font-size: 1.2rem;
    }
    
    .demo-games-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ============================================
   动画效果
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

.section-container {
    animation: fadeInUp 0.6s ease-out;
}

.cta-button-large:hover {
    animation: pulse 1.5s infinite;
}

/* ============================================
   打印样式
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .cta-button,
    .cta-button-large,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .section-container {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
