:root {
  color-scheme: dark;
  --bg-black:#08090b;
  --bg-card:#15171b;
  --text-main:#f5f6f7;
  --text-muted:#9499a3;
  --accent-blue:#70aaff;
  --border-color:#ffffff14;
  --star-color:#ffb65c;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;
}

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

html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}

body {
  background:var(--bg-black);
  color:var(--text-main);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

button {
  font:inherit;
  cursor:pointer;
}

a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline:2px solid #70aaff;
  outline-offset:6px;
}

.hero {
  background:#06090e;
  min-height:100vh;
  min-height:100svh;
  height:auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:64px 24px 84px;
  overflow:hidden;
}

#fb-canvas {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  opacity:1;
}

.hero-glow {
  position:absolute;
  width:min(100vw,600px);
  height:500px;
  top:30%;
  left:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(24,119,242,.25) 0%,rgba(0,100,224,.07) 50%,transparent 75%);
  filter:blur(45px);
  pointer-events:none;
}

.hero-content {
  position:relative;
  max-width:850px;
  width:100%;
}

.fb-logo-wrapper {
  display:inline-flex;
  margin-bottom:24px;
  background:#1877f2;
  width:76px;
  height:76px;
  border-radius:22px;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 40px #1877f218;
}

.fb-logo-svg {
  width:52px;
  height:52px;
  fill:white;
}

.eyebrow {
  font-size:11px;
  letter-spacing:3px;
  color:#818b9e;
  margin-bottom:15px;
}

.hero-title {
  font-size:clamp(36px,5.5vw,66px);
  line-height:1.2;
  font-weight:750;
  letter-spacing:-2.5px;
  margin-bottom:20px;
}

.hero-title span {
  color:#639fff;
}

.hero-subtitle {
  color:#a3a7af;
  font-size:16px;
  margin-bottom:32px;
}

.cta-wrapper {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}

.btn-fb {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:52px;
  padding:14px 32px;
  border:1px solid #3288fa;
  border-radius:40px;
  background:#1877f2;
  color:white;
  font-size:15px;
  font-weight:600;
  transition:background .2s,transform .2s;
}

.btn-fb::after {
  content:'↓';
  font-size:20px;
  line-height:1;
}

@media (hover:hover) {
  .btn-fb:hover {
    background:#3489f8;
    transform:translateY(-2px);
  }

}

.btn-fb:active {
  transform:scale(.98);
}

.hero-trust {
  color:#858c98;
  font-size:12px;
}

.trust-badge {
  display:inline-block;
  width:5px;
  height:5px;
  background:#8aa1bd;
  border-radius:50%;
  margin-right:5px;
  vertical-align:middle;
}

.preview-section,.ratings-section,.info-section {
  max-width:1200px;
  margin:auto;
  padding:48px 32px;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
}

.section-title,.ratings-header-title {
  font-size:23px;
  letter-spacing:-.5px;
  font-weight:650;
}

.section-note {
  color:var(--text-muted);
  font-size:13px;
  margin-top:5px;
}

.gallery-controls {
  display:flex;
  flex-shrink:0;
  gap:8px;
}

.gallery-controls button {
  width:44px;
  height:44px;
  background:#16191e;
  color:#ddd;
  border:1px solid #ffffff1a;
  border-radius:50%;
  font-size:19px;
}

.gallery-controls button:disabled {
  opacity:.3;
  cursor:default;
}

.preview-scroll-container {
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  padding:4px 0 15px;
}

.preview-scroll-container::-webkit-scrollbar,.reviews-container::-webkit-scrollbar {
  display:none;
}

.preview-card {
  flex:0 0 calc((100% - 72px)/5);
  border:1px solid #ffffff1a;
  border-radius:19px;
  overflow:hidden;
  scroll-snap-align:start;
  background:#15171b;
}

.preview-img {
  width:100%;
  height:auto;
  aspect-ratio:460/995;
  display:block;
}

.ratings-section {
  padding-top:44px;
}

.ratings-header-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:28px;
}

.ratings-header-link {
  font-size:13px;
  font-weight:400;
  color:var(--accent-blue);
}

.ratings-overview {
  display:grid;
  grid-template-columns:150px minmax(150px,360px) 1fr;
  gap:44px;
  align-items:center;
  margin-bottom:32px;
}

.rating-score {
  font-size:64px;
  font-weight:700;
  line-height:1;
  letter-spacing:-3px;
}

.rating-stars-large {
  color:var(--star-color);
  font-size:14px;
  letter-spacing:3px;
  margin-top:10px;
}

.rating-max,.ratings-count-label {
  color:var(--text-muted);
  font-size:12px;
  margin-top:5px;
}

.rating-bars {
  display:grid;
  gap:6px;
}

.bar-row {
  display:flex;
  align-items:center;
  gap:12px;
}

.star-label {
  color:#9196a0;
  width:26px;
  font-size:11px;
}

.star-label span {
  color:#9196a0;
}

.bar-bg {
  flex:1;
  height:5px;
  background:#ffffff0d;
  border-radius:5px;
  overflow:hidden;
}

.bar-fill {
  height:100%;
  background:#8895aa;
  border-radius:5px;
}

.ratings-count-box {
  text-align:right;
}

.ratings-count-number {
  font-size:23px;
  font-weight:600;
}

.reviews-container {
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}

.review-card {
  flex:0 0 calc((100% - 36px)/3);
  min-width:0;
  padding:23px;
  background:var(--bg-card);
  border:1px solid #ffffff06;
  border-radius:16px;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.review-top,.review-sub {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}

.review-title {
  font-size:14px;
  font-weight:600;
}

.review-date {
  font-size:11px;
  color:var(--text-muted);
  white-space:nowrap;
}

.review-stars {
  color:var(--star-color);
  letter-spacing:2px;
  font-size:11px;
}

.review-author {
  font-size:11px;
  color:var(--text-muted);
}

.review-body {
  font-size:13px;
  color:#bec2ca;
  line-height:1.85;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.review-body.expanded {
  display:block;
}

.review-more {
  background:none;
  border:0;
  color:var(--accent-blue);
  font-size:12px;
  margin-top:12px;
  min-height:28px;
}

.info-section {
  margin-top:10px;
  border-top:1px solid var(--border-color);
}

.info-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px 40px;
  margin-top:28px;
}

.info-item {
  display:flex;
  flex-direction:column;
  gap:7px;
}

.info-label {
  color:var(--text-muted);
  font-size:12px;
}

.info-value {
  font-size:13px;
  color:#d3d6dc;
}

.footer-legal {
  max-width:1136px;
  margin:16px auto 0;
  border-top:1px solid var(--border-color);
  padding:28px 0 110px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#7e848f;
  font-size:11px;
}

.legal-links {
  display:flex;
  gap:24px;
}

.legal-links a:hover {
  color:#fff;
}

.sticky-footer {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:10;
  background:#0b0d10ed;
  backdrop-filter:blur(20px);
  border-top:1px solid #ffffff14;
  padding:12px 32px calc(12px + env(safe-area-inset-bottom));
  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  visibility:hidden;
  transform:translateY(100%);
  transition:transform .25s,visibility .25s;
}

.sticky-footer.visible {
  visibility:visible;
  transform:translateY(0);
}

.sticky-label {
  font-size:14px;
  font-weight:600;
}

.sticky-label small {
  display:block;
  color:var(--text-muted);
  font-size:11px;
  font-weight:400;
}

.sticky-cta {
  min-height:42px;
  padding:9px 25px;
  font-size:13px;
}

@media(min-width:1024px) {
  .gallery-controls {
    display:none;
  }

}

@media(max-width:1023px) {
  .preview-card {
    flex-basis:230px;
  }

  .review-card {
    flex-basis:310px;
  }

  .ratings-overview {
    gap:25px;
  }

  .footer-legal {
    margin:16px 32px 0;
  }

}

@media(max-width:600px) {
  .hero {
    min-height:100vh;
    min-height:100svh;
    padding:64px 24px;
    padding-top:max(64px,env(safe-area-inset-top));
    padding-bottom:max(64px,env(safe-area-inset-bottom));
  }

  .hero-title {
    letter-spacing:-1px;
    font-size:clamp(32px,8.5vw,38px);
    line-height:1.3;
    margin-bottom:24px;
  }

  .hero-title span {
    display:block;
    margin-top:12px;
  }

  .eyebrow {
    display:none;
  }

  .hero-subtitle {
    font-size:14px;
    line-height:1.9;
    max-width:270px;
    margin:0 auto 36px;
  }

  .cta-wrapper {
    gap:22px;
  }

  .hero-trust {
    font-size:12px;
    max-width:270px;
    line-height:1.8;
  }

  .fb-logo-wrapper {
    width:68px;
    height:68px;
    border-radius:19px;
    margin-bottom:32px;
  }

  .btn-fb {
    min-width:240px;
  }

  .preview-section,.ratings-section,.info-section {
    padding:32px 22px;
  }

  .section-title,.ratings-header-title {
    font-size:21px;
  }

  .section-note {
    font-size:13px;
  }

  .section-heading {
    gap:12px;
    align-items:flex-start;
  }

  .preview-section .section-heading {
    flex-wrap:wrap;
  }

  .preview-card {
    flex-basis:205px;
  }

  .preview-scroll-container {
    gap:14px;
  }

  .ratings-overview {
    grid-template-columns:100px 1fr;
    gap:20px;
  }

  .rating-score {
    font-size:56px;
  }

  .ratings-count-box {
    grid-column:1/-1;
    text-align:left;
    display:flex;
    align-items:baseline;
    gap:8px;
  }

  .ratings-count-number {
    font-size:15px;
  }

  .ratings-count-label {
    font-size:11px;
  }

  .review-card {
    flex-basis:285px;
    padding:20px;
  }

  .info-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 20px;
  }

  .footer-legal {
    margin:16px 22px 0;
    flex-direction:column;
    gap:12px;
    font-size:12px;
    padding-bottom:calc(140px + env(safe-area-inset-bottom));
  }

  .legal-links {
    flex-wrap:wrap;
    gap:8px 24px;
  }

  .legal-links a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
  }

  .info-label {
    font-size:13px;
  }

  .info-value {
    font-size:14px;
    overflow-wrap:anywhere;
  }

  .sticky-footer {
    padding-left:20px;
    padding-right:20px;
    gap:14px;
    justify-content:space-between;
  }

  .sticky-label {
    min-width:0;
  }

  .sticky-label small {
    font-size:12px;
  }

  .sticky-cta {
    min-width:0;
    min-height:48px;
    flex-shrink:0;
    padding:10px 16px;
    font-size:13px;
  }

}

@media(max-width:380px) {
  .sticky-footer {
    flex-wrap:wrap;
    gap:10px;
  }

  .sticky-label {
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
  }

  .sticky-cta {
    width:100%;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }

  *,*::before,*::after {
    transition:none!important;
  }

}

/* Rating distribution, shared by the corresponding page markup. */
.rating-width-88 {
  width: 88%;
}

.rating-width-8 {
  width: 8%;
}

.rating-width-2 {
  width: 2%;
}

.rating-width-1 {
  width: 1%;
}
