/*
Theme Name: XS Min BC Lottery
Theme URI: https://www.mu88.tech/xsmb
Author: MU88
Author URI: https://www.mu88.tech
Description: Giao diện tùy biến cho cổng xổ số miền Bắc realtime, tối ưu phân tích 90 ngày, thống kê cầu động và CTA chuyển化.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xsminbc-lotto
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap');

:root {
  --xsmb-red: #ff335f;
  --xsmb-purple: #8926ff;
  --xsmb-blue: #3bd3ff;
  --xsmb-dark: #05060a;
  --xsmb-card: #0f1018;
  --xsmb-card-soft: #171829;
  --xsmb-border: rgba(255, 255, 255, 0.08);
  --xsmb-text: #f5f7ff;
  --xsmb-muted: rgba(245, 247, 255, 0.75);
  --xsmb-green: #3de1a1;
  --xsmb-orange: #ff914d;
}

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

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #11122b 0%, #05060a 55%, #030303 100%);
  color: var(--xsmb-text);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: var(--xsmb-blue);
  text-decoration: none;
}

a:hover {
  color: var(--xsmb-red);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.xsmb-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.xsmb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(24px);
  background: rgba(5, 6, 10, 0.82);
  border-bottom: 1px solid var(--xsmb-border);
}

.xsmb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1.25rem;
}

.xsmb-logo {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xsmb-logo span {
  color: var(--xsmb-blue);
}

.xsmb-primary-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.xsmb-primary-nav a {
  color: var(--xsmb-muted);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.xsmb-cta-buttons {
  display: flex;
  gap: 0.75rem;
}

.xsmb-cta-btn {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.xsmb-cta-btn.login {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--xsmb-text);
}

.xsmb-cta-btn.register {
  background: linear-gradient(120deg, var(--xsmb-red), var(--xsmb-purple));
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 51, 95, 0.35);
}

.xsmb-cta-btn:hover {
  transform: translateY(-2px);
}

main {
  padding: 3rem 0 5rem;
}

.xsmb-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 32px;
  background: radial-gradient(circle at 10% 10%, rgba(59, 211, 255, 0.22), rgba(5, 6, 10, 0.95)), var(--xsmb-card);
  border: 1px solid var(--xsmb-border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.xsmb-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 1rem;
}

.xsmb-hero p.lead {
  color: var(--xsmb-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.xsmb-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.xsmb-metric-card {
  padding: 1.2rem;
  border-radius: 18px;
  background: var(--xsmb-card);
  border: 1px solid var(--xsmb-border);
}

.xsmb-metric-card span.label {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--xsmb-muted);
  letter-spacing: 0.08em;
}

.xsmb-metric-card strong {
  display: block;
  font-size: 1.8rem;
  margin-top: 0.2rem;
}

.xsmb-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.xsmb-card {
  padding: 1.8rem;
  border-radius: 24px;
  background: var(--xsmb-card-soft);
  border: 1px solid var(--xsmb-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.xsmb-card h3 {
  margin-top: 0;
}

.xsmb-results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.xsmb-results-table th,
.xsmb-results-table td {
  padding: 0.65rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.xsmb-results-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--xsmb-muted);
}

.xsmb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  background: rgba(59, 211, 255, 0.12);
  color: var(--xsmb-blue);
}

.xsmb-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.xsmb-content-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--xsmb-card);
  border: 1px solid var(--xsmb-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.xsmb-content-card .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--xsmb-orange);
}

.xsmb-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--xsmb-border);
  background: #04040b;
}

.xsmb-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .xsmb-header-inner {
    flex-direction: column;
  }

  .xsmb-primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .xsmb-hero {
    padding: 1.8rem;
  }
}
.xsmb-floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(5, 6, 10, 0.85);
  border: 1px solid var(--xsmb-border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  z-index: 40;
}

.xsmb-floating-cta .xsmb-cta-btn {
  font-size: 0.75rem;
  padding: 0.6rem 1.2rem;
}

.xsmb-floating-cta .xsmb-cta-btn.login {
  border-color: rgba(255, 255, 255, 0.4);
}
.xsmb-section-head {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.xsmb-section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.xsmb-section-head p {
  color: var(--xsmb-muted);
  max-width: 640px;
}

.xsmb-card ul,
.xsmb-card ol {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--xsmb-muted);
}

.xsmb-card ul {
  list-style: none;
  padding-left: 0;
}

.xsmb-card ul li {
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.25rem;
}

.xsmb-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--xsmb-blue);
}

.xsmb-card ol li {
  margin-bottom: 0.4rem;
}

.xsmb-meta {
  font-size: 0.85rem;
  color: var(--xsmb-muted);
}
.xsmb-content-card .xsmb-cta-buttons {
  margin-top: auto;
}
