/* =========================================================
   Mr.Fixed69 — Brand Design System
   Natural · Compact · Lightweight · Premium
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@500;600&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --ink: #121714;
  --ink-soft: #2a332e;
  --muted: #5f6d64;
  --line: #dce4de;
  --line-soft: #eef2ef;
  --surface: #ffffff;
  --bg: #f3f6f3;
  --bg-deep: #e8eee9;
  --accent: #1a8f55;
  --accent-deep: #146b40;
  --accent-soft: #e6f6ee;
  --mark: #c9a227;
  --mark-soft: #f7f0d8;
  --won: #1a8f55;
  --lost: #b23b3b;
  --pending: #8a7350;
  --vip: #c9a227;
  --telegram: #229ed9;
  --shadow: 0 1px 2px rgba(18, 23, 20, 0.04), 0 8px 24px rgba(18, 23, 20, 0.06);
  --shadow-sm: 0 1px 2px rgba(18, 23, 20, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --nav-h: 64px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 143, 85, 0.07), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(201, 162, 39, 0.06), transparent 55%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

/* ---------- Nav ---------- */
.mf-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.mf-nav .container,
.mf-nav .mf-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mf-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.mf-brand .mf-69 {
  color: var(--accent);
}

.mf-brand:hover {
  color: var(--ink) !important;
}

.mf-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft) !important;
  padding: 0.45rem 0.65rem !important;
  border-radius: 6px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mf-nav .nav-link:hover,
.mf-nav .nav-link.active {
  color: var(--accent-deep) !important;
  background: var(--accent-soft);
}

.mf-nav .navbar-toggler {
  border: 1px solid var(--line);
  padding: 0.35rem 0.5rem;
  box-shadow: none;
}

.mf-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.4rem;
  font-size: 0.9rem;
}

.mf-nav .dropdown-item {
  border-radius: 6px;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.mf-nav .dropdown-item:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

@media (max-width: 991.98px) {
  .mf-nav .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 0.75rem;
    padding: 0.75rem;
    box-shadow: var(--shadow);
  }
}

/* ---------- Buttons ---------- */
.btn-mf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  text-decoration: none !important;
}

.btn-mf:active {
  transform: translateY(1px);
}

.btn-mf-primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(26, 143, 85, 0.28);
}

.btn-mf-primary:hover {
  background: var(--accent-deep);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(26, 143, 85, 0.35);
}

.btn-mf-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-mf-ghost:hover {
  background: #fff;
  color: var(--ink) !important;
}

.btn-mf-outline {
  background: var(--surface);
  color: var(--ink) !important;
  border-color: var(--line);
}

.btn-mf-outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep) !important;
  background: var(--accent-soft);
}

.btn-mf-vip {
  background: linear-gradient(135deg, #d4b03a, #a8851c);
  color: #1a1608 !important;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.3);
}

.btn-mf-vip:hover {
  filter: brightness(1.05);
  color: #1a1608 !important;
}

.btn-mf-telegram {
  background: var(--telegram);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.28);
}

.btn-mf-telegram:hover {
  background: #1b8abf;
  color: #fff !important;
}

.btn-mf-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
}

/* ---------- Hero ---------- */
.mf-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(10, 18, 14, 0.82) 0%, rgba(18, 40, 28, 0.72) 45%, rgba(12, 22, 16, 0.85) 100%),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}

.mf-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.mf-hero-inner {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 3rem;
  max-width: 720px;
}

.mf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
  animation: mf-fade-up 0.7s var(--ease) both;
}

.mf-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(26, 143, 85, 0.25);
}

.mf-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 1rem;
  animation: mf-fade-up 0.7s 0.08s var(--ease) both;
}

.mf-hero h1 .mf-69 {
  color: #7dffb0;
}

.mf-hero p.lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin: 0 0 1.5rem;
  animation: mf-fade-up 0.7s 0.16s var(--ease) both;
}

.mf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: mf-fade-up 0.7s 0.24s var(--ease) both;
}

.mf-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  animation: mf-fade-up 0.7s 0.3s var(--ease) both;
}

.mf-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Sections ---------- */
.mf-section {
  padding: 2.5rem 0 3rem;
}

.mf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.mf-section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}

.mf-section-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.mf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid rgba(26, 143, 85, 0.15);
}

/* ---------- Tip list (enokay-inspired) ---------- */
.mf-tips {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mf-tip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: mf-fade-up 0.5s var(--ease) both;
}

.mf-tip:hover {
  border-color: rgba(26, 143, 85, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.mf-tip-league {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.mf-tip-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
}

.mf-tip-match {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.mf-tip-match .vs {
  display: inline-block;
  margin: 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  vertical-align: middle;
}

.mf-tip-pred {
  min-width: 0;
}

.mf-tip-pred label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.mf-tip-pred strong {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mf-tip-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.mf-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--line-soft);
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}

.mf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

.mf-badge-won {
  background: var(--accent-soft);
  color: var(--won);
}

.mf-badge-lost {
  background: #f8e8e8;
  color: var(--lost);
}

.mf-badge-pending {
  background: #f4efe6;
  color: var(--pending);
}

@media (max-width: 767.98px) {
  .mf-tip-main {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .mf-tip-meta {
    justify-content: flex-start;
  }
}

/* ---------- Panel / sidebar ---------- */
.mf-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.9rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mf-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 143, 85, 0.25);
}

.mf-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mf-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mf-list-compact li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.mf-list-compact i {
  color: var(--accent);
  margin-top: 0.15rem;
  width: 1rem;
  text-align: center;
}

.mf-vip-cta {
  background:
    linear-gradient(145deg, #1a241e 0%, #24352b 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}

.mf-vip-cta::before {
  content: '';
  position: absolute;
  inset: -40% auto auto 50%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.25), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.mf-vip-cta h3,
.mf-vip-cta p {
  position: relative;
  color: #fff;
}

.mf-vip-cta p {
  font-size: 0.88rem;
  opacity: 0.82;
  margin-bottom: 1rem;
}

/* ---------- Auth / forms ---------- */
.mf-auth-wrap {
  padding: calc(var(--nav-h) + 1.5rem) 0 2.5rem;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mf-auth-wrap::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 143, 85, 0.12), transparent 70%);
  top: -80px;
  right: -60px;
  animation: mf-float 8s ease-in-out infinite;
  pointer-events: none;
}

.mf-auth-wrap::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.1), transparent 70%);
  bottom: -40px;
  left: -40px;
  animation: mf-float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

.mf-auth-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: mf-scale-in 0.55s var(--ease) both;
}

.mf-auth-aside {
  background:
    linear-gradient(160deg, rgba(16, 22, 18, 0.88), rgba(26, 52, 36, 0.82)),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1200&q=80') center/cover;
  color: #fff;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  position: relative;
}

.mf-auth-aside::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 12, 0.35), transparent 50%);
  pointer-events: none;
}

.mf-auth-aside > * {
  position: relative;
  z-index: 1;
}

.mf-auth-aside .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.75rem;
  animation: mf-fade-up 0.6s 0.1s var(--ease) both;
}

.mf-auth-aside h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.65rem;
  animation: mf-fade-up 0.6s 0.18s var(--ease) both;
}

.mf-auth-aside h2 .mf-69 { color: #7dffb0; }

.mf-auth-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  max-width: 18rem;
  animation: mf-fade-up 0.6s 0.26s var(--ease) both;
}

.mf-auth-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mf-auth-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  animation: mf-fade-up 0.5s var(--ease) both;
}

.mf-auth-points li:nth-child(1) { animation-delay: 0.32s; }
.mf-auth-points li:nth-child(2) { animation-delay: 0.4s; }
.mf-auth-points li:nth-child(3) { animation-delay: 0.48s; }

.mf-auth-points i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(125, 255, 176, 0.15);
  color: #7dffb0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.mf-auth-card {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2rem 1.75rem;
  box-shadow: none;
  animation: mf-fade-up 0.55s 0.12s var(--ease) both;
}

.mf-auth-card.solo {
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  animation: mf-scale-in 0.5s var(--ease) both;
}

.mf-auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.mf-auth-card .sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.35rem;
}

.mf-field {
  margin-bottom: 0.9rem;
  animation: mf-fade-up 0.45s var(--ease) both;
}

.mf-field:nth-child(1) { animation-delay: 0.15s; }
.mf-field:nth-child(2) { animation-delay: 0.2s; }
.mf-field:nth-child(3) { animation-delay: 0.25s; }
.mf-field:nth-child(4) { animation-delay: 0.3s; }
.mf-field:nth-child(5) { animation-delay: 0.35s; }
.mf-field:nth-child(6) { animation-delay: 0.4s; }

.mf-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.mf-input-wrap {
  position: relative;
}

.mf-input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
  margin-bottom: 0;
}

.mf-input.has-toggle {
  padding-right: 2.6rem;
}

.mf-input:hover {
  border-color: #c5d2c9;
}

.mf-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 143, 85, 0.15);
  transform: translateY(-1px);
}

.mf-toggle-pass {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.mf-toggle-pass:hover {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.mf-alert {
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  animation: mf-shake 0.4s var(--ease);
}

.mf-alert-error {
  background: #fdf0f0;
  border-color: #f0c8c8;
  color: var(--lost);
}

.mf-alert-success {
  background: var(--accent-soft);
  border-color: #bfe8d0;
  color: var(--accent-deep);
  animation: mf-fade-up 0.4s var(--ease);
}

.mf-auth-foot {
  text-align: center;
  margin-top: 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.mf-auth-foot a {
  font-weight: 600;
}

.mf-plans {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mf-plan-card {
  background: #161b18;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1.15rem 1.15rem;
  box-shadow: 0 12px 30px rgba(10, 16, 12, 0.18);
}

.mf-plan-card.is-featured {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 14px 34px rgba(201, 162, 39, 0.16);
}

.mf-plan-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.mf-plan-badge {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #0b1c28;
  background: radial-gradient(circle at 30% 30%, #9fd7ff, #5aa8d8 55%, #3d8fbf);
  box-shadow: 0 0 0 4px rgba(90, 168, 216, 0.18);
}

.mf-plan-card.is-featured .mf-plan-badge {
  background: radial-gradient(circle at 30% 30%, #f0d778, #c9a227 55%, #a8851c);
  color: #1a1608;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.2);
}

.mf-plan-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.25rem;
  color: #fff;
  text-transform: uppercase;
}

.mf-plan-sub {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.mf-plan-price {
  margin-bottom: 1rem;
}

.mf-plan-ghs {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.mf-plan-usd {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.mf-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mf-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.mf-plan-features i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(26, 143, 85, 0.18);
  color: #5adf95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.mf-plan-buy {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mf-plan-buy:hover {
  background: #fff;
  color: #121714;
  transform: translateY(-1px);
}

.mf-plan-card.is-featured .mf-plan-buy {
  border-color: rgba(201, 162, 39, 0.65);
}

.mf-plan-card.is-featured .mf-plan-buy:hover {
  background: var(--mark);
  border-color: var(--mark);
  color: #1a1608;
}

.mf-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1rem;
  animation: mf-pop 0.55s var(--ease) both;
  box-shadow: 0 0 0 0 rgba(26, 143, 85, 0.25);
}

.mf-legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.mf-legal h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.5rem 0 0.55rem;
}

.mf-legal p { margin: 0 0 0.85rem; }

.mf-legal ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.mf-legal li { margin-bottom: 0.35rem; }

.mf-legal-note {
  margin-top: 1.5rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--muted);
}

.mf-page-hero-sm {
  padding: 2rem 0 0.5rem;
}

.mf-page-hero-sm h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0.35rem 0 0.75rem;
  animation: mf-fade-up 0.55s var(--ease) both;
}

.mf-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.mf-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.mf-panel {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mf-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 143, 85, 0.25);
}

.btn-mf {
  position: relative;
  overflow: hidden;
}

.btn-mf::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}

.btn-mf:hover::after {
  transform: translateX(120%);
}

@media (max-width: 820px) {
  .mf-auth-shell {
    grid-template-columns: 1fr;
  }

  .mf-auth-aside {
    min-height: auto;
    padding: 1.5rem 1.35rem;
  }

  .mf-auth-aside p,
  .mf-auth-points {
    display: none;
  }
}

/* ---------- Footer ---------- */
.mf-footer {
  background: #101612;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.25rem;
  margin-top: 1rem;
}

.mf-footer h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.mf-footer p,
.mf-footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.mf-footer a:hover {
  color: #7dffb0;
}

.mf-social {
  display: flex;
  gap: 0.5rem;
}

.mf-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.mf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Utilities ---------- */
.mf-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.mf-tab {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.mf-tab:hover,
.mf-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.mf-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

#back-to-top-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  box-shadow: var(--shadow);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 12, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.popup-content {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  animation: mf-fade-up 0.4s var(--ease);
}

.popup-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
}

@keyframes mf-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mf-scale-in {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes mf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes mf-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes mf-pop {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
