:root {
    --tbc6-bg: #f8f9fa;
    --tbc6-surface: #ffffff;
    --tbc6-primary: #77423c;
    --tbc6-primary-hover: #8a4e47;
    --tbc6-accent: #2f649b;
    --tbc6-accent-hover: #3b7bbd;
    --tbc6-text: #2c3136;
    --tbc6-text-muted: #6c757d;
    --tbc6-border: #e9ecef;
    --tbc6-radius: 14px;
    --tbc6-font-heading: 'Kanit', sans-serif;
    --tbc6-font-body: 'Inter', sans-serif;
    --tbc6-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--tbc6-font-body);
    background-color: var(--tbc6-bg);
    color: var(--tbc6-text);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

.tbc6-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.tbc6-header {
    background: var(--tbc6-surface);
    border-bottom: 1px solid var(--tbc6-border);
    position: relative;
    z-index: 10;
}
.tbc6-header-top {
    background: var(--tbc6-primary);
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
    font-weight: 600;
}
.tbc6-header-top-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.tbc6-header-main {
    padding: 10px 0;
}
.tbc6-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.tbc6-logo {
    font-family: var(--tbc6-font-heading);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tbc6-primary);
    letter-spacing: 1px;
}
.tbc6-nav {
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
.tbc6-nav::-webkit-scrollbar { display: none; }
.tbc6-nav-list {
    list-style: none;
    display: flex;
    gap: 8px;
    min-width: max-content;
}
.tbc6-nav-list a {
    text-decoration: none;
    color: var(--tbc6-text);
    font-weight: 600;
    font-family: var(--tbc6-font-heading);
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.tbc6-nav-list a:hover {
    background: var(--tbc6-bg);
    color: var(--tbc6-accent);
}
.tbc6-btn {
    font-family: var(--tbc6-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: var(--tbc6-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.tbc6-btn-primary { background: var(--tbc6-primary); color: #fff; }
.tbc6-btn-primary:hover { background: var(--tbc6-primary-hover); }
.tbc6-btn-accent { background: var(--tbc6-accent); color: #fff; }
.tbc6-btn-accent:hover { background: var(--tbc6-accent-hover); }
.tbc6-btn-outline { background: transparent; border: 2px solid var(--tbc6-primary); color: var(--tbc6-primary); }
.tbc6-btn-outline:hover { background: var(--tbc6-primary); color: #fff; }

.tbc6-glow {
    animation: tbc6-pulse 2s infinite;
}
@keyframes tbc6-pulse {
    0% { box-shadow: 0 0 0 0 rgba(119, 66, 60, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(119, 66, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(119, 66, 60, 0); }
}

.tbc6-ticker-wrap {
    background: var(--tbc6-surface);
    border-bottom: 1px solid var(--tbc6-border);
    padding: 8px 0;
    overflow: hidden;
}
.tbc6-ticker-inner {
    display: flex;
    align-items: center;
}
.tbc6-ticker-label {
    font-family: var(--tbc6-font-heading);
    font-weight: 700;
    color: var(--tbc6-accent);
    padding-right: 12px;
    border-right: 2px solid var(--tbc6-border);
    margin-right: 12px;
    font-size: 14px;
}
.tbc6-ticker-track {
    flex: 1;
    overflow: hidden;
}
.tbc6-ticker-track-container {
    display: flex;
    width: 200%;
    animation: tbc6-ticker 25s linear infinite;
}
.tbc6-ticker-track-inner {
    display: flex;
    width: 50%;
    justify-content: space-around;
}
.tbc6-ticker-item {
    font-size: 13px;
    color: var(--tbc6-text);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    padding: 0 16px;
}
@keyframes tbc6-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tbc6-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--tbc6-surface) 0%, var(--tbc6-bg) 100%);
    border-bottom: 1px solid var(--tbc6-border);
}
.tbc6-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.tbc6-hero-title {
    font-family: var(--tbc6-font-heading);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.tbc6-hl-primary { color: var(--tbc6-primary); }
.tbc6-hero-slogan {
    font-size: 16px;
    color: var(--tbc6-text-muted);
    margin-bottom: 24px;
}
.tbc6-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.tbc6-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--tbc6-radius);
    box-shadow: var(--tbc6-shadow);
    border: 4px solid var(--tbc6-surface);
}
.tbc6-img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.tbc6-stats { padding: 40px 0; }
.tbc6-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.tbc6-stat-card {
    background: var(--tbc6-surface);
    padding: 24px;
    border-radius: var(--tbc6-radius);
    text-align: center;
    box-shadow: var(--tbc6-shadow);
    border: 1px solid var(--tbc6-border);
}
.tbc6-stat-num {
    font-family: var(--tbc6-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--tbc6-primary);
    margin-bottom: 8px;
}
.tbc6-stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tbc6-text-muted);
}

.tbc6-section-title {
    font-family: var(--tbc6-font-heading);
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--tbc6-text);
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}
.tbc6-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--tbc6-accent);
    border-radius: 2px;
}
.tbc6-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tbc6-tab-btn {
    padding: 8px 16px;
    background: var(--tbc6-surface);
    border: 1px solid var(--tbc6-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--tbc6-font-heading);
    text-transform: uppercase;
}
.tbc6-tab-btn.tbc6-active, .tbc6-tab-btn:hover {
    background: var(--tbc6-accent);
    color: #fff;
    border-color: var(--tbc6-accent);
}
.tbc6-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.tbc6-card {
    background: var(--tbc6-surface);
    border-radius: var(--tbc6-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--tbc6-text);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--tbc6-border);
}
.tbc6-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tbc6-shadow);
}
.tbc6-card-img-wrap {
    position: relative;
    padding-top: 100%;
    background: var(--tbc6-bg);
}
.tbc6-card-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.tbc6-card-badge {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--tbc6-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    font-family: var(--tbc6-font-heading);
    text-transform: uppercase;
}
.tbc6-card-body {
    padding: 10px;
    text-align: center;
}
.tbc6-card-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tbc6-card-sub {
    font-size: 12px;
    color: var(--tbc6-text-muted);
}

.tbc6-benefits, .tbc6-steps, .tbc6-payments { padding: 40px 0; }
.tbc6-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.tbc6-benefit-card {
    background: var(--tbc6-surface);
    padding: 24px;
    border-radius: var(--tbc6-radius);
    border: 1px solid var(--tbc6-border);
    box-shadow: var(--tbc6-shadow);
    text-align: center;
}
.tbc6-benefit-icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.tbc6-benefit-title {
    font-family: var(--tbc6-font-heading);
    font-size: 18px;
    margin-bottom: 8px;
}
.tbc6-benefit-desc { font-size: 14px; color: var(--tbc6-text-muted); }

.tbc6-step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.tbc6-step-item {
    display: flex;
    align-items: center;
    background: var(--tbc6-surface);
    padding: 16px;
    border-radius: var(--tbc6-radius);
    border: 1px solid var(--tbc6-border);
    gap: 20px;
}
.tbc6-step-num {
    background: var(--tbc6-accent);
    color: #fff;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--tbc6-font-heading);
    border-radius: 50%;
    flex-shrink: 0;
}
.tbc6-step-title {
    font-family: var(--tbc6-font-heading);
    font-size: 16px;
    margin-bottom: 4px;
}
.tbc6-step-desc { font-size: 14px; color: var(--tbc6-text-muted); }

.tbc6-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.tbc6-payment-badge {
    background: var(--tbc6-surface);
    border: 1px solid var(--tbc6-border);
    padding: 12px 24px;
    border-radius: var(--tbc6-radius);
    font-family: var(--tbc6-font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--tbc6-text);
}

.tbc6-article-section { padding: 40px 0; }
.tbc6-article-content {
    background: var(--tbc6-surface);
    padding: 32px;
    border-radius: var(--tbc6-radius);
    box-shadow: var(--tbc6-shadow);
    border: 1px solid var(--tbc6-border);
}
.tbc6-article-content h2,
.tbc6-article-content h3 {
    font-family: var(--tbc6-font-heading);
    color: var(--tbc6-primary);
    margin: 24px 0 12px;
    text-transform: uppercase;
}
.tbc6-article-content p {
    margin-bottom: 16px;
    font-size: 16px;
}
.tbc6-article-content ul,
.tbc6-article-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.tbc6-article-content li { margin-bottom: 8px; }
.tbc6-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    overflow-x: auto;
    display: block;
}
.tbc6-article-content th,
.tbc6-article-content td {
    padding: 12px;
    border: 1px solid var(--tbc6-border);
    text-align: left;
}
.tbc6-article-content th { background: var(--tbc6-bg); font-weight: 600; }

.tbc6-page-header {
    background: var(--tbc6-surface);
    padding: 40px 0;
    border-bottom: 1px solid var(--tbc6-border);
    text-align: center;
}
.tbc6-crumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--tbc6-text-muted);
}
.tbc6-crumb-link {
    color: var(--tbc6-primary);
    text-decoration: none;
    font-weight: 500;
}
.tbc6-crumb-link:hover { text-decoration: underline; }
.tbc6-crumb-sep { color: var(--tbc6-border); }
.tbc6-crumbs .tbc6-crumb-sep:last-child { display: none; }
.tbc6-page-title {
    font-family: var(--tbc6-font-heading);
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--tbc6-primary);
}
.tbc6-page-meta { font-size: 15px; color: var(--tbc6-text-muted); max-width: 800px; margin: 0 auto; }

.tbc6-faq-section { padding: 40px 0; }
.tbc6-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tbc6-faq-item {
    background: var(--tbc6-surface);
    border: 1px solid var(--tbc6-border);
    border-radius: var(--tbc6-radius);
    overflow: hidden;
}
.tbc6-faq-summary {
    padding: 16px 20px;
    font-family: var(--tbc6-font-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
}
.tbc6-faq-summary::-webkit-details-marker { display: none; }
.tbc6-faq-summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--tbc6-primary);
    transition: transform 0.2s;
}
.tbc6-faq-item[open] .tbc6-faq-summary::after { transform: translateY(-50%) rotate(45deg); }
.tbc6-faq-body {
    padding: 0 20px 16px;
    font-size: 15px;
    color: var(--tbc6-text-muted);
}

.tbc6-pager-section { padding: 20px 0 60px; }
.tbc6-pager {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tbc6-pager a {
    padding: 10px 20px;
    background: var(--tbc6-surface);
    border: 1px solid var(--tbc6-border);
    border-radius: var(--tbc6-radius);
    text-decoration: none;
    color: var(--tbc6-text);
    font-weight: 600;
    font-family: var(--tbc6-font-heading);
    transition: all 0.2s;
}
.tbc6-pager a:hover {
    background: var(--tbc6-primary);
    color: #fff;
    border-color: var(--tbc6-primary);
}

.tbc6-footer {
    background: var(--tbc6-surface);
    border-top: 1px solid var(--tbc6-border);
    padding: 60px 0 20px;
    margin-top: 40px;
}
.tbc6-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .tbc6-footer-grid { grid-template-columns: 2fr 1fr; }
}
.tbc6-footer-logo { margin-bottom: 16px; }
.tbc6-footer-desc { font-size: 15px; color: var(--tbc6-text-muted); max-width: 400px; }
.tbc6-footer-head {
    font-family: var(--tbc6-font-heading);
    font-size: 16px;
    margin-bottom: 16px;
}
.tbc6-footer-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.tbc6-footer-list a {
    color: var(--tbc6-text);
    text-decoration: none;
    font-size: 14px;
}
.tbc6-footer-list a:hover { color: var(--tbc6-primary); }
.tbc6-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--tbc6-border);
}
.tbc6-legal-text { font-size: 12px; color: var(--tbc6-text-muted); margin-bottom: 12px; }
.tbc6-copyright { font-size: 13px; font-weight: 600; }

.tbc6-scroll-anim {
    opacity: 1;
    transform: translateY(0);
}
.tbc6-js-enabled .tbc6-scroll-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.tbc6-js-enabled .tbc6-scroll-anim.tbc6-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .tbc6-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .tbc6-hero-btns { justify-content: center; }
    .tbc6-header-inner { flex-direction: column; gap: 12px; }
    .tbc6-nav { width: 100%; overflow-x: auto; }
}
