html { font-size: 62.5%; }
:root {
  --w5edf-primary: #D2B48C;
  --w5edf-accent: #FFEFD5;
  --w5edf-bg: #2E4057;
  --w5edf-bg-soft: #243445;
  --w5edf-bg-deep: #1c2836;
  --w5edf-text: #FFEFD5;
  --w5edf-text-muted: #c9b79a;
  --w5edf-text-dim: #9c8d75;
  --w5edf-gold: #f0c674;
  --w5edf-border: rgba(210, 180, 140, 0.25);
  --w5edf-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --w5edf-radius: 14px;
  --w5edf-radius-sm: 10px;
  --w5edf-maxw: 430px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--w5edf-bg);
  color: var(--w5edf-text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; } a { color: var(--w5edf-gold); text-decoration: none; } a:hover { text-decoration: underline; }
.w5edf-container { width: 100%; max-width: var(--w5edf-maxw); margin: 0 auto; padding: 0 14px; } .w5edf-wrapper { width: 100%; max-width: var(--w5edf-maxw); margin: 0 auto; }
.w5edf-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(46,64,87,0.98), rgba(36,52,69,0.96));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--w5edf-border);
}
.w5edf-header-inner {
  max-width: var(--w5edf-maxw);
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
}
.w5edf-brand { display: flex; align-items: center; gap: 10px; color: var(--w5edf-accent); } .w5edf-brand img { width: 30px; height: 30px; border-radius: 8px; }
.w5edf-brand-name { font-weight: 800; font-size: 18px; letter-spacing: 0.4px; color: var(--w5edf-accent); }
.w5edf-brand-tag { font-size: 10px; color: var(--w5edf-text-muted); display: block; line-height: 1; }
.w5edf-header-actions { display: flex; align-items: center; gap: 8px; }
.w5edf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 38px;
  text-decoration: none;
}
.w5edf-btn:hover { text-decoration: none; transform: translateY(-1px); } .w5edf-btn--login { background: transparent; color: var(--w5edf-accent); border: 1.5px solid var(--w5edf-primary); }
.w5edf-btn--register {
  background: linear-gradient(135deg, #f0c674, #D2B48C);
  color: #2a1d0c;
  box-shadow: 0 4px 14px rgba(240,198,116,0.35);
}
.w5edf-btn--ghost { background: rgba(255,239,213,0.08); color: var(--w5edf-accent); } .w5edf-btn--block { width: 100%; }
.w5edf-menu-btn {
  background: transparent;
  border: 1px solid var(--w5edf-border);
  color: var(--w5edf-accent);
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.w5edf-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.w5edf-overlay--visible { opacity: 1; pointer-events: auto; }
.w5edf-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 82%; max-width: 320px;
  height: 100vh;
  background: var(--w5edf-bg-soft);
  z-index: 9999;
  padding: 22px 18px;
  transform: translateX(0);
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--w5edf-border);
}
.w5edf-menu--open { right: 0; }
.w5edf-menu-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.w5edf-menu-title { color: var(--w5edf-accent); font-weight: 800; font-size: 18px; }
.w5edf-menu-close { background: transparent; border: 0; color: var(--w5edf-text-muted); font-size: 22px; cursor: pointer; }
.w5edf-menu-list { list-style: none; padding: 0; margin: 0; }
.w5edf-menu-list li { border-bottom: 1px solid rgba(210,180,140,0.12); }
.w5edf-menu-list a {
  display: block;
  padding: 13px 8px;
  color: var(--w5edf-accent);
  font-size: 14px;
  font-weight: 600;
}
.w5edf-menu-list a:hover { color: var(--w5edf-gold); text-decoration: none; padding-left: 14px; }
.w5edf-menu-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.w5edf-main { padding-top: 70px; padding-bottom: 96px; }
.w5edf-hero {
  position: relative;
  padding: 22px 16px 26px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 0%, rgba(210,180,140,0.18), transparent 60%),
    linear-gradient(180deg, rgba(36,52,69,0.4), rgba(46,64,87,0));
}
.w5edf-hero h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--w5edf-accent);
  letter-spacing: 0.3px;
}
.w5edf-hero h1 .w5edf-hl { color: var(--w5edf-gold); }
.w5edf-hero p { color: var(--w5edf-text-muted); margin: 0 auto 16px; max-width: 380px; font-size: 14px; }
.w5edf-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.w5edf-carousel {
  position: relative;
  margin: 16px 0 4px;
  border-radius: var(--w5edf-radius);
  overflow: hidden;
  box-shadow: var(--w5edf-shadow);
}
.w5edf-carousel-track { position: relative; }
.w5edf-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.w5edf-slide--active { display: block; }
.w5edf-slide img { width: 100%; height: 188px; object-fit: cover; }
.w5edf-slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(28,40,54,0.92), transparent);
  color: var(--w5edf-accent);
  font-weight: 700;
}
.w5edf-slide-cap span { color: var(--w5edf-gold); }
.w5edf-carousel-dots {
  display: flex; gap: 6px; justify-content: center;
  padding: 8px 0;
}
.w5edf-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,239,213,0.3);
  border: 0; padding: 0; cursor: pointer;
}
.w5edf-carousel-dot--active { background: var(--w5edf-gold); width: 22px; border-radius: 6px; }
.w5edf-section { padding: 18px 14px; }
.w5edf-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.w5edf-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--w5edf-accent);
  position: relative;
  padding-left: 12px;
  margin: 0;
}
.w5edf-section-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--w5edf-gold), var(--w5edf-primary));
}
.w5edf-section-more { color: var(--w5edf-text-muted); font-size: 12px; }
.w5edf-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; }
.w5edf-chips::-webkit-scrollbar { display: none; }
.w5edf-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,239,213,0.07);
  border: 1px solid var(--w5edf-border);
  color: var(--w5edf-accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.w5edf-chip--active { background: var(--w5edf-primary); color: #2a1d0c; border-color: var(--w5edf-primary); }
.w5edf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.w5edf-card {
  background: var(--w5edf-bg-soft);
  border: 1px solid var(--w5edf-border);
  border-radius: var(--w5edf-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.w5edf-card:hover { transform: translateY(-2px); box-shadow: var(--w5edf-shadow); text-decoration: none; }
.w5edf-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #16202c;
}
.w5edf-card-name {
  font-size: 11px;
  color: var(--w5edf-accent);
  padding: 6px 4px 8px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 32px;
}
.w5edf-card-badge {
  position: relative;
}
.w5edf-card-badge::after {
  content: "HOT";
  position: absolute; top: 6px; left: 6px;
  background: linear-gradient(135deg, #ff5f6d, #ffc371);
  color: #fff; font-size: 9px; font-weight: 800;
  padding: 2px 6px; border-radius: 6px;
  letter-spacing: 0.5px;
}
.w5edf-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.w5edf-feature-card {
  position: relative;
  border-radius: var(--w5edf-radius-sm);
  overflow: hidden;
  min-height: 110px;
  cursor: pointer;
  border: 1px solid var(--w5edf-border);
}
.w5edf-feature-card img { width: 100%; height: 110px; object-fit: cover; }
.w5edf-feature-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: linear-gradient(0deg, rgba(28,40,54,0.92), transparent);
  color: var(--w5edf-accent);
  font-size: 12px;
  font-weight: 700;
}
.w5edf-promo {
  margin: 8px 14px;
  border-radius: var(--w5edf-radius);
  padding: 16px;
  background: linear-gradient(135deg, rgba(210,180,140,0.18), rgba(255,239,213,0.08));
  border: 1px solid var(--w5edf-border);
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.w5edf-promo-icon { font-size: 28px; color: var(--w5edf-gold); }
.w5edf-promo-text { flex: 1; }
.w5edf-promo-text strong { color: var(--w5edf-accent); display: block; font-size: 14px; }
.w5edf-promo-text span { color: var(--w5edf-text-muted); font-size: 12px; }
.w5edf-content {
  padding: 18px 14px;
  color: var(--w5edf-text);
  font-size: 14px;
}
.w5edf-content h2 {
  color: var(--w5edf-accent);
  font-size: 18px;
  margin: 18px 0 8px;
  font-weight: 800;
}
.w5edf-content h3 {
  color: var(--w5edf-gold);
  font-size: 15px;
  margin: 14px 0 6px;
  font-weight: 700;
}
.w5edf-content p { margin: 0 0 10px; color: var(--w5edf-text-muted); }
.w5edf-content ul { padding-left: 18px; color: var(--w5edf-text-muted); }
.w5edf-content li { margin-bottom: 6px; }
.w5edf-content strong { color: var(--w5edf-accent); }
.w5edf-content a { color: var(--w5edf-gold); font-weight: 600; }
.w5edf-prose-inline a { color: var(--w5edf-gold); font-weight: 700; }
.w5edf-faq { padding: 6px 14px 18px; }
.w5edf-faq-item {
  background: var(--w5edf-bg-soft);
  border: 1px solid var(--w5edf-border);
  border-radius: var(--w5edf-radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.w5edf-faq-q { color: var(--w5edf-accent); font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.w5edf-faq-a { color: var(--w5edf-text-muted); font-size: 13px; margin: 0; }
.w5edf-footer {
  background: var(--w5edf-bg-deep);
  padding: 22px 14px 28px;
  color: var(--w5edf-text-muted);
  font-size: 12px;
  border-top: 1px solid var(--w5edf-border);
}
.w5edf-footer-brand { color: var(--w5edf-accent); font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.w5edf-footer p { margin: 0 0 12px; line-height: 1.6; }
.w5edf-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  margin-bottom: 12px;
}
.w5edf-footer-links a { color: var(--w5edf-text-muted); font-size: 12px; }
.w5edf-footer-links a:hover { color: var(--w5edf-gold); }
.w5edf-footer-promos {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 10px 0 14px;
}
.w5edf-footer-promos .w5edf-btn { padding: 7px 12px; font-size: 12px; }
.w5edf-footer-copy { border-top: 1px solid rgba(210,180,140,0.12); padding-top: 12px; color: var(--w5edf-text-dim); font-size: 11px; }
.w5edf-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(36,52,69,0.98), rgba(28,40,54,0.99));
  border-top: 1px solid var(--w5edf-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding: 4px 0 env(safe-area-inset-bottom, 4px);
}
.w5edf-bottomnav-btn {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--w5edf-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 2px;
  min-width: 60px;
  min-height: 56px;
  transition: color .18s ease, transform .18s ease;
}
.w5edf-bottomnav-btn .w5edf-bottomnav-icon { font-size: 22px; line-height: 1; }
.w5edf-bottomnav-btn .w5edf-bottomnav-label { font-size: 10px; font-weight: 600; }
.w5edf-bottomnav-btn:hover { color: var(--w5edf-accent); transform: translateY(-1px); }
.w5edf-bottomnav-btn--active { color: var(--w5edf-gold); }
.w5edf-bottomnav-btn--promo .w5edf-bottomnav-icon { color: var(--w5edf-gold); }
.w5edf-reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.w5edf-reveal--in { opacity: 1; transform: none; }
.w5edf-totop {
  position: fixed; right: 14px; bottom: 76px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--w5edf-primary); color: #2a1d0c;
  border: 0; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--w5edf-shadow); z-index: 999;
}
@media (min-width: 769px) {
  .w5edf-bottomnav { display: none; }
  .w5edf-main { padding-bottom: 40px; }
  .w5edf-container, .w5edf-wrapper, .w5edf-header-inner, .w5edf-footer { max-width: 960px; }
  .w5edf-grid { grid-template-columns: repeat(6, 1fr); }
  .w5edf-feature { grid-template-columns: repeat(4, 1fr); }
  .w5edf-slide img { height: 320px; }
}
@media (min-width: 600px) and (max-width: 768px) {
  .w5edf-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .w5edf-main { padding-bottom: 86px; }
}
.w5edf-skip {
  position: absolute; left: -9999px;
}
.w5edf-skip:focus {
  left: 10px; top: 10px;
  background: var(--w5edf-primary); color: #2a1d0c;
  padding: 8px 12px; border-radius: 8px; z-index: 10000;
}
