/* =====================================================================
   AZ Games Theme — Main Stylesheet
   ===================================================================== */

/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}
html {
  font-size: 16px;
  scrollbar-color: #555 #222326;
  scroll-behavior: smooth;
	margin-top:0px !important;
}
body {
  font-family: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #222326;
  color: #fff;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #fff;
  text-decoration: none;
}
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: transparent; color: inherit; }
input, textarea { font-family: inherit; }
.skip-link { position: absolute; top: -999px; left: -999px; }
.skip-link:focus { top: 0; left: 0; z-index: 9999; background: #f8cb00; color: #000; padding: 8px 16px; }

/* ── Container ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a1b1e;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.header-top {
  padding: 10px 0;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.site-logo a { display: flex; align-items: center; }
.logo-text {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}
.logo-highlight { color: #f8cb00; }

/* Search */
.header-search-wrap {
  flex: 1;
  max-width: 340px;
  margin-left: auto;
  position: relative;
}
.search-form-header { width: 100%; }
.search-input-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 0 14px;
  height: 38px;
  gap: 8px;
}
.search-submit {
  background: none;
  color: #888;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.search-submit:hover { color: #333; }
.search-input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #222;
  line-height: 1;
}
.search-input::placeholder { color: #888; }

/* AJAX Search Dropdown */
.ajax-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #2e3035;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  overflow: hidden;
  z-index: 2000;
  max-height: 380px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s;
}
.search-result-item:hover { background: #383b41; }
.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.search-result-item span { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-no-results { padding: 16px; text-align: center; color: #888; font-size: 14px; }

/* ── Category Nav Bar ─────────────────────────────────────────────── */
.category-nav {
  background: #000;
  border-top: 1px solid #333;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav .container { display: flex; align-items: center; }
.primary-menu {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
}
.primary-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #ccc;
  transition: color .2s;
  letter-spacing: .3px;
}
.primary-menu li a:hover,
.primary-menu li.current-menu-item > a,
.primary-menu li.current-cat > a { color: #f8cb00; }

.aligncenter {
    margin: 0 auto;
    text-align: center;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer {
  background: #1a1b1e;
  border-top: 1px solid #333;
  padding: 24px 0;
  margin-top: 40px;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  justify-content: center;
}
.footer-menu li a {
  font-size: 13px;
  color: #999;
  transition: color .2s;
}
.footer-menu li a:hover { color: #f8cb00; }
.footer-copyright {
  font-size: 13px;
  color: #666;
  text-align: center;
}

/* ── Games Grid (Homepage + Archive + Search) ─────────────────────── */
.games-section { margin-bottom: 36px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: #fff;
}
.section-icon { font-size: 18px; color: #ff6b35; }
.section-icon--star { color: #f8cb00; font-size: 20px; }
.see-all-link {
  font-size: 13px;
  color: #888;
  border: 1px solid #444;
  border-radius: 20px;
  padding: 4px 14px;
  transition: all .2s;
  white-space: nowrap;
}
.see-all-link:hover { color: #fff; border-color: #fff; }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 175px);
    gap: 10px;
    justify-content: center;
}

/* Game Card */
.game-card-wrap { 
	position: relative; background: #212233;
    border-radius: 7px;
    max-width: 240px;
    width: 100%;
    height: fit-content;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, .05);
    border: 1px solid #28293d;
    position: relative;
}
.game-card-link { 
	display:block;
}
.game-card-image {
  position: relative;
	border-radius: 7px 7px 0 0;
  overflow: hidden;
  background: #1a1b1f;
  aspect-ratio: 3 / 2;
}
.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.game-card-link:hover .game-card-image img { transform: scale(1.06); }

/* Rating badge — top-right of card */
.game-card-rating {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 7px 2px 5px;
  line-height: 1;
  pointer-events: none;
}
.game-card-rating svg { flex-shrink: 0; }

/* Title bar — always visible at bottom */
.game-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 22px 6px 7px;
  text-align: center;
  border-radius: 0 0 12px 12px;
  line-height: 1.25;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__heading {
	padding: 8px 12px 8px 12px;
	text-align: center;
}
.card__title {
	 font-size: 16px;
	display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Load More */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 24px 0 8px;
}
.btn-load-more {
  background: #35373b;
  color: #fff;
  border: 2px solid #555;
  border-radius: 24px;
  padding: 10px 40px;
  font-size: 15px;
  font-weight: 700;
  transition: all .2s;
  min-width: 180px;
}
.btn-load-more:hover { background: #f8cb00; color: #1a1a1a; border-color: #f8cb00; }
.btn-load-more:disabled { opacity: .5; cursor: not-allowed; }
.btn-load-more.loading::after { content: '...'; }

/* ── Archive / Search Headers ─────────────────────────────────────── */
.archive-page, .search-page { padding-top: 28px; }
.archive-header { margin-bottom: 24px; }
.archive-title {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  color: #fff;
  margin-bottom: 6px;
}
.archive-title span { color: #f8cb00; }
.archive-description { color: #888; font-size: 14px; }
.no-games-found { text-align: center; padding: 48px 0; }
.no-games-found p { color: #888; margin-bottom: 16px; }
.btn-primary {
  display: inline-block;
  background: #f8cb00;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 15px;
  transition: background .2s;
}
.btn-primary:hover { background: #e6b800; }

/* ── Pagination ───────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 28px 0; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #444;
  padding: 0 10px;
  font-size: 14px;
  color: #ccc;
  transition: all .2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: #f8cb00; color: #1a1a1a; border-color: #f8cb00; }

/* ── Single Game Page ─────────────────────────────────────────────── */
.game-page-wrapper { padding: 0; }
.game-page-inner {
  display: flex;
  gap: 0;
  align-items: flex-start;
  min-height: calc(100vh - 120px);
}

/* Sidebars */
.game-sidebar {
  width: 210px;
  min-width: 210px;
  padding: 12px 8px;
  flex-shrink: 0;
}
.sidebar-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka One', cursive;
  font-size: 17px;
  color: #fff;
  margin-bottom: 10px;
  padding: 0 4px;
}
.sidebar-icon { font-size: 18px; }
.sidebar-icon--blue { color: #1a8cff; }
.sidebar-games {
  display: flex;
	flex-direction:column;
  gap: 15px;
}
.sidebar-game-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1b1f;
  aspect-ratio: 3 / 2;
}
.sidebar-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.sidebar-game-card:hover img { transform: scale(1.06); }

/* Shared overlay elements for sidebar & related cards */
.sgc-rating {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(3px);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 5px 2px 4px;
  line-height: 1;
  pointer-events: none;
}
.sgc-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 4px 4px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Game Center */
.game-center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Play Now Overlay */
.game-frame-wrap {
  width: 100%;
  background: #000;
  position: relative;
}
.playnow-overlay {
  position: relative;
  width: 100%;
  height: 485px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.playnow-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(16px) brightness(.4);
  transform: scale(1.1);
}
.playnow-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.playnow-thumb {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.playnow-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8cb00;
  color: #1a1a1a;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 20px;
  font-weight: 900;
  font-family: Lato, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(248,203,0,.4);
  transition: transform .15s, box-shadow .15s;
}
.playnow-btn:hover { transform: scale(1.04); box-shadow: 0 6px 28px rgba(248,203,0,.55); }
.playnow-icon { width: 28px; height: 28px; }

/* Game iframe container */
.game-iframe-container {
  width: 100%;
  height: 485px;
  background: #000;
}
.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.game-no-iframe {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666;
}

/* Theater mode */
.theater-mode .game-sidebar { display: none; }
.theater-mode .game-frame-wrap,
.theater-mode .game-iframe-container { height: 70vh; }

/* Action Bar */
.game-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2a2b2f;
  padding: 10px 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.game-action-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.game-title {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.game-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.star-btn {
  font-size: 20px;
  color: #555;
  cursor: pointer;
  transition: color .15s, transform .1s;
  background: none;
  border: none;
  padding: 0 1px;
  line-height: 1;
}
.star-btn.active,
.star-btn:hover { color: #f8cb00; }
.star-btn:hover { transform: scale(1.2); }
.rating-text {
margin-top:6px;	
  font-size: 13px;
  color: #aaa;
  margin-left: 4px;
  white-space: nowrap;
}
.users-rated {
	color:#f8cb00;
}
.game-action-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.play-count {
  font-size: 13px;
  color: #888;
  margin-right: 4px;
}
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #35373b;
  color: #ccc;
  cursor: pointer;
  transition: background .2s, color .2s;
  border: none;
}
.action-btn svg { width: 18px; height: 18px; }
.action-btn:hover { background: #484b52; color: #fff; }
.action-like.liked { color: #e74c3c; }

/* Embed Bar */
.game-embed-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2a2b2f;
  border-top: 1px solid #333;
  padding: 10px 16px;
}
.embed-label { font-size: 13px; color: #888; white-space: nowrap; flex-shrink: 0; }
.embed-url-input {
  flex: 1;
  background: #1a1b1e;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: #ccc;
  min-width: 0;
  cursor: text;
  font-family: monospace;
}
.embed-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #35373b;
  color: #ccc;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.embed-copy-btn svg { width: 18px; height: 18px; }
.embed-copy-btn:hover { background: #f8cb00; color: #1a1a1a; }
.embed-copy-btn.copied { background: #27ae60; color: #fff; }

/* Related Games Row */
.related-games-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #2a2b2f;
  border-top: 1px solid #333;
  overflow-x: auto;
  scrollbar-width: none;
}
.related-games-row::-webkit-scrollbar { display: none; }
.related-game-card {
  position: relative;
  flex: 0 0 auto;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1b1f;
  aspect-ratio: 3 / 2;
  display: block;
  text-decoration: none;
}
.related-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s;
}
.related-game-card:hover img { transform: scale(1.06); }
.related-game-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 4px 4px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
/* keep for legacy compatibility */
.related-game-title-legacy {
  font-size: 10px;
  text-align: center;
  color: #aaa;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  word-break: break-word;
}

/* Tabs */
.game-tabs { background: #1a1b1e; }
.tab-nav {
  display: flex;
  border-bottom: 2px solid #333;
  padding: 0 16px;
}
.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.tab-btn.active { color: #f8cb00; border-bottom-color: #f8cb00; }
.tab-panel { padding: 20px 16px; }
.game-description { font-size: 15px; color: #ccc; line-height: 1.7; }
.game-description p { margin-bottom: 12px; }
.game-description p:last-child { margin-bottom: 0; }
/* ── Taxonomy: Categories & Tags ─────────────────────────────────── */
.game-taxonomy { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.game-cats, .game-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tax-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #666;
  flex-shrink: 0;
}
.tax-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tax-pill {
  display: inline-block;
  background: #25262b;
  color: #e0e0e0;
  border: 1px solid #3a3b40;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
  line-height: 1;
}
.tax-pill:hover { background: #f8cb00; color: #1a1a1a; border-color: #f8cb00; }
.tax-pill--cat { border-left: 3px solid #f8cb00; }
.tax-pill--tag { border-left: 3px solid #1a8cff; }

/* ── WordPress Comments — Gaming Style ────────────────────────────── */
.comments-area {
  background: #1a1b1e;
  border-top: 2px solid #2e3035;
  padding: 28px 20px 32px;
}

/* Heading */
.comments-title,
.comment-reply-title {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comments-title::before { content: '💬'; font-size: 18px; }
.comment-reply-title::before { content: '✏️'; font-size: 16px; }
.comment-reply-title small { font-family: Lato, sans-serif; font-size: 13px; font-weight: 400; }
.comment-reply-title small a { color: #f8cb00; }

/* Comment list */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comment-list .children {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 3px solid #f8cb00;
  padding-left: 18px;
}

/* Individual comment card */
.comment-body {
  background: #2a2b30;
  border-radius: 14px;
  padding: 16px 18px;
  transition: background .2s;
}
.comment-body:hover { background: #2e3036; }

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.comment-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #f8cb00;
  flex-shrink: 0;
  object-fit: cover;
}

.disquis-comment-box {
	margin-top:30px;
}

.comment-author .fn {
  font-size: 15px;
  font-weight: 700;
  color: #f8cb00;
  font-style: normal;
}
.comment-author .fn a {
  color: #f8cb00;
  text-decoration: none;
}
.comment-author .fn a:hover { text-decoration: underline; }
.comment-author .says { display: none; }

.comment-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comment-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.comment-metadata a {
  font-size: 12px;
  color: #666;
  transition: color .2s;
}
.comment-metadata a:hover { color: #aaa; }
.comment-metadata time { font-size: 12px; color: #555; }

/* Awaiting moderation badge */
.comment-awaiting-moderation {
  display: inline-block;
  font-size: 11px;
  background: #3a2a00;
  color: #f8cb00;
  border: 1px solid #f8cb00;
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 6px;
}

/* Comment text */
.comment-content {
  font-size: 14px;
  color: #ccc;
  line-height: 1.7;
}
.comment-content p { margin-bottom: 8px; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { color: #f8cb00; }
.comment-content blockquote {
  border-left: 3px solid #f8cb00;
  margin: 10px 0;
  padding: 8px 14px;
  background: #222427;
  border-radius: 0 8px 8px 0;
  color: #aaa;
  font-style: italic;
}

/* Reply link */
.reply {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  background: #35373b;
  border-radius: 20px;
  padding: 4px 14px;
  transition: all .2s;
  letter-spacing: .2px;
}
.comment-reply-link::before { content: '↩'; font-size: 14px; }
.comment-reply-link:hover { background: #f8cb00; color: #1a1a1a; }

/* No comments */
.no-comments {
  text-align: center;
  color: #555;
  font-size: 15px;
  padding: 24px 0;
  font-style: italic;
}

/* Pagination */
.comment-navigation,
.comments-pagination {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 28px;
}
.comment-navigation a,
.comments-pagination a {
  background: #2a2b30;
  border: 1px solid #444;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  color: #ccc;
  transition: all .2s;
}
.comment-navigation a:hover,
.comments-pagination a:hover { background: #f8cb00; color: #1a1a1a; border-color: #f8cb00; }

/* ── Comment Form ─────────────────────────────────────────────────── */
.comment-respond {
  margin-top: 8px;
  background: #222426;
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid #2e3035;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comment-form p { margin: 0; }

/* Name, email, url fields */
.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comment-form label {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.required { color: #f8cb00; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  background: #2a2b30;
  border: 1px solid #3a3b40;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #fff;
  transition: border-color .2s;
  font-family: inherit;
}
.comment-form input:focus {
  border-color: #f8cb00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(248,203,0,.12);
}

/* Group name/email side by side on wider screens */
.comment-form .comment-form-author,
.comment-form .comment-form-email {
  flex: 1;
}
@media (min-width: 600px) {
  .comment-form > p.comment-form-author,
  .comment-form > p.comment-form-email {
    display: inline-flex;
    width: calc(50% - 7px);
    flex-direction: column;
    gap: 6px;
    vertical-align: top;
  }
  .comment-form > p.comment-form-author { margin-right: 14px; }
}

/* Comment textarea */
.comment-form textarea {
  width: 100%;
  background: #2a2b30;
  border: 1px solid #3a3b40;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color .2s;
}
.comment-form textarea:focus {
  border-color: #f8cb00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(248,203,0,.12);
}
.comment-form textarea::placeholder,
.comment-form input::placeholder { color: #555; }

/* Cookie consent checkbox */
.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.comment-form .comment-form-cookies-consent input { width: auto; margin-top: 3px; flex-shrink: 0; }

/* Submit button */
.form-submit { margin: 0; }
.form-submit .submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8cb00;
  color: #1a1a1a;
  font-family: Lato, sans-serif;
  font-size: 15px;
  font-weight: 900;
  border: none;
  border-radius: 50px;
  padding: 12px 36px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 4px 16px rgba(248,203,0,.3);
  letter-spacing: .3px;
}
.form-submit .submit::before { content: '💬'; font-size: 16px; }
.form-submit .submit:hover {
  background: #ffd700;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(248,203,0,.45);
}
.form-submit .submit:active { transform: translateY(0); }

/* Logged-in note */
.comment-notes,
.logged-in-as {
  font-size: 13px;
  color: #666;
}
.logged-in-as a { color: #f8cb00; }
.comment-notes a { color: #888; }

/* ── 404 ──────────────────────────────────────────────────────────── */
.not-found-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}
.not-found-content { text-align: center; }
.not-found-code {
  font-family: 'Fredoka One', cursive;
  font-size: 120px;
  color: #f8cb00;
  line-height: 1;
  margin-bottom: 16px;
}
.not-found-title { font-size: 28px; margin-bottom: 12px; }
.not-found-desc { color: #888; font-size: 16px; margin-bottom: 28px; }

/* ── Default Page ─────────────────────────────────────────────────── */
.default-page { padding: 28px 0; }
.page-header { margin-bottom: 20px; }
.page-title { font-size: 26px; font-family: 'Fredoka One', cursive; }
.entry-content { font-size: 15px; color: #ccc; line-height: 1.8; }
.entry-content p { margin-bottom: 14px; }
.entry-content h2, .entry-content h3 { color: #fff; margin: 24px 0 12px; }
.entry-content a { color: #f8cb00; }

/* ── Homepage ─────────────────────────────────────────────────────── */
.home-page-content { padding-top: 20px; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .games-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 1024px) {
  .game-sidebar { width: 170px; min-width: 170px; }
  .sidebar-games { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 900px) {
  .game-sidebar--left { display: none; }
  .game-sidebar--right { display: none; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .game-title { font-size: 14px; }
  .game-action-bar { gap: 8px; }
  .playnow-overlay { height: 320px; }
  .game-iframe-container { height: 320px; }
  .logo-text { font-size: 20px; }
  .header-search-wrap { max-width: 220px; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap:15px; }
  .game-stars { gap: 1px; }
  .star-btn { font-size: 17px; }
  .action-btn { width: 30px; height: 30px; }
  .action-btn svg { width: 15px; height: 15px; }
  .related-game-card { width: 80px; }
  .game-action-right { gap: 4px; }
}
.game-description {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.7;
    color: #e6e6e6;
    font-size: 16px;

    background: #1f2125;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #3a3c42;
}

/* Paragraphs */
.game-description p {
    margin-bottom: 16px;
    color: #cfcfcf;
}

/* Headings */
.game-description h2 {
    font-size: 22px;
    margin: 28px 0 12px;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    padding-left: 12px;
}

.game-description h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 18px;
    background: #4da3ff; /* soft blue accent */
    border-radius: 2px;
}

/* Table */
.game-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
    background: #25272c;
    border-radius: 6px;
    overflow: hidden;
}

.game-description th,
.game-description td {
    border: 1px solid #3a3c42;
    padding: 10px 12px;
    text-align: left;
}

.game-description th {
    background: #2f3238;
    font-weight: 600;
    color: #ffffff;
}

.game-description td {
    color: #d6d6d6;
}

.game-description tr:nth-child(even) {
    background: #2a2d33;
}

/* Lists */
.game-description ul {
    padding-left: 22px;
    margin: 12px 0 18px;
    list-style: disc;
}

.game-description ul li {
    margin-bottom: 10px;
    color: #d6d6d6;
}

/* Force visible default bullets */
.game-description ul li::marker {
    color: #ffffff; /* or #4da3ff if you want accent */
    font-size: 1em;
}

/* Subtle hover (optional but nice) */
.game-description table tr:hover {
    background: #32353b;
    transition: 0.2s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .game-description {
        font-size: 15px;
        padding: 16px;
    }

    .game-description h2 {
        font-size: 18px;
    }

    .game-description table {
        font-size: 14px;
    }
}
.more-related-games {
	margin-top:30px;
}
.more-related-games h2 {
	margin-left:30px;
}
/* Page container */
.default-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  font-size: 16px;
  color: #333;
}

/* Title */
.default-page .page-title {
  font-size: 32px;
  margin-bottom: 20px;
color:white;	
}

/* Headings */
.default-page h2,
.default-page h3,
.default-page h4 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Paragraph spacing */
.default-page p {
  margin-bottom: 16px;
}

/* ✅ Lists (ONLY inside pages) */
.default-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
  list-style: disc;
}

.default-page ul li {
  margin-bottom: 8px;
}

/* Optional: nicer bullets */
.default-page ul li::marker {
  color: #666;
}

/* Links */
.default-page a {
  color: #0073aa;
  text-decoration: none;
}

.default-page a:hover {
  text-decoration: underline;
}

/* Email line */
.default-page p:last-child {
  margin-top: 20px;
}