/*
Theme Name: The One GoldBlack 黑金奢華版
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: The One 黑金奢華版主題 - 專為娛樂城打造的高端主題
Version: 1.0.0
Text Domain: theone-goldblack
*/

/* 全域重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Microsoft JhengHei", sans-serif;
    background: #0A0E1A;
    color: #fff;
    line-height: 1.6;
}

/* CSS Variables */
:root {
    --gold: #D4AF37;
    --gold-bright: #FFD700;
    --black: #000;
    --dark: #0A0E1A;
    --dark-blue: #1A2942;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, #000 0%, #0A0E1A 100%);
    border-bottom: 1px solid var(--gold);
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo img {
    max-height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.main-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-menu li a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.btn-register,
.btn-login {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-register {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000;
}

.btn-login {
    border: 1px solid var(--gold);
    color: var(--gold);
}

/* Hero - 純文字居中 */
.hero-center {
    width: 100%;
    min-height: 85vh;
    background: linear-gradient(180deg, #1A2942 0%, #0A0E1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.hero-center-content {
    text-align: center;
    max-width: 900px;
}

.hero-main-logo {
    max-width: 500px;
    width: 100%;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
}

.hero-main-title {
    font-size: 4.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.8);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero-main-subtitle {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 3rem;
    letter-spacing: 0.5em;
    font-weight: 500;
}

.hero-main-btn {
    display: inline-block;
    padding: 1.25rem 4rem;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 3rem;
}

.hero-main-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.8);
}

.hero-bottom-text {
    font-size: 1rem;
    color: #B8BCC8;
    line-height: 1.8;
}

/* 四大保障 */
.guarantees {
    width: 100%;
    background: var(--dark-blue);
    padding: 5rem 2rem;
}

.grid-4 {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card {
    background: linear-gradient(135deg, rgba(26, 30, 46, 0.8), rgba(42, 46, 62, 0.6));
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.6);
}

.card-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    font-size: 0.875rem;
    color: #B8BCC8;
    line-height: 1.6;
}

/* 品牌介紹 with 圖片 */
.brand-with-image {
    width: 100%;
    background: #000;
    padding: 5rem 2rem;
}

.brand-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-text h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.brand-desc p {
    font-size: 1rem;
    color: #B8BCC8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.brand-image img {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 12px 48px rgba(0, 0, 0, 0.7));
    animation: goldGlow 3s ease-in-out infinite;
}

/* 金黃色閃爍光暈動畫 */
@keyframes goldGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 80px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 120px rgba(255, 215, 0, 0.4));
    }
}

/* 比較表格 */
.comparison {
    width: 100%;
    background: var(--dark-blue);
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.comparison-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #B8BCC8;
    margin-bottom: 3rem;
}

.table-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(26, 30, 46, 0.8);
    border: 2px solid var(--gold);
    border-radius: 16px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
}

th {
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    text-align: center;
}

td {
    padding: 1.5rem;
    text-align: center;
    color: #B8BCC8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

td.item {
    font-weight: 600;
    color: var(--gold);
}

td.highlight {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-bright);
    font-weight: 700;
}

/* FAQ - 全部展開 */
.faq {
    width: 100%;
    background: #000;
    padding: 5rem 2rem;
}

.faq-list-expanded {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.faq-item-expanded {
    background: rgba(26, 30, 46, 0.8);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.faq-q-expanded h3 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-a-expanded p {
    color: #B8BCC8;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA */
.cta {
    width: 100%;
    background: linear-gradient(135deg, #000, #0A0E1A);
    padding: 6rem 2rem;
    text-align: center;
}

.cta h2 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.cta p {
    font-size: 1.125rem;
    color: #B8BCC8;
    margin-bottom: 3rem;
}

.cta-btn {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #000;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.8);
}

/* Footer */
.site-footer {
    width: 100%;
    background: #000;
    border-top: 1px solid var(--gold);
}

.footer-content {
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-column h4 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: #B8BCC8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-contact a:hover {
    color: var(--gold-bright);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #B8BCC8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--gold);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
}

.copyright {
    color: #B8BCC8;
    font-size: 0.875rem;
    margin: 0;
}

/* 右下角客服按鈕 */
.floating-customer-service {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
    z-index: 9999;
    gap: 2px;
}

.floating-customer-service:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.8);
}

.floating-customer-service svg {
    width: 24px;
    height: 24px;
}

.floating-customer-service span {
    font-size: 0.7rem;
    line-height: 1;
}

/* 響應式 */
@media (max-width: 1024px) {

    .hero-grid,
    .brand-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }
}