/* ============================================================
   winx98 — Main Stylesheet
   Design: Deep Sapphire Blue + Electric Gold
   Palette: #050D1A (bg) | #1A3D6E (secondary) | #F5C518 (accent) | #0A1A30 (surface)
   Font: Kanit (Google Fonts)
   ============================================================ */

/* === 1. CSS CUSTOM PROPERTIES === */
:root {
  --color-bg: #050D1A;
  --color-bg-alt: #0A1A30;
  --color-surface: #0D2040;
  --color-surface-alt: #112244;
  --color-primary: #1A3D6E;
  --color-accent: #F5C518;
  --color-accent-dark: #C9A010;
  --color-accent-light: #FFD84A;
  --color-text: #E8EDF5;
  --color-text-muted: #8AA0BE;
  --color-text-dark: #4A6080;
  --color-border: #1E3A5F;
  --color-border-light: #2A4E7A;
  --font-main: 'Kanit', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-accent: 0 4px 20px rgba(245,197,24,0.25);
  --transition: 0.25s ease;
  --container-max: 1200px;
  --header-h: 70px;
}

/* === 2. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-accent);
}
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.6rem; color: var(--color-accent-light); }
p { margin-bottom: 1rem; color: var(--color-text); }
strong { color: var(--color-accent-light); font-weight: 600; }

/* === 4. CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === 5. HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,13,26,0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.header-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.header-logo img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--color-accent);
  background: rgba(245,197,24,0.08);
}
.header-cta { display: flex; align-items: center; gap: 0.5rem; }

/* === 6. CTA BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-main);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #000;
  padding: 0.6rem 1.4rem;
  font-size: 0.92rem;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245,197,24,0.4);
}
.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.6rem 1.4rem;
  font-size: 0.92rem;
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #000;
}

/* === 7. MOBILE NAV === */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  transition: all var(--transition);
  border-radius: 2px;
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-bg-alt);
  border-bottom: 2px solid var(--color-border);
  z-index: 999;
  padding: 1rem;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
  color: var(--color-text);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.mobile-nav-overlay a:hover {
  color: var(--color-accent);
  border-color: var(--color-border);
  background: rgba(245,197,24,0.05);
}
.mobile-nav-overlay .btn-primary {
  width: 100%;
  padding: 0.85rem;
  justify-content: center;
  font-size: 1rem;
}

/* === 8. HERO SECTION === */
.hero-section {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-surface) 100%);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 { color: var(--color-text); font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.hero-content h1 span { color: var(--color-accent); }
.hero-content p { font-size: 1.05rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: brightness(1.1) contrast(1.05);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-accent);
  display: block;
}
.stat-label { font-size: 0.82rem; color: var(--color-text-muted); }

/* === 9. SECTIONS === */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-surface { background: var(--color-surface); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
.section-header p { color: var(--color-text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-badge {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(245,197,24,0.3);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === 10. CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(245,197,24,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245,197,24,0.1);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; }

/* === 11. FEATURE GRID === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.feature-item:hover { border-color: rgba(245,197,24,0.3); }
.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(245,197,24,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-accent);
}
.feature-text h4 { font-size: 0.95rem; color: var(--color-accent); margin-bottom: 0.25rem; }
.feature-text p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* === 12. TWO-COLUMN SECTION === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.two-col-image img {
  width: 100%;
  height: auto;
  filter: brightness(1.15) contrast(1.24);
  border-radius: var(--radius-lg);
}
.two-col-content h2 { margin-bottom: 1rem; }
.two-col-content p { color: var(--color-text-muted); margin-bottom: 1rem; }

/* === 13. STEPS LIST === */
.steps-list { list-style: none; padding: 0; counter-reset: steps; }
.steps-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === 14. GAME TYPES GRID === */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.game-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.game-card:hover {
  border-color: var(--color-accent);
  background: rgba(245,197,24,0.05);
  transform: translateY(-2px);
}
.game-card .game-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.game-card h4 { font-size: 0.9rem; color: var(--color-accent); margin: 0; }

/* === 15. CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-alt) 100%);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(245,197,24,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--color-text); margin-bottom: 0.75rem; }
.cta-banner p { color: var(--color-text-muted); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 1.1rem; padding: 0.9rem 2.5rem; }

/* === 16. IMAGE SECTIONS === */
.content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.5rem 0;
}
.content-image img {
  width: 100%;
  height: auto;
  filter: brightness(1.17) contrast(1.24);
  border-radius: var(--radius-lg);
}

/* === 17. FAQ SECTION === */
.faq-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-accent); }
.faq-question .faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-accent);
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}
.faq-answer.open { display: block; }

/* === 18. TABLE === */
.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.92rem; }
.data-table th {
  background: var(--color-surface);
  color: var(--color-accent);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.data-table tr:hover td { background: rgba(245,197,24,0.03); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); }

/* === 19. PROMOTION CARDS === */
.promo-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.promo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.promo-card:hover { border-color: rgba(245,197,24,0.4); box-shadow: var(--shadow-md); }
.promo-image {
  max-width: 600px;
  margin: 0 auto;
  display: block;
  width: 100%;
}
.promo-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.promo-body { padding: 2rem; }
.promo-badge {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(245,197,24,0.3);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.promo-body h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.promo-body p { color: var(--color-text-muted); }
.promo-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  margin: 0.75rem 0;
  line-height: 1.2;
}
.promo-steps { list-style: none; padding: 0; margin: 1rem 0; }
.promo-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.promo-steps li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-terms {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--color-text-dark);
  border-left: 3px solid var(--color-border);
}

/* === 20. LOGIN PAGE === */
.login-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.login-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.login-card h2 { text-align: center; margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--color-accent); }
.form-control::placeholder { color: var(--color-text-dark); }
.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.login-hero-image { border-radius: var(--radius-lg); overflow: hidden; }
.login-hero-image img {
  width: 100%;
  height: auto;
  filter: brightness(1.1) contrast(1.1);
  border-radius: var(--radius-lg);
}

/* === 21. BLOG ARCHIVE === */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.post-card:hover { border-color: rgba(245,197,24,0.3); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.25rem; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}
.post-meta .reading-time { color: var(--color-accent); }
.post-body h3 { font-size: 0.97rem; color: var(--color-text); margin-bottom: 0.5rem; line-height: 1.4; }
.post-body h3 a { color: inherit; }
.post-body h3 a:hover { color: var(--color-accent); }
.post-excerpt { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.read-more:hover { color: var(--color-accent-light); }

/* === 22. BLOG POST === */
.blog-post-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.blog-featured-image {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-featured-image img {
  width: 100%;
  height: auto;
  filter: brightness(1.1) contrast(1.1);
  border-radius: var(--radius-lg);
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.blog-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.blog-content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.blog-content ul, .blog-content ol { color: var(--color-text-muted); margin-bottom: 1rem; }
.blog-content a { color: var(--color-accent); text-decoration: underline; }
.toc-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.toc-container h3 { font-size: 0.92rem; color: var(--color-accent); margin-bottom: 0.75rem; }
.toc-container ol { padding-left: 1.25rem; }
.toc-container li { margin-bottom: 0.4rem; }
.toc-container a { color: var(--color-text-muted); font-size: 0.88rem; text-decoration: none; }
.toc-container a:hover { color: var(--color-accent); }
.blog-cta {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-alt) 100%);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  margin: 2rem 0;
}
.blog-cta h3 { color: var(--color-accent); margin-bottom: 0.5rem; }
.blog-cta p { color: var(--color-text-muted); margin-bottom: 1.25rem; }
.related-posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.related-post-link {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: all var(--transition);
}
.related-post-link:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* === 23. PAYMENT/BANKING SECTION === */
.payment-section { padding: 2rem 0; }
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.payment-item {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.payment-item .p-icon { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--color-accent); }
.payment-item h4 { font-size: 0.9rem; color: var(--color-text); margin-bottom: 0.25rem; }
.payment-item p { font-size: 0.82rem; color: var(--color-text-dark); margin: 0; }

/* === 24. SAFETY SECTION === */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.safety-icon { font-size: 1.5rem; color: var(--color-accent); flex-shrink: 0; }
.safety-text h4 { color: var(--color-accent); font-size: 0.95rem; margin-bottom: 0.3rem; }
.safety-text p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* === 25. FOOTER === */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--color-text-muted); margin-top: 0.75rem; line-height: 1.7; }
.footer-logo {
  margin-bottom: 0.5rem;
}
.footer-logo img { height: 40px; width: auto; }
.footer-col h4 { font-size: 0.92rem; color: var(--color-accent); margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { font-size: 0.88rem; color: var(--color-text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--color-text-dark); margin: 0; }
.footer-disclaimer { font-size: 0.78rem; color: var(--color-text-dark); margin-top: 1rem; line-height: 1.6; border-top: 1px solid var(--color-border); padding-top: 1rem; }

/* === 26. BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background: var(--color-accent);
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: var(--shadow-accent);
  transition: all var(--transition);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-2px); }

/* === 27. BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-dark);
  padding: 1rem 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-dark); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: var(--color-border-light); }
.breadcrumb .current { color: var(--color-text-muted); }

/* === 28. INTRO SECTION === */
.intro-section { padding: 2rem 0; }
.intro-section p { color: var(--color-text-muted); font-size: 1rem; }

/* === 29. HIGHLIGHT BOX === */
.highlight-box {
  background: rgba(245,197,24,0.05);
  border: 1px solid rgba(245,197,24,0.2);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box p { color: var(--color-text); margin: 0; }

/* === 30. PAGE HERO (NON-HOME) === */
.page-hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: radial-gradient(ellipse at right, rgba(245,197,24,0.04) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--color-text-muted); font-size: 1.05rem; max-width: 600px; }

/* === 31. GALLERY === */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.gallery img {
  border-radius: 7px;
  transition: filter 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}
.gallery img:hover { filter: brightness(1.32) contrast(1.21) saturate(1.16); }

/* === 32. BADGE & TAG === */
.tag {
  display: inline-block;
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}
.tag-accent { background: rgba(245,197,24,0.1); color: var(--color-accent); border-color: rgba(245,197,24,0.3); }

/* === 33. RESPONSIBLE GAMBLING === */
.resp-gambling {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.resp-gambling h4 { font-size: 0.9rem; color: var(--color-accent); margin-bottom: 0.5rem; }
.resp-gambling p { font-size: 0.82rem; color: var(--color-text-dark); margin: 0; }

/* === 34. RESPONSIVE — TABLET (768-1023px) === */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { max-width: 600px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .login-page-grid { grid-template-columns: 1fr; gap: 2rem; }
  .related-posts { grid-template-columns: 1fr; }
}

/* === 35. RESPONSIVE — MOBILE (<767px) === */
@media (max-width: 767px) {
  :root { --header-h: 62px; }
  .site-nav { display: none; }
  .header-cta .btn-primary { display: none; }
  .mobile-nav-toggle { display: flex; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  .hero-section { padding: 2.5rem 0 2rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .stat-value { font-size: 1.3rem; }
  .stat-label { font-size: 0.75rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-grid { grid-template-columns: 1fr; }
  .promo-body { padding: 1.25rem; }
  .promo-amount { font-size: 1.7rem; }
  .cta-banner { padding: 2rem 1.25rem; }
  .blog-post-layout { padding: 1.5rem 1rem; }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .related-posts { grid-template-columns: 1fr; }
}

/* === 36. SCROLL ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* === 37. FLOATING CTA === */
.floating-cta {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 490;
  display: none;
}
.floating-cta.visible { display: block; }
.floating-cta .btn-primary {
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 20px rgba(245,197,24,0.4);
  font-size: 0.92rem;
}

/* === 38. BREADCRUMB (mobile) === */
@media (max-width: 767px) {
  .breadcrumb { font-size: 0.78rem; }
}

/* === 39. NO-JS FALLBACK === */
.no-js .fade-in { opacity: 1; transform: none; }
.no-js .floating-cta { display: none; }

/* === 40. PRINT STYLES === */
@media print {
  .site-header, .site-footer, .back-to-top, .floating-cta, .mobile-nav-toggle, .mobile-nav-overlay { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
