﻿/* Main CSS */

/* Navigation */
#navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navigation);
    background: hsla(220, 15%, 6%, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsla(195, 100%, 50%, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding: 0 var(--container-padding);
}

.nav-logo{display:flex;align-items:center;gap:.5rem;text-decoration:none;transition:transform .3s;flex-shrink:0;margin-right:2rem}
.nav-logo:hover{transform:scale(1.05)}
.nav-logo-icon{width:2rem;height:2rem;object-fit:contain;filter:drop-shadow(0 0 6px var(--neon-blue))}
.nav-logo-text{font-size:var(--font-size-2xl);font-weight:bold;background:linear-gradient(135deg,hsl(195,68%,70%),hsl(182,60%,68%),hsl(270,62%,72%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.nav-logo-sub{font-size:var(--font-size-sm);font-weight:500;color:var(--neon-cyan);margin-left:.25rem}

.nav-menu{display:flex;align-items:center;gap:.25rem;flex:1;justify-content:center}
.nav-item{padding:.5rem 1rem;border-radius:var(--radius);text-decoration:none;font-weight:500;color:var(--muted-foreground);transition:all .3s;position:relative}
.nav-item:hover,.nav-item.active{color:hsl(195,68%,70%);background:hsla(195,80%,50%,.08)}
.nav-item.active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--neon-blue),var(--neon-cyan));border-radius:1px}

.nav-agent {
    margin-left: 1rem;
}

.nav-buttons{display:flex;align-items:center;gap:.75rem}
.nav-buttons .btn-agent{white-space:nowrap;padding:.5rem 1rem;font-size:.875rem;font-weight:600}

.nav-mobile-toggle {
    display: none;
    width: 3.5rem;
    height: 3.5rem;
    color: white;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(147, 51, 234, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    padding: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
    backdrop-filter: blur(15px);
    z-index: 9999;
}

.nav-mobile-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.nav-mobile-toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mobile-toggle:hover {
    background: linear-gradient(135deg, rgba(56, 178, 172, 1), rgba(147, 51, 234, 1));
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 30px rgba(56, 178, 172, 0.6);
}

.nav-mobile-toggle:hover::before {
    left: 100%;
}

.nav-mobile-toggle:hover::after {
    opacity: 1;
}

.nav-mobile-toggle:active {
    transform: scale(1.05) rotate(90deg);
    transition: transform 0.1s ease;
}

.nav-mobile-toggle svg {
    width: 1.75rem;
    height: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

.nav-mobile-toggle:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.5));
}

/* 漢堡選單打開時的變換動畫 */
.nav-mobile-toggle.active {
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.9), rgba(255, 154, 0, 0.9));
    border-color: rgba(255, 255, 255, 0.6);
    transform: rotate(180deg);
}

.nav-mobile-toggle.active svg {
    transform: rotate(45deg) scale(1.1);
}

/* 添加吸引注意的脈衝動畫 */
@keyframes hamburger-pulse {
    0% {
        box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(56, 178, 172, 0.6);
    }
    100% {
        box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
    }
}

.nav-mobile-toggle {
    animation: hamburger-pulse 3s ease-in-out infinite;
}

.nav-mobile-toggle:hover,
.nav-mobile-toggle.active {
    animation: none;
}

.nav-mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: hsla(220, 15%, 6%, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsla(195, 100%, 50%, 0.2);
    padding: 1.5rem;
    display: none;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    z-index: 999;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-mobile-menu.open {
    display: block !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-mobile-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.nav-mobile-item {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--muted-foreground);
    transition: all var(--duration-normal) ease;
    display: block;
    font-weight: 500;
    font-size: 1.1rem;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-mobile-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsla(195, 100%, 50%, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-mobile-item:hover::before {
    left: 100%;
}

.nav-mobile-item:hover,
.nav-mobile-item.active {
    color: var(--neon-blue);
    background: hsla(195, 100%, 50%, 0.1);
    border-color: hsla(195, 100%, 50%, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.2);
}

.nav-mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Mobile Top Buttons - åªåœ¨æ‰‹æ©Ÿç‰ˆé¡¯ç¤º */
.nav-mobile-top-buttons {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
}

.btn-mobile-register {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    animation: pulse-scale 2s ease-in-out infinite;
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: white !important;
    border: 2px solid #dc2626 !important;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.btn-mobile-register:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626) !important;
    border-color: #b91c1c !important;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    transform: scale(1.05);
    color: white !important;
}

/* èˆ‡èª å¾µä»£ç†æŒ‰éˆ•ç›¸åŒçš„ç¸®æ"¾å‹•ç•«æ•ˆæžœ */
@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cyber-dark), var(--background), var(--cyber-darker));
}

.hero-effects {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(hsla(195, 100%, 30%, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, hsla(195, 100%, 30%, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

/* Glass shatter overlay */
.hero-effects::before,
.hero-effects::after {
    content: "";
    position: absolute;
    inset: -10% -10% 40% -10%;
    background: conic-gradient(from 45deg, hsla(195,100%,60%,0.15), transparent 30% 70%, hsla(270,100%,70%,0.15));
    mix-blend-mode: screen;
    filter: blur(6px);
    transform: rotate(8deg);
}

.hero-effects::after {
    inset: 40% -10% -10% -10%;
    transform: rotate(-6deg);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 72rem;
    width: 100%;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.cyber-badge {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(56, 178, 172, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cyber-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 178, 172, 0.2), transparent);
    animation: scan-line 3s linear infinite;
}

.glitch-text {
    animation: glitch-text 6s linear infinite;
    position: relative;
}

.hero-title {
    font-size: var(--font-size-8xl);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, hsl(195,68%,70%), hsl(182,60%,68%), hsl(270,62%,72%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
}

.hero-subtitle {
    font-size: var(--font-size-2xl);
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-description {
    font-size: var(--font-size-2xl);
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 3rem;
}

/* è‹±é›„å€æè¿°ç¾ŽåŒ– */
.hero-description-enhanced {
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 800px;
}

.hero-description-enhanced .description-line {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-description-enhanced .description-line.primary {
    font-size: var(--font-size-xl);
    color: var(--neon-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-description-enhanced .description-line.primary::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    animation: scan-line 2s linear infinite;
}

.hero-description-enhanced .description-line.highlight {
    font-size: var(--font-size-2xl);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(56, 178, 172, 0.4);
    animation: neon-pulse 4s ease-in-out infinite;
}

.hero-description-enhanced .description-line.accent {
    font-size: var(--font-size-xl);
    color: var(--neon-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.hero-description-enhanced .description-line.action {
    font-size: var(--font-size-lg);
    color: var(--foreground);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.1));
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(220, 38, 38, 0.3);
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-description-enhanced .description-line.action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    animation: scan-line 3s linear infinite;
}

.hero-description-enhanced .description-line.action strong {
    color: var(--neon-red);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat:nth-child(1) .stat-number {
    color: var(--neon-cyan);
}

.stat:nth-child(2) .stat-number {
    color: var(--neon-pink);
}

.stat:nth-child(3) .stat-number {
    color: var(--neon-green);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gaming-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), var(--neon-cyan), transparent);
    animation: scan-line 4s linear infinite;
    z-index: 5;
}

.floating-dice {
    position: absolute;
    font-size: 2rem;
    opacity: 0.18;
    animation: float 3s ease-in-out infinite;
}

.digital-rain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.rain-drop {
    position: absolute;
    top: -20px;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    opacity: 0.6;
    animation: matrix-rain 8s linear infinite;
    text-shadow: 0 0 10px currentColor;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.floating-dice-1 {
    top: 25%;
    left: 10%;
    color: var(--neon-blue);
}

.floating-dice-2 {
    top: 33%;
    right: 10%;
    color: var(--neon-pink);
    animation-delay: 1s;
}

.floating-dice-3 {
    bottom: 25%;
    left: 25%;
    color: var(--neon-cyan);
    animation-delay: 2s;
}

/* Games Section */
.games-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    animation: scan-line 3s linear infinite;
    z-index: 1;
}

/* çŸ©é™£é›¨èƒŒæ™¯æ•ˆæžœ */
.games-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(56, 178, 172, 0.1) 100px
    );
    pointer-events: none;
    animation: matrix-rain 10s linear infinite;
    z-index: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--grid-gap);
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

/* éº»å°‡èƒ¡äº†éŠæˆ²å°ˆç"¨æ¨£å¼ */
.mahjong-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}



/* éº»å°‡èƒ¡äº†æ¨™é¡Œç¾ŽåŒ– */
.section-title .title-line {
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(56, 178, 172, 0.5);
    animation: title-glow 3s ease-in-out infinite;
}

.section-title .title-line.highlight {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 20px rgba(56, 178, 172, 0.3);
    animation: neon-pulse 3s ease-in-out infinite;
}

/* éº»å°‡èƒ¡äº†å¡ç‰‡ç‰¹æ®Šæ•ˆæžœ */
.mahjong-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-blue), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mahjong-game-card:hover::before {
    opacity: 1;
    animation: scan-line 2s linear infinite;
}

.mahjong-game-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: linear-gradient(135deg, var(--card) 0%, var(--cyber-dark) 100%);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 0 20px rgba(56, 178, 172, 0.1);
    max-width: 450px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.mahjong-game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 30px rgba(56, 178, 172, 0.3);
    border-color: var(--neon-cyan);
}

.mahjong-game-card {
    animation: fadeInUp 0.8s ease-out;
}

.mahjong-game-card:nth-child(2) {
    animation-delay: 0.2s;
}

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

@keyframes title-glow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(56, 178, 172, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(56, 178, 172, 0.8), 0 0 70px rgba(56, 178, 172, 0.3);
    }
}

.mahjong-game-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--cyber-dark), var(--background));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.mahjong-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mahjong-game-card:hover .mahjong-game-image {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.mahjong-game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    z-index: 10;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6);
    }
}

.mahjong-game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

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

.mahjong-game-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.mahjong-game-card:hover .mahjong-game-play {
    opacity: 1;
}

.mahjong-game-play-button {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.mahjong-game-play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.mahjong-game-play-button:hover::before {
    left: 100%;
}

.mahjong-game-play-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 20px rgba(56, 178, 172, 0.3);
}

.mahjong-game-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: linear-gradient(135deg, var(--card) 0%, var(--cyber-dark) 100%);
}

.mahjong-game-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    line-height: 1.3;
    text-shadow: 0 0 15px rgba(56, 178, 172, 0.3);
}

.mahjong-game-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mahjong-game-description .inline-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: 0.5rem;
}

.mahjong-game-description .inline-link:hover {
    color: var(--neon-blue);
    text-decoration: underline;
    transform: translateX(2px);
}

.mahjong-game-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.mahjong-game-stats span {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(56, 178, 172, 0.05));
    color: var(--neon-cyan);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(56, 178, 172, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mahjong-game-stats span:hover {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.2), rgba(56, 178, 172, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 178, 172, 0.2);
}

/* Section CTA 美化 */
.section-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--cyber-dark) 0%, var(--cyber-darker) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(56, 178, 172, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2), 0 0 30px rgba(56, 178, 172, 0.1);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
    animation: scan-line 3s linear infinite;
}

.section-cta .cta-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(56, 178, 172, 0.3);
}

.section-cta .cta-content p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-cta .btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.section-cta .btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.section-cta .btn-large:hover::before {
    left: 100%;
}

.section-cta .btn-large:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 30px rgba(56, 178, 172, 0.4);
}

.section-description {
    font-size: 1.375rem;
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-align: center;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(56, 178, 172, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(56, 178, 172, 0.3);
}

/* Gaming Section 美化 */
.gaming-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background) 0%, var(--cyber-dark) 100%);
}

.gaming-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(56, 178, 172, 0.1) 100px
    );
    pointer-events: none;
    animation: matrix-rain 14s linear infinite;
    z-index: 0;
}

/* Features Grid 美化 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem;
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

/* 確保桌面版為3列 */
@media (min-width: 1025px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* 強制修復為什麼選擇 GamePlus 區塊 */
.features-section .features-grid {
    display: grid !important;
}

@media (min-width: 769px) {
    .features-section .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* 確保桌面版（769px以上）為3列，覆蓋所有其他規則 */
@media (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.feature-card {
    background: linear-gradient(135deg, var(--cyber-dark) 0%, var(--cyber-darker) 100%);
    border: 2px solid hsla(195, 100%, 50%, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
    animation: scan-line 2s linear infinite;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-blue);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(0, 240, 255, 0.6));
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 240, 255, 0.4));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(0, 240, 255, 0.4));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 16px rgba(0, 240, 255, 0.6));
    }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin: 0 0 1.5rem 0;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    line-height: 1.3;
}

.feature-desc {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* News Section */
.news-section { 
    padding: var(--section-padding); 
    position: relative; 
    overflow: hidden;
}

/* çŸ©é™£é›¨èƒŒæ™¯æ•ˆæžœ */
.news-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(56, 178, 172, 0.1) 100px
    );
    pointer-events: none;
    animation: matrix-rain 14s linear infinite;
    z-index: 0;
}

/* æ–°èžå®¹å™¨åŒ…è£å™¨ */
.news-container {
    position: relative;
    width: 100%;
    z-index: 10;
}

/* å°ŽèˆªæŒ‰éˆ•åœ¨å®¹å™¨å¤–éƒ¨ */
.news-nav {
    position: absolute;
    top: 50%;
    left: -4rem;
    right: -4rem;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    height: 0;
}

/* æ–°èžè¦–çª—å®¹å™¨ */
.news-viewport { 
    position: relative; 
    overflow-x: auto; 
    overflow-y: hidden;
    cursor: grab;
    scroll-behavior: smooth;
    z-index: 10;
}

.news-viewport:active {
    cursor: grabbing;
}
.news-track { 
    display: flex !important; 
    gap: var(--grid-gap); 
    width: max-content; 
    align-items: stretch;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
}

/* æ¡Œé¢ç‰ˆï¼šé¡¯ç¤º3.5å€‹æ¿å¡Š */
@media (min-width: 1025px) {
    .news-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        position: relative;
        scroll-behavior: smooth;
        /* éš±è—æ»¾å‹•æ¢ */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .news-viewport::-webkit-scrollbar {
        display: none;
    }
    
    .news-card {
        flex: 0 0 calc((100% - 3.5 * var(--grid-gap)) / 3.5);
        min-width: 260px;
        max-width: 320px;
    }
    
    /* æ¡Œé¢ç‰ˆæŒ‰éˆ•é–"è·ç"±flexå®¹å™¨è™•ç† */
}
.news-section .card { height: 100%; }
.news-card { width: 100%; scroll-snap-align: start; position: relative; z-index: 10; }

/* é‚Šç·£æ¿å¡Šçš„è¦–è¦ºæç¤ºæ•ˆæžœ - å·²ç§»é™¤èž¢å…‰æ•ˆæžœ */

.news-card .card { height: 100% !important; display: flex !important; flex-direction: column !important; min-height: 380px; }
.news-image { 
    aspect-ratio: 1/1; 
    width: 100%; 
    height: auto; 
    border-bottom: 1px solid var(--border); 
    background-size: cover; 
    background-position: center; 
}
/* 強化閱讀更多 CTA 按鈕效果 */
.news-more .btn-small {
    position: relative;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(147, 51, 234, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(56, 178, 172, 0.3);
    backdrop-filter: blur(5px);
}

.news-more .btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.news-more .btn-small::after {
    content: '👁️';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.news-more .btn-small:hover {
    background: linear-gradient(135deg, rgba(56, 178, 172, 1), rgba(147, 51, 234, 1));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(56, 178, 172, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
    padding-right: 2.5rem;
}

.news-more .btn-small:hover::before {
    left: 100%;
}

.news-more .btn-small:hover::after {
    opacity: 1;
    right: 0.5rem;
}

.news-more .btn-small:active {
    transform: translateY(-1px) scale(1.02);
}

/* 添加脈衝動畫吸引注意 */
@keyframes cta-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(56, 178, 172, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(56, 178, 172, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(56, 178, 172, 0.3);
    }
}

.news-more .btn-small {
    animation: cta-pulse 2s ease-in-out infinite;
}

.news-more .btn-small:hover {
    animation: none;
}
.news-meta { padding: .75rem 1rem 1rem; display: flex !important; flex-direction: column; gap: .5rem; flex: 1; position: relative; height: var(--news-meta-h, 220px) !important; overflow: hidden; }
.news-date { font-size: var(--font-size-xs); color: var(--muted-foreground); }
.news-title { font-weight: 700; color: var(--foreground); line-height: 1.35; }
.news-excerpt { 
    color: var(--muted-foreground); 
    font-size: var(--font-size-sm); 
    line-height: 1.5; 
    overflow: hidden !important; 
    display: -webkit-box !important; 
    -webkit-line-clamp: 4 !important; 
    line-clamp: 4 !important;
    -webkit-box-orient: vertical !important; 
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%) !important; 
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%) !important; 
    position: relative; 
}
.news-more { margin-top: auto; }

/* åŸºç¤Žnavæ¨£å¼å·²åœ¨ä¸Šæ–¹å®šç¾© */

.news-nav button { 
    pointer-events: all; 
    position: static;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(147, 51, 234, 0.9)); 
    color: white; 
    border: 2px solid rgba(255,255,255,.3); 
    width: 3rem; 
    height: 3rem; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.3s ease; 
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.news-nav button:hover { 
    background: linear-gradient(135deg, rgba(56, 178, 172, 1), rgba(147, 51, 234, 1)); 
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

.news-nav button:active {
    transform: scale(0.95);
}

/* æŒ‰éˆ•ç¾åœ¨ç"±flexå®¹å™¨è‡ªå‹•å®šä½ */

.news-prev:disabled,
.news-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.news-prev:disabled:hover,
.news-next:disabled:hover {
    transform: none;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(147, 51, 234, 0.9));
}

/* Enhanced Game Introduction Section */
.game-intro-content-enhanced {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-hero {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.intro-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.intro-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-svg {
    width: 40px;
    height: 40px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.intro-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 1rem 0;
    text-shadow: none !important;
    position: relative;
    z-index: 1;
}

.intro-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.intro-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--cyber-dark) 0%, var(--cyber-darker) 100%);
    border: 1px solid hsla(195, 100%, 50%, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-blue);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 240, 255, 0.5));
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 240, 255, 0.3));
    transition: all 0.3s ease;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin: 0 0 1rem 0;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.feature-desc {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.intro-target {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.target-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.target-icon {
    font-size: 1.5rem;
}

.target-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.target-tag {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.target-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.intro-cta-enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.cta-icon {
    font-size: 1.25rem;
}

.cta-text {
    font-weight: 500;
}

.intro-cta-enhanced .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-cta-enhanced .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.intro-cta-enhanced .btn:hover::before {
    left: 100%;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.intro-cta-enhanced .btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.offer-card {
    background: var(--card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.offer-card.primary::before {
    background: var(--primary);
}

.offer-card.secondary::before {
    background: var(--accent);
}

.offer-card.accent::before {
    background: var(--accent);
}

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

.offer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.offer-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.offer-highlight {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

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

.faq-item {
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--accent);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    flex: 1;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(59, 130, 246, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

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

/* Gaming Section */
.gaming-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.gaming-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(56, 178, 172, 0.1) 100px
    );
    pointer-events: none;
    animation: matrix-rain 14s linear infinite;
    z-index: 0;
}

/* News Grid for News Page */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card.featured-news {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 100%);
    border: 2px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.news-card.featured-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.news-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-date {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

.news-category {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-cta {
    text-align: right;
}

/* News Modal (iframe) */
.news-modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); display: none; align-items: center; justify-content: center; z-index: 10000; }
.news-modal.open { display: flex; }
.news-dialog { 
    width: min(95vw, 1200px); 
    height: min(90vh, 800px); 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-large); 
    overflow: hidden; 
    display: grid; 
    grid-template-rows: auto 1fr auto;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
}

/* éº»å°‡èƒ¡äº†è©¦çŽ© Modal */
.mahjong-modal { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,.75); 
    display: none; 
    align-items: center; 
    justify-content: center; 
    z-index: 10001; 
    backdrop-filter: blur(5px);
}

.mahjong-modal.open { 
    display: flex; 
    animation: fadeIn 0.3s ease-out;
}

.mahjong-dialog { 
    width: 90vw; 
    height: 90vh; 
    background: var(--card); 
    border: 2px solid var(--neon-cyan); 
    border-radius: var(--radius-large); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 25px 60px rgba(0,0,0,.6), 0 0 30px rgba(56, 178, 172, 0.3); 
    position: relative;
}

.mahjong-dialog-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 1rem 1.5rem; 
    border-bottom: 1px solid var(--border); 
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(147, 51, 234, 0.1)); 
    position: relative;
}

.mahjong-dialog-title { 
    font-weight: 700; 
    color: var(--foreground); 
    font-size: var(--font-size-lg); 
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mahjong-dialog-close { 
    background: linear-gradient(135deg, #ff4444, #cc3333); 
    color: white; 
    width: 2.5rem; 
    height: 2.5rem; 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: 2px solid #ff4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.mahjong-dialog-close:hover { 
    background: linear-gradient(135deg, #cc3333, #aa2222); 
    border-color: #cc3333;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.mahjong-dialog-content { 
    flex: 1; 
    overflow: hidden; 
    position: relative;
}

.mahjong-iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
    background: var(--background);
}

.mahjong-dialog-footer { 
    padding: 1.5rem; 
    border-top: 1px solid var(--border); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.05), rgba(147, 51, 234, 0.05));
    position: relative;
}

.mahjong-register-btn { 
    background: linear-gradient(135deg, #dc2626, #ef4444); 
    color: white; 
    padding: 1rem 2rem; 
    border-radius: var(--radius-lg); 
    font-weight: 700; 
    font-size: var(--font-size-lg); 
    border: 2px solid #dc2626; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    animation: pulse-scale 2s ease-in-out infinite;
}

.mahjong-register-btn:hover { 
    background: linear-gradient(135deg, #b91c1c, #dc2626); 
    border-color: #b91c1c; 
    transform: scale(1.05); 
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    color: white;
    text-decoration: none;
}

.mahjong-register-btn:active { 
    transform: scale(0.98); 
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.news-dialog-header { display:flex; align-items:center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom:1px solid var(--border); background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(147, 51, 234, 0.1)); grid-column: 1 / -1; }
.news-dialog-title { font-weight: 700; color: var(--foreground); font-size: var(--font-size-lg); }
.news-dialog-close { background: none; color: var(--muted-foreground); width: 2rem; height: 2rem; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
.news-dialog-close:hover { background: rgba(255,255,255,0.1); color: var(--foreground); }
.news-dialog-content { 
    overflow-y: auto; 
    padding: 0; 
    display: grid; 
    grid-template-columns: 45% 55%; 
    height: 100%;
    min-height: 0;
}
.news-dialog-footer { 
    padding: 1.5rem; 
    border-top: 1px solid var(--border); 
    display: flex; 
    justify-content: center; 
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.05), rgba(147, 51, 234, 0.05));
    backdrop-filter: blur(5px);
}

.news-dialog-footer .btn-primary {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(147, 51, 234, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(56, 178, 172, 0.3);
    position: relative;
    overflow: hidden;
}

.news-dialog-footer .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.news-dialog-footer .btn-primary:hover::before {
    left: 100%;
}

.news-dialog-footer .btn-primary:hover {
    background: linear-gradient(135deg, rgba(56, 178, 172, 1), rgba(147, 51, 234, 1));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
}

/* æ–°èžè©³æƒ…å…§å®¹æ¨£å¼ */
.news-detail-content {
    padding: 0;
    height: 100%;
    display: contents;
}

.news-detail-header {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--cyber-dark), var(--background));
}

.news-detail-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--cyber-dark), var(--background));
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-detail-image:hover img {
    transform: scale(1.05);
}

.news-detail-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem;
    z-index: 2;
}

.news-detail-date {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-detail-title {
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.news-detail-body {
    padding: 2rem;
    overflow-y: auto;
    line-height: 1.7;
    font-size: 1rem;
    background: linear-gradient(145deg, var(--card), rgba(255, 255, 255, 0.02));
    border-left: 1px solid rgba(56, 178, 172, 0.2);
    position: relative;
}

.news-detail-body p {
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.news-detail-body strong {
    color: var(--foreground);
    font-weight: 600;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-detail-body h3 {
    color: var(--neon-cyan);
    font-size: var(--font-size-xl);
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
    border-left: 4px solid var(--neon-cyan);
    padding-left: 1rem;
}

.news-detail-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.news-detail-body li {
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
    position: relative;
    padding-left: 1.5rem;
    list-style: none;
}

.news-detail-body li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--neon-cyan), rgba(56, 178, 172, 0.8));
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.5rem;
    box-shadow: 0 0 10px rgba(56, 178, 172, 0.6);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px rgba(56, 178, 172, 0.6);
    }
    100% {
        box-shadow: 0 0 15px rgba(56, 178, 172, 0.8);
    }
}

.activity-details,
.game-features,
.live-features {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.08), rgba(147, 51, 234, 0.08));
    border: 2px solid rgba(56, 178, 172, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.activity-details::before,
.game-features::before,
.live-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    animation: scan-line 3s linear infinite;
}

.activity-details h3,
.game-features h3,
.live-features h3 {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promotion-card {
    text-align: center;
    padding: 2rem;
}

.promotion-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.promotion-icon.icon-crown {
    background: hsla(50, 100%, 60%, 0.2);
    color: var(--neon-yellow);
}

.promotion-icon.icon-gift {
    background: hsla(330, 100%, 70%, 0.2);
    color: var(--neon-pink);
}

.promotion-icon.icon-star {
    background: hsla(270, 100%, 70%, 0.2);
    color: var(--neon-purple);
}

.promotion-icon svg {
    width: 2rem;
    height: 2rem;
}

.promotion-title {
    font-size: var(--font-size-xl);
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.promotion-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Promotions Carousel Styles */
.promotions-carousel {
    position: relative;
    width: 100%;
}

.promotions-nav {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    z-index: 1000;
    pointer-events: none;
    height: 0;
}

.promotions-nav-btn {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.9), rgba(147, 51, 234, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
    pointer-events: all;
    color: white;
}

.promotions-nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.promotions-nav-btn:hover {
    background: linear-gradient(135deg, rgba(56, 178, 172, 1), rgba(147, 51, 234, 1));
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(56, 178, 172, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.promotions-nav-btn:hover svg {
    transform: scale(1.1);
}

.promotions-prev {
    margin-left: 1rem;
}

.promotions-next {
    margin-right: 1rem;
}

.promotions-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.promotions-viewport::-webkit-scrollbar {
    display: none;
}

.promotions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    transition: transform 0.3s ease;
}

/* Promotion CTA Button Styles */
.btn-promotion-cta {
    background: linear-gradient(135deg, 
        rgba(56, 178, 172, 0.9) 0%, 
        rgba(147, 51, 234, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.btn-promotion-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-promotion-cta:hover::before {
    left: 100%;
}

.btn-promotion-cta:hover {
    background: linear-gradient(135deg, 
        rgba(56, 178, 172, 1) 0%, 
        rgba(147, 51, 234, 1) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(56, 178, 172, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-promotion-cta:active {
    transform: translateY(-1px) scale(1.01);
    transition: transform 0.1s ease;
}

.promotion-cta-icon {
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.promotion-cta-arrow {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.btn-promotion-cta:hover .promotion-cta-icon {
    transform: rotate(180deg) scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5));
}

.btn-promotion-cta:hover .promotion-cta-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* Color variations */
.promotion-cta-neon-yellow {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.9) 0%, 
        rgba(255, 154, 0, 0.9) 100%);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: rgba(139, 69, 19, 0.9);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.promotion-cta-neon-yellow:hover {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 1) 0%, 
        rgba(255, 154, 0, 1) 100%);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.6);
}

.promotion-cta-neon-pink {
    background: linear-gradient(135deg, 
        rgba(255, 20, 147, 0.9) 0%, 
        rgba(255, 105, 180, 0.9) 100%);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.promotion-cta-neon-pink:hover {
    background: linear-gradient(135deg, 
        rgba(255, 20, 147, 1) 0%, 
        rgba(255, 105, 180, 1) 100%);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.6);
}

.promotion-cta-neon-purple {
    background: linear-gradient(135deg, 
        rgba(147, 51, 234, 0.9) 0%, 
        rgba(168, 85, 247, 0.9) 100%);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.promotion-cta-neon-purple:hover {
    background: linear-gradient(135deg, 
        rgba(147, 51, 234, 1) 0%, 
        rgba(168, 85, 247, 1) 100%);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.6);
}

/* CTA Button Pulse Animation */
@keyframes promotion-cta-pulse {
    0%, 100% { 
        box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(56, 178, 172, 0.6);
    }
}

.btn-promotion-cta {
    animation: promotion-cta-pulse 3s ease-in-out infinite;
}

.btn-promotion-cta:hover,
.btn-promotion-cta:focus {
    animation: none;
}

/* Focus state for accessibility */
.btn-promotion-cta:focus {
    outline: 3px solid rgba(56, 178, 172, 0.6);
    outline-offset: 2px;
}

/* Loading state */
.btn-promotion-cta.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-promotion-cta.loading .promotion-cta-icon {
    animation: spin 1s linear infinite;
}

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

/* Features Section */
.features-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* çŸ©é™£é›¨èƒŒæ™¯æ•ˆæžœ */
.features-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(56, 178, 172, 0.1) 100px
    );
    pointer-events: none;
    animation: matrix-rain 15s linear infinite;
    z-index: 0;
}

/* Removed duplicate .features-grid rule - using the one at line 986 */

.feature {
    text-align: center;
    background: linear-gradient(135deg, var(--cyber-dark) 0%, var(--cyber-darker) 100%);
    border: 2px solid hsla(195, 100%, 50%, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
    animation: scan-line 2s linear infinite;
}

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 240, 255, 0.2);
    border-color: var(--neon-blue);
}

.feature-icon {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 240, 255, 0.4));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: icon-pulse 3s ease-in-out infinite;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature:nth-child(1) .feature-icon {
    color: var(--neon-green);
}

.feature:nth-child(2) .feature-icon {
    color: var(--neon-blue);
}

.feature:nth-child(3) .feature-icon {
    color: var(--neon-pink);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin: 0 0 1.5rem 0;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: var(--font-size-base);
    opacity: 0.9;
}

/* Footer */
#footer {
    background: var(--cyber-darker);
    padding: 3rem 0;
    border-top: 1px solid hsla(195, 100%, 50%, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* çŸ©é™£é›¨èƒŒæ™¯æ•ˆæžœ */
#footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(56, 178, 172, 0.1) 100px
    );
    pointer-events: none;
    animation: matrix-rain 18s linear infinite;
    z-index: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--neon-blue));
}

.footer-logo-text {
    font-size: var(--font-size-2xl);
    font-weight: bold;
    color: var(--neon-blue);
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.footer-copyright {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
    position: relative;
    z-index: 10;
}

/* Customer Service */
#customer-service {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-customer-service);
    transition: all 0.3s ease;
}

/* ç¢ºä¿å®¢æœæµ®çª—æ°¸é åœ¨æœ€é«˜å±¤ç´š */
#customer-service, 
#customer-service .customer-service-button,
#customer-service .customer-service-bubble {
    z-index: 10000 !important;
}

/* ç•¶ Cookie çª—å£é¡¯ç¤ºæ™‚ï¼Œèª¿æ•´å®¢æœæµ®çª—ä½ç½® - è·é›¢Cookieçª—å£ä¸Šæ–¹20px */
#customer-service.cookie-active {
    bottom: calc(var(--cookie-height, 5rem) + 20px);
}

.customer-service-button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(195,42%,30%), hsl(182,38%,32%));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    cursor: pointer;
    transition: all var(--duration-normal) ease;
    position: relative;
    border: none;
    z-index: var(--z-customer-service);
}

.customer-service-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.28); }

.customer-service-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.customer-service-bubble {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: #0f172a;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5), 0 0 20px rgba(8, 145, 178, 0.4), inset 0 1px 0 rgba(255,255,255,0.9);
    animation: bubble-bounce 2s ease-in-out infinite;
    margin-bottom: 0.5rem;
    max-width: 250px;
    z-index: 10;
    border: 3px solid #0891b2;
    text-shadow: 0 1px 3px rgba(255,255,255,0.9);
    letter-spacing: 0.3px;
}

.customer-service-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 1rem;
    border: 8px solid transparent;
    border-top-color: #0891b2;
    z-index: 1;
}

.customer-service-bubble::before {
    content: '';
    position: absolute;
    top: 100%;
    right: calc(1rem + 2px);
    border: 6px solid transparent;
    border-top-color: #ffffff;
    z-index: 2;
}

.customer-service-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4444, #cc3333);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.customer-service-close:hover {
    background: linear-gradient(135deg, #cc3333, #aa2222);
    transform: scale(1.1);
}

@keyframes bubble-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Cookie Consent */
#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-cookie-consent);
    background: var(--cyber-dark);
    border-top: 2px solid var(--neon-blue);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform var(--duration-normal) ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

#cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    font-size: var(--font-size-base);
    color: var(--foreground);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    background: var(--neon-green);
    color: var(--cyber-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) ease;
}

.cookie-accept:hover {
    background: var(--neon-cyan);
    transform: scale(1.05);
}

.cookie-decline {
    background: transparent;
    color: var(--muted-foreground);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--duration-normal) ease;
}

.cookie-decline:hover {
    color: var(--foreground);
    border-color: var(--neon-blue);
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: var(--z-back-to-top);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsl(270, 45%, 45%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0);
    transition: all var(--duration-normal) ease;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

#back-to-top.show {
    opacity: 1;
    transform: scale(1);
}

#back-to-top:hover { background: hsl(270, 42%, 50%); }

.back-to-top-icon {
    width: 1.25rem;
    height: 1.25rem;
} 

/* ========== Section Reveal Animations (UIUX) ========== */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].animate-in { opacity: 1; transform: none; }

/* Slide in left */
.slide-left { transform: translateX(-40px); }
.slide-left.animate-in { transform: translateX(0); }

/* Slide in top */
.slide-top { transform: translateY(-40px); }
.slide-top.animate-in { transform: translateY(0); }

/* Curtain open */
.curtain { -webkit-mask-image: linear-gradient(#0000, #0000); mask-image: linear-gradient(#0000, #0000); }
.curtain.animate-in { -webkit-mask-image: none; mask-image: none; transition: mask-image .6s ease; }

/* Letter by letter (fade up small) */
.letter-reveal .section-description { opacity: .6; }
.letter-reveal.animate-in .section-description { opacity: 1; transition: opacity .6s ease .1s; }

/* Typewriter */
.typewriter { 
    overflow: hidden; white-space: nowrap; border-right: 2px solid var(--neon-cyan);
    width: var(--tw-ch, 26ch);
    animation: typing 3s steps(26), caret .8s step-end infinite;
}

@keyframes typing { from { width: 0; } to { width: var(--tw-ch, 26ch); } }
@keyframes caret { 50% { border-color: transparent; } }

/* Gaming Special Effects */
@keyframes neon-pulse {
    0% {
        filter: drop-shadow(0 0 5px rgba(56, 178, 172, 0.8)) drop-shadow(0 0 15px rgba(147, 51, 234, 0.6));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(56, 178, 172, 1)) drop-shadow(0 0 25px rgba(147, 51, 234, 0.8));
        transform: scale(1.01);
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(56, 178, 172, 0.8)) drop-shadow(0 0 15px rgba(147, 51, 234, 0.6));
        transform: scale(1);
    }
}

@keyframes glitch-text {
    0%, 98% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    1% {
        transform: translate(-2px, 1px);
        filter: hue-rotate(90deg);
    }
    2% {
        transform: translate(2px, -1px);
        filter: hue-rotate(180deg);
    }
    3% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

@keyframes hologram-flicker {
    0%, 100% {
        opacity: 1;
        filter: brightness(1) contrast(1);
    }
    2% {
        opacity: 0.8;
        filter: brightness(1.2) contrast(1.1);
    }
    4% {
        opacity: 1;
        filter: brightness(0.9) contrast(1);
    }
    8% {
        opacity: 0.9;
        filter: brightness(1.1) contrast(1.05);
    }
    10% {
        opacity: 1;
        filter: brightness(1) contrast(1);
    }
}

@keyframes electric-border {
    0% {
        box-shadow: 0 0 5px rgba(56, 178, 172, 0.5), 0 0 10px rgba(56, 178, 172, 0.3), inset 0 0 10px rgba(56, 178, 172, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(56, 178, 172, 0.8), 0 0 20px rgba(56, 178, 172, 0.5), inset 0 0 15px rgba(56, 178, 172, 0.2);
    }
    100% {
        box-shadow: 0 0 5px rgba(56, 178, 172, 0.5), 0 0 10px rgba(56, 178, 172, 0.3), inset 0 0 10px rgba(56, 178, 172, 0.1);
    }
}

@keyframes matrix-rain {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes scan-line {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes data-stream {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Interactive Gaming Effects */
.mouse-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--neon-cyan), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: trail-fade 1s linear forwards;
}

.sound-wave {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: wave-expand 0.6s ease-out forwards;
}

.floating-particle {
    position: absolute;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 0 5px currentColor);
}

.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(56, 178, 172, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-glow.enhanced {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(56, 178, 172, 0.5), rgba(147, 51, 234, 0.3), transparent);
}

@keyframes trail-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

@keyframes wave-expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========== éŠæˆ²IFRAMEç®¡ç†å™¨æ¨£å¼ ========== */

/* éŠæˆ²æ¨¡æ…‹æ¡† */
.game-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.game-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.game-dialog {
    width: 90vw;
    height: 90vh;
    background: var(--card);
    border: 2px solid var(--neon-cyan);
    border-radius: var(--radius-large);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 178, 172, 0.3);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.game-modal:not(.hidden) .game-dialog {
    transform: scale(1);
}

.game-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(147, 51, 234, 0.1));
    position: relative;
}

.game-dialog-title {
    font-weight: 700;
    color: var(--foreground);
    font-size: var(--font-size-lg);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.game-dialog-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.game-countdown {
    font-size: var(--font-size-sm);
    color: var(--neon-cyan);
    font-weight: 600;
    background: rgba(56, 178, 172, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(56, 178, 172, 0.3);
    min-width: 60px;
    text-align: center;
}

.game-dialog-close {
    background: linear-gradient(135deg, #ff4444, #cc3333);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ff4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    opacity: 0;
    visibility: hidden;
}

.game-dialog-close:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.game-dialog-close:hover {
    background: linear-gradient(135deg, #cc3333, #aa2222);
    border-color: #cc3333;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.game-dialog-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--background);
}

.game-dialog-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.05), rgba(147, 51, 234, 0.05));
    position: relative;
}

.game-register-btn {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--font-size-lg);
    border: 2px solid #dc2626;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    animation: pulse-scale 2s ease-in-out infinite;
}

.game-register-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    border-color: #b91c1c;
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    color: white;
    text-decoration: none;
}

.game-register-btn:active {
    transform: scale(0.98);
}

/* å»£å'Šå½ˆçª— */
.ad-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10003;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ad-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.ad-dialog {
    width: min(90vw, 500px);
    background: linear-gradient(135deg, var(--card), rgba(56, 178, 172, 0.05));
    border: 2px solid var(--neon-cyan);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 178, 172, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.ad-modal:not(.hidden) .ad-dialog {
    transform: scale(1);
}

.ad-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.15), rgba(147, 51, 234, 0.15));
    position: relative;
}

.ad-dialog-title {
    font-weight: 700;
    color: var(--foreground);
    font-size: var(--font-size-xl);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.ad-dialog-close {
    background: linear-gradient(135deg, #ff4444, #cc3333);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ff4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    opacity: 1;
    visibility: visible;
}

.ad-dialog-close.hidden {
    opacity: 0;
    visibility: hidden;
}

.ad-dialog-close:hover {
    background: linear-gradient(135deg, #cc3333, #aa2222);
    border-color: #cc3333;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.ad-dialog-content {
    padding: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.05), rgba(147, 51, 234, 0.05));
    border-radius: var(--radius-lg);
    margin: 1rem;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.ad-icon {
    font-size: 4rem;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.ad-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--foreground);
    margin: 0;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.ad-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.ad-description-line {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin: 0.5rem 0;
    font-size: var(--font-size-base);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ad-description-line:first-child {
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: var(--font-size-lg);
    text-shadow: 0 0 8px rgba(56, 178, 172, 0.3);
}

.ad-description-line:last-child {
    color: var(--muted-foreground);
    font-style: italic;
    opacity: 0.9;
}

.ad-countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.1));
    border-radius: var(--radius-lg);
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.ad-countdown-label {
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
}

.ad-countdown {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--neon-red);
    min-width: 40px;
    text-align: center;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.ad-countdown-unit {
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
}

.ad-claim-btn {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--font-size-lg);
    border: 2px solid #059669;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
    animation: pulse-scale 2s ease-in-out infinite;
    width: 100%;
    justify-content: center;
}

.ad-claim-btn:hover {
    background: linear-gradient(135deg, #047857, #059669);
    border-color: #047857;
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(5, 150, 105, 0.6);
    color: white;
    text-decoration: none;
}

.ad-claim-btn:active {
    transform: scale(0.98);
}

.ad-dialog-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.05), rgba(147, 51, 234, 0.05));
}

.ad-register-btn {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-xl);
    font-weight: 800;
    font-size: var(--font-size-lg);
    border: 3px solid #dc2626;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    animation: pulse-scale 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ad-register-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    border-color: #b91c1c;
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    color: white;
    text-decoration: none;
}

.ad-register-btn:active {
    transform: scale(0.98);
}

/* éŸ¿æ‡‰å¼è¨­è¨ˆ */
@media (max-width: 768px) {
    .game-dialog {
        width: 95vw;
        height: 95vh;
    }
    
    .game-dialog-header {
        padding: 0.75rem 1rem;
    }
    
    .game-dialog-title {
        font-size: var(--font-size-base);
    }
    
    .game-dialog-close {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .game-dialog-footer {
        padding: 1rem;
    }
    
    .game-register-btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-base);
    }
    
    .ad-dialog {
        width: 95vw;
        margin: 1rem;
    }
    
    .ad-dialog-header {
        padding: 1rem;
    }
    
    .ad-dialog-title {
        font-size: var(--font-size-lg);
    }
    
    .ad-dialog-close {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
    
    .ad-dialog-content {
        padding: 1.5rem;
    }
    
    .ad-icon {
        font-size: 2.5rem;
    }
    
    .ad-title {
        font-size: var(--font-size-lg);
    }
    
    .ad-countdown {
        font-size: var(--font-size-xl);
    }
    
    .ad-dialog-footer {
        padding: 1rem;
    }
    
    .ad-register-btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-base);
    }
}

/* éš±è—é¡ž */
.hidden {
    display: none !important;
}

/* Hero Image Background */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.gaming-hero .container {
    position: relative;
    z-index: 3;
}

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

/* Enhanced Hero Title with Glow Effect */
.gaming-hero .hero-title {
    position: relative;
    display: block;
    margin-top: 1rem;
}

/* 移除未使用的樣式，提高效能和可維護性 */

/* Enhanced Hero Subtitle */
.gaming-hero .hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.gaming-hero .subtitle-text {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gaming-hero .subtitle-separator {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255,215,0,0.8);
    animation: separator-pulse 2s ease-in-out infinite;
}

@keyframes separator-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Enhanced Description Lines */
.gaming-hero .description-line {
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
    margin: 0.75rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    transition: all 0.3s ease;
}

.gaming-hero .description-line:hover {
    transform: translateX(10px);
    text-shadow: 0 4px 8px rgba(0,0,0,0.8);
}

.gaming-hero .highlight-line {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 15px rgba(255,215,0,0.6);
    animation: highlight-glow 2s ease-in-out infinite alternate;
}

@keyframes highlight-glow {
    0% { text-shadow: 0 0 15px rgba(255,215,0,0.6); }
    100% { text-shadow: 0 0 25px rgba(255,215,0,0.8), 0 0 35px rgba(255,215,0,0.4); }
}

.gaming-hero .bonus-line {
    color: #ff6b6b;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.gaming-hero .bonus-line strong {
    color: #ffd700;
    -webkit-text-fill-color: #ffd700;
    text-shadow: 0 0 10px rgba(255,215,0,0.8);
}

/* Enhanced Hero Actions */
.gaming-hero .hero-actions {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.gaming-hero .btn {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gaming-hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.gaming-hero .btn-glow {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255,107,107,0.4);
}

.gaming-hero .btn-glow:hover {
    box-shadow: 0 0 30px rgba(255,107,107,0.6);
}

.gaming-hero .btn-pulse {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-color: #4ecdc4;
    animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(78,205,196,0.4); }
    50% { box-shadow: 0 0 30px rgba(78,205,196,0.6); }
}

.gaming-hero .btn-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.gaming-hero .btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gaming-hero .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.gaming-hero .btn:hover .btn-shine {
    left: 100%;
}

.gaming-hero .btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gaming-hero .btn-particles::before,
.gaming-hero .btn-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    animation: particle-float 3s ease-in-out infinite;
}

.gaming-hero .btn-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.gaming-hero .btn-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
    50% { transform: translateY(-10px) scale(1.2); opacity: 1; }
}

/* Enhanced Hero Alert */
.gaming-hero .hero-alert {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,193,7,0.15) 0%, rgba(255,193,7,0.08) 100%);
    border: 2px solid rgba(255,193,7,0.4);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(255,193,7,0.2);
}

.gaming-hero .alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gaming-hero .pulse-icon {
    font-size: 1.5rem;
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.gaming-hero .alert-text {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.gaming-hero .alert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
}

.gaming-hero .alert-link:hover {
    background: rgba(255,215,0,0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
}

.gaming-hero .link-text {
    text-shadow: 0 0 10px rgba(255,215,0,0.6);
}

.gaming-hero .link-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.gaming-hero .alert-link:hover .link-arrow {
    transform: translateX(3px);
}

.gaming-hero .cyber-badge {
    background: linear-gradient(135deg, rgba(13,110,253,0.9) 0%, rgba(75,85,99,0.9) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: block;
    margin-bottom: 1rem;
}

/* Hero Alert */
.hero-alert {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255,193,7,0.15) 0%, rgba(255,193,7,0.08) 100%);
    border: 1px solid rgba(255,193,7,0.4);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--font-size-sm);
    color: var(--color-text);
}

.alert-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.alert-content a:hover {
    text-decoration: underline;
}

.icon-bell {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-warning);
    flex-shrink: 0;
}

/* Section Alert */
.section-alert {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(13,110,253,0.1) 0%, rgba(13,110,253,0.05) 100%);
    border: 1px solid rgba(13,110,253,0.2);
    border-radius: var(--border-radius-md);
}

.section-alert p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text);
}

.section-alert a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.section-alert a:hover {
    text-decoration: underline;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    /* 基本標題樣式 */
    .hero-title {
        font-size: var(--font-size-6xl);
    }
    
    .hero-description {
        font-size: var(--font-size-xl);
    }
    
    /* 英雄區描述 */
    .hero-description-enhanced {
        margin: 0 auto 2rem;
        max-width: 700px;
    }
    
    .hero-description-enhanced .description-line.highlight {
        font-size: var(--font-size-xl);
        background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 0 0 30px rgba(56, 178, 172, 0.4);
        animation: neon-pulse 4s ease-in-out infinite;
    }
    
    .hero-description-enhanced .description-line.accent {
        font-size: var(--font-size-lg);
        padding: 0.75rem;
        color: var(--neon-green);
        font-weight: 600;
    }
    
    .hero-description-enhanced .description-line.action {
        font-size: var(--font-size-base);
        padding: 0.875rem 1.25rem;
        color: var(--foreground);
    }
    
    /* 遊戲網格 */
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* 麻將胡了遊戲網格 */
    .mahjong-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
    }
    
    .mahjong-game-content {
        padding: 1rem;
    }
    
    .mahjong-game-title {
        font-size: var(--font-size-base);
    }
    
    .mahjong-game-description {
        font-size: var(--font-size-sm);
    }
    
    /* 導航相關 */
    .nav-logo-sub {
        font-size: .7rem;
    }
    
    /* 新聞列表 */
    .news-track { 
        display: grid !important; 
        grid-template-columns: repeat(3, minmax(220px, 1fr)) !important; 
    }
    
    :root { 
        --news-meta-h: 200px; 
    }
    
    /* 其他元素 */
    .game-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-intro-visual {
        position: static;
        order: -1;
    }
    
    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* 基本標題樣式 */
    .hero-title {
        font-size: var(--font-size-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-xl);
    }
    
    /* 英雄區按鈕 */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    /* 英雄區提示框 */
    .hero-alert {
        margin-top: 1.5rem;
        padding: 0.75rem 1rem;
    }
    
    .alert-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* 遊戲英雄區樣式 */
    .gaming-hero .hero-title,
    .hero-banner .hero-title {
        font-size: var(--font-size-8xl); /* 與電腦版保持一致 */
        font-weight: bold;
        background: linear-gradient(135deg, hsl(195,68%,70%), hsl(182,60%,68%), hsl(270,62%,72%));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        display: block;
        margin-top: 1rem;
        /* 移除文字陰影，確保與電腦版一致 */
        text-shadow: none !important;
    }
    
    /* 英雄區副標題 */
    .gaming-hero .hero-subtitle,
    .hero-banner .hero-subtitle {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        font-size: var(--font-size-2xl); /* 與電腦版保持一致 */
        color: var(--muted-foreground);
        margin-bottom: 2rem; /* 與電腦版保持一致 */
        font-weight: 500;
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
        -webkit-text-fill-color: initial;
        text-shadow: none !important;
    }
    
    /* 英雄區副標題文字 - 保持與電腦版一致 */
    .gaming-hero .subtitle-text {
        font-size: var(--font-size-2xl);
        color: var(--muted-foreground);
        font-weight: 500;
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
        -webkit-text-fill-color: initial;
        text-shadow: none !important;
    }
    
    /* 英雄區背景覆蓋 */
    .hero-overlay {
        background: linear-gradient(135deg, 
            rgba(0,0,0,0.7) 0%, 
            rgba(0,0,0,0.5) 50%, 
            rgba(0,0,0,0.8) 100%);
    }
    
    /* 導航相關 */
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .nav-mobile-top-buttons {
        display: flex;
    }
    
    .nav-mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 0.75rem;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 9999 !important;
        width: 3.25rem !important;
        height: 3.25rem !important;
    }
    
    .nav-container {
        position: relative;
        justify-content: space-between;
    }
    
    .nav-logo {
        flex: 1;
        max-width: calc(100% - 6rem);
    }
    
    .nav-logo-sub {
        font-size: .75rem;
        color: var(--neon-cyan);
    }
    
    .nav-mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .nav-mobile-buttons .btn-agent {
        order: -1;
    }
    
    /* 其他元素 */
    .intro-block {
        padding: 1.5rem;
    }
    
    .intro-title {
        font-size: 1.25rem;
    }
    
    .offer-card {
        padding: 2rem 1.5rem;
    }
    
    .offer-title {
        font-size: 1.25rem;
    }
    
    .news-card {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.125rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1rem;
    }
    
    /* 英雄區描述 */
    .gaming-hero .description-line {
        font-size: 1rem;
        margin: 0.5rem 0;
        color: var(--foreground);
        text-shadow: 0 2px 4px rgba(0,0,0,0.7);
        backdrop-filter: blur(2px);
    }
    
    .gaming-hero .highlight-line {
        color: var(--neon-yellow);
        font-weight: 700;
        font-size: 1.1rem;
    }
    
    .gaming-hero .bonus-line {
        color: var(--neon-pink);
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    /* 基本標題樣式 - 保持與電腦版一致 */
    .hero-title {
        font-size: var(--font-size-8xl);
        text-shadow: none !important;
    }
    
    /* 英雄區描述 */
    .hero-description-enhanced .description-line {
        font-size: var(--font-size-sm);
        padding: 0.5rem 1rem;
    }
    
    /* 遊戲英雄區樣式 - 保持與電腦版一致 */
    .gaming-hero .hero-title,
    .hero-banner .hero-title {
        font-size: var(--font-size-8xl);
        font-weight: bold;
        background: linear-gradient(135deg, hsl(195,68%,70%), hsl(182,60%,68%), hsl(270,62%,72%));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        /* 確保與電腦版一致 */
        text-shadow: none !important;
    }
    
    /* 英雄區副標題 - 保持與電腦版一致 */
    .gaming-hero .hero-subtitle,
    .hero-banner .hero-subtitle {
        font-size: var(--font-size-2xl);
        color: var(--muted-foreground);
        margin-bottom: 2rem;
        font-weight: 500;
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
        -webkit-text-fill-color: initial;
        text-shadow: none !important;
    }
    
        /* 英雄區描述 - 保持與電腦版一致 */
    .gaming-hero .hero-description-enhanced .description-line {
        margin-bottom: 1rem;
        line-height: 1.6;
        font-weight: 500;
        letter-spacing: 0.5px;
        font-size: var(--font-size-2xl);
    }

    .gaming-hero .hero-description-enhanced .description-line.highlight {
        background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
        font-size: var(--font-size-2xl);
        text-shadow: none !important;
        animation: neon-pulse 4s ease-in-out infinite;
    }
    
    .gaming-hero .hero-description-enhanced .description-line.accent {
        color: var(--neon-green);
        font-weight: 600;
        font-size: var(--font-size-2xl);
    }
    
    /* 按鈕樣式 */
    .gaming-hero .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* 其他元素 */
    .intro-block {
        padding: 1rem;
    }
    
    .offer-card {
        padding: 1.5rem 1rem;
    }
    
    .news-card {
        padding: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
    }
    
    /* 導航相關 */
    .nav-container {
        padding: 0 1rem;
        height: 3.5rem;
    }
    
    .nav-logo {
        flex: 1;
        max-width: 60%;
    }
    
    .nav-logo-text {
        font-size: var(--font-size-xl);
    }
    
    .nav-mobile-toggle {
        width: 2.75rem !important;
        height: 2.75rem !important;
        padding: 0.5rem !important;
        margin-left: 0.5rem !important;
    }
    
    .nav-mobile-toggle svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
    
    .nav-mobile-menu {
        padding: 1rem;
    }
    
    .nav-mobile-item {
        padding: 1rem;
        font-size: var(--font-size-lg);
        border-radius: var(--radius-lg);
    }
    
    .nav-mobile-buttons {
        gap: 0.75rem;
    }
    
    .nav-mobile-buttons .btn {
        padding: 0.875rem 1rem;
        font-size: var(--font-size-base);
    }
    
    /* 統計數字 */
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 200px;
    }
    
    /* 特色卡片 */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-desc {
        font-size: 0.9rem;
    }
}

/* 極小螢幕優化 - 保持與電腦版一致 */
@media (max-width: 360px) {
    /* 基本標題樣式 - 保持與電腦版一致 */
    .hero-title {
        font-size: var(--font-size-8xl);
        line-height: 1.1;
    }
    
    /* 遊戲英雄區樣式 - 保持與電腦版一致 */
    .gaming-hero .hero-title,
    .hero-banner .hero-title {
        font-size: var(--font-size-8xl);
        font-weight: bold;
        background: linear-gradient(135deg, hsl(195,68%,70%), hsl(182,60%,68%), hsl(270,62%,72%));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        /* 確保與電腦版一致 */
        text-shadow: none !important;
    }
    
    /* 英雄區副標題 - 保持與電腦版一致 */
    .gaming-hero .hero-subtitle,
    .hero-banner .hero-subtitle {
        font-size: var(--font-size-2xl);
        margin-bottom: 2rem;
    }
    
        /* 英雄區描述 - 保持與電腦版一致 */
    .gaming-hero .hero-description-enhanced .description-line {
        margin-bottom: 1rem;
        line-height: 1.6;
        font-weight: 500;
        letter-spacing: 0.5px;
        font-size: var(--font-size-2xl);
    }

    .gaming-hero .hero-description-enhanced .description-line.highlight {
        font-size: var(--font-size-2xl);
    }

    .gaming-hero .hero-description-enhanced .description-line.accent {
        font-size: var(--font-size-2xl);
    }
    
    /* 按鈕樣式 */
    .gaming-hero .btn {
        font-size: 0.8rem;
        padding: 0.625rem 1.25rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        border: 2px solid rgba(255,255,255,0.2);
    }
    
    /* 容器內邊距 */
    .container {
        padding: 0 0.75rem;
        margin: 0 auto;
    }
    
    /* 其他元素 */
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-base);
    }
    
    /* 客服按鈕 */
    .customer-service-button {
        width: 3rem;
        height: 3rem;
    }
    
    .customer-service-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Hero Banner Section 美化 */
.hero-banner {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background) 0%, var(--cyber-dark) 50%, var(--cyber-darker) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(56, 178, 172, 0.1) 100px
    );
    pointer-events: none;
    animation: matrix-rain 16s linear infinite;
    z-index: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* 移除未使用的樣式，提高效能和可維護性 */

.hero-description {
    font-size: 1.5rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-cta .btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-cta .btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta .btn-large:hover::before {
    left: 100%;
}

.hero-cta .btn-large:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(56, 178, 172, 0.4);
}

.hero-cta .btn-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hero-cta .btn-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}


