:root {
  --f168-bg: #060607;
  --f168-outer: #160218;
  --f168-panel: rgba(16, 17, 22, 0.94);
  --f168-panel-soft: rgba(24, 20, 24, 0.88);
  --f168-card: rgba(17, 13, 19, 0.94);
  --f168-red: #dd3333;
  --f168-red-dark: #8f1118;
  --f168-gold: #f4b84d;
  --f168-gold-strong: #ffd876;
  --f168-text: #fff5df;
  --f168-muted: #d5c5ad;
  --f168-dim: #9c907f;
  --f168-green: #57d68c;
  --f168-line: rgba(244, 184, 77, 0.34);
  --f168-line-soft: rgba(244, 184, 77, 0.18);
  --f168-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--f168-text);
  background: var(--f168-outer);
}

body {
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

.f168-page {
  width: 1280px;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 12px 88px;
  background:
    radial-gradient(circle at 6% 22%, rgba(221, 51, 51, 0.18), transparent 28%),
    linear-gradient(180deg, #08070a 0%, var(--f168-bg) 48%, #050506 100%);
  overflow: hidden;
}

.f168-top {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr) 224px;
  align-items: center;
  gap: 22px;
  min-height: 88px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(221, 51, 51, 0.48);
  background: rgba(4, 4, 5, 0.98);
}

.f168-top::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--f168-red) 18%, var(--f168-red) 82%, transparent 100%);
  opacity: 0.88;
}

.f168-brand {
  display: grid;
  gap: 5px;
  width: 220px;
}

.f168-brand-mark {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  color: #12080b;
  background: linear-gradient(135deg, var(--f168-gold-strong), #eca438);
  box-shadow: inset 0 -1px 0 rgba(75, 31, 9, 0.26);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.f168-brand-sub {
  color: var(--f168-dim);
  font-size: 12px;
  font-weight: 700;
}

.f168-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.f168-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: #e7d7bd;
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease;
}

.f168-nav a:hover,
.f168-nav .is-active {
  color: #fff7dc;
}

.f168-auth {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.f168-auth a {
  min-height: 44px;
  min-width: 94px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(244, 184, 77, 0.35);
  border-radius: 999px;
  color: #f2dfbf;
  font-size: 15px;
  font-weight: 900;
}

.f168-auth .f168-join {
  border: 0;
  color: #15090c;
  background: linear-gradient(135deg, var(--f168-gold-strong), #f0a43c);
}

.f168-hero {
  position: relative;
  isolation: isolate;
  min-height: 510px;
  margin: 14px 0 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 38px;
  align-items: stretch;
  border: 1px solid rgba(244, 184, 77, 0.2);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 8%, rgba(244, 184, 77, 0.33), transparent 31%),
    radial-gradient(circle at 17% 86%, rgba(65, 152, 108, 0.22), transparent 30%),
    linear-gradient(135deg, #171014 0%, #0d090f 50%, #071112 100%);
  box-shadow: var(--f168-shadow);
}

.f168-hero::before {
  content: "";
  position: absolute;
  inset: 20px 298px 18px auto;
  width: 520px;
  background: url("f168-hero.svg") center / contain no-repeat;
  opacity: 0.42;
  filter: saturate(1.05);
  z-index: -1;
}

.f168-hero-copy {
  position: relative;
  z-index: 1;
  padding: 8px 0 0;
}

.f168-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff3d0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.f168-hero-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--f168-muted);
  font-size: 16px;
  line-height: 1.86;
}

.f168-meta-points {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.f168-meta-points span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(244, 184, 77, 0.48);
  border-radius: 999px;
  color: #f8dfb1;
  background: rgba(6, 6, 8, 0.5);
  font-size: 13px;
  font-weight: 800;
}

.f168-cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.f168-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease;
}

.f168-btn:hover {
  transform: translateY(-1px);
}

.f168-btn-primary {
  color: #17090d;
  background: linear-gradient(135deg, var(--f168-gold-strong), #efa23a);
}

.f168-btn-outline {
  color: #fff0ca;
  border: 1px solid rgba(244, 184, 77, 0.56);
  background: rgba(116, 24, 27, 0.28);
}

.f168-highlight {
  position: relative;
  z-index: 1;
  min-height: 416px;
  align-self: center;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(244, 184, 77, 0.58);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 100%, rgba(46, 142, 95, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(20, 25, 28, 0.98), rgba(9, 10, 15, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.f168-label {
  margin: 0;
  color: #ffe0a2;
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
}

.f168-highlight strong {
  display: block;
  margin: 48px 0 30px;
  color: #fff1ce;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 900;
}

.f168-highlight ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #d8c9b3;
  font-size: 15px;
  font-weight: 800;
}

.f168-highlight li {
  margin: 10px 0;
}

.f168-highlight li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  display: inline-block;
  border-radius: 999px;
  background: var(--f168-green);
  box-shadow: 0 0 0 3px rgba(87, 214, 140, 0.14);
  vertical-align: 2px;
}

.f168-reward-link {
  min-height: 64px;
  margin-top: auto;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  color: #28170c;
  background: linear-gradient(135deg, #f6ce70, #cfa53e);
  font-size: 14px;
  font-weight: 800;
}

.f168-feature-grid,
.f168-category-grid,
.f168-news-grid {
  display: grid;
  gap: 14px;
}

.f168-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
}

.f168-card,
.f168-category-card,
.f168-news-card,
.f168-article-card,
.f168-side-card {
  border: 1px solid var(--f168-line);
  border-radius: 8px;
  background: var(--f168-card);
}

.f168-card {
  min-height: 220px;
  padding: 20px;
}

.f168-card span {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #07160f;
  background: linear-gradient(135deg, #8ff0bb, #3ecc82);
  font-size: 15px;
  font-weight: 900;
}

.f168-card h3,
.f168-category-card h3,
.f168-news-card h3 {
  margin: 0;
  color: #fff3d6;
  font-weight: 900;
  letter-spacing: 0;
}

.f168-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.23;
}

.f168-card p,
.f168-category-card p,
.f168-news-card p,
.f168-side-card p,
.f168-article-body {
  margin: 0;
  color: var(--f168-muted);
  font-size: 16px;
  line-height: 1.72;
}

.f168-section {
  margin-top: 24px;
}

.f168-section-head {
  margin-bottom: 16px;
}

.f168-section-head p {
  margin: 0 0 6px;
  color: var(--f168-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.f168-section-head h2 {
  margin: 0;
  color: #fff6e5;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 900;
}

.f168-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.f168-category-card {
  min-height: 202px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(70, 29, 30, 0.72), rgba(16, 11, 18, 0.95)),
    var(--f168-panel-soft);
}

.f168-category-card > span {
  display: block;
  margin-bottom: 14px;
  color: #f8da98;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.f168-category-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.14;
}

.f168-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.f168-news-card {
  min-height: 174px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.f168-news-card:hover {
  border-color: rgba(244, 184, 77, 0.7);
  transform: translateY(-2px);
}

.f168-news-card span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 9px;
  padding: 0 10px;
  border-radius: 999px;
  color: #f7bd59;
  background: rgba(221, 51, 51, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.f168-news-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.f168-footer {
  min-height: 112px;
  margin-top: 24px;
  padding: 32px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--f168-line-soft);
}

.f168-footer strong {
  color: #fff0c7;
  font-size: 28px;
  font-weight: 900;
}

.f168-footer span {
  max-width: 600px;
  color: #baa992;
  font-size: 15px;
}

.f168-page--article {
  overflow: initial;
}

.f168-article-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) 300px;
  padding: 28px;
}

.f168-article-hero .f168-hero-copy h1 {
  max-width: 860px;
  font-size: 42px;
}

.f168-article-hero .f168-highlight {
  min-height: 260px;
}

.f168-article-hero .f168-highlight strong {
  margin: 28px 0 18px;
  font-size: 22px;
}

.f168-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  margin-top: 16px;
}

.f168-article-card {
  padding: 26px;
}

.f168-article-card h1 {
  margin: 0 0 10px;
  color: #fff5df;
  font-size: 36px;
  line-height: 1.2;
}

.f168-meta {
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #c9b89e;
  font-size: 13px;
}

.f168-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--f168-line-soft);
  border-radius: 999px;
}

.f168-article-body h2,
.f168-article-body h3 {
  color: #fff0c7;
  line-height: 1.25;
}

.f168-article-body p,
.f168-article-body ul,
.f168-article-body ol {
  margin-top: 0;
  margin-bottom: 15px;
}

.f168-article-body a {
  color: var(--f168-gold-strong);
}

.f168-side-card {
  align-self: start;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 100%, rgba(47, 142, 95, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(22, 28, 30, 0.98), rgba(12, 8, 15, 0.98));
}

.f168-side-card h2 {
  margin: 0 0 10px;
  color: #ffe0a0;
  font-size: 24px;
}

.f168-side-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.f168-side-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--f168-line-soft);
  border-radius: 8px;
  color: #f0debf;
  font-size: 14px;
  font-weight: 800;
}

.f168-pagination,
.f168-pagebreak {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--f168-muted);
}

.f168-pagination li,
.f168-pagination a,
.f168-pagination span,
.f168-pagebreak li,
.f168-pagebreak a,
.f168-pagebreak span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--f168-line-soft);
  border-radius: 999px;
}

@media (max-width: 1080px) {
  .f168-page {
    padding: 0 10px 72px;
  }

  .f168-top {
    grid-template-columns: 220px 1fr;
  }

  .f168-auth {
    grid-column: 2;
  }

  .f168-nav {
    justify-content: flex-start;
    gap: 20px;
  }

  .f168-hero,
  .f168-article-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .f168-hero::before {
    inset: auto -110px 52px auto;
    width: 520px;
    height: 360px;
    opacity: 0.2;
  }

  .f168-highlight {
    min-height: auto;
  }

  .f168-highlight strong {
    margin: 24px 0 18px;
  }

  .f168-feature-grid,
  .f168-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .f168-news-grid,
  .f168-article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .f168-page {
    padding: 0 8px 56px;
  }

  .f168-top {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 10px;
  }

  .f168-top::after {
    left: 10px;
    right: 10px;
  }

  .f168-brand {
    width: 100%;
  }

  .f168-nav {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .f168-nav a {
    min-height: 30px;
    font-size: 13px;
  }

  .f168-auth {
    grid-column: auto;
    justify-content: flex-start;
  }

  .f168-auth a {
    min-height: 40px;
    min-width: 0;
  }

  .f168-hero {
    margin-top: 10px;
    padding: 22px 18px;
    border-radius: 14px;
  }

  .f168-hero-copy h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .f168-article-hero .f168-hero-copy h1 {
    font-size: 34px;
  }

  .f168-hero-copy p,
  .f168-card p,
  .f168-category-card p,
  .f168-news-card p,
  .f168-article-body {
    font-size: 15px;
  }

  .f168-highlight {
    padding: 20px;
  }

  .f168-feature-grid,
  .f168-category-grid {
    grid-template-columns: 1fr;
  }

  .f168-card {
    min-height: auto;
  }

  .f168-section-head h2 {
    font-size: 30px;
  }

  .f168-category-card h3 {
    font-size: 22px;
  }

  .f168-footer {
    flex-direction: column;
    min-height: auto;
    padding: 28px 10px 0;
  }
}

@media (max-width: 420px) {
  .f168-hero-copy h1 {
    font-size: 31px;
  }

  .f168-cta-row,
  .f168-auth {
    width: 100%;
  }

  .f168-btn,
  .f168-auth a {
    flex: 1 1 auto;
  }
}
