@keyframes fenixFadeOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fenixGlow {
  0%, 100% { text-shadow: 0 0 32px rgba(232,101,10,0.7), 0 2px 24px rgba(0,0,0,0.95); }
  50%      { text-shadow: 0 0 56px rgba(255,155,69,0.9), 0 2px 24px rgba(0,0,0,0.95); }
}

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

html, body.fn-body {
  background: #0d0000;
  color: #fff;
  scroll-behavior: smooth;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: #7a2800; border-radius: 4px; }

.fn-body details summary { list-style: none; cursor: pointer; }
.fn-body details summary::-webkit-details-marker { display: none; }

button.fn-btn,
button.fn-icon-btn,
button.fn-social-btn,
button.fn-hamburger {
  cursor: pointer;
  font-family: inherit;
}

/* Backdrop */
.fn-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 999;
  animation: fenixFadeOverlay 0.22s ease;
}

.fn-backdrop.is-open { display: block; }

/* Sidebar */
.fn-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 288px;
  max-width: 100%;
  background: #0c0000;
  border-right: 1px solid rgba(232,101,10,0.28);
  z-index: 1000;
  transform: translateX(-110%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  will-change: transform;
}

.fn-sidebar.is-open { transform: translateX(0); }

.fn-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(232,101,10,0.18);
  background: rgba(0,0,0,0.35);
  flex-shrink: 0;
}

.fn-sidebar-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #e8650a;
  font-size: 21px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.fn-sidebar-cta {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(232,101,10,0.18);
  flex-shrink: 0;
}

.fn-btn-cta--sidebar {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #c85200, #e8650a, #ff9b45);
  color: #fff;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(232,101,10,0.3);
  transition: opacity 0.18s;
}

.fn-btn-cta--sidebar:hover { opacity: 0.86; }

/* Logo */
.fn-logo-link {
  flex-shrink: 0;
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
}

.fn-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.fn-logo--sidebar,
.fn-logo--footer {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.fn-logo-link--footer {
  justify-content: center;
  margin: 0 auto;
}

/* Header */
.fn-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  height: 68px;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  padding: 0 22px;
  gap: 14px;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.fn-header.fn-header--scrolled {
  background: rgba(7,0,0,0.93);
  border-bottom: 1px solid rgba(232,101,10,0.2);
}

.fn-hamburger.hamburger-btn {
  background: none;
  border: none;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.fn-hamburger span {
  display: block;
  background: #e8650a;
  border-radius: 2px;
  height: 2px;
}

.fn-hamburger span:nth-child(1),
.fn-hamburger span:nth-child(3) { width: 23px; }

.fn-hamburger span:nth-child(2) { width: 18px; }

.fn-nav-slot--desktop {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fn-nav-slot--desktop .fn-menu-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.fn-nav-slot--desktop .fn-menu-link {
  color: #c8a888;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.18s;
}

.fn-nav-slot--desktop .fn-menu-link:hover { color: #ff9b45; }

.fn-nav-slot--mobile {
  flex: 1;
  padding: 6px 0;
}

.fn-nav-slot--mobile .fn-menu-list {
  display: flex;
  flex-direction: column;
}

.fn-nav-slot--mobile .fn-menu-link {
  display: block;
  padding: 14px 22px;
  color: #ddc8b0;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(232,101,10,0.09);
  transition: all 0.18s;
}

.fn-nav-slot--mobile .fn-menu-link:last-child { border-bottom: none; }

.fn-nav-slot--mobile .fn-menu-link:hover {
  color: #ff9b45;
  background: rgba(232,101,10,0.08);
  padding-left: 30px;
}

.fn-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.fn-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.18s;
}

.fn-icon-btn:hover { background: rgba(232,101,10,0.12); }

.fn-login {
  padding: 8px 17px;
  border: 1.5px solid rgba(232,101,10,0.7);
  color: #ff9b45;
  background: transparent;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 5px;
  white-space: nowrap;
  transition: all 0.18s;
}

.fn-login:hover {
  border-color: #ff9b45;
  background: rgba(232,101,10,0.1);
}

.fn-reg {
  padding: 8px 17px;
  background: linear-gradient(135deg, #c85200, #e8650a, #ff9b45);
  color: #fff;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 5px;
  white-space: nowrap;
  transition: opacity 0.18s;
}

.fn-reg:hover { opacity: 0.86; }

/* Hero */
.fn-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: url('/wp-content/uploads/main.webp') no-repeat top center / cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 42%;
  padding-bottom: 0;
}

.fn-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(9,0,0,0.5) 72%, #0d0000 100%);
  pointer-events: none;
}

.fn-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
  padding: 0 28px;
}

.fn-hero-h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4.8vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 30px;
  animation: fenixGlow 3.2s ease-in-out infinite;
}

.fn-hero-cta {
  display: inline-block;
  padding: 15px 54px;
  background: linear-gradient(135deg, #c85200, #e8650a, #ff9b45);
  color: #fff;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 7px;
  box-shadow: 0 0 34px rgba(232,101,10,0.45);
  transition: box-shadow 0.25s, transform 0.15s;
}

.fn-hero-cta:hover {
  box-shadow: 0 0 52px rgba(255,155,69,0.65);
  transform: translateY(-2px);
}

/* Providers */
.fn-providers {
  width: 100%;
  background: #0d0000;
}

.fn-providers-img {
  width: 100%;
  display: block;
}

/* Content */
.fn-content {
  background: #0d0000;
  padding: 72px 0 36px;
}

.fn-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 36px;
}

.fn-content-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #ff9b45;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(232,101,10,0.32);
}

.fn-content-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #ffb870;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 40px;
}

.fn-content-body p {
  font-size: 16.5px;
  line-height: 1.85;
  color: #ddc8b0;
  margin-bottom: 36px;
}

.fn-content-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}

.fn-content-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: #ddc8b0;
  line-height: 1.7;
}

.fn-content-body ul li::before {
  content: '\25C6';
  color: #e8650a;
  flex-shrink: 0;
  margin-top: 4px;
}

.fn-content-body ul li strong {
  color: #fff;
  font-weight: 600;
}

.fn-content-body ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 44px;
}

.fn-content-body ol li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: #ddc8b0;
  line-height: 1.7;
}

.fn-content-body ol li::before {
  content: counter(fn-step);
  counter-increment: fn-step;
  background: linear-gradient(135deg, #c85200, #ff9b45);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}

.fn-content-body ol {
  counter-reset: fn-step;
}

.fn-content-body ol li strong { color: #ff9b45; }

.fn-content-body .fn-table-wrap,
.fn-content-body > div[style*="overflow"],
.fn-content-body .table-wrap {
  overflow-x: auto;
  margin-bottom: 44px;
  border-radius: 8px;
  border: 1px solid rgba(232,101,10,0.2);
  -webkit-overflow-scrolling: touch;
}

.fn-content-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.fn-content-body table thead tr {
  background: rgba(232,101,10,0.16);
}

.fn-content-body table th {
  padding: 14px 16px;
  color: #ff9b45;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(232,101,10,0.28);
}

.fn-content-body table td {
  padding: 13px 16px;
  color: #e8d4b8;
  border-bottom: 1px solid rgba(232,101,10,0.1);
}

.fn-content-body table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.fn-content-body blockquote {
  border-left: 3px solid #e8650a;
  padding: 20px 26px;
  background: rgba(232,101,10,0.07);
  border-radius: 0 8px 8px 0;
  margin-bottom: 44px;
}

.fn-content-body blockquote p {
  font-size: 17.5px;
  font-style: italic;
  color: #ffcfa0;
  line-height: 1.78;
  margin-bottom: 10px;
}

.fn-content-body blockquote cite {
  font-size: 12.5px;
  color: #e8650a;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fn-content-body .fn-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 52px;
}

.fn-content-body .fn-game-grid > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(232,101,10,0.18);
  border-radius: 6px;
  font-size: 14px;
  color: #ddc8b0;
}

.fn-content-body details {
  border: 1px solid rgba(232,101,10,0.22);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 6px;
}

.fn-content-body details summary {
  padding: 17px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: #e8d4b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.03);
}

.fn-content-body details summary::after {
  content: '\25BC';
  color: #e8650a;
  font-size: 15px;
  flex-shrink: 0;
  margin-left: 12px;
}

.fn-content-body details[open] summary::after {
  transform: rotate(180deg);
}

.fn-content-body details > div,
.fn-content-body details > p {
  padding: 16px 20px;
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(232,101,10,0.13);
  font-size: 15px;
  color: #c8b8a4;
  line-height: 1.75;
}

/* Footer */
.fn-footer {
  width: 100%;
}

.fn-footer-img {
  width: 100%;
  display: block;
}

.fn-footer-bar {
  background: #080000;
  border-top: 1px solid rgba(232,101,10,0.18);
  padding: 22px 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.fn-footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fn-social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(232,101,10,0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  background: transparent;
  padding: 0;
}

.fn-social-btn:hover {
  border-color: #e8650a;
  background: rgba(232,101,10,0.12);
}

.fn-footer-copyright {
  font-size: 12px;
  color: #5a4838;
  letter-spacing: 0.05em;
  font-family: 'Oswald', sans-serif;
  text-align: right;
}

.fn-nav-slot--footer {
  padding: 0 36px 22px;
  display: flex;
  justify-content: center;
}

.fn-nav-slot--footer .fn-footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.fn-nav-slot--footer .fn-footer-link {
  color: #7a6048;
  font-size: 13px;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  transition: color 0.18s;
}

.fn-nav-slot--footer .fn-footer-link:not(:last-child)::after {
  content: '\2022';
  font-weight: 700;
  font-size: 16px;
  color: rgba(232,101,10,0.65);
  margin: 0 1.25em;
  pointer-events: none;
}

.fn-nav-slot--footer .fn-footer-link:hover { color: #ff9b45; }

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 768px) {
  .fn-nav-slot--desktop,
  .fn-login,
  .fn-icon-search,
  .fn-icon-gift {
    display: none !important;
  }

  .fn-right { gap: 6px; }

  .fn-reg {
    padding: 9px 14px;
    font-size: 13px;
  }

  .fn-sidebar { width: 100%; max-width: 100%; }

  .fn-hero {
    height: auto;
    min-height: 0;
    margin-top: 68px;
    justify-content: flex-start;
    align-items: center;
    padding-top: 45%;
    padding-bottom: 56px;
  }

  .fn-hero-content { padding: 0 20px; }

  .fn-content { padding: 36px 0 16px; }

  .fn-inner { padding: 0 16px; }

  .fn-content-body .fn-game-grid { grid-template-columns: 1fr 1fr; }

  .fn-content-body table { font-size: 12.5px; }

  .fn-content-body table th,
  .fn-content-body table td { padding: 10px; }

  .fn-content-body blockquote { padding: 16px 18px; }

  .fn-hero-cta {
    padding: 13px 32px;
    font-size: 16px;
  }

  .fn-footer-bar {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    justify-items: center;
    gap: 14px;
  }

  .fn-footer-copyright { text-align: center; }

  .fn-nav-slot--footer { padding: 0 16px 20px; }
}

@media (max-width: 480px) {
  .fn-content-body .fn-game-grid { grid-template-columns: 1fr; }

  .fn-content-body h2 {
    font-size: 24px;
    letter-spacing: 0.04em;
  }

  .fn-content-body h3 { font-size: 19px; }

  .fn-content-body p,
  .fn-content-body li { font-size: 15px; }

  .fn-content-body details summary { font-size: 14px; }
}
