/* ============================================================
 * Arion App - layout-f1ac.css
 * Prefix: wf1ac-
 * Palette: #BDB76B | #BAFFC9 | #C9C9FF | #1B263B | #B8860B
 * Mobile-first, max-width 430px, root font 62.5%.
 * ============================================================ */

:root {
  --wf1ac-gold: #BDB76B;
  --wf1ac-mint: #BAFFC9;
  --wf1ac-lav: #C9C9FF;
  --wf1ac-bg: #1B263B;
  --wf1ac-amber: #B8860B;
  --wf1ac-bg-deep: #142033;
  --wf1ac-bg-card: #213049;
  --wf1ac-text: #F4F7FB;
  --wf1ac-muted: #B6C2D6;
  --wf1ac-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
  --wf1ac-radius: 14px;
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--wf1ac-bg);
  color: var(--wf1ac-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--wf1ac-lav); text-decoration: none; }
a:hover { color: var(--wf1ac-mint); }

.wf1ac-container { width: 100%; padding: 0 14px; }
.wf1ac-wrapper { max-width: 430px; margin: 0 auto; }

/* ===================== Header ===================== */
.wf1ac-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--wf1ac-bg-deep), var(--wf1ac-bg));
  border-bottom: 1px solid rgba(189, 183, 107, 0.35);
  box-shadow: var(--wf1ac-shadow);
}

.wf1ac-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 8px;
}

.wf1ac-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wf1ac-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--wf1ac-gold);
}

.wf1ac-logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--wf1ac-gold);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.wf1ac-logo-text small {
  display: block;
  font-size: 1rem;
  color: var(--wf1ac-muted);
  font-weight: 500;
  letter-spacing: 0;
}

.wf1ac-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wf1ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wf1ac-btn-login {
  background: transparent;
  color: var(--wf1ac-text);
  border: 1px solid var(--wf1ac-lav);
}

.wf1ac-btn-register {
  background: linear-gradient(135deg, var(--wf1ac-amber), var(--wf1ac-gold));
  color: #1B263B;
  box-shadow: 0 3px 10px rgba(184, 134, 11, 0.45);
}

.wf1ac-btn:hover { transform: translateY(-1px); }

.wf1ac-menu-btn {
  background: transparent;
  border: none;
  color: var(--wf1ac-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===================== Promo strip ===================== */
.wf1ac-promo-strip {
  background: linear-gradient(90deg, rgba(189, 183, 107, 0.18), rgba(201, 201, 255, 0.14));
  padding: 8px 14px;
  font-size: 1.25rem;
  color: var(--wf1ac-mint);
  text-align: center;
  border-bottom: 1px solid rgba(189, 183, 107, 0.2);
}

.wf1ac-promo-strip strong { color: var(--wf1ac-gold); }

/* ===================== Hero carousel ===================== */
.wf1ac-hero {
  position: relative;
  margin: 14px;
  border-radius: var(--wf1ac-radius);
  overflow: hidden;
  box-shadow: var(--wf1ac-shadow);
}

.wf1ac-hero-slide {
  display: none;
  position: relative;
  padding: 22px 18px;
  min-height: 180px;
  background-size: cover;
  background-position: center;
}

.wf1ac-hero-slide.wf1ac-slide-active { display: block; }

.wf1ac-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 32, 51, 0.92), rgba(20, 32, 51, 0.45));
}

.wf1ac-hero-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
}

.wf1ac-hero-content h2 {
  font-size: 2.1rem;
  color: var(--wf1ac-gold);
  margin-bottom: 6px;
}

.wf1ac-hero-content p {
  font-size: 1.3rem;
  color: var(--wf1ac-text);
  margin-bottom: 12px;
}

.wf1ac-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--wf1ac-amber), var(--wf1ac-gold));
  color: #1B263B;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
}

.wf1ac-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 14px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.wf1ac-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.wf1ac-hero-dot.wf1ac-dot-active { background: var(--wf1ac-gold); }

/* ===================== Section title ===================== */
.wf1ac-section {
  margin: 18px 0;
  padding: 0 14px;
}

.wf1ac-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wf1ac-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wf1ac-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wf1ac-section-title i { color: var(--wf1ac-mint); }

.wf1ac-more { font-size: 1.2rem; color: var(--wf1ac-lav); }

/* ===================== Filter chips ===================== */
.wf1ac-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 10px;
  scrollbar-width: none;
}
.wf1ac-filters::-webkit-scrollbar { display: none; }

.wf1ac-filter-btn {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--wf1ac-bg-card);
  color: var(--wf1ac-text);
  font-size: 1.25rem;
  border: 1px solid rgba(189, 183, 107, 0.3);
  cursor: pointer;
  white-space: nowrap;
}

.wf1ac-filter-btn.wf1ac-filter-active {
  background: linear-gradient(135deg, var(--wf1ac-amber), var(--wf1ac-gold));
  color: #1B263B;
  border-color: transparent;
  font-weight: 700;
}

/* ===================== Game grid ===================== */
.wf1ac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wf1ac-card {
  background: var(--wf1ac-bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(189, 183, 107, 0.18);
  transition: transform 0.15s ease;
  cursor: pointer;
}

.wf1ac-card:hover { transform: translateY(-2px); }

.wf1ac-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0f1828;
}

.wf1ac-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.wf1ac-card-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--wf1ac-amber);
  color: #1B263B;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.wf1ac-card-name {
  padding: 6px 8px;
  font-size: 1.15rem;
  color: var(--wf1ac-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf1ac-cat-block { margin-bottom: 24px; }

/* ===================== Feature blocks ===================== */
.wf1ac-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.wf1ac-feature {
  background: var(--wf1ac-bg-card);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(201, 201, 255, 0.18);
}

.wf1ac-feature i {
  font-size: 2.4rem;
  color: var(--wf1ac-gold);
  margin-bottom: 6px;
}

.wf1ac-feature h3 {
  font-size: 1.4rem;
  color: var(--wf1ac-mint);
  margin-bottom: 4px;
}

.wf1ac-feature p { font-size: 1.2rem; color: var(--wf1ac-muted); }

/* ===================== SEO long text ===================== */
.wf1ac-seo {
  padding: 18px 14px;
  background: var(--wf1ac-bg-deep);
  border-radius: 14px;
  margin: 18px 14px;
  border: 1px solid rgba(189, 183, 107, 0.18);
}

.wf1ac-seo h2 {
  font-size: 1.8rem;
  color: var(--wf1ac-gold);
  margin-bottom: 10px;
}

.wf1ac-seo h3 {
  font-size: 1.5rem;
  color: var(--wf1ac-mint);
  margin: 14px 0 6px;
}

.wf1ac-seo p {
  font-size: 1.35rem;
  color: var(--wf1ac-text);
  margin-bottom: 10px;
  line-height: 1.55;
}

.wf1ac-seo p a {
  color: var(--wf1ac-lav);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wf1ac-seo ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.wf1ac-seo li {
  font-size: 1.3rem;
  color: var(--wf1ac-muted);
  margin-bottom: 4px;
}

/* ===================== FAQ ===================== */
.wf1ac-faq {
  padding: 0 14px;
  margin: 18px 0;
}

.wf1ac-faq-item {
  background: var(--wf1ac-bg-card);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid rgba(189, 183, 107, 0.16);
}

.wf1ac-faq-q {
  padding: 12px 14px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wf1ac-gold);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wf1ac-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
  color: var(--wf1ac-muted);
  font-size: 1.25rem;
}

.wf1ac-faq-item.wf1ac-faq-open .wf1ac-faq-a {
  max-height: 320px;
  padding-bottom: 12px;
}

/* ===================== Footer ===================== */
.wf1ac-footer {
  background: var(--wf1ac-bg-deep);
  border-top: 1px solid rgba(189, 183, 107, 0.25);
  padding: 22px 14px 24px;
  margin-top: 18px;
}

.wf1ac-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.wf1ac-footer h4 {
  color: var(--wf1ac-gold);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.wf1ac-footer ul { list-style: none; }

.wf1ac-footer li { margin-bottom: 6px; }

.wf1ac-footer a {
  color: var(--wf1ac-muted);
  font-size: 1.2rem;
}

.wf1ac-footer-bottom {
  text-align: center;
  font-size: 1.1rem;
  color: var(--wf1ac-muted);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===================== Mobile bottom nav ===================== */
.wf1ac-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, var(--wf1ac-bg), var(--wf1ac-bg-deep));
  border-top: 1px solid rgba(189, 183, 107, 0.35);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
}

.wf1ac-navbtn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--wf1ac-muted);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.wf1ac-navbtn i { font-size: 22px; }
.wf1ac-navbtn span { font-size: 10px; font-weight: 600; }

.wf1ac-navbtn:hover { color: var(--wf1ac-mint); transform: translateY(-1px); }

.wf1ac-navbtn-active { color: var(--wf1ac-gold); }

.wf1ac-navbtn-promo {
  position: relative;
}
.wf1ac-navbtn-promo::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wf1ac-amber), var(--wf1ac-gold));
  z-index: -1;
  box-shadow: 0 4px 10px rgba(184, 134, 11, 0.5);
}
.wf1ac-navbtn-promo i { color: #1B263B; font-size: 24px; }
.wf1ac-navbtn-promo span { color: var(--wf1ac-gold); margin-top: 14px; }

/* ===================== Mobile slide menu ===================== */
.wf1ac-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  height: 100vh;
  background: var(--wf1ac-bg-deep);
  z-index: 9999;
  padding: 18px;
  overflow-y: auto;
  transition: right 0.25s ease;
  border-left: 1px solid rgba(189, 183, 107, 0.3);
}

.wf1ac-mobile-menu.wf1ac-menu-open { right: 0; }

.wf1ac-mobile-menu h3 {
  color: var(--wf1ac-gold);
  font-size: 1.5rem;
  margin: 14px 0 8px;
  border-bottom: 1px solid rgba(189, 183, 107, 0.2);
  padding-bottom: 4px;
}

.wf1ac-mobile-menu a {
  display: block;
  padding: 10px 0;
  color: var(--wf1ac-text);
  font-size: 1.35rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.wf1ac-mobile-menu a:hover { color: var(--wf1ac-mint); }

.wf1ac-menu-close {
  background: transparent;
  border: 1px solid var(--wf1ac-lav);
  color: var(--wf1ac-text);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
  margin-bottom: 10px;
}

.wf1ac-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wf1ac-menu-overlay.wf1ac-overlay-show {
  opacity: 1;
  pointer-events: auto;
}

/* ===================== Back to top ===================== */
.wf1ac-totop {
  position: fixed;
  right: 14px;
  bottom: 78px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wf1ac-bg-card);
  border: 1px solid var(--wf1ac-gold);
  color: var(--wf1ac-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 1.8rem;
}

/* ===================== Responsive ===================== */
@media (min-width: 769px) {
  .wf1ac-bottom-nav { display: none; }
  body { max-width: 430px; }
}

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