/* ============================================
   kk44 - 巴西博彩风格样式表
   ============================================ */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 巴西国旗颜色主题 */
    --primary-green: #009739;
    --primary-yellow: #FEDD00;
    --primary-blue: #012169;
    --accent-orange: #FF6600;
    --accent-red: #DC143C;
    
    /* 渐变色彩 */
    --gradient-primary: linear-gradient(135deg, #009739 0%, #012169 100%);
    --gradient-gold: linear-gradient(135deg, #FEDD00 0%, #FF6600 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-success: linear-gradient(135deg, #009739 0%, #00C853 100%);
    
    /* 文字颜色 */
    --text-primary: #1a1a2e;
    --text-secondary: #666;
    --text-white: #ffffff;
    --text-light: #f5f5f5;
    
    /* 背景颜色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(254, 221, 0, 0.5);
    
    /* 过渡效果 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 边框圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* ============================================
   容器和布局
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 {
    width: 100%;
    padding: 0 15px;
}

.col-lg-6 {
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .col-lg-6 {
        width: 50%;
    }
}

.col-md-6 {
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}

.col-lg-3 {
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .col-lg-3 {
        width: 25%;
    }
}

.col-lg-8 {
    width: 100%;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .col-lg-8 {
        width: 66.666667%;
    }
}

.offset-lg-2 {
    margin-left: 0;
}

@media (min-width: 992px) {
    .offset-lg-2 {
        margin-left: 16.666667%;
    }
}

/* ============================================
   头部导航
   ============================================ */
header {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    max-width: 150px;
    max-height: 60px;
}

.logo-link img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.logo-link:hover img {
    /* 移除放大效果 */
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    margin-left: auto;
}

.header-top-row,
.header-bottom-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 顶部导航按钮使用黄色样式 */
header .btn-primary,
header .btn-success {
    background: var(--gradient-gold);
    color: var(--text-primary);
    font-weight: 700;
}

header .btn-primary:hover,
header .btn-success:hover {
    background: linear-gradient(135deg, #FFED4A 0%, #FEDD00 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(254, 221, 0, 0.6);
    color: var(--text-primary);
}

header .btn-success {
    animation: pulse-yellow 2s infinite;
}

@keyframes pulse-yellow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(254, 221, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(254, 221, 0, 0);
    }
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.hamburger-menu:hover span {
    background: var(--primary-yellow);
}

.header-nav-links {
    display: none;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.header-nav-links.active {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 15px;
    /* 平滑滚动 */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* 自定义滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow) rgba(255, 255, 255, 0.1);
}

/* Webkit浏览器滚动条样式 */
.header-nav-links.active::-webkit-scrollbar {
    width: 8px;
}

.header-nav-links.active::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

.header-nav-links.active::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: var(--radius-full);
    transition: background var(--transition-normal);
}

.header-nav-links.active::-webkit-scrollbar-thumb:hover {
    background: #ffed4a;
}

.nav-link-small {
    color: var(--text-white);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-transform: capitalize;
}

.nav-link-small:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-yellow);
    transform: translateX(5px);
}

/* ============================================
   按钮样式
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--text-white);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--text-white);
    animation: pulse 2s infinite;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.6);
    color: var(--text-white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 0.85rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 200, 83, 0);
    }
}

/* ============================================
   主要内容区域
   ============================================ */
section {
    padding: 60px 0;
}

#plataforma {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    color: var(--text-primary);
}

#plataforma .hero-h1,
#plataforma .hero-description,
#plataforma .hero-description p,
#plataforma .hero-description strong {
    color: var(--text-primary);
}

.hero-h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.title-link {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition-normal);
}

.title-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.hero-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.hero-description p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hero-description strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* 深色背景区域的hero描述文字改为白色 */
.bg-gradient-dark .hero-description,
.bg-gradient-dark .hero-description p,
.app-section .hero-description,
.app-section .hero-description p,
.bonus-section .hero-description,
.bonus-section .hero-description p,
.security-section .hero-description,
.security-section .hero-description p {
    color: var(--text-white);
}

/* 通用图片自适应样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 确保所有图片容器自适应 */
section img,
.container img,
.content-card img,
.card-image-full img,
.app-image img,
footer img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
    object-fit: contain;
}

/* 图片容器通用样式 */
[class*="image"],
[class*="img"] {
    max-width: 100%;
    overflow: hidden;
}

[class*="image"] img,
[class*="img"] img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.rounded-5 {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.rounded-5:hover {
    /* 移除放大效果 */
}

/* ============================================
   背景和颜色工具类
   ============================================ */
.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-dark {
    background: var(--gradient-dark) !important;
    color: var(--text-white) !important;
}

.bg-gradient-dark .section-title,
.bg-gradient-dark .section-subtitle,
.bg-gradient-dark h1,
.bg-gradient-dark h2,
.bg-gradient-dark h3,
.bg-gradient-dark h4,
.bg-gradient-dark p,
.bg-gradient-dark .content-text,
.bg-gradient-dark .games-text,
.bg-gradient-dark .games-intro {
    color: var(--text-white) !important;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white) !important;
}

.py-2 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.py-5 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.me-2 {
    margin-right: 10px;
}

/* ============================================
   卡片样式
   ============================================ */
.content-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    border: 2px solid transparent;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-yellow);
}

.card-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-icon,
.type-icon,
.security-icon,
.support-icon,
.tech-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 特色卡片 */
.card-feature {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* 步骤卡片 */
.card-step {
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

/* 奖金卡片 */
.card-bonus {
    position: relative;
    background: var(--gradient-primary);
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
}

.card-bonus::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(254, 221, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.bonus-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-yellow);
    color: var(--text-primary);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bonus-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin: 15px 0;
}

.card-bonus h3 {
    color: var(--text-white);
    margin-bottom: 10px;
}

.card-bonus p {
    color: rgba(255, 255, 255, 0.9);
}

/* 游戏卡片 */
.card-game {
    overflow: hidden;
}

.card-image-full {
    width: 100%;
    min-height: 250px;
    max-height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.card-image-full img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.card-game:hover .card-image-full img {
    /* 移除放大效果 */
}

.card-game-info h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.game-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 统计卡片 */
.card-stat {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-yellow);
    flex-shrink: 0;
    min-width: 150px;
}

.card-stat .card-content h3,
.card-stat .card-content p {
    color: var(--text-white);
}

/* 安全卡片 */
.card-security {
    background: var(--gradient-dark);
    color: var(--text-white);
}

.card-security .card-content h3,
.card-security .card-content p {
    color: var(--text-white);
}

/* 支持卡片 */
.card-support {
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* 技术卡片 */
.card-tech {
    background: var(--gradient-dark);
    color: var(--text-white);
}

.card-tech-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tech-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.tech-content h3,
.tech-content p {
    color: var(--text-white);
}

/* 安全功能卡片 */
.card-security-feature {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--primary-green);
}

/* ============================================
   内容区块
   ============================================ */
.content-section {
    padding: 80px 0;
}

/* 确保浅色背景区域使用深色文字 */
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) .section-title,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) .section-subtitle,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) h1,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) h2,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) h3,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) h4,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) p,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) .games-text,
.content-section:not(.bg-gradient-dark):not(.app-section):not(.bonus-section):not(.security-section) .games-intro {
    color: var(--text-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.cards-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.cards-2-col .col-12 {
    margin-bottom: 30px;
}

.cards-4-col .col-12 {
    margin-bottom: 30px;
}

/* ============================================
   游戏介绍区域
   ============================================ */
.games-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* 深色背景区域的游戏介绍文字改为白色 */
.bg-gradient-dark .games-intro,
.app-section .games-intro,
.bonus-section .games-intro,
.security-section .games-intro {
    color: var(--text-white);
}

.games-category {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 30px 0 15px;
}

/* 深色背景区域的游戏分类标题改为黄色或白色 */
.bg-gradient-dark .games-category,
.app-section .games-category,
.bonus-section .games-category,
.security-section .games-category {
    color: var(--primary-yellow);
}

.games-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* 深色背景区域的游戏文字改为白色 */
.bg-gradient-dark .games-text,
.app-section .games-text,
.bonus-section .games-text,
.security-section .games-text {
    color: var(--text-white);
}

/* ============================================
   RTP 对比表
   ============================================ */
.rtp-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.rtp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    min-width: 800px;
}

.rtp-comparison-table thead {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.rtp-comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--text-white);
}

.rtp-comparison-table tbody {
    background: var(--bg-primary);
}

.rtp-comparison-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: var(--transition-normal);
    background: var(--bg-primary);
}

.rtp-comparison-table tbody tr:hover {
    background: #f8f9fa;
    /* 移除放大效果 */
}

.rtp-comparison-table td {
    padding: 20px;
    color: var(--text-primary) !important;
}

.rtp-comparison-table tbody td,
.rtp-comparison-table tbody td strong {
    color: var(--text-primary) !important;
}

/* 确保表格内的所有文字在白色背景上都是深色 */
.rtp-comparison-table tbody td,
.rtp-comparison-table tbody td * {
    color: var(--text-primary) !important;
}

.rtp-value {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 如果RTP值在白色背景上，保持绿色但确保对比度 */
.rtp-comparison-table .rtp-value {
    color: var(--primary-green);
}

/* ============================================
   App 区域
   ============================================ */
.app-section {
    background: var(--gradient-dark);
    color: var(--text-white);
}

.app-section .section-title,
.app-section .section-subtitle,
.app-section h1,
.app-section h2,
.app-section h3,
.app-section h4,
.app-section p,
.app-section .content-text,
.app-section .games-text,
.app-section .games-intro {
    color: var(--text-white);
}

.app-features {
    margin: 30px 0;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    flex-shrink: 0;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.app-image {
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* ============================================
   FAQ 区域
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: var(--gradient-primary);
    color: var(--text-white);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform var(--transition-normal);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   链接样式
   ============================================ */
.text-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.text-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* ============================================
   工具类
   ============================================ */
.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

/* ============================================
   页脚
   ============================================ */
/* 深色背景区块通用样式 */
.bonus-section,
.security-section,
.rtp-comparison-section {
    color: var(--text-white);
}

.bonus-section .section-title,
.bonus-section .section-subtitle,
.bonus-section h1,
.bonus-section h2,
.bonus-section h3,
.bonus-section h4,
.bonus-section p,
.bonus-section .content-text,
.bonus-section .games-text,
.bonus-section .games-intro,
.security-section .section-title,
.security-section .section-subtitle,
.security-section h1,
.security-section h2,
.security-section h3,
.security-section h4,
.security-section p,
.security-section .content-text,
.security-section .games-text,
.security-section .games-intro,
.rtp-comparison-section .section-title,
.rtp-comparison-section .section-subtitle,
.rtp-comparison-section h1,
.rtp-comparison-section h2,
.rtp-comparison-section h3,
.rtp-comparison-section h4,
.rtp-comparison-section p,
.rtp-comparison-section .content-text,
.rtp-comparison-section .games-text,
.rtp-comparison-section .games-intro {
    color: var(--text-white) !important;
}

footer {
    background: var(--gradient-dark);
    color: var(--text-white);
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-intro {
    margin-bottom: 40px;
}

.footer-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.footer-intro p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav {
    margin-bottom: 40px;
}

.footer-contact {
    margin-bottom: 40px;
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-yellow);
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-yellow);
}

.google-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.footer-copyright a {
    color: var(--primary-yellow);
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .hero-h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .card-horizontal {
        flex-direction: column;
        text-align: center;
    }
    
    .card-step {
        padding-left: 20px;
    }
    
    .step-number {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 15px;
    }
    
    .stat-number {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-buttons .btn {
        width: 100%;
    }
    
    .rtp-table-wrapper {
        font-size: 0.85rem;
    }
    
    .rtp-comparison-table th,
    .rtp-comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .hero-h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动动画 */
@media (prefers-reduced-motion: no-preference) {
    .content-card {
        animation: fadeInUp 0.6s ease-out;
    }
}

/* ============================================
   特殊效果
   ============================================ */
/* 闪烁效果 */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* 加载动画 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
