/* ============================================================
   panda456 — Deep Teal + Rose Gold Design System
   Primary: #062B2B (Deep Teal Dark)
   Secondary: #0D5454 (Teal Mid)
   Accent: #C8956C (Rose Gold)
   Highlight: #F5C4A0 (Light Rose Gold)
   BG: #031A1A (Darkest Teal)
   Text: #E8D5C4 (Warm Cream)
   ============================================================ */

/* --- 1. CSS Variables & Reset --- */
:root {
  --bg-dark:       #031A1A;
  --bg-card:       #062B2B;
  --bg-card2:      #0D5454;
  --accent:        #C8956C;
  --accent-light:  #F5C4A0;
  --accent-glow:   rgba(200, 149, 108, 0.25);
  --text-primary:  #E8D5C4;
  --text-muted:    #A09080;
  --border:        rgba(200, 149, 108, 0.2);
  --border-strong: rgba(200, 149, 108, 0.5);
  --radius:        10px;
  --radius-sm:     6px;
  --shadow:        0 4px 24px rgba(0,0,0,0.45);
  --shadow-glow:   0 0 20px rgba(200, 149, 108, 0.3);
  --font:          'Kanit', sans-serif;
  --transition:    0.25s ease;
  --container:     960px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent-light);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--accent); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--accent-light); }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--accent-light); font-weight: 600; }

/* --- 2. Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- 3. Header --- */
.site-header {
  background: rgba(3, 26, 26, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* --- 4. Navigation --- */
.site-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: 2rem; }

.site-nav a {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--accent-glow);
  color: var(--accent-light);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent), #A87050);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(200, 149, 108, 0.4);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200, 149, 108, 0.6);
  color: #fff !important;
}

/* --- 5. Hamburger (Mobile) --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-light);
  transition: transform var(--transition), opacity var(--transition);
}

/* --- 6. Mobile Nav Overlay --- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 26, 26, 0.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.6rem 2rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--accent-glow);
  color: var(--accent-light);
}

.mobile-nav .close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--accent-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav .mobile-cta {
  background: linear-gradient(135deg, var(--accent), #A87050);
  color: #fff !important;
  font-size: 1.2rem;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
}

/* --- 7. Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #031A1A 0%, #062B2B 50%, #031A1A 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200, 149, 108, 0.12) 0%, transparent 70%);
}

.hero > .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 520px;
}

.hero-content {
  flex: 1 1 55%;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--border-strong);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(200,149,108,0.3);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-image-wrap {
  flex: 1 1 45%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 340px;
  border-radius: var(--radius);
  object-fit: cover;
  filter: brightness(117%) contrast(124%);
  aspect-ratio: 16 / 10;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- 8. CTA Buttons --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent), #A87050);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(200,149,108,0.4);
  cursor: pointer;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(200,149,108,0.6);
  color: #fff !important;
}

.cta-button-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent-light) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.cta-button-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* --- 9. Section Spacing --- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 6rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* --- 10. Cards & Grid --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-strong);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* --- 11. Stats Bar --- */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* --- 12. Feature Grid (icon cards) --- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--accent-light);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- 13. Game Grid --- */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.game-card:hover {
  transform: scale(1.04);
  border-color: var(--accent);
}

.game-card .game-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.game-card .game-name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }

/* --- 14. 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 img {
  border-radius: var(--radius);
  filter: brightness(117%) contrast(124%);
  width: 100%;
}

/* --- 15. Steps List --- */
.steps-list { list-style: none; padding: 0; counter-reset: step; }

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  counter-increment: step;
}

.steps-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), #A87050);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 16. Check List --- */
.check-list { list-style: none; padding: 0; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.check-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* --- 17. TOC --- */
.toc-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.toc-icon { font-size: 1.1rem; }
.toc-title { font-size: 0.9rem; font-weight: 700; color: var(--accent-light); }

.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 0.35rem; }

.toc-list a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.toc-list a:hover { color: var(--accent-light); }

/* --- 18. FAQ Accordion --- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}

.faq-question:hover { background: rgba(200,149,108,0.07); }
.faq-question.active { color: var(--accent-light); background: rgba(200,149,108,0.07); }

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  transition: transform var(--transition);
}

.faq-question.active .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer.open { display: block; }

/* --- 19. Hero Banner Image --- */
.hero-banner-img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
  filter: brightness(117%) contrast(124%);
}

/* --- 20. Section Image --- */
.section-image {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(117%) contrast(124%);
}

/* --- 21. Promotion Page --- */
.promo-hero {
  background: linear-gradient(135deg, #031A1A 0%, #062B2B 100%);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.promo-cards { display: flex; flex-direction: column; gap: 2.5rem; }

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.promo-card-body { padding: 2rem; }
.promo-card-body h2 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.promo-card-body .promo-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #A87050);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.promo-image {
  max-width: 520px;
  margin: 0 auto;
  display: block;
  width: 100%;
  height: auto;
}

.promo-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  filter: brightness(117%) contrast(124%);
}

.promo-card-img { overflow: hidden; }
.promo-card-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(117%) contrast(124%); }

/* --- 22. Login Page --- */
.login-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

.login-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.login-form-card h2 { margin-bottom: 1.25rem; font-size: 1.3rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-primary); }

.form-group input {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus { border-color: var(--accent); }
.form-group input::placeholder { color: var(--text-muted); }

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #A87050);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.8rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,149,108,0.5); }

.login-hero-img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(117%) contrast(124%);
}

/* --- 23. Blog --- */
.blog-article { max-width: 820px; margin: 0 auto; }

.blog-featured-image {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  margin-bottom: 1.5rem;
  filter: brightness(117%) contrast(124%);
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.article-meta span { display: flex; align-items: center; gap: 0.3rem; }

.blog-content h2 { margin: 2rem 0 0.75rem; }
.blog-content h3 { margin: 1.5rem 0 0.6rem; }
.blog-content p { margin-bottom: 1.1rem; }
.blog-content ul, .blog-content ol { margin-bottom: 1.1rem; }

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.related-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}

.related-post-card:hover { transform: translateY(-3px); }

.related-post-card img { width: 100%; height: 140px; object-fit: cover; filter: brightness(117%) contrast(124%); }

.related-post-info { padding: 1rem; }
.related-post-info h4 { font-size: 0.9rem; color: var(--accent-light); margin-bottom: 0.3rem; }
.related-post-info p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* --- 24. Archive / Blog List --- */
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.archive-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.archive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.archive-card-img { position: relative; overflow: hidden; height: 200px; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(117%) contrast(124%); transition: transform 0.4s; }
.archive-card:hover .archive-card-img img { transform: scale(1.05); }

.archive-card-body { padding: 1.25rem; }
.archive-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--accent-light); line-height: 1.4; }
.archive-card-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.6; }

.archive-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition);
}

.read-more:hover { color: var(--accent-light); }

/* --- 25. Table --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-card);
  color: var(--accent-light);
  font-weight: 700;
}

.data-table tr:nth-child(even) td { background: rgba(13,84,84,0.2); }
.data-table td { color: var(--text-primary); }

/* --- 26. Highlight Box --- */
.highlight-box {
  background: rgba(200,149,108,0.08);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.highlight-box p { margin: 0; font-size: 0.95rem; }

/* --- 27. CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #062B2B 0%, #0D5454 50%, #062B2B 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.cta-banner h2 { color: var(--accent-light); margin-bottom: 0.75rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- 28. Footer --- */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

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

.footer-brand .footer-logo-text {
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo-text img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* --- 29. Floating CTA --- */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #A87050);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(200,149,108,0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-glow 2.5s infinite;
}

.floating-cta a:hover { transform: scale(1.05); box-shadow: 0 8px 28px rgba(200,149,108,0.7); }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(200,149,108,0.5); }
  50% { box-shadow: 0 4px 30px rgba(200,149,108,0.8); }
}

/* --- 30. Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 89;
  transition: background var(--transition);
}

.back-to-top:hover { background: var(--accent-glow); }
.back-to-top.visible { display: flex; }

/* --- 31. Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-strong); }
.breadcrumb .current { color: var(--accent-light); }

/* --- 32. Bonus Badge Stripe --- */
.bonus-stripe {
  background: linear-gradient(90deg, var(--accent) 0%, #A87050 100%);
  text-align: center;
  padding: 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

/* --- 33. Payment Icons Row --- */
.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.payment-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- 34. Animations --- */
.fade-in { animation: fadeIn 0.6s ease both; }
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in-up.visible { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- 35. Responsive — Tablet (768–1023px) --- */
@media (max-width: 1023px) {
  .hero > .container { flex-direction: column; min-height: auto; }
  .hero-image-wrap { display: none; }
  .hero-content { flex: 1 1 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card-img { height: 280px; }
  .login-layout { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .related-posts-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
}

/* --- 36. Responsive — Mobile (<767px) --- */
@media (max-width: 767px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  .site-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 420px; padding: 2rem 0; }
  .hero-content { padding: 2rem 0; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 0.75rem; }
  .stat-item .stat-num { font-size: 1.4rem; }
  .section { padding: 2.5rem 0; }
  .section-lg { padding: 3rem 0; }
  .floating-cta { bottom: 1rem; right: 1rem; }
  .back-to-top { bottom: 1rem; left: 1rem; }
  .cta-banner { padding: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .login-form-card { padding: 1.25rem; }
  .promo-card-body { padding: 1.25rem; }
}

/* --- 37. Print --- */
@media print {
  .site-header, .site-footer, .floating-cta, .back-to-top, .hamburger, .mobile-nav { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* --- 38. Content image filter --- */
.content-image img {
  filter: brightness(117%) contrast(124%);
  border-radius: 10px;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

/* --- 39. Gallery hover --- */
.gallery img {
  border-radius: 7px;
  transition: filter 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}

.gallery img:hover {
  filter: brightness(132%) contrast(121%) saturate(116%);
}

/* --- 40. Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  width: 0%;
  z-index: 200;
  transition: width 0.1s linear;
}

/* --- 41. Trust badges --- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-badge .icon { color: var(--accent); }
