/*!
 * Fluke TP88 - design-459e.css
 * Prefix: s459-
 * Palette: #F0FDFF | #6F4E37 | #CD853F | #0D1117 | #D2691E
 * Mobile-first (max 430px), light text on dark backgrounds.
 * Comments in English only.
 */

:root {
  --s459-bg: #0D1117;
  --s459-bg-alt: #161B22;
  --s459-bg-soft: #1F2630;
  --s459-text: #F0FDFF;
  --s459-muted: #B7C2CE;
  --s459-primary: #D2691E;
  --s459-secondary: #CD853F;
  --s459-coffee: #6F4E37;
  --s459-accent: #FFC07A;
  --s459-gold: #F5C04A;
  --s459-border: rgba(240, 253, 255, 0.08);
  --s459-radius: 12px;
  --s459-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --s459-header-h: 58px;
  --s459-bottomnav-h: 62px;
  --s459-maxw: 430px;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--s459-bg);
  color: var(--s459-text);
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--s459-accent); text-decoration: none; }
a:hover { color: var(--s459-gold); text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===================== Layout ===================== */
.s459-wrapper {
  width: 100%;
  max-width: var(--s459-maxw);
  margin: 0 auto;
  padding: 0 14px;
}
.s459-container { padding: 22px 14px 8px; }
.s459-section { margin: 28px 0; }
.s459-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.s459-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--s459-text);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  margin: 0;
}
.s459-section-title .s459-bar {
  width: 4px; height: 20px; border-radius: 2px;
  background: linear-gradient(180deg, var(--s459-primary), var(--s459-secondary));
}
.s459-section-more {
  font-size: 1.25rem; color: var(--s459-accent);
}
.s459-lead {
  color: var(--s459-muted);
  font-size: 1.45rem;
  line-height: 2.4rem;
  margin: 8px 0 14px;
}
.s459-prose p {
  color: var(--s459-muted);
  font-size: 1.45rem;
  line-height: 2.45rem;
  margin: 0 0 12px;
}
.s459-prose strong { color: var(--s459-text); }
.s459-prose a { font-weight: 700; }

/* ===================== Header ===================== */
.s459-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0B0F14, #11161D);
  border-bottom: 1px solid var(--s459-border);
  transition: all 0.25s ease;
}
.s459-header-compact { box-shadow: var(--s459-shadow); }
.s459-header-inner {
  max-width: var(--s459-maxw);
  margin: 0 auto;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.s459-brand {
  display: flex; align-items: center; gap: 8px;
  color: var(--s459-text);
  flex: 1; min-width: 0;
}
.s459-brand img { width: 30px; height: 30px; border-radius: 6px; }
.s459-brand-name {
  font-size: 1.7rem; font-weight: 800; letter-spacing: 0.2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s459-brand-name span { color: var(--s459-primary); }
.s459-header-btns { display: flex; gap: 6px; align-items: center; }
.s459-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; padding: 8px 14px; border: 0; border-radius: 20px;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  text-decoration: none; line-height: 1; min-height: 32px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.s459-btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); }
.s459-btn-primary {
  background: linear-gradient(135deg, var(--s459-primary), var(--s459-secondary));
  color: #fff;
  box-shadow: 0 4px 12px rgba(210, 105, 30, 0.35);
}
.s459-btn-ghost {
  background: rgba(240, 253, 255, 0.08);
  color: var(--s459-text);
  border: 1px solid var(--s459-border);
}
.s459-menu-toggle {
  background: transparent; border: 0; color: var(--s459-text);
  font-size: 2rem; line-height: 1; padding: 4px 8px; cursor: pointer;
}

/* ===================== Mobile dropdown menu ===================== */
.s459-mobile-menu {
  max-height: 0; overflow: hidden;
  background: var(--s459-bg-alt);
  border-top: 1px solid var(--s459-border);
  transition: max-height 0.3s ease;
}
.s459-mobile-menu.s459-menu-open { max-height: 520px; }
.s459-mobile-menu-inner {
  max-width: var(--s459-maxw);
  margin: 0 auto;
  padding: 8px 14px 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.s459-mobile-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: var(--s459-bg-soft); color: var(--s459-text);
  font-size: 1.3rem; font-weight: 600;
  border: 1px solid var(--s459-border);
}
.s459-mobile-menu a:hover { background: var(--s459-coffee); color: #fff; text-decoration: none; }

/* ===================== Hero / Carousel ===================== */
.s459-hero { position: relative; overflow: hidden; border-radius: 14px; margin: 14px 0 4px; }
.s459-carousel { position: relative; border-radius: 14px; overflow: hidden; }
.s459-slide {
  position: relative; display: none; cursor: pointer;
}
.s459-slide.s459-active { display: block; }
.s459-slide img { width: 100%; height: 200px; object-fit: cover; }
.s459-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0) 30%, rgba(13,17,23,0.85) 100%);
  padding: 18px 16px; display: flex; flex-direction: column; justify-content: flex-end;
}
.s459-slide-title { font-size: 2rem; font-weight: 800; color: #fff; margin: 0 0 4px; line-height: 1.2; }
.s459-slide-sub { font-size: 1.3rem; color: var(--s459-accent); margin: 0 0 10px; }
.s459-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 3;
}
.s459-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer; border: 0; padding: 0;
}
.s459-dot.s459-active { background: var(--s459-primary); width: 18px; border-radius: 4px; }

/* ===================== CTA Banner ===================== */
.s459-cta {
  margin: 18px 0;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2A1810, #4A2B15);
  border: 1px solid rgba(210,105,30,0.35);
  text-align: center;
}
.s459-cta h2 { font-size: 2rem; margin: 0 0 6px; color: var(--s459-accent); }
.s459-cta p { font-size: 1.35rem; color: var(--s459-muted); margin: 0 0 12px; }
.s459-cta .s459-btn { font-size: 1.5rem; padding: 12px 26px; }

/* ===================== Game grids ===================== */
.s459-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.s459-card {
  background: var(--s459-bg-alt);
  border-radius: 12px;
  border: 1px solid var(--s459-border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column;
}
.s459-card:hover {
  transform: translateY(-2px);
  border-color: rgba(210,105,30,0.55);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.s459-card-thumb { position: relative; aspect-ratio: 1 / 1; background: #0a0d12; }
.s459-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s459-card-tag {
  position: absolute; top: 6px; left: 6px;
  background: rgba(210,105,30,0.92); color: #fff;
  font-size: 1rem; font-weight: 700; padding: 2px 7px; border-radius: 6px;
}
.s459-card-name {
  font-size: 1.2rem; color: var(--s459-text);
  padding: 6px 8px 8px; text-align: center; font-weight: 600;
  line-height: 1.25rem; min-height: 32px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===================== Features ===================== */
.s459-feature-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.s459-feature {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--s459-bg-alt); border: 1px solid var(--s459-border);
  padding: 14px; border-radius: 12px;
}
.s459-feature .s459-icon-box {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--s459-coffee), var(--s459-primary));
  color: #fff; font-size: 2.1rem;
}
.s459-feature h3 { margin: 0 0 4px; font-size: 1.55rem; color: var(--s459-text); }
.s459-feature p { margin: 0; font-size: 1.3rem; color: var(--s459-muted); line-height: 2.1rem; }

/* ===================== RTP table ===================== */
.s459-rtp {
  width: 100%; border-collapse: collapse;
  background: var(--s459-bg-alt); border-radius: 12px; overflow: hidden;
  font-size: 1.3rem;
}
.s459-rtp th, .s459-rtp td {
  padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--s459-border);
}
.s459-rtp th { background: #0a0d12; color: var(--s459-accent); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.4px; }
.s459-rtp td.num { color: var(--s459-gold); font-weight: 700; }

/* ===================== Testimonials ===================== */
.s459-testi { display: grid; gap: 10px; }
.s459-testi-item {
  background: var(--s459-bg-alt); border: 1px solid var(--s459-border);
  padding: 12px 14px; border-radius: 12px;
}
.s459-testi-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.s459-testi-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--s459-primary), var(--s459-secondary));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800;
}
.s459-testi-name { font-size: 1.4rem; font-weight: 700; color: var(--s459-text); }
.s459-testi-stars { color: var(--s459-gold); font-size: 1.2rem; margin-left: auto; }
.s459-testi-text { font-size: 1.3rem; color: var(--s459-muted); line-height: 2.1rem; margin: 0; }

/* ===================== Payment / Achievements ===================== */
.s459-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s459-pay-item {
  background: var(--s459-bg-alt); border: 1px solid var(--s459-border);
  border-radius: 10px; padding: 10px 6px; text-align: center;
  font-size: 1.15rem; color: var(--s459-text); font-weight: 600;
}
.s459-pay-item i, .s459-pay-item .material-symbols-outlined {
  color: var(--s459-accent); font-size: 2.2rem; display: block; margin-bottom: 2px;
}
.s459-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.s459-stat {
  background: linear-gradient(135deg, #1A1F27, #232B36);
  border: 1px solid var(--s459-border); border-radius: 12px;
  padding: 12px; text-align: center;
}
.s459-stat-num { font-size: 2.2rem; font-weight: 800; color: var(--s459-gold); }
.s459-stat-label { font-size: 1.2rem; color: var(--s459-muted); }

/* ===================== Winners ===================== */
.s459-winner-list { display: grid; gap: 6px; }
.s459-winner {
  display: flex; align-items: center; gap: 10px;
  background: var(--s459-bg-alt); padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--s459-border); font-size: 1.3rem;
}
.s459-winner-name { flex: 1; color: var(--s459-text); font-weight: 600; }
.s459-winner-amt { color: var(--s459-gold); font-weight: 800; }

/* ===================== FAQ ===================== */
.s459-faq-item {
  background: var(--s459-bg-alt); border: 1px solid var(--s459-border);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 8px;
}
.s459-faq-q { font-size: 1.45rem; font-weight: 700; color: var(--s459-accent); margin: 0 0 4px; }
.s459-faq-a { font-size: 1.3rem; color: var(--s459-muted); line-height: 2.2rem; margin: 0; }

/* ===================== App download CTA ===================== */
.s459-app {
  display: flex; gap: 12px; align-items: center;
  background: linear-gradient(135deg, #1B1407, #3A2511);
  border: 1px solid rgba(245,192,74,0.3); border-radius: 14px;
  padding: 14px; margin: 14px 0;
}
.s459-app-icon { font-size: 3rem; color: var(--s459-gold); }
.s459-app-text { flex: 1; }
.s459-app-text h3 { margin: 0 0 4px; font-size: 1.6rem; color: #fff; }
.s459-app-text p { margin: 0; font-size: 1.25rem; color: var(--s459-muted); }

/* ===================== Footer ===================== */
.s459-footer {
  margin-top: 28px;
  background: #0A0D12;
  border-top: 1px solid var(--s459-border);
  padding: 22px 14px calc(var(--s459-bottomnav-h) + 22px);
}
.s459-footer-inner { max-width: var(--s459-maxw); margin: 0 auto; }
.s459-footer-brand { font-size: 1.7rem; font-weight: 800; color: var(--s459-text); margin-bottom: 6px; }
.s459-footer-desc { font-size: 1.3rem; color: var(--s459-muted); line-height: 2.1rem; margin-bottom: 14px; }
.s459-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-bottom: 14px;
}
.s459-footer-links a {
  font-size: 1.25rem; color: var(--s459-muted); display: block; padding: 3px 0;
}
.s459-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px;
}
.s459-footer-promo .s459-btn { font-size: 1.2rem; padding: 7px 12px; }
.s459-footer-copy {
  font-size: 1.15rem; color: var(--s459-muted); text-align: center; border-top: 1px solid var(--s459-border); padding-top: 10px;
}

/* ===================== Bottom nav ===================== */
.s459-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #11161D, #0B0F14);
  border-top: 1px solid var(--s459-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
  display: flex; justify-content: space-around; align-items: stretch;
  height: var(--s459-bottomnav-h);
  max-width: var(--s459-maxw);
  margin: 0 auto;
}
.s459-bottomnav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--s459-muted);
  font-size: 1.1rem; font-weight: 600; cursor: pointer; padding: 4px 2px;
  text-decoration: none; gap: 2px; min-width: 60px; min-height: 60px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.s459-bottomnav-btn:hover { color: var(--s459-accent); transform: translateY(-1px); text-decoration: none; }
.s459-bottomnav-btn i, .s459-bottomnav-btn .material-symbols-outlined {
  font-size: 2.3rem; line-height: 1; margin-bottom: 2px;
}
.s459-bottomnav-btn.s459-nav-active { color: var(--s459-primary); }
.s459-bottomnav-btn.s459-nav-active i { color: var(--s459-primary); }
.s459-nav-badge {
  position: absolute; top: 6px; right: 50%; transform: translateX(20px);
  background: #E5484D; color: #fff; font-size: 0.95rem; font-weight: 700;
  padding: 0 5px; border-radius: 8px; min-width: 16px; height: 16px; line-height: 16px;
}
.s459-bottomnav-btn { position: relative; }

/* ===================== Reveal animation ===================== */
.s459-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.s459-reveal.s459-inview { opacity: 1; transform: translateY(0); }

/* ===================== Desktop rules ===================== */
@media (min-width: 769px) {
  .s459-bottomnav { display: none; }
  .s459-footer { padding-bottom: 22px; }
  body { background: #07090C; }
  .s459-wrapper { max-width: 720px; }
  .s459-header-inner { max-width: 720px; }
  .s459-footer-inner { max-width: 720px; }
  .s459-grid { grid-template-columns: repeat(5, 1fr); }
  .s459-pay { grid-template-columns: repeat(6, 1fr); }
  .s459-feature-grid { grid-template-columns: 1fr 1fr; }
  .s459-footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ===================== Misc utilities ===================== */
.s459-text-center { text-align: center; }
.s459-mt-12 { margin-top: 12px; }
.s459-mb-12 { margin-bottom: 12px; }
.s459-divider { height: 1px; background: var(--s459-border); margin: 18px 0; border: 0; }
.s459-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(210,105,30,0.18); color: var(--s459-accent);
  font-size: 1.15rem; font-weight: 700; margin-right: 4px;
}
.s459-kbd {
  display: inline-block; padding: 1px 6px; border-radius: 4px;
  background: var(--s459-bg-soft); border: 1px solid var(--s459-border);
  font-size: 1.15rem; color: var(--s459-accent);
}

/* ===================== Help page modules ===================== */
.s459-banner {
  border-radius: 14px; overflow: hidden; margin: 14px 0 4px;
  border: 1px solid var(--s459-border);
}
.s459-banner img { width: 100%; height: 170px; object-fit: cover; }
.s459-step-list {
  list-style: none; counter-reset: s459step;
  margin: 10px 0; padding: 0; display: grid; gap: 8px;
}
.s459-step-list li {
  counter-increment: s459step; position: relative;
  padding: 12px 12px 12px 48px;
  background: var(--s459-bg-alt); border: 1px solid var(--s459-border);
  border-radius: 12px; font-size: 1.3rem; color: var(--s459-muted);
  line-height: 2.1rem; margin: 0;
}
.s459-step-list li::before {
  content: counter(s459step); position: absolute; left: 12px; top: 11px;
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--s459-primary), var(--s459-secondary));
  color: #fff; font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.s459-step-list strong, .s459-check-list strong, .s459-warn-list strong { color: var(--s459-text); }
.s459-check-list, .s459-warn-list {
  list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px;
}
.s459-check-list li, .s459-warn-list li {
  position: relative; padding: 10px 12px 10px 36px;
  background: var(--s459-bg-alt); border: 1px solid var(--s459-border);
  border-radius: 10px; font-size: 1.3rem; color: var(--s459-muted);
  line-height: 2.1rem; margin: 0;
}
.s459-check-list li::before {
  content: "\2713"; position: absolute; left: 13px; top: 9px;
  color: #7ED97E; font-weight: 800;
}
.s459-warn-list li::before {
  content: "!"; position: absolute; left: 15px; top: 9px;
  color: var(--s459-primary); font-weight: 800; font-size: 1.5rem;
}
.s459-note {
  background: rgba(210, 105, 30, 0.12);
  border-left: 3px solid var(--s459-primary);
  border-radius: 8px; padding: 10px 12px; margin: 12px 0;
  font-size: 1.25rem; color: var(--s459-muted); line-height: 2rem;
}
/* Two-tone gradient icon style, used to mix icon looks in the bottom nav */
.s459-duo {
  background: linear-gradient(180deg, var(--s459-gold), var(--s459-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
