/* Achievers site — UI/UX fixes (2026-10). Layout/behaviour only; no wording changes.
   Loaded after style.css on every page. */

/* ---------- Mobile menu (the hamburger previously opened nothing) ---------- */
.canvas_open button {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px; color: #fff; padding: 0; margin-left: 10px;
}
.canvas_open button svg { width: 24px; height: 24px; }
.ach-offcanvas.offcanvas { background: #130d37; color: #fff; max-width: 82vw; }
.ach-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.ach-offcanvas .offcanvas-body ul { list-style: none; padding: 0; margin: 0; }
.ach-offcanvas .offcanvas-body li a {
    display: block; padding: 14px 4px; color: #fff; font-size: 18px; font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-decoration: none;
}
.ach-offcanvas .offcanvas-body li a:hover, .ach-offcanvas .offcanvas-body li a:focus { color: #00ffe1; }
.ach-offcanvas .ach-apk-btn { margin-top: 24px; width: 100%; }

/* ---------- App download (APK) button ---------- */
.ach-apk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: 12px;
    background: linear-gradient(90deg, #00e0c6, #00b3ff); color: #06122b !important;
    font-weight: 700; font-size: 16px; text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 224, 198, 0.25); transition: transform .15s, box-shadow .15s;
}
.ach-apk-btn:hover, .ach-apk-btn:focus { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 224, 198, 0.4); }
.ach-apk-btn svg { width: 20px; height: 20px; flex: none; }
.ach-apk-meta { font-size: 13px; color: #b9b3d6; margin-top: 8px; text-align: center; }
.footer_app_links { align-items: center; }

/* ---------- Certificate download buttons inherited the 230x73 gold game button,
   so their text spilled outside ("Download" / "Certificate" on two lines) ---------- */
.btn.btn-link[download][href^="assets/"] {
    width: auto !important; height: auto !important; min-height: 48px; line-height: 1.4 !important;
    background: rgba(255, 255, 255, 0.06) !important; padding: 12px 22px !important;
    font-size: 16px !important; white-space: normal;
}
.btn.btn-link[download][href^="assets/"][href*="shop"] { color: #ff7dff !important; }

/* ---------- Mobile layout ---------- */
@media only screen and (max-width: 767px) {
    /* Hero was a fixed 100vh with a large empty band under "Play Now". */
    .hero_banner_section { height: auto !important; min-height: 0; padding: 130px 0 70px; }
    /* Section titles set inline at desktop sizes wrapped to 3 lines with huge spacing. */
    section h2, .section_title h2 { font-size: clamp(24px, 7vw, 32px) !important; line-height: 1.25 !important; word-break: normal; }
    .header_right_sidebar { gap: 8px; }
    .header_right_sidebar .goog-te-combo, #google_translate_element select { max-width: 118px; }
    .canvas_open button { margin-left: 0; }
    .modal-dialog { margin: 12px; }
}

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible { outline: 3px solid #00ffe1; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .wow { visibility: visible !important; }
}
