/* Casino Bonus HK — Deep Sea Blue + Royal Gold Theme */

:root {
    --deep-blue: #0D1B3E;
    --deep-blue-light: #142952;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --white: #FFFFFF;
    --light-text: #B8C4D6;
    --card-bg: #FFFFFF;
    --card-border: rgba(201,168,76,0.2);
    --radius: 14px;
    --radius-sm: 10px;
}

/* Base */
body {
    background-color: var(--deep-blue);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--white);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold-light);
}

/* Header */
.site-header {
    background: rgba(13, 27, 62, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.brand-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-link {
    color: var(--light-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--gold);
}

/* Buttons */
.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #B8952F);
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
    color: var(--deep-blue);
}

.btn-cta-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #B8952F);
    color: var(--deep-blue);
    font-weight: 800;
    font-size: 18px;
    padding: 16px 40px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.btn-cta-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
    color: var(--deep-blue);
}

/* Hero */
.hero-section {
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--deep-blue-light) 100%);
    position: relative;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Section Header Bar */
.section-header-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid rgba(201, 168, 76, 0.3);
    padding-bottom: 12px;
}

/* Bonus Cards */
.bonus-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    border: 2px solid var(--card-border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}
.bonus-card-featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
}
.bonus-card-featured::before {
    content: '最受歡迎';
    position: absolute;
    top: 12px;
    right: -28px;
    background: var(--gold);
    color: var(--deep-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
}

.bonus-rank {
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}
.bonus-amount {
    color: var(--deep-blue);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}
.bonus-type {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}
.bonus-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.bonus-detail {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
    padding: 8px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.bonus-cta {
    display: block;
    background: linear-gradient(135deg, var(--gold), #B8952F);
    color: var(--deep-blue);
    font-weight: 700;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.2s;
}
.bonus-cta:hover {
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
    color: var(--deep-blue);
}

/* Category Cards */
.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.2s;
}
.category-card:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}
.category-icon {
    font-size: 28px;
}

/* Article Cards */
.article-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    transition: all 0.3s;
    display: block;
    color: inherit;
    text-decoration: none;
}
.article-card:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.article-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

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

/* Risk Notices */
.risk-banner {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 13px;
    color: var(--light-text);
    text-align: center;
}
.risk-micro {
    font-size: 11px;
    color: #8899AA;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, var(--deep-blue-light), var(--deep-blue));
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

/* Article Page: TOC */
.toc-sidebar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    padding: 20px;
}
.toc-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-list li {
    margin-bottom: 6px;
}
.toc-list a {
    color: var(--light-text);
    font-size: 13px;
    transition: color 0.2s;
    display: block;
    padding: 3px 0;
}
.toc-list a:hover {
    color: var(--gold);
}

.toc-mobile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    padding: 16px;
}

/* Excerpt Box */
.excerpt-box {
    background: rgba(201, 168, 76, 0.08);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.7;
}

/* Prose Content */
.prose-content {
    color: var(--light-text);
    line-height: 1.8;
}
.prose-content h2 {
    font-size: 24px;
    color: var(--white);
    margin-top: 36px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}
.prose-content h3 {
    font-size: 20px;
    color: var(--gold-light);
    margin-top: 28px;
    margin-bottom: 12px;
}
.prose-content p {
    margin-bottom: 16px;
}
.prose-content ul, .prose-content ol {
    margin-left: 20px;
    margin-bottom: 16px;
}
.prose-content li {
    margin-bottom: 6px;
}
.prose-content a {
    color: var(--gold);
    text-decoration: underline;
}
.prose-content a:hover {
    color: var(--gold-light);
}
.prose-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 12px 20px;
    background: rgba(201, 168, 76, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 16px 0;
    font-style: italic;
}
.prose-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.2);
}
.prose-content th {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
}
.prose-content td {
    padding: 10px 14px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}
.prose-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}
.prose-content code {
    background: rgba(201, 168, 76, 0.1);
    color: var(--gold);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.prose-content pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-sm);
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
}
.prose-content pre code {
    background: transparent;
    padding: 0;
}

/* FAQ */
.faq-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    padding: 28px;
}
.faq-item {
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    background: rgba(201, 168, 76, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.faq-question {
    color: var(--gold);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}
.faq-answer {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.7;
}

/* Risk Section */
.risk-section {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius);
    padding: 24px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--deep-blue-light), rgba(201, 168, 76, 0.1));
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

/* Author Box */
.author-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    padding: 24px;
}

/* Related Cards */
.related-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    display: block;
    color: inherit;
    text-decoration: none;
}
.related-card:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

/* Info Box (Pages) */
.info-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius);
    padding: 24px;
}

/* RG Help Box */
.rg-help-box {
    background: var(--gold);
    border-radius: var(--radius);
    padding: 28px;
}
.rg-help-box strong {
    font-weight: 800;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}
.footer-heading {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer a {
    color: var(--light-text);
    font-size: 13px;
}
.site-footer a:hover {
    color: var(--gold);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: var(--light-text);
}
.breadcrumb a {
    color: var(--gold);
}
.breadcrumb a:hover {
    color: var(--gold-light);
}

/* Responsive */
@media (max-width: 768px) {
    .bonus-card {
        padding: 20px 16px;
    }
    .bonus-amount {
        font-size: 22px;
    }
    .section-header-bar {
        flex-direction: column;
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    .site-header, .site-footer, .btn-cta, .btn-cta-hero, .cta-box, .cta-section {
        display: none;
    }
}
