@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --main-bg: #18141e;
  --sidebar-bg: #1a1622;
  --card-bg: #221c2e;
  --accent: #ffb300;
  --accent2: #00e676;
  --text-main: #fff;
  --text-muted: #bdbdbd;
  --btn-main: #00e676;
  --btn-outline: #221c2e;
  --btn-hover: #ffb300;
  --header-height: 64px;
  --sidebar-width: 80px;
  --radius: 14px;
  --shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--main-bg);
  color: var(--text-main);
  min-height: 100vh;
}

.ffb-site-shell {
  display: flex;
  min-height: 100vh;
}

.afb-sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 12px 0;
  box-shadow: 2px 0 16px 0 rgba(0,0,0,0.12);
  z-index: 10;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
}
.cfd-sidebar-mark img {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
}
.eee-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 auto;
}
.bce-sidebar-ref {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  font-size: 1.6rem;
  margin: 0 auto;
}
.bce-sidebar-ref:hover, .bce-sidebar-ref.active {
  background: var(--accent2);
  color: #18141e;
}
.cef-sidebar-bottom {
  margin-top: 32px;
}
.cea-glyph {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #333;
  border-radius: 8px;
}

.efd-main-area {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--main-bg);
}
.header {
  height: var(--header-height);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  z-index: 5;
}
.faf-top-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 480px) {
  .faf-top-body {
  padding: 0 12px;
  }
}
.cee-top-head {
  width: 180px;
  height: 40px;
  background: image-set(
    url('logo.avif') type('image/avif'),
    url('logo.webp') type('image/webp'),
    url('logo.png') type('image/png')
  ) no-repeat center center;
  background-size: contain;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
}
@media (max-width: 768px) {
  .cee-top-head {
    width: 140px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .cee-top-head {
    width: 120px;
    height: 28px;
  }
}
.ecf-top-actions {
  display: flex;
  gap: 16px;
}
.btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 32px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  border: none;
  cursor: pointer;
}
@media (max-width: 480px) {
  .ecf-top-actions .btn {
    padding: 8px 16px;
    font-size: 0.75rem;
    border-radius: 24px;
  }
}
.ade-act-main {
  background: var(--btn-main);
  color: #18141e;
}
.ade-act-main:hover {
  background: var(--btn-hover);
  color: #18141e;
  box-shadow: 0 4px 16px 0 rgba(255,179,0,0.18);
}
.ffc-act-outline {
  background: transparent;
  color: var(--btn-main);
  border: 2px solid var(--btn-main);
}
.ffc-act-outline:hover {
  background: var(--btn-main);
  color: #18141e;
}

.fbf-main-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.afb-tile-seg {
  display: flex;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 220px;
  align-items: stretch;
  margin-bottom: 0;
}
.eaf-seg-illustration {
  flex: 0 0 220px;
  min-width: 180px;
  max-width: 260px;
  background: #2a223a;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-blend-mode: darken;
  aspect-ratio: 4 / 3;
}
.eaf-seg-illustration::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,20,30,0.7) 0%, rgba(24,20,30,0.2) 100%);
  z-index: 1;
}
.bfe-seg-body {
  flex: 2 1 400px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bfe-seg-body h2 {
  color: var(--accent);
  margin-top: 0;
}

.eed-lead-seg {
  display: flex;
  align-items: stretch;
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
  margin-bottom: 0;
}
.aee-lead-bg {
  flex: 1 1 340px;
  min-width: 260px;
  background: #2a223a;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.aee-lead-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,20,30,0.7) 0%, rgba(24,20,30,0.2) 100%);
  z-index: 1;
}
.cfe-lead-info {
  flex: 2 1 400px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cfe-lead-info h1 {
  font-size: 2.7rem;
  margin: 0 0 18px 0;
  color: var(--accent);
}
.cfe-lead-info p {
  font-size: 1.18rem;
  color: var(--text-muted);
}

.dbe-reward-set {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dbe-reward-set li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.eee-games-set {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.eee-slot-tile {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 220px;
  aspect-ratio: 1.2/1.3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background-blend-mode: darken;
  background: #23202a;
  margin-bottom: 8px;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.eee-slot-tile:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(0,230,118,0.18);
}
@media (max-width: 480px) {
  .eee-games-set {
    justify-content: center;
  }
  .eee-slot-tile {
    flex: 0 0 180px;
    margin: 0 auto 8px;
    max-width: 180px;
  }
}
.afa-slot-pic {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 18px 18px;
  margin-bottom: 8px;
}
.bfb-vip-illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bfb-vip-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eee-slot-tile span {
  color: var(--text-main);
  font-weight: 700;
  margin: 12px 0 18px 0;
  font-size: 1.1rem;
  text-shadow: 0 2px 8px #18141e;
}

.dac-games-desc ul {
  margin: 0 0 8px 0;
  padding-left: 18px;
}
.dac-games-desc p {
  color: var(--text-muted);
  margin: 0;
}

.adb-vip-tiers {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.fee-vip-tier {
  flex: 1 1 180px;
  min-width: 160px;
  background: #1e1a28;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 12px;
  margin-bottom: 12px;
}
.fee-vip-tier h3 {
  color: var(--accent);
  margin-top: 0;
}

.bad-qa-set {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fcd-qa-unit h3 {
  color: var(--accent2);
  margin: 0 0 4px 0;
  font-size: 1.1rem;
}
.fcd-qa-unit p {
  margin: 0;
  color: var(--text-main);
}

.footer {
  background: var(--card-bg);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow);
  margin: 40px 0 0 0;
  padding: 24px 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fca-foot-mark img {
  height: 40px;
}
.cdc-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 12px 0;
}

@media (max-width: 480px) {
  .cdc-foot-links {
    gap: 8px;
  }
  .cdc-foot-links a {
    font-size: 0.875rem;
    flex: 1 1 45%;
    text-align: center;
    min-width: 0;
  }
}
.cdc-foot-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition);
}
.cdc-foot-links a:hover {
  color: var(--accent);
}
.bce-foot-copy {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .fbf-main-body {
    max-width: 98vw;
    padding: 0 8px;
  }
  .eed-lead-seg, .afb-tile-seg {
    flex-direction: column;
  }
  .eaf-seg-illustration {
    min-width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 900px) {
  .afb-sidebar {
    width: 56px;
    padding: 8px 0 8px 0;
  }
  .cfd-sidebar-mark img {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
  }
  .bce-sidebar-ref {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .fbf-main-body {
    padding: 0 2px;
  }
}
@media (max-width: 600px) {
  .header, .footer {
    padding: 0 4px;
  }
  .cfe-lead-info, .bfe-seg-body {
    padding: 18px 4px;
  }
  .fbf-main-body {
    padding: 0 0 12px 0;
  }
}