:root {
  --spi26fr-bg: #242225;
  --spi26fr-bg-deep: #19181a;
  --spi26fr-surface: #302d2e;
  --spi26fr-surface-raised: #3b3531;
  --spi26fr-text: #eee8dc;
  --spi26fr-muted: #bdb4a8;
  --spi26fr-gold: #c4a16f;
  --spi26fr-orange: #f46b1b;
  --spi26fr-orange-dark: #a53809;
  --spi26fr-border: #514b46;
  --spi26fr-max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--spi26fr-bg);
  color: var(--spi26fr-text);
  font: 16px/1.68 Arial, Helvetica, sans-serif;
}
body.spi26fr-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: #e1bd7f; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.spi26fr-skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--spi26fr-orange);
  color: #1a100a;
  font-weight: 800;
}
.spi26fr-skip-link:focus { top: 12px; }
.spi26fr-container { width: min(calc(100% - 40px), var(--spi26fr-max)); margin-inline: auto; }

.spi26fr-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(#343237, #252427);
  border-bottom: 1px solid #111;
  box-shadow: 0 2px 8px #0008;
}
.spi26fr-header-inner {
  width: min(calc(100% - 28px), 1480px);
  min-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.spi26fr-logo { display: flex; flex: 0 0 auto; text-decoration: none; }
.spi26fr-logo img { width: 142px; height: 49px; object-fit: contain; }
.spi26fr-site-nav { display: flex; align-items: center; justify-content: center; gap: 5px; flex: 1; }
.spi26fr-site-nav > a,
.spi26fr-nav-group > button {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #171617;
  border-radius: 2px;
  background: linear-gradient(#403e42, #28272a);
  box-shadow: inset 0 1px #ffffff10;
  color: #e6ded2;
  font: 800 12px/1 Georgia, serif;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.spi26fr-site-nav > a:hover,
.spi26fr-site-nav > a:focus-visible,
.spi26fr-nav-group > button:hover,
.spi26fr-nav-group > button:focus-visible { color: #fff; border-color: var(--spi26fr-gold); outline: none; }
.spi26fr-nav-group { position: relative; }
.spi26fr-nav-group > button::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.spi26fr-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  display: none;
  min-width: 230px;
  padding: 7px;
  background: #2a282a;
  border: 1px solid #151415;
  box-shadow: 0 18px 40px #000c;
}
.spi26fr-dropdown a {
  display: block;
  padding: 10px 12px;
  color: #eee6dc;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.spi26fr-dropdown a:hover,
.spi26fr-dropdown a:focus-visible { background: #443b33; color: #fff; outline: none; }
.spi26fr-nav-group:hover .spi26fr-dropdown,
.spi26fr-nav-group:focus-within .spi26fr-dropdown,
.spi26fr-nav-group.spi26fr-open .spi26fr-dropdown { display: block; }

.spi26fr-header-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.spi26fr-header-actions a,
.spi26fr-primary,
.spi26fr-section-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 22px;
  border: 1px solid #25170e;
  border-radius: 3px;
  box-shadow: inset 0 1px #fff7, 0 2px 0 #100a06;
  color: #20170f !important;
  font: 900 13px/1 Georgia, serif;
  text-transform: uppercase;
  text-decoration: none;
}
.spi26fr-login { background: linear-gradient(#ead1a5, #a9875e); }
.spi26fr-signup,
.spi26fr-primary { background: linear-gradient(#ffbd4e 0, #ff7c1b 54%, #e7460c 55%, #fa6a18 100%); }
.spi26fr-menu-toggle {
  display: none;
  width: 45px;
  height: 40px;
  padding: 10px;
  border: 1px solid #151415;
  border-radius: 2px;
  background: linear-gradient(#403e42, #28272a);
}
.spi26fr-menu-toggle span { display: block; height: 2px; margin: 4px 0; background: #f1e9dc; }

.spi26fr-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #171619;
}
.spi26fr-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.spi26fr-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #171519d9, #1715199e, #171519d9); }
.spi26fr-hero-copy {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  padding: 62px 30px;
  text-align: center;
  text-shadow: 0 2px 18px #000;
}
.spi26fr-hero h1 {
  margin: 0 0 18px;
  color: #fff7e9;
  font: 800 clamp(43px, 6.5vw, 76px)/1.03 Georgia, serif;
  letter-spacing: -.035em;
}
.spi26fr-hero p { margin: 0 auto 30px; max-width: 780px; color: #f4eee5; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; }
.spi26fr-primary { text-shadow: none; }

.spi26fr-games { padding: 50px 0 22px; background: #211f21; }
.spi26fr-games-live { padding-top: 26px; padding-bottom: 64px; }
.spi26fr-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.spi26fr-section-head h2 { margin: 0; color: #eee5d8; font: 800 27px/1.1 Georgia, serif; text-transform: uppercase; }
.spi26fr-section-head > a { min-height: 36px; padding: 8px 18px; background: linear-gradient(#d7bd95, #8e7253); }
.spi26fr-game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.spi26fr-game-card {
  min-width: 0;
  overflow: hidden;
  background: #302d2e;
  border: 2px solid #71644f;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 3px 8px #0008;
  transition: transform .18s, border-color .18s;
}
.spi26fr-game-card:hover { transform: translateY(-3px); border-color: #d6b475; color: #fff; }
.spi26fr-game-card img { display: block; width: 100%; aspect-ratio: 2 / 2.45; object-fit: cover; object-position: center; }
.spi26fr-game-card span { display: block; padding: 9px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 800; }

.spi26fr-content-section { padding: 72px 0 90px; background: var(--spi26fr-bg); border-top: 1px solid #393538; }
.spi26fr-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 54px; align-items: start; }
.spi26fr-page-content { min-width: 0; color: #ddd5ca; font-size: 17px; }
.spi26fr-page-content > p:first-child { margin-top: 0; color: #f1ebe2; font-size: 19px; }
.spi26fr-page-content h2 { margin: 56px 0 18px; color: #fff3df; font: 800 31px/1.18 Georgia, serif; }
.spi26fr-page-content h3 { margin: 38px 0 14px; color: #f3e6d4; font: 800 22px/1.25 Georgia, serif; }
.spi26fr-page-content p { margin: 0 0 20px; }
.spi26fr-page-content ul,
.spi26fr-page-content ol { margin: 0 0 26px; padding-left: 24px; }
.spi26fr-page-content li { margin: 8px 0; }
.spi26fr-page-content strong { color: #fff0d5; }
.spi26fr-table-wrap { width: 100%; margin: 28px 0; overflow-x: auto; border: 1px solid #5b5147; }
.spi26fr-table-wrap table { width: 100%; border-collapse: collapse; background: #2e2b2c; font-size: 15px; }
.spi26fr-table-wrap th,
.spi26fr-table-wrap td { padding: 13px 15px; border-bottom: 1px solid #4b4542; text-align: left; vertical-align: top; }
.spi26fr-table-wrap th { background: #433b35; color: #fff1d8; }
.spi26fr-table-wrap tr:last-child td { border-bottom: 0; }
.spi26fr-article-figure { margin: 24px 0 32px; }
.spi26fr-article-figure img { display: block; width: 100%; max-height: 590px; object-fit: cover; object-position: top center; border: 1px solid #625746; border-radius: 3px; }
.spi26fr-article-figure figcaption { padding-top: 8px; color: var(--spi26fr-muted); font-size: 14px; }

.spi26fr-sidebar { position: sticky; top: 88px; display: grid; gap: 18px; max-height: calc(100vh - 108px); overflow: auto; }
.spi26fr-sidebar-card { padding: 19px; background: #2d2a2b; border: 1px solid #4f4841; border-radius: 3px; box-shadow: 0 4px 14px #0004; }
.spi26fr-sidebar-title { margin: 0 0 14px !important; color: #fff0d9; font: 900 13px/1 Georgia, serif; text-transform: uppercase; letter-spacing: .05em; }
.spi26fr-sidebar-card p { margin: 0 0 16px; color: var(--spi26fr-muted); font-size: 14px; line-height: 1.55; }
.spi26fr-sidebar-card .spi26fr-primary { width: 100%; padding-inline: 9px; }
.spi26fr-toc { display: grid; }
.spi26fr-toc a { padding: 7px 0; border-bottom: 1px solid #45403d; color: #dfd7cc; text-decoration: none; font-size: 14px; line-height: 1.35; }
.spi26fr-toc a:hover { color: #f2c97f; }
.spi26fr-toc-subitem { padding-left: 13px !important; color: #aaa095 !important; }

.spi26fr-site-footer { padding: 48px 20px 24px; border-top: 1px solid #484346; background: #1a191b; color: var(--spi26fr-muted); }
.spi26fr-footer-inner { width: min(100%, var(--spi26fr-max)); margin: auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.spi26fr-footer-inner img { width: 160px; height: 55px; object-fit: contain; }
.spi26fr-footer-inner p { max-width: 670px; margin: 18px 0 0; }
.spi26fr-footer-inner nav { display: flex; gap: 22px; flex-wrap: wrap; }
.spi26fr-footer-inner nav a { color: #eee5d7; }
.spi26fr-footer-note { width: min(100%, var(--spi26fr-max)); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid #403c3f; font-size: 14px; }

@media (max-width: 1120px) {
  .spi26fr-header-inner { gap: 12px; }
  .spi26fr-logo img { width: 120px; }
  .spi26fr-site-nav { gap: 2px; }
  .spi26fr-site-nav > a,
  .spi26fr-nav-group > button { padding-inline: 8px; font-size: 11px; }
  .spi26fr-header-actions a { padding-inline: 13px; }
  .spi26fr-game-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .spi26fr-header-inner { min-height: 66px; }
  .spi26fr-menu-toggle { display: block; margin-left: auto; cursor: pointer; }
  .spi26fr-site-nav { position: fixed; top: 66px; right: 0; bottom: 0; left: 0; display: none; align-items: stretch; justify-content: flex-start; padding: 18px; background: #232124; overflow: auto; }
  .spi26fr-site-nav.spi26fr-open { display: block; }
  .spi26fr-site-nav > a,
  .spi26fr-nav-group > button { width: 100%; justify-content: space-between; min-height: 48px; margin-bottom: 4px; padding: 13px 12px; font-size: 13px; }
  .spi26fr-dropdown { position: static; display: none; min-width: 0; padding: 4px 0 8px 14px; border: 0; box-shadow: none; }
  .spi26fr-nav-group:hover .spi26fr-dropdown { display: none; }
  .spi26fr-nav-group.spi26fr-open .spi26fr-dropdown { display: block; }
  .spi26fr-header-actions { display: none; }
  .spi26fr-content-layout { grid-template-columns: 1fr; gap: 44px; }
  .spi26fr-sidebar { position: static; max-height: none; }
  .spi26fr-hero { min-height: 500px; }
}

@media (max-width: 600px) {
  .spi26fr-container,
  .spi26fr-header-inner { width: min(calc(100% - 28px), var(--spi26fr-max)); }
  .spi26fr-logo img { width: 118px; height: 41px; }
  .spi26fr-hero { min-height: 470px; }
  .spi26fr-hero-copy { width: calc(100% - 20px); padding: 44px 10px; }
  .spi26fr-hero h1 { font-size: 39px; }
  .spi26fr-hero p { font-size: 16px; }
  .spi26fr-game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spi26fr-game-card span { font-size: 11px; padding: 8px; }
  .spi26fr-games { padding-top: 42px; }
  .spi26fr-content-section { padding: 52px 0 64px; }
  .spi26fr-page-content { font-size: 16px; }
  .spi26fr-page-content > p:first-child { font-size: 17px; }
  .spi26fr-page-content h2 { margin-top: 44px; font-size: 27px; }
  .spi26fr-page-content h3 { font-size: 21px; }
  .spi26fr-footer-inner { display: block; }
  .spi26fr-footer-inner nav { margin-top: 28px; display: grid; }
  .spi26fr-table-wrap th,
  .spi26fr-table-wrap td { padding: 11px 12px; }
  .spi26fr-article-figure img { max-height: 380px; }
}
