/*!
Theme Name: TheOne AMC
Theme URI: https://theone.com
Author: TheOne Team
Author URI: https://theone.com
Description: The One 樂旺娛樂城主題 - 黑金科技風專業線上娛樂城 WordPress 主題
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theone-amc
Tags: entertainment, casino, gaming, dark-mode, gold, tech, futuristic
*/

/* ===========================
   1. CSS 變數 (Black Gold Tech Design System)
   =========================== */
:root {
    /* 主色 - 黑金科技風 */
    --color-primary: #1C1917;
    --color-primary-light: #292524;
    --color-primary-dark: #0c0a09;

    /* 金色系 */
    --color-gold: #CA8A04;
    --color-gold-light: #EAB308;
    --color-gold-dark: #A16207;

    /* 背景色 - 深黑科技感 */
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-card: #1a1a1a;
    --color-bg-card-hover: #222222;

    /* 文字色 */
    --color-text: #F5F5F5;
    --color-text-muted: #A1A1AA;
    --color-text-dark: #71717A;

    /* 強調色 */
    --color-accent: var(--color-gold);
    --color-success: #22C55E;
    --color-error: #EF4444;

    /* 漸層 */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #CA8A04 50%, #A16207 100%);
    --gradient-gold-shine: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    --gradient-dark: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
    --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #111111 100%);

    /* Neon Glow Effects */
    --glow-gold: 0 0 10px rgba(202, 138, 4, 0.5), 0 0 20px rgba(202, 138, 4, 0.3), 0 0 30px rgba(202, 138, 4, 0.2);
    --glow-gold-intense: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 30px rgba(202, 138, 4, 0.4), 0 0 50px rgba(202, 138, 4, 0.2);
    --glow-text: 0 0 10px rgba(202, 138, 4, 0.8), 0 0 20px rgba(202, 138, 4, 0.5);

    /* 陰影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);

    /* 字型 - Orbitron (科技風) + Exo 2 (內文) */
    --font-heading: 'Orbitron', 'Noto Sans TC', sans-serif;
    --font-body: 'Exo 2', 'Noto Sans TC', sans-serif;

    /* 間距 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* 圓角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* 過渡 */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;

    /* 邊框 */
    --border-subtle: 1px solid rgba(202, 138, 4, 0.1);
    --border-gold: 1px solid rgba(202, 138, 4, 0.3);
    --border-gold-strong: 1px solid rgba(202, 138, 4, 0.6);
}

/* ===========================
   2. Reset & Base
   =========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Scanline Overlay Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ===========================
   3. Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

.text-gold {
    color: var(--color-gold);
}

.text-glow {
    text-shadow: var(--glow-text);
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===========================
   4. Layout
   =========================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

/* ===========================
   5. Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold-shine);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    border: none;
}

.btn-primary:hover {
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: var(--border-gold);
}

.btn-outline:hover {
    background: rgba(202, 138, 4, 0.1);
    border-color: var(--color-gold);
    box-shadow: var(--glow-gold);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ===========================
   6. Header
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-subtle);
    transition: all var(--transition-normal);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-logo img,
.site-logo .custom-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(202, 138, 4, 0.3));
    transition: filter var(--transition-normal);
}

.site-logo:hover img,
.site-logo:hover .custom-logo {
    filter: drop-shadow(0 0 15px rgba(202, 138, 4, 0.5));
}

.site-logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.site-logo-sub {
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
    }
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: var(--space-sm) 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-normal);
    box-shadow: var(--glow-gold);
}

.main-nav a:hover {
    color: var(--color-gold);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    transition: all var(--transition-fast);
    box-shadow: 0 0 5px rgba(202, 138, 4, 0.5);
}

/* ===========================
   7. Hero Section
   =========================== */
.hero-section {
    position: relative;
    min-height: 600px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* 佔位符樣式 */
.hero-background img[src*="placehold"] {
    object-fit: contain;
    opacity: 0.5;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.98) 0%,
        rgba(10, 10, 10, 0.85) 40%,
        rgba(10, 10, 10, 0.4) 100%
    );
    z-index: 1;
}

/* Gold accent line */
.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
    box-shadow: var(--glow-gold);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding: var(--space-3xl) var(--space-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.hero-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(202, 138, 4, 0.5));
}

.hero-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--gradient-gold);
    color: #000;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    box-shadow: var(--glow-gold);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(202, 138, 4, 0.5));
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--color-text);
}

.hero-feature svg {
    width: 22px;
    height: 22px;
    color: var(--color-gold);
    filter: drop-shadow(0 0 5px rgba(202, 138, 4, 0.5));
    flex-shrink: 0;
}

.hero-cta {
    display: inline-flex;
    gap: var(--space-md);
}

.hero-cta .btn {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* ===========================
   8. Brand Intro Section
   =========================== */
.brand-intro-section {
    background: var(--gradient-dark);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
}

/* Decorative top line */
.brand-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--gradient-gold);
    box-shadow: var(--glow-gold);
}

.brand-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.brand-logo img,
.brand-logo .custom-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(202, 138, 4, 0.4));
}

.brand-logo .site-logo-text {
    align-items: center;
}

.brand-logo .site-logo-main {
    font-size: 1.75rem;
}

.brand-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-lg);
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(202, 138, 4, 0.3));
}

.brand-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.brand-cta .btn {
    padding: 1rem 2.5rem;
}

/* ===========================
   9. Features Section (四大特點)
   =========================== */
.features-section {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.features-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .features-header {
        grid-template-columns: 1fr auto;
    }
}

.features-header-content {
    max-width: 800px;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.section-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.features-header-image {
    display: none;
}

@media (min-width: 1024px) {
    .features-header-image {
        display: block;
        position: relative;
    }

    .features-header-image img {
        max-width: 300px;
        height: auto;
        filter: drop-shadow(0 0 30px rgba(202, 138, 4, 0.3));
        border-radius: var(--radius-lg);
    }

    /* 佔位符樣式 */
    .features-header-image img[src*="placehold"] {
        border: 2px dashed rgba(202, 138, 4, 0.3);
        opacity: 0.7;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: var(--gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(202, 138, 4, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(202, 138, 4, 0.15);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(202, 138, 4, 0.1);
    border: var(--border-gold);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
    filter: drop-shadow(0 0 5px rgba(202, 138, 4, 0.5));
}

.feature-card:hover .feature-icon {
    background: rgba(202, 138, 4, 0.2);
    box-shadow: var(--glow-gold);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    text-transform: none;
}

.feature-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ===========================
   10. Games Section (遊戲分類)
   =========================== */
.games-section {
    background: var(--color-bg-secondary);
    position: relative;
}

.games-header {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
}

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

.games-header .section-description {
    max-width: 800px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.game-card {
    background: var(--color-bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.game-card:hover {
    border-color: rgba(202, 138, 4, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(202, 138, 4, 0.15);
}

.game-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.game-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.6) 100%);
    pointer-events: none;
}

/* 佔位符樣式 */
.game-image img[src*="placehold"] {
    object-fit: contain;
    opacity: 0.6;
}

.game-content {
    padding: var(--space-lg);
}

.game-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    text-transform: none;
    text-shadow: var(--glow-text);
}

.game-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ===========================
   11. Highlights Section (Bento Grid)
   =========================== */
.highlights-section {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(202, 138, 4, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.highlights-header {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
}

/* Bento Grid Layout */
.highlights-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .highlights-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }

    /* 讓第一和第四個卡片稍大 */
    .highlight-card-1,
    .highlight-card-4 {
        grid-row: span 1;
    }
}

@media (min-width: 1024px) {
    .highlights-bento {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }
}

.highlight-card {
    position: relative;
    background: var(--gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.highlight-card:hover {
    border-color: rgba(202, 138, 4, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(202, 138, 4, 0.15);
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-glow {
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(202, 138, 4, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.highlight-card:hover .highlight-glow {
    opacity: 1;
}

.highlight-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(202, 138, 4, 0.1);
    border: var(--border-gold);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
}

.highlight-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-gold);
    filter: drop-shadow(0 0 8px rgba(202, 138, 4, 0.5));
}

.highlight-card:hover .highlight-icon {
    background: rgba(202, 138, 4, 0.2);
    box-shadow: var(--glow-gold);
    transform: scale(1.05);
}

.highlight-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.highlight-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    text-transform: none;
    transition: color var(--transition-fast);
}

.highlight-card:hover .highlight-title {
    color: var(--color-gold);
}

.highlight-description {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* ===========================
   12. CTA Register Section
   =========================== */
.cta-register-section {
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.cta-register-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-register-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-register-content {
    max-width: 600px;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.cta-description {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.cta-actions .btn {
    gap: var(--space-sm);
}

.cta-actions .btn svg {
    transition: transform var(--transition-fast);
}

.cta-actions .btn:hover svg {
    transform: translateX(4px);
}

.cta-register-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-register-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition-normal);
}

.cta-register-image:hover img {
    transform: scale(1.02) translateY(-5px);
}

/* 佔位符樣式 */
.cta-register-image img[src*="placehold"] {
    opacity: 0.6;
    border: 2px dashed rgba(202, 138, 4, 0.3);
}

.cta-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(202, 138, 4, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 1023px) {
    .cta-register-content {
        text-align: center;
        margin: 0 auto;
    }

    .cta-actions {
        display: flex;
        justify-content: center;
    }

    .cta-register-image {
        order: -1;
    }
}

/* ===========================
   13. CTA Contact Section
   =========================== */
.cta-contact-section {
    position: relative;
    padding: var(--space-3xl) 0;
    text-align: center;
    overflow: hidden;
}

.cta-contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 0;
}

.cta-contact-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(202, 138, 4, 0.3), transparent);
}

.cta-contact-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(202, 138, 4, 0.3), transparent);
}

.cta-contact-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-contact-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.cta-contact-description {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.cta-contact-actions .btn {
    min-width: 180px;
}

/* ===========================
   14. Cards
   =========================== */
.card {
    background: var(--gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.card:hover {
    border-color: rgba(202, 138, 4, 0.3);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(202, 138, 4, 0.1);
    transform: translateY(-4px);
}

/* ===========================
   10. Footer
   =========================== */
.site-footer {
    background: var(--color-bg-secondary);
    border-top: var(--border-gold);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: var(--border-subtle);
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 2fr 1fr;
        gap: var(--space-2xl);
    }
}

/* Footer Brand */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-logo img,
.footer-logo .custom-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(202, 138, 4, 0.3));
}

.footer-logo .site-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo .site-logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-logo .site-logo-sub {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.footer-description {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* Footer Titles */
.footer-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    text-transform: none;
    letter-spacing: 0;
}

/* Social Links */
.footer-social {
    min-width: 160px;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.social-link:hover {
    color: var(--color-text);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Social Platform Colors */
.social-facebook .social-icon {
    background: #1877F2;
    color: white;
}

.social-facebook:hover .social-icon {
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
}

.social-instagram .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-instagram:hover .social-icon {
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}

.social-line .social-icon {
    background: #06C755;
    color: white;
}

.social-line:hover .social-icon {
    box-shadow: 0 0 15px rgba(6, 199, 85, 0.5);
}

/* App Download Links */
.footer-apps {
    min-width: 140px;
}

.app-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.app-link:hover {
    color: var(--color-gold);
}

.app-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(202, 138, 4, 0.15);
    border: 1px solid rgba(202, 138, 4, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    transition: all var(--transition-fast);
}

.app-icon svg {
    width: 18px;
    height: 18px;
}

.app-link:hover .app-icon {
    background: rgba(202, 138, 4, 0.25);
    box-shadow: var(--glow-gold);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-copyright {
    color: var(--color-text-dark);
    font-size: 0.8125rem;
}

/* Footer Responsive */
@media (max-width: 767px) {
    .footer-main {
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-logo .site-logo-text {
        align-items: center;
    }

    .social-list,
    .app-list {
        align-items: center;
    }
}

/* ===========================
   11. Fixed Contact Button
   =========================== */
.fixed-contact-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    color: #000;
    box-shadow: var(--shadow-lg), var(--glow-gold);
    transition: all var(--transition-normal);
    z-index: 999;
    cursor: pointer;
}

.fixed-contact-btn svg {
    width: 28px;
    height: 28px;
}

.fixed-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl), var(--glow-gold-intense);
}

.fixed-contact-btn:active {
    transform: scale(0.95);
}

/* Pulse animation */
.fixed-contact-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-gold);
    opacity: 0.4;
    animation: contact-pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes contact-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .fixed-contact-btn {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .fixed-contact-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ===========================
   12. Utilities
   =========================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================
   12. Animations
   =========================== */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: var(--glow-gold);
    }
    50% {
        box-shadow: var(--glow-gold-intense);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

/* ===========================
   13. Responsive
   =========================== */
@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: 1fr;
    }

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

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .brand-description {
        font-size: 0.9375rem;
    }

    .header-inner {
        height: 70px;
    }

    .hero-section {
        padding-top: 70px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body::before {
        display: none;
    }
}
