/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(142, 107, 46, 0.2);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
.site-logo span {
  color: var(--ivory);
}
.primary-nav {
  display: none;
  gap: 2rem;
}
.primary-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
}
.primary-nav a:hover {
  color: var(--gold);
}
.header-actions {
  display: none;
  gap: 0.75rem;
}
.menu-toggle {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(142, 107, 46, 0.3);
  color: var(--gold);
  background: transparent;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: var(--panel);
  border-top: 1px solid rgba(142, 107, 46, 0.2);
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--ivory);
  font-size: 0.9rem;
}
.mobile-nav a:hover {
  background: var(--panel2);
}

@media (min-width: 1024px) {
  .primary-nav,
  .header-actions {
    display: flex;
    align-items: center;
  }
  .menu-toggle {
    display: none;
  }
}
/* ---------- Hero (clickable image banner slider) ---------- */

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--panel);
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide img,
.hero-slide__placeholder {
  display: block;
  width: 100%;
  height: auto;
}

.hero-slide img {
  object-fit: contain;
  object-position: center;
}

.hero-slide__placeholder {
  aspect-ratio: 21 / 7;
  background: linear-gradient(135deg, var(--panel2), var(--ink));
}


/* ---------- Mobile ---------- */

@media (max-width: 767px) {

  .hero-slider {
    width: 100%;
  }

  .hero-slide img {
    width: 100%;
    height: auto;

    /*
     * Do NOT use object-fit: cover here.
     * The full banner will remain visible.
     */
    object-fit: contain;
  }

  .hero-slide__placeholder {
    aspect-ratio: 21 / 7;
  }

  .hero__dots {
    bottom: 0.75rem;
  }

}


/* ---------- Small mobile ---------- */

@media (max-width: 480px) {

  .hero-slide img {
    width: 100%;
    height: auto;
  }

}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--panel);
  border-block: 1px solid rgba(142, 107, 46, 0.15);
  padding-block: 0.5rem;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate);
}
.ticker__item::before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: var(--gold);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Game carousel ---------- */
.game-section {
  padding-block: 3rem;
}
.game-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.game-card {
  width: 11rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(142, 107, 46, 0.1);
  background: var(--panel2);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 107, 46, 0.4);
}
.game-card__thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--panel), var(--ink));
}
.game-card__body {
  padding: 0.75rem;
}
.game-card__name {
  font-weight: 500;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card__provider {
  font-size: 0.75rem;
  color: var(--slate);
}

@media (min-width: 640px) {
  .game-card {
    width: 14rem;
  }
}

/* ---------- Vertical feature ---------- */
.feature {
  border-top: 1px solid rgba(142, 107, 46, 0.1);
  background: var(--panel);
}
.feature__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-block: 3.5rem;
}
.feature__inner.is-reverse {
  flex-direction: column-reverse;
}
.feature__media {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(142, 107, 46, 0.15);
  background: linear-gradient(135deg, var(--panel2), var(--ink));
}
.feature__body {
  color: var(--slate);
  margin-top: 1rem;
}
.feature__link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--gold);
}
.feature__link:hover {
  color: var(--gold-light);
}

@media (min-width: 1024px) {
  .feature__inner {
    flex-direction: row;
  }
  .feature__inner.is-reverse {
    flex-direction: row-reverse;
  }
  .feature__media,
  .feature__text {
    flex: 1;
  }
}

/* ---------- Stats bar ---------- */
.stats {
  padding-block: 3rem;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(142, 107, 46, 0.15);
  background: var(--panel2);
  padding: 1.25rem;
}
.stat-card__icon {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, rgba(142,107,46,0.12), transparent);
  box-shadow: inset 0 0 0 1px rgba(142, 107, 46, 0.3);
}
.stat-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
}
.stat-card__value {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--slate);
}

@media (min-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid rgba(142, 107, 46, 0.1);
  background: var(--panel);
}
.faq__inner {
  max-width: 48rem;
  margin-inline: auto;
  padding-block: 3.5rem;
}
.faq-item {
  padding-block: 1rem;
  border-bottom: 1px solid rgba(142, 107, 46, 0.1);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--ivory);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .plus {
  color: var(--gold);
  transition: transform 0.15s ease;
}
.faq-item[open] summary .plus {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--slate);
}

/* ---------- Blog listing ---------- */
.blog-hero {
  background: linear-gradient(180deg, var(--panel) 0%, var(--ink) 100%);
  padding-block: 3.5rem 2.5rem;
}
.blog-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.blog-hero__title {
  font-size: 2.25rem;
}
.blog-hero__intro {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--slate);
  line-height: 1.7;
}
.blog-hero__intro p {
  margin: 0;
}

.blog-grid-section {
  padding-block: 3rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.blog-card {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(142, 107, 46, 0.12);
  background: var(--panel2);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 107, 46, 0.4);
}
.blog-card__thumb-link {
  display: block;
}
.blog-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.blog-card__thumb--placeholder {
  background: linear-gradient(135deg, var(--panel), var(--ink));
}
.blog-card__body {
  padding: 1.25rem;
}
.blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
  margin: 0 0 0.5rem;
}
.blog-card__title {
  font-size: 1.125rem;
  margin: 0 0 0.35rem;
}
.blog-card__title a {
  color: var(--ivory);
}
.blog-card__title a:hover {
  color: var(--gold-light);
}
.blog-card__byline {
  font-size: 0.8rem;
  color: var(--slate);
  margin: 0 0 0.75rem;
}
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 1rem;
}
.blog-card__read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}
.blog-card__read-more:hover {
  color: var(--gold-light);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding-inline: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(142, 107, 46, 0.2);
  color: var(--ivory);
  font-size: 0.875rem;
}
.blog-pagination .page-numbers.current {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 600;
}
.blog-pagination .page-numbers:hover:not(.current) {
  border-color: var(--gold);
  color: var(--gold);
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-hero__title {
    font-size: 2.75rem;
  }
}

/* ---------- SEO content (long-form article from page editor) ---------- */
.seo-content {
  border-top: 1px solid rgba(142, 107, 46, 0.1);
  background: var(--panel);
}
.seo-content__inner {
  max-width: 48rem;
  margin-inline: auto;
  padding-block: 3.5rem;
  color: var(--slate);
  line-height: 1.7;
}
.seo-content__inner h2 {
  color: var(--ivory);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.seo-content__inner h2:first-child {
  margin-top: 0;
}
.seo-content__inner h3 {
  color: var(--gold-light);
  font-size: 1.125rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.seo-content__inner h4 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.seo-content__inner p {
  margin: 0 0 1rem;
}
.seo-content__inner ul,
.seo-content__inner ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.seo-content__inner li {
  margin-bottom: 0.35rem;
}
.seo-content__inner a {
  color: var(--gold-light);
  text-decoration: underline;
}
.seo-content__inner hr {
  border: none;
  border-top: 1px solid rgba(142, 107, 46, 0.15);
  margin-block: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--panel);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-block: 3rem;
}
.footer__brand {
  grid-column: span 2;
}
.footer__brand p {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--slate);
}
.footer__heading {
  font-weight: 500;
  color: var(--ivory);
}
.footer__links {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__links a {
  font-size: 0.875rem;
  color: var(--slate);
}
.footer__links a:hover {
  color: var(--gold);
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid rgba(142, 107, 46, 0.1);
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--slate);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer__brand {
    grid-column: span 2;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}


#main {
    line-height: 1.6;
    margin: 0 auto;
    padding: 20px;
}
#main h1, #main h2, #main h3, #main h4, #main h5, #main h6 {
    color: var(--gold);
    margin-top: 24px;
    margin-bottom: 40px;
}
#main p {
    margin-bottom: 16px;
}
#main ol, #main ul {
    margin-bottom: 20px;
    padding-left: 30px;
}
#main li {
    margin-bottom: 8px;
}
#main hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* Example to force a simple two-column grid on standard blog lists */
.blog .post, .archive .post {
    width: 48%;
    float: left;
    margin-right: 2%;
    margin-bottom: 30px;
}