/* ==========================================================================
   UFAGOLD888-AUTO | Liquid Glass Luxury White-Gold Architecture (2026)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    /* Pure Bright Luxury Canvas */
    --canvas-pure: #FBFBFD;
    --canvas-card: rgba(255, 255, 255, 0.82);
    --canvas-card-hover: rgba(255, 255, 255, 0.95);
    --canvas-glass-nav: rgba(255, 255, 255, 0.78);
    
    /* Luxury Champagne & Metallic Gold */
    --gold-primary: #C5A059;
    --gold-bright: #DFBA73;
    --gold-deep: #9E7D3B;
    --gold-soft: #F9F5EC;
    --gold-glow: rgba(197, 160, 89, 0.25);
    --gold-glow-intense: rgba(197, 160, 89, 0.42);

    /* Obsidian Contrast & Typography */
    --obsidian-black: #0E0F12;
    --obsidian-slate: #23252A;
    --text-primary: #1C1E23;
    --text-secondary: #51545D;
    --text-muted: #828694;

    /* Glass Refractions */
    --border-glass: rgba(197, 160, 89, 0.28);
    --border-glass-subtle: rgba(14, 15, 18, 0.08);
    --shadow-liquid: 0 20px 48px -10px rgba(197, 160, 89, 0.12), 0 8px 24px -4px rgba(14, 15, 18, 0.04);
    --shadow-hover: 0 30px 60px -12px rgba(197, 160, 89, 0.22);
    
    /* Layout */
    --radius-round: 9999px;
    --radius-glass: 24px;
    --radius-subtle: 16px;
    --blur-intensity: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--canvas-pure);
    color: var(--text-primary);
    font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* Luxury Liquid Ambient Lighting */
.liquid-aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.6;
}

.aurora-gold-1 {
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(223, 186, 115, 0.35) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: driftMotion 24s infinite alternate ease-in-out;
}

.aurora-gold-2 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.22) 0%, transparent 70%);
    bottom: 5%;
    left: -120px;
    animation: driftMotion 28s infinite alternate-reverse ease-in-out;
}

.aurora-black-accent {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(14, 15, 18, 0.06) 0%, transparent 70%);
    top: 45%;
    right: 25%;
}

@keyframes driftMotion {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 40px) scale(1.08); }
}

.app-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section-pad {
    padding: 85px 0;
}

/* Glass Surface Elements */
.glass-morphic {
    background: var(--canvas-card);
    backdrop-filter: blur(var(--blur-intensity)) saturate(190%);
    -webkit-backdrop-filter: blur(var(--blur-intensity)) saturate(190%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-glass);
    box-shadow: var(--shadow-liquid);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-morphic:hover {
    background: var(--canvas-card-hover);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 160, 89, 0.48);
}

/* Typography Enhancements */
.font-cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-black-bold {
    color: var(--obsidian-black);
    font-weight: 800;
}

/* Navigation */
.navbar-wrapper {
    position: sticky;
    top: 18px;
    z-index: 1000;
    margin-bottom: 30px;
}

.luxury-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: var(--canvas-glass-nav);
    border-radius: var(--radius-round);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 10px 30px rgba(14, 15, 18, 0.05);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-emblem {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--obsidian-black), var(--obsidian-slate));
    color: var(--gold-bright);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(14, 15, 18, 0.15);
}

.brand-credentials {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--obsidian-black);
    line-height: 1.15;
}

.brand-tagline {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gold-deep);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--obsidian-slate);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

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

/* Standard Buttons */
.btn-lux {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: var(--radius-round);
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
    color: #FFFFFF;
    box-shadow: 0 8px 24px var(--gold-glow);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--gold-glow-intense);
}

.btn-dark {
    background: var(--obsidian-black);
    color: var(--gold-bright);
    border: 1px solid rgba(197, 160, 89, 0.4);
}

.btn-dark:hover {
    background: var(--obsidian-slate);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Hero Stage */
.hero-wrapper {
    padding: 40px 0 60px;
    text-align: center;
}

.badge-lux-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-soft);
    border: 1px solid var(--border-glass);
    color: var(--obsidian-black);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: var(--radius-round);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.25);
}

.main-headline {
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
    font-weight: 900;
    color: var(--obsidian-black);
    line-height: 1.25;
    margin-bottom: 24px;
}

.lead-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 860px;
    margin: 0 auto 38px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Glass Telemetry Matrix */
.telemetry-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    padding: 26px 30px;
}

.telemetry-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cell-caption {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.cell-metric {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--obsidian-black);
}

.cell-foot {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gold-deep);
}

/* About Architecture Section */
.about-deck {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    padding: 50px;
    align-items: center;
}

.section-indicator {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: 5px 14px;
    border-radius: var(--radius-round);
    border: 1px solid var(--border-glass);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--obsidian-black);
    line-height: 1.35;
    margin-bottom: 20px;
}

.about-body p {
    font-size: 1.04rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
    border-top: 1px solid var(--border-glass-subtle);
    padding-top: 24px;
}

.pillar-item h5 {
    font-size: 1.4rem;
    color: var(--gold-deep);
    font-family: 'Cinzel', serif;
}

.pillar-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.about-showcase-box {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-subtle);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 16px 36px rgba(197, 160, 89, 0.1);
}

.glass-gem-icon {
    width: 72px;
    height: 72px;
    background: var(--gold-soft);
    color: var(--gold-deep);
    font-size: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border: 1px solid var(--border-glass);
}

/* Topic Cluster Section */
.cluster-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.cluster-cards-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
}

.cluster-card {
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
}

.cluster-num {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold-deep);
    background: var(--gold-soft);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 18px;
    width: fit-content;
}

.cluster-card h3 {
    font-size: 1.25rem;
    color: var(--obsidian-black);
    margin-bottom: 14px;
    font-weight: 700;
}

.cluster-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.cluster-nav-tree {
    list-style: none;
    border-top: 1px solid var(--border-glass-subtle);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cluster-nav-tree a {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--obsidian-slate);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cluster-nav-tree a:hover {
    color: var(--gold-deep);
    transform: translateX(4px);
}

/* Dual Pillar On-Page Content (Baccarat & Sportsbook) */
.dual-pillar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pillar-panel {
    padding: 44px;
}

.pillar-panel h3 {
    font-size: 1.6rem;
    color: var(--obsidian-black);
    margin-bottom: 16px;
}

.pillar-panel p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin: 22px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--gold-deep);
}

/* Overview Summary Section (Section สรุปภาพรวม) */
.overview-summary-card {
    padding: 50px;
    border-left: 6px solid var(--gold-primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 236, 0.7));
}

.summary-content h2 {
    font-size: 2rem;
    color: var(--obsidian-black);
    margin-bottom: 16px;
}

.summary-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Quality Clean SEO Anchor Link */
.seo-link {
    color: var(--gold-deep);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid var(--gold-bright);
    transition: all 0.25s ease;
}

.seo-link:hover {
    color: var(--obsidian-black);
    background: var(--gold-soft);
    border-bottom-color: var(--obsidian-black);
}

/* Long Analytical FAQ Accordion */
.faq-box-wrap {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-node {
    border-radius: var(--radius-subtle);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 18px;
}

.faq-quest {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--obsidian-black);
    line-height: 1.5;
}

.faq-icon-arrow {
    font-size: 1.1rem;
    color: var(--gold-deep);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
}

.faq-collapse-body {
    padding: 0 30px 26px;
    font-size: 1rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-glass-subtle);
    padding-top: 18px;
    line-height: 1.85;
}

.faq-node.is-expanded .faq-icon-arrow {
    transform: rotate(180deg);
}

/* Floating Clean Bottom Bar */
.sticky-glass-bottom {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-round);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 40px var(--gold-glow);
    z-index: 999;
}

.dock-desc {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--obsidian-black);
}

/* Footer Architecture */
.site-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-glass);
    margin-top: 90px;
    padding: 70px 0 100px;
}

.footer-inner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-tag {
    font-size: 0.94rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 16px 0 24px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--obsidian-slate);
}

.trust-badges i {
    color: var(--gold-primary);
}

.footer-nav-col h4 {
    font-size: 1.1rem;
    color: var(--obsidian-black);
    margin-bottom: 18px;
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-col a {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-nav-col a:hover {
    color: var(--gold-deep);
}

.copyright-strip {
    border-top: 1px solid var(--border-glass-subtle);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Adaptations */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .about-deck { grid-template-columns: 1fr; }
    .dual-pillar-container { grid-template-columns: 1fr; }
    .footer-inner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .main-headline { font-size: 2.1rem; }
    .sticky-glass-bottom { display: none; }
    .pillars-grid { grid-template-columns: 1fr; }
    .about-deck, .pillar-panel, .overview-summary-card { padding: 30px 20px; }
}