:root {
  --tf-bg: #060709;
  --tf-surface: #101219;
  --tf-surface-2: #1b1f2a;
  --tf-panel: #252a36;
  --tf-border: #343b4b;
  --tf-border-blue: #4e7da9;
  --tf-text: #f5f6f8;
  --tf-muted: #a9afbc;
  --tf-cyan: #9ce8ff;
  --tf-blue: #708cff;
  --tf-violet: #7774ff;
  --tf-success: #4ed9bc;
}

html,
body {
  background:
    radial-gradient(circle at 58% -20%, rgba(64, 91, 145, 0.2), transparent 35rem),
    linear-gradient(180deg, #080a0e 0, var(--tf-bg) 34rem);
  color: var(--tf-text);
  font-family: "Open Sans", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.025) 49%, transparent 50%),
    linear-gradient(18deg, transparent 0 48%, rgba(255,255,255,.018) 49%, transparent 50%);
  background-size: 180px 120px, 220px 160px;
}

h1,
h2,
h3,
h4,
.sfde-subtitle,
.sfde-table-of-contents summary {
  font-family: Cinzel, Georgia, serif;
  color: #fff;
  letter-spacing: -0.015em;
}

a {
  color: var(--tf-cyan);
}

.sfde-header {
  min-height: 54px;
  background:
    linear-gradient(180deg, rgba(48, 53, 67, 0.97), rgba(27, 30, 39, 0.98)),
    repeating-linear-gradient(165deg, transparent 0 22px, rgba(255,255,255,.035) 23px 24px);
  border-bottom: 1px solid #343a48;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.sfde-header-content {
  padding-top: 7px;
  padding-bottom: 7px;
}

.sfde-header-logo {
  height: 38px;
}

.sfde-header-logo img {
  width: 148px !important;
  max-height: 34px;
  object-fit: contain;
}

.sfde-header-nav {
  gap: 8px;
}

.sfde-header-input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #d6d9e0;
}

.sfde-button {
  min-height: 38px;
  border: 1px solid #556072;
  border-radius: 4px;
  background: linear-gradient(180deg, #333845, #1f232c);
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 800;
  text-shadow: 0 1px 2px #000;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 5px 14px rgba(0,0,0,.28);
}

.sfde-button::before,
.sfde-button::after {
  display: none !important;
}

.sfde-button-secondary,
.sfde-hero-button {
  border-color: #8499ff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(180deg, #7186ff, #4d4bc8);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.17),
    0 0 18px rgba(103, 111, 255, .34);
}

.sfde-hero {
  display: block;
  overflow: hidden;
  margin-top: 38px;
  border: 1px solid #2f586f;
  border-radius: 24px;
  background: #071119;
  box-shadow: 0 16px 48px rgba(0,0,0,.52);
}

.sfde-hero-image-section,
.sfde-hero picture {
  width: 100%;
  margin: 0;
  padding: 0;
}

.sfde-hero img:not(.sfde-hero-arrow) {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 1 !important;
  object-fit: cover;
}

.sfde-hero-image-section::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, rgba(3, 15, 25, .9), rgba(4, 21, 34, .28) 53%, transparent 76%);
  pointer-events: none;
}

.sfde-hero-content {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  order: 0;
  z-index: 2;
  align-items: flex-start;
  justify-content: center;
  width: 54%;
  min-height: 0;
  padding: clamp(28px, 5vw, 72px);
  gap: 0;
  border: 0;
  background: transparent;
}

.sfde-subtitle {
  display: flex !important;
  align-items: flex-start;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(16px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  text-shadow: 0 3px 10px #000;
}

.sfde-subtitle small {
  margin-bottom: 10px;
  font-size: .52em;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sfde-subtitle b {
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  font-size: 1.5em;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sfde-hero .sfde-hero-button-indicator {
  position: relative;
  z-index: 3;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.sfde-hero .sfde-hero-button {
  display: flex !important;
  min-width: 150px;
  min-height: 46px;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.sfde-hero-arrow {
  display: none;
}

.sfde-sidebar {
  background: linear-gradient(180deg, #151923, #0d1017);
  border-right: 1px solid #343a48;
  box-shadow: 10px 0 30px rgba(0,0,0,.3);
}

.sfde-sidebar-nav-link {
  margin: 4px 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #c3c8d2;
  font-size: 13px;
}

.sfde-sidebar-nav-link:hover,
.sfde-sidebar-nav-link-active {
  color: #fff;
  border-color: #465064;
  background: linear-gradient(90deg, #303746, #1d222d);
}

.sfde-sidebar-nav-link-active {
  box-shadow: inset 3px 0 0 var(--tf-cyan);
}

.sfde-games {
  margin-top: 28px;
  background: transparent;
}

.sfde-games-list {
  justify-content: center;
  gap: 14px;
}

.sfde-games .sfde-game {
  overflow: hidden;
  border: 1px solid #4a5262;
  border-radius: 3px;
  background: #0a0b0e;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  transition: transform .2s ease, border-color .2s ease;
}

.sfde-games .sfde-game:hover {
  transform: translateY(-4px);
  border-color: var(--tf-cyan);
}

.sfde-page-copy {
  color: #d6d9df;
}

.sfde-page-copy h1 {
  font-size: clamp(28px, 4vw, 48px);
}

.sfde-page-copy h2 {
  margin-top: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2d333e;
}

.sfde-page-copy p,
.sfde-page-copy li {
  color: #c8ccd4;
  line-height: 1.75;
}

.tf-content-shot {
  overflow: hidden;
  margin: 26px 0 34px;
  border: 1px solid #3b5369;
  border-radius: 8px;
  background: #090b0f;
  box-shadow: 0 16px 34px rgba(0,0,0,.34);
}

.tf-content-shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: auto;
  margin: 0 !important;
}

.tf-content-shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid #303846;
  color: var(--tf-muted);
  font-size: 12px;
}

.legal-notice {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #8a7042;
  border-left: 4px solid #e0b75e;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(133, 99, 37, .22), rgba(27, 26, 23, .88));
}

.legal-notice p {
  margin: 0;
  color: #f2dfb4;
}

.sfde-table-wrap {
  overflow: hidden;
  border: 1px solid var(--tf-border);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

table {
  background: #0e1118;
}

th {
  background: linear-gradient(180deg, #303746, #242a36);
  color: #fff;
}

td {
  border-color: #282e39;
  color: #cbd0da;
}

tr:nth-child(even) td {
  background: #151923;
}

.sfde-table-of-contents {
  position: relative;
  z-index: 2;
  display: block !important;
  margin: 24px 0 30px;
  border: 1px solid var(--tf-border);
  border-radius: 6px;
  background: linear-gradient(180deg, #1c212c, #12161e);
}

.sfde-table-of-contents summary {
  display: list-item;
  padding: 16px 20px;
  color: #fff;
  cursor: pointer;
}

.sfde-table-of-contents a {
  color: #b7dfff;
}

.sfde-accordion {
  overflow: hidden;
  border: 1px solid #3b4352;
  border-radius: 4px;
  background: #20252f;
}

.sfde-accordion h3 {
  color: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
}

.sfde-footer {
  background: #0d1016;
  border-top: 1px solid #303642;
}

.sfde-footer-wave {
  display: none;
}

.sfde-footer-language-menu {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sfde-footer-language-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #3b4352;
  border-radius: 50%;
  background: #181c24;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.sfde-footer-language-icon:hover,
.sfde-footer-language-icon:focus-visible {
  border-color: #9cd8ff;
  background: #252c37;
  transform: translateY(-2px);
}

.sfde-footer-language-icon span {
  display: block;
  line-height: 1;
}

@media (min-width: 1200px) {
  .sfde-main-content {
    max-width: 1180px;
  }

  .sfde-hero {
    max-width: 1180px;
  }

  .sfde-games .sfde-game {
    max-width: 168px;
  }
}

@media (max-width: 1199px) {
  .sfde-hero {
    margin-top: 18px;
    border-radius: 14px;
  }

  .sfde-hero-content {
    width: 63%;
  }

  .sfde-games-list {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .sfde-header-logo img {
    width: 128px !important;
  }

  .sfde-hero {
    margin-right: 12px;
    margin-left: 12px;
  }

  .sfde-hero-content {
    width: 70%;
    min-height: 0;
    padding: 18px;
  }

  .sfde-subtitle {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .sfde-hero-button {
    min-width: 112px;
    min-height: 38px;
    padding: 0 14px;
  }

  .sfde-footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
