/* Mobil alt bar + tam ekran menü — beyaz / yeşil (BetMarko #00A86B uyumu) */

.mobFooter.mobFooter--modern {
  --mn-bg: #ffffff;
  --mn-border: rgba(0, 168, 107, 0.14);
  --mn-text: #334155;
  --mn-text-muted: rgba(51, 65, 85, 0.55);
  --mn-accent: #00a86b;
  --mn-accent-hover: #00915d;
  --mn-shadow: 0 -4px 24px rgba(0, 105, 70, 0.08);

  display: none;
  position: fixed;
  z-index: 999;
  background: var(--mn-bg);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  justify-content: space-around;
  align-items: stretch;
  border-top: 1px solid var(--mn-border);
  box-shadow: var(--mn-shadow);
}

.mobFooter.mobFooter--modern .mobFooter-item {
  cursor: pointer;
  padding: 8px 4px 6px;
  color: var(--mn-text-muted) !important;
  opacity: 1 !important;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none !important;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobFooter.mobFooter--modern .mobFooter-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 28px;
  height: 3px;
  background: var(--mn-accent);
  border-radius: 0 0 3px 3px;
  transition: transform 0.2s ease;
}

.mobFooter.mobFooter--modern .mobFooter-item.active::before {
  transform: translateX(-50%) scaleX(1);
}

.mobFooter.mobFooter--modern .mobFooter-item .CMSIconSVGWrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.mobFooter.mobFooter--modern .mobFooter-item .CMSIconSVGWrapper svg {
  width: 20px;
  height: 20px;
}

.mobFooter.mobFooter--modern .mobFooter-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: inherit;
}

.mobFooter.mobFooter--modern .mobFooter-item.active {
  color: var(--mn-accent) !important;
}

.mobFooter.mobFooter--modern .mobFooter-item:active {
  transform: scale(0.94);
}

.mobFooter.mobFooter--modern #menu-toggle.is-open {
  color: var(--mn-accent) !important;
}

@media (max-width: 992px) {
  .mobFooter.mobFooter--modern {
    display: flex;
  }

  body.has-mobile-bottom-nav {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}

/* Tam ekran menü */
.mobileMenu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 40, 30, 0.45);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mobileMenu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobileMenu {
  --mn-menu-bg: #f7fcf9;
  --mn-menu-header: #ffffff;
  --mn-menu-text: #1e293b;
  --mn-menu-muted: rgba(30, 41, 59, 0.45);
  --mn-menu-accent: #00a86b;
  --mn-menu-card-bg: #ffffff;
  --mn-menu-card-border: rgba(0, 168, 107, 0.12);
  --mn-menu-list-bg: #ffffff;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  z-index: 1001;
  background: var(--mn-menu-bg);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0, 105, 70, 0.12);
}

.mobileMenu.is-open {
  transform: translateY(0);
}

.mobileMenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  flex-shrink: 0;
  background: var(--mn-menu-header);
  border-bottom: 1px solid var(--mn-menu-card-border);
}

.mobileMenu-logo {
  text-decoration: none !important;
  display: flex;
  align-items: center;
}

.mobileMenu-header .mobileMenu-logo-image {
  display: block;
  width: auto;
  height: 85px !important;
  max-height: 85px !important;
  max-width: 210px !important;
  object-fit: contain;
}

.mobileMenu-logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #0f766e, #00a86b 45%, #059669);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00a86b;
}

.mobileMenu-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--mn-menu-card-border);
  background: rgba(0, 168, 107, 0.06);
  color: var(--mn-menu-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobileMenu-close svg {
  width: 20px;
  height: 20px;
}

.mobileMenu-close:hover,
.mobileMenu-close:active {
  background: rgba(0, 168, 107, 0.14);
  border-color: rgba(0, 168, 107, 0.35);
  color: var(--mn-menu-accent);
}

.mobileMenu-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px calc(100px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobileMenu-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.mobileMenu-section {
  margin-bottom: 22px;
}

.mobileMenu-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mn-menu-muted);
  margin: 0 0 12px 4px;
}

.mobileMenu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mobileMenu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px 12px;
  border-radius: 14px;
  background: var(--mn-menu-card-bg);
  border: 1px solid var(--mn-menu-card-border);
  color: var(--mn-menu-text) !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 105, 70, 0.04);
}

.mobileMenu-card:active {
  transform: scale(0.96);
  border-color: rgba(0, 168, 107, 0.28);
  box-shadow: 0 4px 14px rgba(0, 168, 107, 0.12);
}

.mobileMenu-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(0, 168, 107, 0.12), rgba(0, 168, 107, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobileMenu-card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--mn-menu-accent);
}

.mobileMenu-card-icon .fa-solid,
.mobileMenu-card-icon .fa-brands {
  font-size: 18px;
  color: var(--mn-menu-accent);
}

.mobileMenu-card-label {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--mn-menu-text);
}

.mobileMenu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--mn-menu-list-bg);
  border-radius: 14px;
  border: 1px solid var(--mn-menu-card-border);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 105, 70, 0.04);
}

.mobileMenu-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--mn-menu-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  border-bottom: 1px solid rgba(0, 168, 107, 0.08);
}

.mobileMenu-list-item:last-child {
  border-bottom: none;
}

.mobileMenu-list-item:active {
  background: rgba(0, 168, 107, 0.07);
}

.mobileMenu-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 168, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mn-menu-accent);
  font-size: 14px;
}

.mobileMenu-list-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--mn-menu-accent);
}

.mobileMenu-list-item--danger {
  color: #dc2626 !important;
}

.mobileMenu-list-item--danger .mobileMenu-list-icon {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
}

.mobileMenu.is-open .mobileMenu-card,
.mobileMenu.is-open .mobileMenu-list-item {
  animation: mobileMenuItemIn 0.35s ease both;
}

.mobileMenu.is-open .mobileMenu-card:nth-child(1) {
  animation-delay: 0.04s;
}
.mobileMenu.is-open .mobileMenu-card:nth-child(2) {
  animation-delay: 0.06s;
}
.mobileMenu.is-open .mobileMenu-card:nth-child(3) {
  animation-delay: 0.08s;
}
.mobileMenu.is-open .mobileMenu-card:nth-child(4) {
  animation-delay: 0.1s;
}
.mobileMenu.is-open .mobileMenu-card:nth-child(5) {
  animation-delay: 0.12s;
}
.mobileMenu.is-open .mobileMenu-card:nth-child(6) {
  animation-delay: 0.14s;
}
.mobileMenu.is-open .mobileMenu-card:nth-child(7) {
  animation-delay: 0.16s;
}
.mobileMenu.is-open .mobileMenu-card:nth-child(8) {
  animation-delay: 0.18s;
}

@keyframes mobileMenuItemIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.mobileMenu-locked {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  touch-action: none;
}

@media (max-width: 360px) {
  .mobileMenu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
