/* HappyLukeReg - จ่ายจริง999 Red & Gold Static Theme */
:root {
  --red-deep: #5a0608;
  --red-dark: #750c01;
  --red-primary: #c8161d;
  --red-bright: #da2d2d;
  --gold-light: #ffe57f;
  --gold-primary: #ffcc00;
  --gold-deep: #f59e0b;
  --gold-amber: #ff9100;
  --bg-body: #140807;
  --bg-surface: #210c0a;
  --bg-card: #2c100c;
  --bg-card-hover: #38140f;
  --border-gold: rgba(255, 204, 0, 0.35);
  --border-red: rgba(218, 45, 45, 0.45);
  --text-main: #fff8eb;
  --text-muted: #e2c9b8;
  --text-dark: #1d0907;
  --shadow-gold: 0 8px 28px rgba(255, 204, 0, 0.22);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.42);
  --radius: 14px;
  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Prompt', 'Sarabun', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top center, #3b0b08 0%, var(--bg-body) 52%);
  color: var(--text-main);
  line-height: 1.72;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-primary); text-decoration: none; transition: color 0.2s, transform 0.2s, box-shadow 0.2s; }
a:hover { color: var(--gold-light); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.announce-bar {
  background: linear-gradient(90deg, var(--red-deep), var(--red-primary), var(--red-deep));
  border-bottom: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.9rem;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 8, 7, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-primary);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.3px;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 204, 0, 0.35));
}

.brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: 10px;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 204, 0, 0.14);
  color: var(--gold-primary);
}

/* Dropdown Submenu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1010;
  list-style: none;
  margin: 0;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--text-main);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, var(--red-primary), var(--red-dark));
  color: var(--gold-light);
}

.dropdown-menu img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
}

/* CTA Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ffe259 0%, #ffcc00 50%, #f59e0b 100%);
  color: var(--text-dark) !important;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 999px;
  border: 2px solid #fff3b0;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  font-size: 0.98rem;
  text-align: center;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 204, 0, 0.38);
  filter: brightness(1.05);
}

.btn-cta-lg {
  padding: 15px 34px;
  font-size: 1.12rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  color: #ffffff !important;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold-primary);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.menu-toggle {
  display: none;
  background: var(--red-primary);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 36px 0 28px;
}

.hero-banner-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.hero-banner-wrap img {
  width: 100%;
  display: block;
}

.hero-panel {
  background: linear-gradient(135deg, rgba(155, 14, 18, 0.92), rgba(44, 16, 12, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 204, 0, 0.16);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.28;
  color: var(--gold-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--gold-primary);
  margin: 0 0 14px;
  line-height: 1.35;
}

h3 {
  font-size: 1.16rem;
  color: var(--gold-light);
  margin: 0 0 8px;
}

.lead {
  font-size: 1.06rem;
  color: var(--text-main);
  max-width: 820px;
  margin: 0 auto 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Sections & Cards */
.section {
  padding: 34px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--border-gold);
  padding-bottom: 12px;
}

.section-header p {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 14px 32px rgba(200, 22, 29, 0.35);
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-media {
  position: relative;
  background: linear-gradient(135deg, var(--red-dark), #1f0806);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-bottom: 1px solid var(--border-gold);
}

.card-media img.flag-img {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.card-media img.icon-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.card-banner-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-bottom: 1px solid var(--border-gold);
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--red-primary);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0 0 14px;
  flex: 1;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: auto;
}

/* Payout Highlight Strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.stat-box {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  border: 1px solid var(--gold-primary);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: #fff;
  margin-top: 4px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 18px 0 14px;
  list-style: none;
  padding: 0;
}

.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--gold-primary); }
.breadcrumb li:last-child::after { content: ""; margin: 0; }
.breadcrumb li:last-child { color: var(--gold-light); font-weight: 600; }

/* Article Layout */
.article-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.article-banner-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-gold);
}

.article-banner-link:hover {
  transform: scale(1.008);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 204, 0, 0.16);
}

.info-table th {
  background: var(--red-dark);
  color: var(--gold-primary);
  font-weight: 700;
}

.pros-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pros-list li {
  background: rgba(200, 22, 29, 0.22);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 0.96rem;
}

.pros-list li::before {
  content: "✔ ";
  color: var(--gold-primary);
  font-weight: 800;
}

/* Bottom Article CTA Box */
.cta-box {
  margin-top: 28px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-deep) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.cta-box h2, .cta-box h3 {
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.cta-box p {
  color: #fff6e5;
  margin: 0 auto 18px;
  max-width: 680px;
}

/* Promo Cards */
.promo-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-surface));
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.promo-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  background: #100504;
  border-top: 3px solid var(--gold-primary);
  padding: 40px 0 26px;
  color: var(--text-muted);
}

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

.footer-title {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.93rem; }
.footer-links a:hover { color: var(--gold-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  padding-top: 18px;
  text-align: center;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #1c0806;
    border-bottom: 2px solid var(--gold-primary);
    padding: 14px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 204, 0, 0.06);
    margin: 4px 0 8px 12px;
  }
  .grid-3, .grid-2, .pros-list, .footer-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 18px; }
}
