/* ff1686.homes - core stylesheet prefix se2d- */
/* Palette: #0A0A0A bg | #8FBC8F sage | #90EE90 light | #00FA9A accent */

:root {
  --se2d-bg: #0A0A0A;
  --se2d-bg-2: #111513;
  --se2d-bg-3: #161c19;
  --se2d-sage: #8FBC8F;
  --se2d-light: #90EE90;
  --se2d-accent: #00FA9A;
  --se2d-text: #EAFCEF;
  --se2d-muted: #9DB7A0;
  --se2d-border: rgba(143, 188, 143, 0.18);
  --se2d-radius: 14px;
  --se2d-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--se2d-bg);
  color: var(--se2d-text);
  line-height: 1.6;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--se2d-light); text-decoration: none; }
a:hover { color: var(--se2d-accent); }
img { max-width: 100%; display: block; }

.se2d-wrap { max-width: 430px; margin: 0 auto; padding: 0 14px; }

/* ===== Header ===== */
.se2d-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--se2d-border);
  transition: box-shadow 0.25s ease;
}
.se2d-header-scrolled { box-shadow: 0 4px 20px rgba(0, 250, 154, 0.08); }
.se2d-header-inner {
  max-width: 430px; margin: 0 auto; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.se2d-logo {
  display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 2rem;
  color: var(--se2d-text); letter-spacing: 0.5px;
}
.se2d-logo i { color: var(--se2d-accent); font-size: 2.2rem; }
.se2d-logo span b { color: var(--se2d-accent); }
.se2d-header-btns { display: flex; align-items: center; gap: 8px; }
.se2d-icon-btn {
  background: transparent; border: none; color: var(--se2d-text);
  font-size: 2rem; cursor: pointer; padding: 6px; display: flex; align-items: center;
}
.se2d-btn {
  border: none; cursor: pointer; font-weight: 700; border-radius: 30px;
  padding: 9px 16px; font-size: 1.35rem; transition: transform 0.15s, box-shadow 0.2s;
}
.se2d-btn:active { transform: scale(0.96); }
.se2d-btn-login {
  background: transparent; color: var(--se2d-light);
  border: 1px solid var(--se2d-sage);
}
.se2d-btn-reg {
  background: linear-gradient(135deg, var(--se2d-accent), var(--se2d-light));
  color: #062b14; box-shadow: 0 4px 14px rgba(0, 250, 154, 0.35);
}

/* ===== Mobile slide menu ===== */
.se2d-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
.se2d-overlay-show { opacity: 1; visibility: visible; }
.se2d-mobile-menu {
  position: fixed; top: 0; right: -78%; width: 78%; max-width: 320px;
  height: 100%; background: var(--se2d-bg-2); z-index: 9999;
  transition: right 0.3s ease; padding: 70px 18px 30px; overflow-y: auto;
  border-left: 1px solid var(--se2d-border);
}
.se2d-menu-open { right: 0; }
.se2d-mobile-menu a {
  display: block; padding: 12px 14px; border-radius: 10px;
  color: var(--se2d-text); font-size: 1.5rem; margin-bottom: 4px;
  border: 1px solid transparent;
}
.se2d-mobile-menu a:hover, .se2d-mobile-menu a:focus {
  background: var(--se2d-bg-3); border-color: var(--se2d-border);
}
.se2d-menu-close {
  position: absolute; top: 14px; right: 14px; background: transparent;
  border: none; color: var(--se2d-text); font-size: 2rem; cursor: pointer;
}

/* ===== Hero ===== */
.se2d-hero { padding: 18px 0 6px; }
.se2d-slider {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--se2d-shadow);
}
.se2d-slide {
  display: none; position: relative; min-height: 220px;
  background: linear-gradient(135deg, #0c1f15 0%, #11301d 60%, #082514 100%);
  padding: 22px 20px; border: 1px solid var(--se2d-border);
}
.se2d-slide-active { display: block; }
.se2d-slide-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: rgba(0, 250, 154, 0.15); color: var(--se2d-accent);
  font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
}
.se2d-slide h2 {
  font-size: 2.2rem; line-height: 1.25; margin-bottom: 8px; color: var(--se2d-text);
}
.se2d-slide h2 em { color: var(--se2d-accent); font-style: normal; }
.se2d-slide p { color: var(--se2d-muted); font-size: 1.35rem; margin-bottom: 16px; }
.se2d-slide .se2d-btn-reg { padding: 11px 22px; font-size: 1.45rem; }
.se2d-dots {
  position: absolute; bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.se2d-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(144, 238, 144, 0.35); cursor: pointer; border: none;
}
.se2d-dot-active { background: var(--se2d-accent); width: 22px; border-radius: 6px; }

/* ===== Section title ===== */
.se2d-section { padding: 22px 0; }
.se2d-section-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.se2d-section-title {
  font-size: 1.9rem; font-weight: 800; display: flex; align-items: center; gap: 8px;
}
.se2d-section-title i { color: var(--se2d-accent); }
.se2d-more { font-size: 1.25rem; color: var(--se2d-light); }

/* ===== Category tabs ===== */
.se2d-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px;
  scrollbar-width: none; margin-bottom: 14px;
}
.se2d-tabs::-webkit-scrollbar { display: none; }
.se2d-tab {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 22px;
  background: var(--se2d-bg-2); color: var(--se2d-muted);
  border: 1px solid var(--se2d-border); cursor: pointer;
  font-size: 1.3rem; font-weight: 600; white-space: nowrap;
}
.se2d-tab-active {
  background: linear-gradient(135deg, var(--se2d-accent), var(--se2d-light));
  color: #062b14; border-color: transparent;
}

/* ===== Category blocks ===== */
.se2d-cat-block { display: none; }
.se2d-cat-block.se2d-cat-active { display: block; }
.se2d-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.se2d-card {
  background: var(--se2d-bg-2); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--se2d-border); cursor: pointer; transition: transform 0.15s;
  position: relative;
}
.se2d-card:active { transform: scale(0.97); }
.se2d-card-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0a1a10;
}
.se2d-card-body { padding: 6px 8px 10px; }
.se2d-card-name {
  font-size: 1.18rem; font-weight: 600; color: var(--se2d-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.se2d-card-cta {
  display: block; margin-top: 6px; font-size: 1.1rem; font-weight: 700;
  color: var(--se2d-accent); text-align: center;
}
.se2d-card-hot {
  position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 8px;
  background: rgba(255, 80, 60, 0.9); color: #fff; font-size: 1rem; font-weight: 700;
}

/* ===== Featured / promo ===== */
.se2d-promo-banner {
  background: linear-gradient(135deg, #0e2917, #154023);
  border: 1px solid var(--se2d-border); border-radius: 16px;
  padding: 18px; display: flex; align-items: center; gap: 14px; margin: 18px 0;
}
.se2d-promo-banner i {
  font-size: 3.4rem; color: var(--se2d-accent); flex-shrink: 0;
}
.se2d-promo-banner h3 { font-size: 1.7rem; margin-bottom: 4px; }
.se2d-promo-banner p { font-size: 1.25rem; color: var(--se2d-muted); margin-bottom: 10px; }

/* ===== Features list ===== */
.se2d-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.se2d-feature {
  background: var(--se2d-bg-2); border: 1px solid var(--se2d-border);
  border-radius: 12px; padding: 14px;
}
.se2d-feature i { font-size: 2.2rem; color: var(--se2d-accent); margin-bottom: 8px; }
.se2d-feature h4 { font-size: 1.35rem; margin-bottom: 4px; }
.se2d-feature p { font-size: 1.18rem; color: var(--se2d-muted); }

/* ===== SEO content ===== */
.se2d-seo {
  background: var(--se2d-bg-2); border: 1px solid var(--se2d-border);
  border-radius: 14px; padding: 18px; margin: 18px 0;
}
.se2d-seo h2 { font-size: 1.8rem; margin-bottom: 10px; color: var(--se2d-accent); }
.se2d-seo h3 { font-size: 1.5rem; margin: 14px 0 6px; color: var(--se2d-light); }
.se2d-seo p { font-size: 1.3rem; color: var(--se2d-muted); margin-bottom: 10px; }
.se2d-seo ul { padding-left: 18px; margin-bottom: 10px; }
.se2d-seo li { font-size: 1.3rem; color: var(--se2d-muted); margin-bottom: 5px; }
.se2d-seo a { color: var(--se2d-accent); font-weight: 600; }

/* ===== FAQ ===== */
.se2d-faq-item {
  background: var(--se2d-bg-2); border: 1px solid var(--se2d-border);
  border-radius: 10px; margin-bottom: 8px; overflow: hidden;
}
.se2d-faq-q {
  width: 100%; background: transparent; border: none; color: var(--se2d-text);
  text-align: left; padding: 14px; font-size: 1.35rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.se2d-faq-q .se2d-faq-icon { color: var(--se2d-accent); transition: transform 0.2s; }
.se2d-faq-item.se2d-faq-open .se2d-faq-icon { transform: rotate(45deg); }
.se2d-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  padding: 0 14px; color: var(--se2d-muted); font-size: 1.25rem;
}
.se2d-faq-item.se2d-faq-open .se2d-faq-a { max-height: 320px; padding-bottom: 14px; }

/* ===== Footer ===== */
.se2d-footer {
  background: var(--se2d-bg-2); border-top: 1px solid var(--se2d-border);
  padding: 22px 14px 30px; margin-top: 22px;
}
.se2d-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.se2d-footer h4 {
  font-size: 1.4rem; color: var(--se2d-accent); margin-bottom: 8px;
}
.se2d-footer ul { list-style: none; }
.se2d-footer li { margin-bottom: 6px; }
.se2d-footer a { color: var(--se2d-muted); font-size: 1.2rem; }
.se2d-footer a:hover { color: var(--se2d-light); }
.se2d-footer-bottom {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--se2d-border);
  text-align: center; color: var(--se2d-muted); font-size: 1.15rem;
}

/* ===== Bottom nav ===== */
.se2d-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 10, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--se2d-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.se2d-bottom-nav button {
  flex: 1; background: transparent; border: none; color: var(--se2d-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; min-width: 60px; min-height: 60px; padding: 4px;
  transition: color 0.2s;
}
.se2d-bottom-nav button i { font-size: 22px; }
.se2d-bottom-nav button span { font-size: 11px; }
.se2d-bottom-nav button.active { color: var(--se2d-accent); }
.se2d-bottom-nav button:active { transform: scale(0.94); }
.se2d-bottom-nav .se2d-nav-promo {
  background: linear-gradient(135deg, var(--se2d-accent), var(--se2d-light));
  color: #062b14; border-radius: 30px; margin: 6px 4px;
}

/* ===== Back to top ===== */
.se2d-top-btn {
  position: fixed; bottom: 76px; right: 16px; z-index: 1001;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--se2d-accent); color: #062b14; border: none;
  font-size: 1.8rem; cursor: pointer; opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s; box-shadow: var(--se2d-shadow);
}
.se2d-top-show { opacity: 1; visibility: visible; }

/* ===== Reveal animation ===== */
.se2d-reveal { opacity: 0; transform: translateY(18px); transition: all 0.5s ease; }
.se2d-reveal-show { opacity: 1; transform: translateY(0); }

/* ===== Desktop rules ===== */
@media (min-width: 769px) {
  .se2d-bottom-nav { display: none; }
  .se2d-wrap { max-width: 760px; }
  .se2d-header-inner { max-width: 760px; }
  .se2d-grid { grid-template-columns: repeat(5, 1fr); }
  .se2d-feature-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
