/*
Theme Name: RK Theme
Theme URI: https://rk9898.com/
Author: RK
Description: RK娛樂城 文章列表與單篇樣式主題，使用原始CSS風格。
Version: 1.0
Text Domain: rk-theme
*/

/* ==========================================
   RK娛樂城 - 自定義樣式
   ========================================== */

/* 基本設定 */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #2c2c54;
    --dark-bg: #1a1a2e;
    --card-bg: #ffffff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-color: #ff6b9d;
    --gradient-bg: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    --gold-gradient: linear-gradient(45deg, #ff6b9d, #ffa8cc);
    --accent-pink: #ffa8cc;
    --accent-purple: #c44569;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333;
    background: linear-gradient(135deg, #ffffff 0%, #fdf8fc 100%);
    min-height: 100vh;
}

/* 通用標題樣式 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
}

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

section {
    color: var(--text-dark);
}

/* 品牌名稱特效樣式 */
.brand-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-rose) 100%);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 12px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(243, 200, 200, 0.4);
    position: relative;
    display: inline-block;
}

.brand-highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-rose), var(--primary-color));
    border-radius: 14px;
    z-index: -1;
    opacity: 0.6;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

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

.loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    background: var(--dark-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light) !important;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28243, 200, 200, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Banner Section */
.hero-banner {
    background: linear-gradient(135deg, #ffffff 0%, #fdf8fc 100%);
    padding-top: 100px;
}

.hero-banner .carousel-inner {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(243, 200, 200, 0.3);
}

.hero-banner .carousel-image {
    height: 400px;
    object-fit: cover;
}

.hero-banner .carousel-caption {
    background: transparent;
    border-radius: 0;
    padding: 3rem 2rem 2rem;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.hero-banner .carousel-caption h5 {
    display: none;
}

.hero-banner .carousel-caption p {
    display: none;
}

/* 原本的Hero Section (保留供其他頁面使用) */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #fdf7f7 50%, #faf0f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffc107" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-image {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 350px;
    object-fit: contain;
    background: #f8f9fa;
}

.carousel-inner {
    border-radius: 15px;
    overflow: hidden;
}

.carousel-item {
    position: relative;
}

.carousel-caption {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 0 0 15px 15px;
    padding: 2rem 1.5rem 1.5rem;
    margin: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-caption h5 {
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.carousel-caption p {
    color: #1a1a1a;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.carousel-indicators {
    margin-bottom: -30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 193, 7, 0.8);
    border-radius: 50%;
    border: none;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

/* Carousel Hover Effects */
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.7;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #fdf8fc 0%, #ffffff 100%);
    position: relative;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #ffa8cc;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1a1a1a;
}

.feature-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-card p {
    color: #444444;
    margin-bottom: 0;
}

/* Games Section */
.games-section {
    background: linear-gradient(135deg, #faf0f7 0%, #fdf8fc 100%);
    position: relative;
}

.game-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(243, 200, 200, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
}

.game-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.game-card h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: bold;
}

.game-card p {
    color: #444444;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Promotions Section */
.promotions-section {
    background: linear-gradient(135deg, #ffffff 0%, #fdf8fc 100%);
    position: relative;
}

/* Promotions Highlight Section */
.promotions-highlight {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: var(--text-dark);
    position: relative;
}

.promotions-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.promotions-highlight .container {
    position: relative;
    z-index: 2;
}

.highlight-promo-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.highlight-promo-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.promo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-dark);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.highlight-promo-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: bold;
}

.highlight-promo-card p {
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 2rem;
}

.highlight-promo-card .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.highlight-promo-card .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: none;
}

.promo-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff8fb 50%, #ffeef5 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.15);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--border-color);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.3);
    border-color: var(--primary-color);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.promo-content {
    padding: 2rem;
    text-align: center;
}

.promo-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: bold;
}

.promo-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.promo-content p {
    color: #555;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
}

.footer h5, .footer h6 {
    color: var(--text-light);
    font-weight: 600;
}

.footer p {
    color: #cccccc;
}

.footer .text-muted {
    color: #999999 !important;
}

.footer a {
    color: var(--text-light);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

.contact-info i {
    margin-right: 10px;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    color: var(--secondary-color);
    font-weight: bold;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-warning {
    background: var(--gradient-bg);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
    font-weight: 600;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    color: #ffffff;
}

.btn-outline-warning {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-warning:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
}

.btn-outline-light:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .feature-card,
    .game-card,
    .promo-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }

    .hero-banner .carousel-image {
        height: 250px;
    }

    .hero-banner .carousel-caption {
        padding: 2rem 1rem 1.5rem;
    }

    .hero-banner .carousel-caption h5 {
        font-size: 1.3rem;
        background: rgba(255, 255, 255, 0.9);
        padding: 0.3rem 0.6rem;
        border-radius: 5px;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .hero-banner .carousel-caption p {
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.85);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        display: inline-block;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }

    .highlight-promo-card {
        padding: 2rem 1.5rem;
    }

    .promo-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-icon,
    .game-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .promo-amount {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* Carousel Responsive */
    .hero-carousel {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .carousel-image {
        height: 250px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: -20px;
    }
    
    .carousel-control-next {
        right: -20px;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h5 {
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.9);
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        display: inline-block;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.85);
        padding: 0.2rem 0.4rem;
        border-radius: 3px;
        display: inline-block;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .game-card,
    .promo-card {
        padding: 1.5rem;
    }
    
    .hero-section .container {
        padding: 0 15px;
    }
    
    /* Small Mobile Carousel */
    .hero-banner .carousel-image,
    .carousel-image {
        height: 200px;
        object-fit: contain;
        width: 100%;
    }
    
    .hero-banner .carousel-inner {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero-banner .container {
        text-align: center;
    }
    
    .hero-banner {
        background: transparent !important;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
    
    .carousel-caption {
        display: none !important;
    }
    
    .carousel-indicators {
        margin-bottom: -20px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e0a800;
}

/* Custom Utilities */
.text-warning {
    color: var(--primary-color) !important;
}

.border-warning {
    border-color: var(--primary-color) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Loading Animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   About Us Page Styles 關於我們頁面樣式
   ========================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Company Introduction */
.company-intro {
    background: #fff;
}

.intro-content .lead {
    color: #666;
    line-height: 1.8;
}

.stats-row {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

.intro-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Our Values */
.our-values {
    background: #f8f9fa;
}

.value-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.value-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Achievements */
.achievements {
    background: #fff;
}

.achievement-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.achievement-card h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.achievement-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Our Team */
.our-team {
    background: #f8f9fa;
}

.team-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.team-card h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.team-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-cta h2 {
    color: var(--secondary-color);
}

.contact-cta .lead {
    color: #666;
}

/* Responsive Styles for About Page */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .stats-row {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .value-card,
    .team-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .value-icon,
    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .value-card,
    .team-card {
        padding: 1.5rem;
    }
    
    .stats-row .col-4 {
        margin-bottom: 1rem;
    }
    
    .contact-cta .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cta .btn {
        width: 200px;
        margin-bottom: 1rem;
    }
}

/* ==========================================
   Promotion Page Styles 優惠活動頁面樣式
   ========================================== */

/* Promotion Banner Carousel */
.promotion-banner {
    background: #f8f9fa;
}

.promotion-carousel-image {
    height: 400px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 15px;
}

#promotionCarousel .carousel-caption {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 0 0 15px 15px;
    padding: 3rem 2rem 2rem;
}

#promotionCarousel .carousel-caption h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#promotionCarousel .carousel-caption .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Hot Promotions */
.hot-promotions {
    background: #fff;
}

.promotion-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #eee;
    height: 100%;
}

.promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.promotion-card.hot-promo {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.promotion-card.new-promo {
    border-color: #28a745;
    background: linear-gradient(135deg, #fff 0%, #f5fff5 100%);
}

.promo-image {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.promo-content {
    padding: 2rem;
    text-align: center;
}

.promo-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: bold;
}

.promo-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Daily Promotions */
.daily-promotions {
    background: #f8f9fa;
}

.daily-promo-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.daily-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.daily-promo-header {
    background: var(--gold-gradient);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.daily-promo-header h4 {
    margin: 0;
    font-weight: bold;
}

.daily-promo-content {
    padding: 2rem;
    text-align: center;
}

.daily-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.promo-features li {
    padding: 0.5rem 0;
    color: #666;
}

/* VIP Promotions */
.vip-promotions {
    background: #fff;
}

.vip-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    border: 2px solid #eee;
}

.vip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.vip-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.vip-level {
    padding: 2rem;
    color: white;
    font-weight: bold;
}

.vip-level.bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #a0522d 100%);
}

.vip-level.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
}

.vip-level.gold {
    background: var(--gold-gradient);
}

.vip-level i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.vip-content {
    padding: 2rem;
}

.vip-benefit {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.vip-benefit h6 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.vip-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.vip-feature {
    font-size: 1.5rem;
    color: #28a745;
}

/* Special Events */
.special-events {
    background: #f8f9fa;
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-header {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0a800 100%);
    color: white;
    text-align: center;
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.event-badge.special {
    background: #dc3545;
}

.event-content {
    padding: 2rem;
    text-align: center;
}

.event-reward {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.event-progress {
    margin: 1.5rem 0;
}

.event-time {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    color: #666;
    font-weight: 500;
    border-left: 4px solid var(--primary-color);
}

.lucky-wheel {
    margin: 1.5rem 0;
    position: relative;
}

.wheel-center {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

/* Terms Section */
.terms-section {
    background: #fff;
}

.terms-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.terms-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.terms-card h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.terms-list {
    list-style: none;
    padding: 0;
}

.terms-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.terms-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0a800 100%);
    color: white;
}

.cta-section h2 {
    color: white;
}

.cta-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive Styles for Promotion Page */
@media (max-width: 768px) {
    .promotion-carousel-image {
        height: 250px;
    }
    
    #promotionCarousel .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    #promotionCarousel .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .promo-amount,
    .daily-amount {
        font-size: 2rem;
    }
    
    .event-reward {
        font-size: 1.5rem;
    }
    
    .vip-card.featured {
        transform: none;
    }
    
    .promotion-card,
    .daily-promo-card,
    .vip-card,
    .event-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .promotion-carousel-image {
        height: 200px;
    }
    
    #promotionCarousel .carousel-caption {
        padding: 2rem 1rem 1rem;
    }
    
    #promotionCarousel .carousel-caption h3 {
        font-size: 1.25rem;
    }
    
    .promo-content,
    .daily-promo-content,
    .vip-content,
    .event-content {
        padding: 1.5rem;
    }
    
    .promo-amount,
    .daily-amount {
        font-size: 1.8rem;
    }
    
    .cta-section .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        width: 200px;
        margin-bottom: 1rem;
    }
}

/* ==========================================
   Game Page Styles 熱門遊戲頁面樣式
   ========================================== */

/* Game Filter */
.game-filter {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.filter-buttons .btn {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-buttons .btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Featured Games */
.featured-games {
    background: #fff;
}

.featured-game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.featured-game-card .game-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-game-card .game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.featured-game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    text-align: center;
    color: white;
    padding: 2rem;
}

.game-info h4 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.game-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    z-index: 2;
}

.game-badge.hot {
    background: #dc3545;
}

.game-badge.popular {
    background: #28a745;
}

.game-badge.new {
    background: #007bff;
}

/* Game Cards */
.game-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.game-card .game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card .game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-card .game-overlay {
    opacity: 0;
    background: rgba(0, 0, 0, 0.7);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.game-details {
    padding: 1.5rem;
}

.game-details h5 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.rating {
    color: #666;
    font-size: 0.9rem;
}

.players {
    color: #666;
    font-size: 0.9rem;
}

/* Live Games */
.live-games {
    background: #fff;
}

.live-game-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.live-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.live-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.live-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    align-self: flex-start;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.live-info {
    text-align: center;
    color: white;
}

.live-info h4 {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.live-details {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dealer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dealer-avatar i {
    font-size: 2rem;
    color: var(--primary-color);
}

.table-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.players-count {
    color: #666;
    font-size: 0.9rem;
}

.min-bet {
    font-weight: bold;
}

/* Live Categories */
.live-categories {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.category-info h6 {
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.category-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.9rem;
}

.table-count {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Sports Betting */
.sports-betting {
    background: #f8f9fa;
}

.sports-main-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.sports-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.sports-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.sports-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.sports-info {
    text-align: center;
    color: white;
}

.sports-info h3 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.sports-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.feature-badge {
    background: rgba(255, 193, 7, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

/* Sports Categories */
.sports-categories {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.sport-category-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sport-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sport-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.sport-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.sport-info {
    flex: 1;
}

.sport-info h6 {
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.match-count {
    color: #666;
    font-size: 0.9rem;
}

.sport-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.sport-status.live {
    background: #dc3545;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sport-status.hot {
    background: #ff6b35;
}

.sport-status {
    background: #6c757d;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Lottery Games */
.lottery-games {
    background: #fff;
}

.lottery-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.lottery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.lottery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.lottery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.lottery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lottery-info {
    text-align: center;
    color: white;
}

.lottery-info h4 {
    margin-bottom: 1rem;
    font-weight: bold;
}

.jackpot-amount {
    margin: 1.5rem 0;
}

.jackpot-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.jackpot-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Lottery Types */
.lottery-types {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.lottery-type-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lottery-type-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lottery-type-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.lottery-type-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.lottery-type-info {
    flex: 1;
}

.lottery-type-info h6 {
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.lottery-type-info p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.9rem;
}

.next-draw {
    margin-top: 0.5rem;
}

.lottery-prize {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Game Statistics */
.game-stats {
    background: #f8f9fa;
}

.stats-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Styles for Game Page */
@media (max-width: 768px) {
    .featured-game-card .game-image {
        height: 250px;
    }
    
    .game-card .game-image {
        height: 150px;
    }
    
    .live-image,
    .sports-image,
    .lottery-image {
        height: 200px;
    }
    
    .sports-features {
        gap: 0.5rem;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .game-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .game-actions .btn {
        width: 100%;
    }
    
    .live-details,
    .table-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .jackpot-value {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .stats-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .filter-buttons .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .featured-game-card .game-image {
        height: 200px;
    }
    
    .game-info {
        padding: 1rem;
    }
    
    .game-info h4 {
        font-size: 1.25rem;
    }
    
    .category-item,
    .sport-item,
    .lottery-type-item {
        padding: 0.75rem;
    }
    
    .category-icon,
    .sport-icon,
    .lottery-type-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .sports-info h3 {
        font-size: 1.5rem;
    }
    
    .sports-features {
        flex-direction: column;
        align-items: center;
    }
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* ==== HERO 區塊 ==== */
.rk-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin-top: 40px;
}

.rk-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.6)
    );
    border-radius: 20px;
}

.rk-hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    color: #fff;
}

.rk-hero-category .rk-cat-label {
    background: #ff4f88;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
}

.rk-hero-title {
    font-size: 38px;
    font-weight: 700;
    margin-top: 20px;
}

.rk-hero-meta {
    margin-top: 10px;
    opacity: 0.85;
}



/* ==== 內文上方（無精選圖） ==== */
.rk-single-header {
    margin-top: 40px;
}

.rk-cat-label-top span {
    background: #ff4f88;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
}

.rk-title-top {
    margin-top: 10px;
    font-size: 32px;
    font-weight: 700;
}

.rk-date-top {
    color: #777;
    margin-top: 6px;
}



/* ==== 內文 ==== */
.rk-single-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}



/* ==== 相關文章區塊 ==== */
.rk-related-title {
    margin-top: 60px;
    margin-bottom: 20px;
    font-size: 26px;
}

.rk-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.rk-related-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.rk-related-card:hover {
    transform: translateY(-5px);
}

.rk-related-thumb {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.rk-related-text {
    padding: 16px;
}



/* ==== 上一篇 / 下一篇 ==== */
.rk-nav-posts {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.rk-nav-card {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.rk-nav-card:hover {
    transform: translateY(-4px);
}

.rk-nav-label {
    font-size: 14px;
    opacity: 0.6;
}



/* ==== CTA ==== */
.rk-cta-wrap {
    text-align: center;
    margin: 60px 0;
}

.rk-cta-btn {
    background: linear-gradient(90deg, #ff4f88, #ff6fa5);
    padding: 14px 40px;
    border-radius: 40px;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: 0.2s;
}

.rk-cta-btn:hover {
    opacity: 0.9;
}
/* ==== RK Pagination（最終排版版） ==== */

/* 清除 ul 預設樣式 */
.rk-pagination {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* 每個按鈕 */
.rk-pagination li .page-numbers {
    display: inline-block;
    padding: 10px 18px;
    background: #ffffff;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* hover */
.rk-pagination li .page-numbers:hover {
    background: #ff4f88;
    color: #fff;
}

/* 當前所在頁 */
.rk-pagination li .current {
    background: linear-gradient(90deg, #ff4f88, #ff6fa5);
    color: #fff !important;
}
