/*
Theme Name: Yoko Jeans - Fun88 Official
Theme URI: https://yokojeans.com.co/
Author: Antigravity Team
Author URI: https://yokojeans.com.co/
Description: Theme WordPress chuẩn SEO, tốc độ cao, giao diện chuẩn 100% theo website https://yokojeans.com.co/. Hỗ trợ Responsive đa thiết bị, tối ưu chuyển đổi, tích hợp hệ thống nút CTA, side banner, bottom banner, tự động tạo mục lục bài viết (TOC), tác giả chuyên gia E-E-A-T và tương thích hoàn toàn với WordPress mới nhất.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: yokojeans
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready, two-columns, blog, entertainment
*/

/* ==========================================================================
   RESET & ROOT CSS VARIABLES
   ========================================================================== */
:root {
  --primary-color: #13287f;
  --primary-hover: #1299f7;
  --secondary-color: #33c85d;
  --accent-cyan: #25aae1;
  --alert-color: #e52e04;
  --alert-hover: #c02603;
  --gold-color: #f7941d;
  --bg-boxed: #0b1c48;
  --bg-dark: #13287f;
  --bg-light: #f7f9fa;
  --bg-white: #ffffff;
  --text-main: #333333;
  --text-muted: #777777;
  --text-heading: #13287f;
  --border-color: #e2e8f0;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --container-max-width: 1150px;
  --boxed-max-width: 1180px;
  --font-main: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition-fast: all 0.25s ease-in-out;
}

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

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-boxed) !important;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   CRITICAL CENTERING FIX FOR BOXED LAYOUT
   ========================================================================== */
body {
  margin: 0 auto !important;
  padding: 0;
  color: var(--text-main);
  background-color: var(--bg-boxed) !important;
  font-family: var(--font-main);
  font-size: 100%;
  width: 100%;
  overflow-x: hidden;
}

/* Ensure body.boxed is ALWAYS centered in the middle of any screen */
body.boxed {
  max-width: var(--boxed-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
  position: relative;
  min-height: 100vh;
}

#wrapper,
.wrapper-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  position: relative;
}

.container,
.container-width,
.row {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#header {
  position: relative;
  z-index: 990;
  background-color: #ffffff;
  width: 100%;
}

#header.has-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

/* Adjust sticky top if WordPress admin bar is present */
.admin-bar #header.has-sticky {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #header.has-sticky {
    top: 46px;
  }
}

.header-wrapper {
  width: 100%;
}

.header-main {
  height: 70px;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 15px;
}

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

#logo img {
  max-height: 55px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Header Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: #00a2ea;
  background: linear-gradient(135deg, #25aae1 0%, #0077b6 100%);
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(0, 162, 234, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0077b6 0%, #005682 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(0, 162, 234, 0.4);
}

.btn-alert {
  background-color: transparent;
  color: #e52e04 !important;
  border: 2px solid #e52e04;
}

.btn-alert:hover {
  background-color: #e52e04;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Header Bottom Nav */
.header-bottom {
  background-color: var(--primary-color);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.header-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  flex-wrap: wrap;
}

.header-bottom-nav > li {
  position: relative;
  margin: 0 2px;
}

.header-bottom-nav > li > a {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  padding: 10px 14px;
  line-height: 24px;
  border-radius: 4px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.header-bottom-nav > li > a:hover,
.header-bottom-nav > li.current-menu-item > a,
.header-bottom-nav > li.current-page-ancestor > a {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--primary-color);
  cursor: pointer;
  padding: 8px 10px;
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 20px 18px;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.mobile-drawer-close button {
  background: #f0f2f5;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mobile-drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer-menu li a {
  display: block;
  padding: 12px 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.mobile-drawer-menu li a:hover {
  color: var(--primary-color);
  padding-left: 12px;
}

.mobile-drawer-actions {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs-wrapper {
  background-color: #f7f9fa;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #eaeaea;
}

.breadcrumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #666;
}

.breadcrumbs a {
  color: var(--primary-color);
}

.breadcrumbs a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.breadcrumbs .divider {
  margin: 0 8px;
  color: #aaa;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC COMPONENTS
   ========================================================================== */
/* Hero Banner */
.hero-banner-section {
  position: relative;
  background-color: #0b1c48;
  width: 100%;
}

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

.hero-cta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 15px 15px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 10px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
}

/* 4 Feature USP Highlights */
.features-section {
  padding: 25px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

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

.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.feature-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 2px 0;
}

.feature-desc {
  font-size: 0.78rem;
  color: #666;
  margin: 0;
  line-height: 1.35;
}

/* Official Link Access Box */
.official-links-box {
  background: linear-gradient(180deg, #f0f7ff 0%, #e2effd 100%);
  border: 2px solid #b9d8ff;
  border-radius: var(--border-radius-md);
  padding: 24px 20px;
  margin: 25px 0;
  text-align: center;
}

.official-links-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 8px;
}

.official-links-subtitle {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.official-links-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.link-btn {
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-btn-1 {
  background: linear-gradient(135deg, #00a2ea 0%, #0066aa 100%);
}

.link-btn-2 {
  background: linear-gradient(135deg, #e52e04 0%, #b81c00 100%);
}

.link-btn-3 {
  background: linear-gradient(135deg, #33c85d 0%, #1f8a3d 100%);
}

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Promo Alert Box */
.promo-badge-box {
  background: #fff3cd;
  border: 1px dashed #ffc107;
  border-radius: 6px;
  padding: 12px 18px;
  color: #856404;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 850px;
}

.promo-badge-box strong {
  color: #d32f2f;
}

/* Content SEO Area */
.content-seo-area {
  padding: 25px 0 40px;
  background-color: #ffffff;
}

.content-seo-area p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 1.2em;
}

.content-seo-area h2 {
  position: relative;
  padding-left: 12px;
  border-left: 4px solid var(--accent-cyan);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.content-seo-area h3 {
  color: #1a365d;
  margin-top: 1.3em;
}

/* 3-Step Registration Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 800;
  border-radius: 50%;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
}

/* Games Grid */
.games-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.game-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.game-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.game-card-body {
  padding: 15px;
}

.game-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 6px;
}

.game-card-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Latest Posts Grid on Home */
.home-posts-section {
  padding: 30px 0;
  border-top: 1px solid #f0f0f0;
}

.section-heading-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.section-heading-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
  text-transform: uppercase;
}

.section-view-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Post Card Grid (Shared across archive & home) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d0e4f7;
}

.post-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background-color: #f0f2f5;
}

.post-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.post-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 8px;
  color: #1a202c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a {
  color: inherit;
}

.post-card-title a:hover {
  color: var(--primary-color);
}

.post-card-meta {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 8px;
}

.post-card-excerpt {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SINGLE POST LAYOUT
   ========================================================================== */
.single-post-container {
  padding: 30px 0 50px;
  background: #ffffff;
}

.entry-header {
  margin-bottom: 24px;
}

.entry-category-badge {
  display: inline-block;
  background-color: var(--accent-cyan);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.entry-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.35;
  margin-top: 0;
  margin-bottom: 14px;
}

.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: #777;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.entry-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Table of Contents (TOC) */
.toc-box {
  background-color: #f7f9fa;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  margin: 25px 0;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.toc-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-toggle-btn {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  cursor: pointer;
}

.toc-list {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 0.92rem;
}

.toc-list li {
  margin-bottom: 6px;
  line-height: 1.4;
}

.toc-list li a {
  color: #333;
}

.toc-list li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Post Content Formatting */
.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #2d3748;
}

.entry-content p {
  margin-bottom: 1.3em;
}

.entry-content h2 {
  font-size: 1.45rem;
  color: var(--primary-color);
  border-left: 4px solid var(--accent-cyan);
  padding-left: 12px;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.entry-content h3 {
  font-size: 1.22rem;
  color: #1a365d;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
}

.entry-content h4 {
  font-size: 1.08rem;
  color: #2c5282;
  margin-top: 1.2em;
}

.entry-content img {
  border-radius: 6px;
  margin: 20px auto;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  height: auto;
}

.entry-content .img1 img {
  border-radius: 15px;
}

.entry-content .img2 img {
  border-radius: 6px;
  border: 1px solid #25aae1;
}

.entry-content blockquote {
  margin: 20px 0;
  padding: 15px 20px;
  background-color: #f7fafc;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  color: #4a5568;
}

/* Responsive Table in Post */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  text-align: left;
  min-width: 120px;
}

.entry-content th {
  background-color: #edf2f7;
  color: var(--primary-color);
  font-weight: 700;
}

.entry-content tr:nth-child(even) td {
  background-color: #f8fafc;
}

/* Author Box (E-E-A-T) */
.saboxplugin-wrap,
.author-bio-box {
  margin: 35px 0;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-bio-avatar {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-cyan);
}

.author-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio-details {
  flex-grow: 1;
}

.author-bio-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 4px;
}

.author-bio-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.author-bio-desc {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
  line-height: 1.45;
}

/* Related Posts */
.related-posts-section {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 2px solid #edf2f7;
}

.related-posts-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 18px;
  text-transform: uppercase;
}

/* ==========================================================================
   STATIC PAGE TEMPLATE (BLANK TITLE CENTER)
   ========================================================================== */
.page-title-center-wrapper {
  background-color: #f7f9fa;
  padding: 30px 0;
  text-align: center;
  border-bottom: 1px solid #eaeaea;
}

.page-title-center {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0 10px 0;
}

.page-content-wrapper {
  padding: 35px 0 50px;
  background: #ffffff;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination-container {
  margin: 40px 0 20px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
  background: #ffffff;
}

.pagination a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pagination .current {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  background-color: #13287f;
  color: #ffffff;
  position: relative;
  z-index: 10;
  width: 100%;
}

.footer-section {
  padding: 40px 0 25px;
}

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

.footer-col h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-cyan);
}

.footer-col p {
  font-size: 0.85rem;
  color: #cfd9e8;
  line-height: 1.6;
}

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

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu li a {
  color: #cfd9e8;
  font-size: 0.86rem;
  display: inline-block;
  transition: var(--transition-fast);
}

.footer-menu li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Partner & Providers Section in Footer */
.footer-partners-section {
  padding: 25px 0;
  background-color: #0c1b56;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.partner-box h4 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
}

.partner-logos-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-logos-row img {
  max-height: 34px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.partner-logos-row img:hover {
  opacity: 1;
}

/* Absolute Bottom Footer */
.absolute-footer {
  background-color: #081338;
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #9ab0d3;
}

.absolute-footer p {
  margin: 4px 0;
}

/* ==========================================================================
   FIXED SIDE BANNERS & BOTTOM STICKY BANNER
   ========================================================================== */
.side-banner {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  z-index: 999;
  background-color: #041133;
}

.side-banner.left-banner {
  left: calc(50% - 590px - 140px);
}

.side-banner.right-banner {
  right: calc(50% - 590px - 140px);
}

.side-banner img,
.side-banner video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

@media (max-width: 1480px) {
  .side-banner {
    display: none !important;
  }
}

/* Sticky Bottom Banner (Pop-up) */
.footer-bottom-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 720px;
  max-width: 100%;
  height: 90px;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
  background-color: #0b1c48;
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.footer-bottom-banner.show-banner {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.footer-bottom-banner .footer-banner-media {
  width: 720px;
  max-width: 100%;
  height: 90px;
  display: block;
  object-fit: cover;
}

.close-popup-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 16px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
  padding: 0;
}

.close-popup-btn:hover {
  background: #e74c3c;
  transform: scale(1.1);
}

/* Back to Top Button */
#top-link {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

#top-link.active {
  opacity: 1;
  visibility: visible;
}

#top-link:hover {
  background: var(--accent-cyan);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1200px) {
  body.boxed {
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none;
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid,
  .games-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-bottom-nav > li > a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .header-bottom {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .header-main {
    height: 60px;
  }
  #logo img {
    max-height: 42px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    letter-spacing: 0;
  }
  .hero-cta-bar {
    gap: 12px;
    padding: 12px 10px;
  }
  .hero-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 130px;
  }
  .official-links-title {
    font-size: 1.15rem;
  }
  .official-links-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .link-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  .promo-badge-box {
    font-size: 0.85rem;
    padding: 10px 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid,
  .games-showcase-grid {
    grid-template-columns: 1fr;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid,
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom-banner {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  .footer-bottom-banner .footer-banner-media {
    width: 100%;
    height: auto;
  }
  .saboxplugin-wrap,
  .author-bio-box {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  .entry-title {
    font-size: 1.45rem;
  }
  .page-title-center {
    font-size: 1.45rem;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-alert {
    display: none; /* Show primary action on small mobile */
  }
  .header-actions .btn-primary {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}
