/* md66.live — theme (อ้างอิงดีไซน์ mp66.club: ม่วง-น้ำเงิน-ทอง neumorphic) */
:root{--neu-shadow-out:4px 4px 10px rgba(0,0,0,0.6),-2px -2px 8px rgba(255,255,255,0.04);--neu-shadow-in:inset 3px 3px 8px rgba(0,0,0,0.7),inset -2px -2px 6px rgba(255,255,255,0.03)}
:root { --primary: #1e40af; --secondary: #7c3aed; --accent: #eab308; --bg: #0c0a1f; --bg-card: #13112e; --bg-card2: #1a1740; --text-main: #e8e6ff; --text-muted: #8b89b0; --neu-dark: #07061a; --neu-light: #1f1c42; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Sarabun', sans-serif; background: var(--bg); color: var(--text-main); margin: 0; padding: 0; line-height: 1.8; }
/* ── NAVBAR ── */ .navbar { background: rgba(12, 10, 31, 0.97); border-bottom: 1px solid rgba(124, 58, 237, 0.25); padding: 0.75rem 0; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(12px); }
.navbar-brand img { height: 42px; }
.nav-link { color: var(--text-muted) !important; font-weight: 500; font-size: 0.95rem; padding: 0.45rem 0.85rem !important; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }
.navbar-toggler { border-color: rgba(124,58,237,0.4); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(234,179,8,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
/* ── BREADCRUMB ── */ .breadcrumb-wrap { background: rgba(30, 64, 175, 0.08); border-bottom: 1px solid rgba(124,58,237,0.15); padding: 0.65rem 0; }
.breadcrumb { margin: 0; background: transparent; padding: 0; }
.breadcrumb-item a { color: var(--accent); text-decoration: none; font-size: 0.88rem; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: var(--text-muted); font-size: 0.88rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
/* ── PAGE HERO ── */ .page-hero { background: linear-gradient(135deg, #0c0a1f 0%, #100d2a 50%, #0e0820 100%); padding: 4.5rem 0 3.5rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 65%); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(30,64,175,0.15) 0%, transparent 65%); pointer-events: none; }
.hero-badge { display: inline-block; background: linear-gradient(90deg, rgba(234,179,8,0.15), rgba(124,58,237,0.15)); border: 1px solid rgba(234,179,8,0.35); color: var(--accent); font-size: 0.82rem; font-weight: 600; padding: 0.3rem 1rem; border-radius: 50px; margin-bottom: 1.2rem; letter-spacing: 0.03em; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.35; color: #fff; margin-bottom: 1rem; }
.page-hero h1 .highlight { background: linear-gradient(90deg, var(--accent), #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p.lead { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; }
/* ── NEUMORPHIC BUTTONS ── */ .btn-neu-primary { display: inline-block; background: linear-gradient(145deg, #2451c7, #1a38a0); box-shadow: 5px 5px 12px var(--neu-dark), -3px -3px 8px var(--neu-light); color: #fff; font-weight: 700; font-size: 0.95rem; padding: 0.7rem 1.8rem; border-radius: 10px; text-decoration: none; border: none; transition: all 0.2s; cursor: pointer; }
.btn-neu-primary:hover { box-shadow: 3px 3px 8px var(--neu-dark), -2px -2px 5px var(--neu-light); color: #fff; transform: translateY(1px); }
.btn-neu-gold { display: inline-block; background: linear-gradient(145deg, #f0c020, #c99a06); box-shadow: 5px 5px 12px var(--neu-dark), -3px -3px 8px rgba(240,192,32,0.15); color: #0c0a1f; font-weight: 800; font-size: 0.95rem; padding: 0.7rem 1.8rem; border-radius: 10px; text-decoration: none; border: none; transition: all 0.2s; cursor: pointer; }
.btn-neu-gold:hover { box-shadow: 3px 3px 8px var(--neu-dark), -2px -2px 5px rgba(240,192,32,0.1); color: #0c0a1f; transform: translateY(1px); }
/* ── SECTION COMMON ── */ section { padding: 4rem 0; }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.section-sub { color: var(--text-muted); font-size: 1rem; margin-bottom: 0; }
.divider-gold { width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent), #f59e0b); border-radius: 2px; margin: 0.6rem auto 1rem; }
.divider-gold.left { margin-left: 0; }
/* ── CONTENT IMAGE ── */ .content-img { width: 100%; max-width: 100%; border-radius: 16px; display: block; margin: 0 auto; box-shadow: 0 8px 32px rgba(0,0,0,0.55); }
/* ── STAT MINI ── */ .stat-mini { text-align: center; padding: 1.4rem 1rem; background: var(--bg-card); border-radius: 14px; box-shadow: 5px 5px 12px var(--neu-dark), -3px -3px 8px var(--neu-light); }
.stat-mini-num { font-size: 1.8rem; font-weight: 800; background: linear-gradient(90deg, var(--accent), #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.stat-mini-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.3rem; }
/* ── PROVIDER CARDS ── */ .provider-card { background: var(--bg-card); border-radius: 16px; padding: 1.8rem 1.4rem; text-align: center; box-shadow: 6px 6px 16px var(--neu-dark), -3px -3px 10px var(--neu-light); transition: transform 0.25s, box-shadow 0.25s; height: auto; border: 1px solid rgba(124,58,237,0.1); }
.provider-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 22px var(--neu-dark), -4px -4px 12px var(--neu-light); border-color: rgba(234,179,8,0.25); }
.provider-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1rem; }
.provider-name { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
.provider-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.65; margin-bottom: 0.9rem; }
.provider-tag { display: inline-block; background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.28); color: var(--accent); font-size: 0.72rem; font-weight: 600; padding: 0.18rem 0.55rem; border-radius: 20px; margin: 0.15rem; }
/* ── BACCARAT RULES TABLE ── */ .rules-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 14px; overflow: hidden; box-shadow: 5px 5px 14px var(--neu-dark), -3px -3px 8px var(--neu-light); }
.rules-table thead tr { background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.rules-table thead th { color: #fff; font-weight: 700; font-size: 0.9rem; padding: 0.9rem 1.2rem; border: none; }
.rules-table tbody tr { background: var(--bg-card); border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.2s; }
.rules-table tbody tr:last-child { border-bottom: none; }
.rules-table tbody tr:hover { background: var(--bg-card2); }
.rules-table tbody td { color: var(--text-main); font-size: 0.88rem; padding: 0.8rem 1.2rem; border: none; }
.rules-table tbody td:first-child { color: var(--accent); font-weight: 700; }
/* ── PAYOUT TABLE ── */ .payout-row { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.4rem; background: var(--bg-card); border-radius: 12px; margin-bottom: 0.6rem; box-shadow: 4px 4px 10px var(--neu-dark), -2px -2px 6px var(--neu-light); transition: background 0.2s; }
.payout-row:hover { background: var(--bg-card2); }
.payout-label { font-weight: 700; color: #fff; font-size: 0.95rem; }
.payout-sub { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.1rem; }
.payout-value { font-size: 1.15rem; font-weight: 800; background: linear-gradient(90deg, var(--accent), #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* ── FEATURE ITEMS ── */ .feature-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.feature-icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(30,64,175,0.3), rgba(124,58,237,0.3)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.feature-text h6 { font-weight: 700; color: #fff; margin-bottom: 0.2rem; font-size: 0.97rem; }
.feature-text p { color: var(--text-muted); font-size: 0.88rem; margin: 0; line-height: 1.65; }
/* ── STRATEGY CARDS ── */ .strategy-card { background: var(--bg-card); border-radius: 14px; padding: 1.6rem 1.4rem; box-shadow: 5px 5px 14px var(--neu-dark), -3px -3px 8px var(--neu-light); border-left: 3px solid var(--accent); height: auto; }
.strategy-title { font-weight: 800; color: var(--accent); font-size: 1rem; margin-bottom: 0.6rem; }
.strategy-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
/* ── STEP CARDS ── */ .step-card { background: var(--bg-card); border-radius: 14px; padding: 1.6rem 1.4rem; box-shadow: 5px 5px 14px var(--neu-dark), -3px -3px 8px var(--neu-light); text-align: center; height: auto; }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step-title { font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.step-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }
/* ── HIGHLIGHT BOX ── */ .highlight-box { background: linear-gradient(135deg, rgba(30,64,175,0.12), rgba(124,58,237,0.12)); border: 1px solid rgba(124,58,237,0.25); border-radius: 16px; padding: 2rem; }
/* ── FAQ ── */ .faq-item { background: var(--bg-card); border-radius: 12px; margin-bottom: 0.8rem; box-shadow: 4px 4px 10px var(--neu-dark), -2px -2px 6px var(--neu-light); overflow: hidden; }
.faq-question { padding: 1.1rem 1.4rem; font-weight: 700; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.97rem; user-select: none; }
.faq-question:hover { color: var(--accent); }
.faq-answer { padding: 0 1.4rem 1.1rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { color: var(--accent); font-size: 1.2rem; transition: transform 0.2s; flex-shrink: 0; }
/* ── CARD SUIT DECORATION ── */ .suit-row { display: flex; gap: 1rem; justify-content: center; font-size: 2.5rem; margin-bottom: 1.5rem; opacity: 0.15; user-select: none; }
/* ── AGE NOTICE ── */ .age-notice { background: rgba(234,179,8,0.07); border-top: 1px solid rgba(234,179,8,0.2); border-bottom: 1px solid rgba(234,179,8,0.2); padding: 0.9rem 0; text-align: center; font-size: 0.88rem; color: var(--text-muted); }
/* ── ROAD MAP VISUAL ── */ .roadmap-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.roadmap-cell { width: 100%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; }
.cell-p { background: rgba(30,64,175,0.7); color: #fff; }
.cell-b { background: rgba(220,38,38,0.7); color: #fff; }
.cell-t { background: rgba(22,163,74,0.7); color: #fff; }
/* ── FOOTER ── */ footer { background: #080718; border-top: 1px solid rgba(124,58,237,0.2); padding: 3.5rem 0 0; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 0.8rem; }
.footer-email { color: var(--text-muted); font-style: normal; text-decoration: none; cursor: default; }
.footer-heading { font-weight: 700; color: #fff; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.03em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 2.5rem; padding: 1.2rem 0; color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 767px) { .page-hero { padding: 2.5rem 0 2rem; }
section { padding: 2.5rem 0; }
.roadmap-grid { grid-template-columns: repeat(8, 1fr); }
}
html, body { overflow-x: clip; width: 100%; }
/* ===== เพิ่มจากหน้าแรก (sections การตลาด) ===== */
* { box-sizing: border-box; }
.navbar-nav .nav-link { color: var(--text-main) !important; font-weight: 500; font-size: 0.95rem; padding: 0.5rem 0.85rem; transition: color 0.2s; letter-spacing: 0.01em; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--accent) !important; }
/* ── HERO ── */ .hero-section { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #0c0a1f 0%, #1a0a3e 40%, #0d1a4a 100%); }
.hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(30, 64, 175, 0.3) 0%, transparent 55%), radial-gradient(ellipse at 60% 80%, rgba(234, 179, 8, 0.08) 0%, transparent 50%); pointer-events: none; }
.hero-section::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(124,58,237,0.04) 60px, rgba(124,58,237,0.04) 61px), repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(30,64,175,0.04) 60px, rgba(30,64,175,0.04) 61px); pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 1.2rem; }
.hero-title .highlight { background: linear-gradient(90deg, var(--accent), #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin-bottom: 2rem; }
.hero-img-wrap { position: relative; z-index: 2; }
.hero-img-wrap img { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(124,58,237,0.3); width: 100%; max-height: 480px; object-fit: cover; }
/* ── CARD NEU ── */ .card-neu { background: var(--bg-card); border-radius: 16px; box-shadow: var(--neu-shadow-out); border: 1px solid rgba(124,58,237,0.15); padding: 1.8rem 1.5rem; transition: transform 0.2s, box-shadow 0.2s; height: auto; }
.card-neu:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(124,58,237,0.25), var(--neu-shadow-out); }
/* ── WHY CHOOSE US ── */ .why-section { background: linear-gradient(180deg, var(--bg) 0%, #0f0d28 100%); }
.why-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1rem; background: linear-gradient(135deg, rgba(30,64,175,0.3), rgba(124,58,237,0.3)); box-shadow: var(--neu-shadow-out); }
.why-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.why-desc { font-size: 0.9rem; color: var(--text-muted); }
/* ── STATS ── */ .stats-section { background: linear-gradient(135deg, #0d1a4a 0%, #1a0a3e 100%); position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(234,179,8,0.08) 0%, transparent 70%); }
.stat-card { text-align: center; padding: 2rem 1rem; position: relative; z-index: 1; }
.stat-number { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; background: linear-gradient(90deg, var(--accent), #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; }
.stat-label { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.4rem; }
/* ── GAME CATEGORIES ── */ .games-section { background: var(--bg); }
.game-card { background: var(--bg-card2); border-radius: 16px; overflow: hidden; box-shadow: var(--neu-shadow-out); border: 1px solid rgba(124,58,237,0.2); transition: transform 0.2s, box-shadow 0.2s; text-align: center; padding: 2rem 1rem 1.5rem; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(124,58,237,0.3); }
.game-icon { font-size: 2.8rem; margin-bottom: 0.8rem; display: block; }
.game-name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.game-desc { font-size: 0.85rem; color: var(--text-muted); }
/* ── JACKPOT ── */ .jackpot-section { background: linear-gradient(135deg, #0c0a1f 0%, #1a0a3e 60%, #0d1a4a 100%); position: relative; overflow: hidden; }
.jackpot-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(234,179,8,0.15) 0%, transparent 60%); }
.jackpot-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(234,179,8,0.3); border-radius: 16px; padding: 1.5rem; text-align: center; box-shadow: 0 0 20px rgba(234,179,8,0.1); position: relative; z-index: 1; }
.jackpot-amount { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--accent); text-shadow: 0 0 20px rgba(234,179,8,0.5); }
.jackpot-winner { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }
.jackpot-game { font-size: 0.9rem; color: #a78bfa; font-weight: 600; }
/* ── TRUST QUOTE ── */ .trust-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); text-align: center; padding: 5rem 0; }
.trust-quote { font-size: clamp(1.5rem, 4vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.4; max-width: 800px; margin: 0 auto; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.trust-brand { color: var(--accent); }
/* ── PROVIDERS ── */ .providers-section { background: #0f0d28; }
.provider-chip { background: var(--bg-card); border: 1px solid rgba(124,58,237,0.25); border-radius: 12px; padding: 1rem 1.5rem; text-align: center; font-weight: 700; font-size: 0.95rem; color: var(--text-main); box-shadow: var(--neu-shadow-out); transition: all 0.2s; }
.provider-chip:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px rgba(234,179,8,0.2); }
/* ── PAYMENT ── */ .payment-section { background: var(--bg); }
.payment-chip { background: var(--bg-card2); border: 1px solid rgba(30,64,175,0.3); border-radius: 10px; padding: 0.8rem 1.2rem; text-align: center; font-size: 0.88rem; font-weight: 600; color: var(--text-main); box-shadow: var(--neu-shadow-out); transition: all 0.2s; }
.payment-chip:hover { border-color: var(--secondary); color: #c4b5fd; }
.payment-icon { font-size: 1.5rem; display: block; margin-bottom: 0.4rem; }
/* ── TESTIMONIALS ── */ .testimonials-section { background: linear-gradient(180deg, #0f0d28 0%, var(--bg) 100%); }
.testi-card { background: var(--bg-card); border-radius: 16px; padding: 1.8rem; border: 1px solid rgba(124,58,237,0.2); box-shadow: var(--neu-shadow-out); height: auto; }
.testi-stars { color: var(--accent); font-size: 1rem; margin-bottom: 0.8rem; }
.testi-text { font-size: 0.95rem; color: var(--text-main); font-style: italic; margin-bottom: 1.2rem; line-height: 1.7; }
.testi-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.testi-city { font-size: 0.82rem; color: var(--text-muted); }
/* ── LOYALTY ── */ .loyalty-section { background: #0f0d28; }
.tier-card { border-radius: 20px; padding: 2rem 1.5rem; text-align: center; box-shadow: var(--neu-shadow-out); border: 1px solid transparent; height: auto; transition: transform 0.2s; }
.tier-card:hover { transform: translateY(-5px); }
.tier-bronze { background: linear-gradient(160deg, #2d1a0e, #1a1010); border-color: rgba(180,100,40,0.4); }
.tier-silver { background: linear-gradient(160deg, #1a1a2e, #0f0f20); border-color: rgba(160,160,200,0.4); }
.tier-gold { background: linear-gradient(160deg, #1a1500, #0c0a00); border-color: rgba(234,179,8,0.5); box-shadow: var(--neu-shadow-out), 0 0 30px rgba(234,179,8,0.15); }
.tier-icon { font-size: 3rem; margin-bottom: 0.8rem; }
.tier-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.tier-bronze .tier-name { color: #cd7f32; }
.tier-silver .tier-name { color: #c0c0c0; }
.tier-gold .tier-name { color: var(--accent); }
.tier-benefit { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.3rem; }
/* ── EVENTS ── */ .events-section { background: var(--bg); }
.event-card { background: var(--bg-card); border-radius: 14px; padding: 1.2rem 1.5rem; border: 1px solid rgba(124,58,237,0.2); box-shadow: var(--neu-shadow-out); display: flex; gap: 1rem; align-items: flex-start; transition: transform 0.2s; }
.event-card:hover { transform: translateX(4px); }
.event-date-badge { background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 10px; padding: 0.5rem 0.8rem; text-align: center; min-width: 56px; flex-shrink: 0; }
.event-date-day { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.event-date-month { font-size: 0.7rem; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.event-title { font-weight: 700; color: #fff; font-size: 0.95rem; margin-bottom: 0.2rem; }
.event-desc { font-size: 0.85rem; color: var(--text-muted); }
/* ── ABOUT ── */ .about-section { background: linear-gradient(135deg, #0d1a4a 0%, #1a0a3e 100%); }
/* ── CONTACT ── */ .contact-section { background: #0f0d28; }
.contact-card { background: var(--bg-card); border-radius: 16px; padding: 2rem; border: 1px solid rgba(124,58,237,0.2); box-shadow: var(--neu-shadow-out); text-align: center; }
.contact-icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 0.8rem; }
/* ── PRIVACY NOTICE ── */ .privacy-notice { background: rgba(30,64,175,0.12); border: 1px solid rgba(30,64,175,0.35); border-radius: 12px; padding: 1rem 1.5rem; font-size: 0.88rem; color: var(--text-muted); }
.privacy-notice a { color: #a78bfa; text-decoration: underline; }
/* ── CTA STRIP ── */ .cta-strip { background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, #6d28d9 100%); padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(234,179,8,0.12) 0%, transparent 70%); }
.cta-strip-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.cta-strip-sub { color: rgba(255,255,255,0.75); margin-bottom: 1.8rem; position: relative; z-index: 1; }
/* ── SCROLLBAR ── */ ::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }
@media (max-width: 768px) { section { padding: 3.5rem 0; }
.hero-section { min-height: auto; padding: 4rem 0; }

/* ══════════════════════════════════════════════════════════
   md66.live — ส่วนเพิ่ม: typography เนื้อหา / สารบัญ / FAQ / แถบ CTA มือถือ
   ══════════════════════════════════════════════════════════ */

img { max-width: 100%; height: auto; }
a { text-decoration: none; }
main { display: block; }

/* ── เนื้อหาบทความ ── */
.article { padding-bottom: .5rem; }
.article h2, main h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800; color: #fff; line-height: 1.4;
  margin: 2.6rem 0 .9rem; scroll-margin-top: 96px;
}
.article h3, main h3 {
  font-size: 1.1rem; font-weight: 700; color: #fff;
  margin: 1.8rem 0 .6rem; scroll-margin-top: 96px;
}
.article p, main p { color: var(--text-main); margin: 0 0 1rem; }
.article ul, .article ol, main ul, main ol { margin: 0 0 1.2rem 1.35rem; }
.article li, main li { color: var(--text-main); margin: .45rem 0; }
.article strong, main strong { color: #fff; }
.article a, main a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: #f59e0b; }
.lead-p { font-size: 1.05rem; color: var(--text-muted); }

/* ── สารบัญ ── */
.toc {
  background: var(--bg-card); border: 1px solid rgba(124,58,237,0.22);
  border-radius: 16px; padding: 1.4rem 1.6rem; margin: 2rem 0 2.4rem;
  box-shadow: 5px 5px 14px var(--neu-dark), -3px -3px 8px var(--neu-light);
}
.toc h2 { font-size: 1.05rem !important; margin: 0 0 .6rem !important; color: var(--accent) !important; }
.toc ol { margin: 0 0 0 1.2rem !important; }
.toc li { margin: .35rem 0 !important; font-size: .93rem; }
.toc li a { color: var(--text-main); text-decoration: none; }
.toc li a:hover { color: var(--accent); text-decoration: underline; }

/* ── ตารางเนื้อหา (ใช้ .rules-table จากธีมหลักได้) ── */
table.rules-table { margin: 1.2rem 0 1.8rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── กล่องเน้น / callout ── */
.highlight-box p:last-child { margin-bottom: 0; }
.callout-gold {
  background: rgba(234,179,8,0.09); border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 1rem 1.3rem; margin: 1.4rem 0;
  color: var(--text-muted); font-size: .93rem;
}

/* ── FAQ (พับ/กางด้วย JS) ── */
.faq-item.open .faq-answer { display: block; }

/* ── กันคำไทยตัดกลางคำ ── */
.nw { white-space: nowrap; }

/* ── แถบ CTA ติดล่าง (มือถือ) ── */
.footbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 84px; }
  .footbar {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 2000; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(8,7,24,0.97); border-top: 1px solid rgba(124,58,237,0.35);
    backdrop-filter: blur(10px);
  }
  .footbar a {
    flex: 1 1 0; text-align: center; padding: .75rem .5rem; border-radius: 10px;
    font-weight: 700; font-size: .95rem; text-decoration: none;
  }
  .footbar .fb-login { background: var(--bg-card2); color: var(--text-main); border: 1px solid rgba(124,58,237,0.35); }
  .footbar .fb-reg { background: linear-gradient(145deg,#f0c020,#c99a06); color: #0c0a1f; }
  .totop { bottom: 92px !important; }
}

/* ── ปุ่มเลื่อนขึ้นบน ── */
.totop {
  position: fixed; right: 16px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(145deg,#2451c7,#1a38a0); color: #fff; border: 0;
  display: none; align-items: center; justify-content: center; z-index: 1500;
  box-shadow: 4px 4px 12px rgba(0,0,0,.6); cursor: pointer; font-size: 1.1rem;
}
.totop.show { display: flex; }

/* ── หน้าแรก: hero ปุ่ม/การ์ดเพิ่มความหนาแน่น ── */
.hero-section .container { position: relative; z-index: 2; }
.stat-mini-num small { font-size: .55em; }
.mini-note { font-size: .82rem; color: var(--text-muted); }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-top: 1.6rem;
}
.trust-strip span {
  background: var(--bg-card); border: 1px solid rgba(124,58,237,0.25);
  border-radius: 50px; padding: .35rem .9rem; font-size: .8rem; color: var(--text-muted);
}
