/* ═══════════════════════════════════════════════════════
   gamador-hesabim.css  –  Account Dashboard Styles
   Uses gamador-clone.css design tokens
   ═══════════════════════════════════════════════════════ */

/* ── Dashboard Shell: sidebar + main ── */
.dash-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  width: min(1800px, calc(100vw - clamp(24px, 10vw, 220px)));
  max-width: none;
  margin: 18px auto 40px;
  padding: 0 12px;
  min-height: calc(100vh - 200px);
}

/* ──────────────────────────────────────
   SIDEBAR
   ────────────────────────────────────── */
.dash-sidebar {
  position: sticky;
  top: 130px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(180deg, rgba(22, 8, 40, 0.97), rgba(2, 1, 3, 0.98));
  border: 1px solid rgba(140, 69, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(2, 1, 3, 0.35);
}

/* ── User Card ── */
.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 14px;
  background: linear-gradient(135deg, rgba(140, 69, 255, 0.12), transparent);
  border-bottom: 1px solid rgba(140, 69, 255, 0.1);
}

.sidebar-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(140, 69, 255, 0.35);
}

.avatar-letter {
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #f8f0ff;
  line-height: 1;
}

.avatar-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(2, 1, 3, 0.98);
}

.avatar-status-dot.online {
  background: #8c45ff;
  box-shadow: 0 0 8px rgba(140, 69, 255, 0.6);
}

.sidebar-username {
  margin: 0;
  font-size: 17px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

/* ── Balance Cards ── */
.sidebar-balance-card {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(140, 69, 255, 0.08);
}

.balance-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.balance-label span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.balance-refresh-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(140, 69, 255, 0.2);
  background: rgba(140, 69, 255, 0.08);
  color: var(--amethyst);
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.balance-refresh-btn:hover {
  transform: rotate(180deg);
  background: rgba(140, 69, 255, 0.2);
}

.balance-amount {
  margin: 2px 0 10px;
  font-size: 26px;
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.bonus-amount {
  color: #b45dff;
}

.balance-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.bal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bal-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 1, 3, 0.3);
}

.bal-deposit {
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  color: #f8f0ff;
}

.bal-withdraw {
  background: linear-gradient(135deg, rgba(22, 8, 40, 0.95), rgba(2, 1, 3, 0.95));
  color: var(--text);
  border: 1px solid rgba(140, 69, 255, 0.2);
}

.balance-note {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.7;
}

.sidebar-balance-bonus {
  padding-bottom: 16px;
}

/* ── Sidebar Nav ── */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0 10px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none;
  color: rgba(248, 240, 255, 0.9);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.sidebar-link:hover {
  color: var(--text);
  background: rgba(26, 11, 48, 0.82);
}

.sidebar-link:hover i {
  opacity: 1;
}

.sidebar-link.active {
  color: var(--amethyst);
  background: linear-gradient(90deg, rgba(140, 69, 255, 0.12), transparent);
  border-left-color: var(--amethyst);
}

.sidebar-link.active i {
  opacity: 1;
  color: var(--amethyst);
}

/* ──────────────────────────────────────
   MAIN CONTENT
   ────────────────────────────────────── */
.dash-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* ── Breadcrumb ── */
.dash-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}

.dash-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dash-breadcrumb a:hover {
  color: var(--amethyst);
}

.dash-breadcrumb i {
  font-size: 9px;
  opacity: 0.5;
}

.dash-breadcrumb span {
  color: var(--text);
  font-weight: 600;
}

/* ── Profile Strip ── */
.dash-profile-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(140, 69, 255, 0.15);
  background: linear-gradient(135deg, rgba(22, 8, 40, 0.97), rgba(2, 1, 3, 0.98));
  box-shadow: 0 8px 28px rgba(2, 1, 3, 0.25);
}

.profile-strip-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-strip-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(140, 69, 255, 0.35);
}

.avatar-letter-lg {
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #f8f0ff;
  line-height: 1;
}

.profile-strip-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--text);
}

.profile-strip-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.badge-online {
  background: #8c45ff;
  box-shadow: 0 0 6px rgba(140, 69, 255, 0.5);
}

.badge-text {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-text.muted {
  opacity: 0.6;
}

.profile-strip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.psa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(140, 69, 255, 0.18);
  background: linear-gradient(135deg, rgba(22, 8, 40, 0.95), rgba(2, 1, 3, 0.95));
  color: var(--text);
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.psa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 1, 3, 0.3);
  border-color: var(--amethyst);
}

.psa-btn.active,
.psa-btn-deposit.active {
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  color: #f8f0ff;
  border-color: rgba(248, 240, 255, 0.15);
}

/* ── Dashboard Card ── */
.dash-card {
  border-radius: 14px;
  border: 1px solid rgba(140, 69, 255, 0.12);
  background: linear-gradient(180deg, rgba(22, 8, 40, 0.97), rgba(2, 1, 3, 0.98));
  padding: 22px;
  box-shadow: 0 8px 28px rgba(2, 1, 3, 0.25);
}

.dash-card-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

/* ── Deposit/Withdraw Tabs ── */
.dw-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 22px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(140, 69, 255, 0.15);
}

.dw-tab {
  padding: 12px 16px;
  border: none;
  background: linear-gradient(180deg, rgba(22, 8, 40, 0.98), rgba(2, 1, 3, 0.98));
  color: var(--muted);
  font-size: 15px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  text-align: center;
  letter-spacing: 0.3px;
}

.dw-tab:first-child {
  border-right: 1px solid rgba(140, 69, 255, 0.1);
}

.dw-tab:hover {
  color: var(--text);
  background: rgba(140, 69, 255, 0.08);
}

.dw-tab.active {
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  color: #f8f0ff;
}

/* ── Panels ── */
.dw-panel {
  display: none;
}

.dw-panel.active {
  display: block;
  animation: dashFadeIn 0.35s ease;
}

@keyframes dashFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Payment Methods Grid ── */
.payment-methods {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pm-card {
  flex: 0 0 calc(20% - 8px);
  min-width: 120px;
  padding: 0;
  border-radius: 12px;
  border: 2px solid rgba(140, 69, 255, 0.12);
  background: linear-gradient(180deg, rgba(26, 11, 50, 0.99), rgba(4, 1, 9, 1));
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pm-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px 10px;
}

.pm-card i {
  font-size: 24px;
  color: var(--amethyst);
  transition: transform 0.2s ease;
}

.pm-card span {
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}

.pm-card small {
  font-size: 10px;
  color: #cdbfe4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-card:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 69, 255, 0.4);
  box-shadow: 0 8px 20px rgba(140, 69, 255, 0.12);
}

.pm-card:hover i {
  transform: scale(1.15);
}

.pm-card.active {
  border-color: var(--amethyst);
  background: linear-gradient(180deg, rgba(140, 69, 255, 0.15), rgba(140, 69, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(140, 69, 255, 0.3), 0 8px 20px rgba(140, 69, 255, 0.15);
}

.pm-card.active i {
  color: #f8f0ff;
  filter: drop-shadow(0 0 6px rgba(140, 69, 255, 0.5));
}

/* ── Deposit Form ── */
.deposit-form {
  max-width: 600px;
}

.deposit-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #cdbfe4;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deposit-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.deposit-currency {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--amethyst);
  pointer-events: none;
}

.deposit-input {
  width: 100%;
  padding: 14px 16px 14px 38px;
  border-radius: 10px;
  border: 2px solid rgba(140, 69, 255, 0.2);
  background: rgba(10, 3, 24, 0.88);
  color: var(--text);
  font-size: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: textfield;
  -moz-appearance: textfield;
}

.deposit-input::-webkit-inner-spin-button,
.deposit-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.deposit-input::placeholder {
  color: rgba(206, 190, 228, 0.62);
  font-weight: 500;
}

.deposit-input:focus {
  border-color: var(--amethyst);
  box-shadow: 0 0 0 3px rgba(140, 69, 255, 0.15), 0 4px 12px rgba(140, 69, 255, 0.1);
}

/* ── Quick Amounts ── */
.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.qa-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(140, 69, 255, 0.15);
  background: rgba(26, 11, 48, 0.82);
  color: var(--text);
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.qa-btn:hover {
  transform: translateY(-1px);
  background: rgba(140, 69, 255, 0.15);
  border-color: var(--amethyst);
  color: #f8f0ff;
}

.qa-btn:active {
  transform: scale(0.97);
}

.qa-btn.selected {
  background: var(--amethyst);
  color: #f8f0ff;
  border-color: var(--amethyst);
}

/* ── Note ── */
.deposit-note {
  margin: 0 0 18px;
  font-size: 12px;
  color: #b45dff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Submit ── */
.deposit-submit-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  color: #f8f0ff;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 16px rgba(140, 69, 255, 0.3);
}

.deposit-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(140, 69, 255, 0.4);
  filter: brightness(1.08);
}

.deposit-submit-btn:active {
  transform: translateY(0) scale(0.99);
}

.withdraw-submit-btn {
  background: linear-gradient(135deg, #8c45ff, #160630);
  box-shadow: 0 4px 16px rgba(140, 69, 255, 0.3);
}

.withdraw-submit-btn:hover {
  box-shadow: 0 8px 24px rgba(140, 69, 255, 0.4);
}

/* ── Empty State ── */
.transactions-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 12px;
  color: var(--muted);
  opacity: 0.5;
}

.transactions-empty i {
  font-size: 40px;
}

.transactions-empty p {
  margin: 0;
  font-size: 14px;
}

/* ── Topbar Logged-in State ── */
.auth-logged-in {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-deposit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  color: #f8f0ff;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-deposit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(140, 69, 255, 0.35);
}

.topbar-balance {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(10, 3, 24, 0.88);
  border: 1px solid rgba(140, 69, 255, 0.1);
  white-space: nowrap;
}

.topbar-avatar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(140, 69, 255, 0.25);
  background: radial-gradient(circle at 30% 25%, rgba(140, 69, 255, 0.22), rgba(2, 1, 3, 0.92));
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-avatar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(140, 69, 255, 0.3);
}

.topbar-time {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  min-width: 56px;
  text-align: right;
}

/* ── Mobile Sidebar Toggle ── */
.mobile-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--amethyst);
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-strong));
  color: #f8f0ff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(140, 69, 255, 0.4);
  transition: transform 0.2s ease;
}

.mobile-sidebar-toggle:hover {
  transform: scale(1.05);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(2, 1, 3, 0.6);
  backdrop-filter: blur(3px);
}

.sidebar-overlay.active {
  display: block;
  animation: fadeInOverlay 0.25s ease;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ──────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────── */
@media (max-width: 1140px) {
  .dash-shell {
    grid-template-columns: 230px 1fr;
    gap: 14px;
  }

  .pm-card {
    flex: 0 0 calc(25% - 8px);
  }

  .profile-strip-actions {
    gap: 6px;
  }

  .psa-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  .dash-shell {
    grid-template-columns: 1fr;
    width: calc(100vw - 24px);
  }

  .dash-sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    bottom: 0;
    z-index: 50;
    width: 280px;
    border-radius: 0 16px 16px 0;
    transition: left 0.35s cubic-bezier(.22,.68,0,1.1);
    overflow-y: auto;
  }

  .dash-sidebar.open {
    left: 0;
  }

  .mobile-sidebar-toggle {
    display: grid;
    place-items: center;
  }

  .dash-profile-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .pm-card {
    flex: 0 0 calc(33.333% - 8px);
  }
}

@media (max-width: 680px) {
  .dash-shell {
    margin-top: 12px;
  }

  .profile-strip-actions {
    flex-direction: column;
    width: 100%;
  }

  .psa-btn {
    width: 100%;
    justify-content: center;
  }

  .pm-card {
    flex: 0 0 calc(50% - 5px);
    min-width: 0;
  }

  .quick-amounts {
    gap: 6px;
  }

  .qa-btn {
    padding: 7px 10px;
    font-size: 12px;
  }

  .dash-card {
    padding: 16px;
  }

  .topbar-balance,
  .topbar-time {
    display: none;
  }
}

@media (max-width: 420px) {
  .pm-card {
    flex: 1 1 100%;
  }
}

/* ══════════════════════════════════════════════════
   FOOTER TICKER STRIPS  –  Scrolling Logo Marquees
   ══════════════════════════════════════════════════ */

/* Override the old static footer strips – the footer from emerald-clone.css
   is included via the shared stylesheet, so we override with the ticker
   versions here.  */
.footer-provider-strip,
.footer-payment-strip {
  display: none !important;   /* hide old static strips on this page */
}

/* Ticker container */
.footer-ticker-strip {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  /* Fade edges to suggest continuity */
  mask-image: linear-gradient(90deg, transparent 0%, #07000d 6%, #07000d 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #07000d 6%, #07000d 94%, transparent 100%);
}

/* The track holds two identical .ticker-content divs side-by-side */
.ticker-track {
  display: flex;
  width: max-content;
  animation: footerTickerScroll 40s linear infinite;
}

.footer-ticker-strip:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  padding-right: 28px;   /* gap between the two copies */
}

/* Provider logo images */
.footer-ticker-strip .ticker-content img {
  height: 55px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0.88) saturate(0.9);
  transition: transform 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
}

.footer-ticker-strip .ticker-content img:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1) saturate(1) drop-shadow(0 6px 12px rgba(140, 69, 255, 0.25));
}

/* Payment logo overrides — slightly larger pills */
.footer-ticker-payments .ticker-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 5px 14px;
  border-radius: 10px;
  border: 1px solid rgba(248, 240, 255, 0.1);
  background: rgba(248, 240, 255, 0.05);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  flex-shrink: 0;
}

.footer-ticker-payments .ticker-content a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(2, 1, 3, 0.3);
  background: rgba(248, 240, 255, 0.1);
}

.footer-ticker-payments .ticker-content img {
  height: 30px;
  max-width: 120px;
  border: none;
  background: none;
  padding: 0;
  filter: brightness(0.95);
}

.footer-ticker-payments .ticker-content img:hover {
  box-shadow: none;
  transform: none;
}

/* Keyframe for continuous left-to-right scroll */
@keyframes footerTickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Payment ticker scrolls a bit slower since fewer items */
.footer-ticker-payments .ticker-track {
  animation-duration: 30s;
}

/* Footer on hesabim needs full-width since it's outside dash-shell */
.site-footer .footer-shell {
  width: min(1600px, calc(100vw - clamp(28px, 14vw, 360px)));
}

@media (max-width: 820px) {
  .footer-ticker-strip .ticker-content img {
    height: 45px;
    max-width: 140px;
  }

  .footer-ticker-payments .ticker-content a {
    height: 40px;
    padding: 4px 10px;
  }

  .footer-ticker-payments .ticker-content img {
    height: 24px;
  }

  .ticker-content {
    gap: 18px;
    padding-right: 18px;
  }

  .ticker-track {
    animation-duration: 30s;
  }

  .footer-ticker-payments .ticker-track {
    animation-duration: 22s;
  }
}

/* Account dashboard redesign */
body {
  background:
    radial-gradient(circle at 12% 6%, rgba(140, 69, 255, 0.2), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(166, 92, 255, 0.12), transparent 24%),
    linear-gradient(145deg, #07000d 0%, #07000d 48%, #07000d 100%);
}

.dash-shell {
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 24px;
  width: min(1540px, calc(100vw - 44px));
  margin-top: 22px;
  padding: 0;
}

.dash-sidebar {
  top: 120px;
  gap: 0;
  border-radius: 18px;
  border: 1px solid rgba(248, 240, 255, 0.1);
  background:
    radial-gradient(circle at 22% 8%, rgba(140, 69, 255, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(22, 8, 40, 0.96), rgba(2, 1, 3, 0.98));
  box-shadow:
    0 24px 58px rgba(2, 1, 3, 0.38),
    inset 0 1px 0 rgba(248, 240, 255, 0.06);
}

.sidebar-user-card {
  padding: 22px 18px;
  background:
    linear-gradient(135deg, rgba(140, 69, 255, 0.2), rgba(248, 240, 255, 0.02)),
    rgba(248, 240, 255, 0.02);
}

.sidebar-avatar,
.profile-strip-avatar {
  border-radius: 14px;
  background: linear-gradient(135deg, #8c45ff, #8c45ff);
}

.sidebar-balance-card {
  margin: 12px;
  padding: 16px;
  border: 1px solid rgba(248, 240, 255, 0.09);
  border-radius: 14px;
  background: rgba(248, 240, 255, 0.045);
}

.balance-actions {
  gap: 8px;
}

.bal-action-btn,
.psa-btn,
.dw-tab,
.pm-card,
.qa-btn,
.deposit-submit-btn,
.topbar-deposit-btn {
  letter-spacing: 0;
}

.bal-action-btn {
  min-height: 38px;
  border-radius: 10px;
}

.sidebar-nav {
  gap: 4px;
  padding: 4px 12px 14px;
}

.sidebar-link {
  min-height: 44px;
  border-left: 0;
  border-radius: 12px;
  padding: 11px 13px;
}

.sidebar-link.active {
  color: #f8f0ff;
  background:
    linear-gradient(135deg, rgba(140, 69, 255, 0.26), rgba(140, 69, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(140, 69, 255, 0.22);
}

.dash-main {
  gap: 18px;
}

.dash-breadcrumb {
  padding: 2px 2px 0;
  color: rgba(248, 240, 255, 0.58);
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.76fr);
  gap: 18px;
  align-items: stretch;
  min-height: 230px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(248, 240, 255, 0.11);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 20%, rgba(166, 92, 255, 0.17), transparent 25%),
    radial-gradient(circle at 8% 70%, rgba(140, 69, 255, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(22, 8, 40, 0.98), rgba(2, 1, 3, 0.98));
  box-shadow:
    0 24px 58px rgba(2, 1, 3, 0.34),
    inset 0 1px 0 rgba(248, 240, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.account-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(166, 92, 255, 0.055);
  pointer-events: none;
}

.account-hero-copy,
.account-hero .dash-profile-strip {
  position: relative;
  z-index: 1;
}

.account-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.account-hero-copy h1 {
  margin: 0;
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-size: clamp(62px, 9vw, 112px);
  line-height: 0.82;
  color: #f8f0ff;
  letter-spacing: 0;
}

.account-hero-copy p {
  max-width: 580px;
  margin: 14px 0 18px;
  color: rgba(248, 240, 255, 0.74);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.3;
}

.profile-strip-badges {
  gap: 8px;
}

.badge-text {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(248, 240, 255, 0.1);
  border-radius: 999px;
  background: rgba(248, 240, 255, 0.045);
}

.account-hero .dash-profile-strip {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 16px;
  border-color: rgba(248, 240, 255, 0.1);
  background: rgba(2, 1, 3, 0.34);
  box-shadow: none;
}

.profile-strip-left {
  gap: 13px;
}

.profile-strip-avatar {
  width: 58px;
  height: 58px;
  box-shadow: 0 16px 30px rgba(140, 69, 255, 0.24);
}

.profile-strip-kicker {
  display: block;
  color: rgba(248, 240, 255, 0.56);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.profile-strip-name {
  margin: 2px 0 0;
  color: #f8f0ff;
  font-size: 24px;
}

.profile-strip-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.psa-btn {
  min-height: 44px;
  justify-content: center;
  border-radius: 12px;
  border-color: rgba(248, 240, 255, 0.12);
  background: rgba(248, 240, 255, 0.055);
}

.psa-btn.active,
.psa-btn-deposit.active {
  background: linear-gradient(135deg, #8c45ff, #8c45ff);
  box-shadow: 0 14px 28px rgba(140, 69, 255, 0.22);
}

.account-metrics {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.account-metric {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(248, 240, 255, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(140, 69, 255, 0.12), rgba(140, 69, 255, 0.04)),
    rgba(7, 2, 16, 0.94);
  box-shadow: 0 16px 32px rgba(2, 1, 3, 0.18);
}

.account-metric span,
.account-metric small {
  display: block;
  color: rgba(248, 240, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.account-metric strong {
  display: block;
  margin: 12px 0 10px;
  color: #f8f0ff;
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 0.82;
}

.account-metric-main {
  background:
    radial-gradient(circle at 92% 16%, rgba(166, 92, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(140, 69, 255, 0.22), rgba(248, 240, 255, 0.035));
}

.transaction-card,
.recent-card {
  border-radius: 20px;
  border-color: rgba(248, 240, 255, 0.1);
  background:
    radial-gradient(circle at 94% 0%, rgba(140, 69, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(22, 8, 40, 0.96), rgba(2, 1, 3, 0.98));
  box-shadow:
    0 22px 50px rgba(2, 1, 3, 0.28),
    inset 0 1px 0 rgba(248, 240, 255, 0.05);
}

.transaction-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.transaction-card-head p {
  margin: 6px 0 0;
  color: rgba(248, 240, 255, 0.62);
  font-size: 15px;
  font-weight: 600;
}

.dash-card-title {
  margin: 0;
  color: #f8f0ff;
  font-family: "GilroyArwen", "Inter", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.9;
  letter-spacing: 0;
}

.transaction-security {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(166, 92, 255, 0.18);
  border-radius: 999px;
  color: #b45dff;
  background: rgba(166, 92, 255, 0.07);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dw-tabs {
  width: min(480px, 100%);
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border-color: rgba(248, 240, 255, 0.1);
  background: rgba(2, 1, 3, 0.25);
  overflow: visible;
}

.dw-tab {
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  text-transform: none;
}

.dw-tab:first-child {
  border-right: 0;
}

.dw-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #b45dff, #8c45ff);
  box-shadow: 0 12px 24px rgba(166, 92, 255, 0.18);
}

.dw-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  gap: 18px;
  align-items: start;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
}

.pm-card {
  flex: none;
  min-width: 0;
  border-width: 1px;
  border-radius: 14px;
  border-color: rgba(248, 240, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(140, 69, 255, 0.12), rgba(140, 69, 255, 0.04)),
    rgba(7, 2, 16, 0.96);
}

.pm-card-inner {
  min-height: 128px;
  align-items: flex-start;
  padding: 18px;
}

.pm-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #b45dff;
  background: rgba(166, 92, 255, 0.09);
  font-size: 20px;
}

.pm-card span {
  font-size: 16px;
}

.pm-card small {
  color: rgba(248, 240, 255, 0.82);
  font-size: 11px;
}

.pm-card:hover,
.pm-card.active {
  transform: translateY(-2px);
  border-color: rgba(166, 92, 255, 0.42);
  background:
    radial-gradient(circle at 88% 12%, rgba(166, 92, 255, 0.14), transparent 28%),
    rgba(2, 1, 3, 0.96);
  box-shadow:
    0 16px 32px rgba(2, 1, 3, 0.24),
    0 0 0 1px rgba(166, 92, 255, 0.12);
}

.pm-card.active i {
  color: #fff;
  background: #b45dff;
  filter: none;
}

.deposit-form {
  max-width: none;
  padding: 18px;
  border: 1px solid rgba(248, 240, 255, 0.1);
  border-radius: 16px;
  background: rgba(2, 1, 3, 0.22);
}

.deposit-label {
  color: rgba(248, 240, 255, 0.7);
}

.deposit-input-wrap {
  margin-bottom: 12px;
}

.deposit-currency {
  color: #b45dff;
}

.deposit-input {
  min-height: 56px;
  border-radius: 14px;
  border-width: 1px;
  border-color: rgba(248, 240, 255, 0.12);
  background: rgba(12, 4, 28, 0.92);
  font-size: 22px;
}

.deposit-input:focus {
  border-color: rgba(166, 92, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(166, 92, 255, 0.12);
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.qa-btn {
  min-height: 38px;
  border-radius: 10px;
  border-color: rgba(248, 240, 255, 0.1);
  background: rgba(28, 12, 52, 0.88);
}

.qa-btn:hover,
.qa-btn.selected {
  color: #fff;
  border-color: #b45dff;
  background: #b45dff;
}

.deposit-note {
  color: rgba(166, 92, 255, 0.86);
}

.deposit-submit-btn {
  min-height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8c45ff, #8c45ff);
  box-shadow: 0 14px 28px rgba(140, 69, 255, 0.22);
}

.withdraw-submit-btn {
  background: linear-gradient(135deg, #b45dff, #8c45ff);
  color: #fff;
  box-shadow: 0 14px 28px rgba(166, 92, 255, 0.18);
}

.transactions-list {
  display: grid;
  gap: 10px;
}

.transaction-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(248, 240, 255, 0.09);
  border-radius: 14px;
  background: rgba(248, 240, 255, 0.04);
}

.transaction-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #f8f0ff;
  background: rgba(140, 69, 255, 0.24);
}

.transaction-icon-alt {
  color: #fff;
  background: #b45dff;
}

.transaction-row strong,
.transaction-row small {
  display: block;
}

.transaction-row strong {
  color: #f8f0ff;
  font-size: 15px;
}

.transaction-row small {
  margin-top: 2px;
  color: rgba(248, 240, 255, 0.58);
  font-size: 13px;
}

.transaction-status {
  padding: 6px 10px;
  border-radius: 999px;
  color: #f8f0ff;
  background: rgba(140, 69, 255, 0.14);
  font-size: 12px;
  font-weight: 800;
}

.topbar-balance {
  border-color: rgba(248, 240, 255, 0.1);
  background: rgba(248, 240, 255, 0.045);
}

@media (max-width: 1180px) {
  .dash-shell {
    grid-template-columns: 250px minmax(0, 1fr);
    width: calc(100vw - 28px);
  }

  .account-hero {
    grid-template-columns: 1fr;
  }

  .dw-panel.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .dash-shell {
    grid-template-columns: 1fr;
    width: calc(100vw - 24px);
  }

  .dash-sidebar {
    top: 0;
    border-radius: 0 18px 18px 0;
  }

  .account-metrics {
    grid-template-columns: 1fr;
  }

  .payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .account-hero {
    padding: 20px;
  }

  .account-hero-copy h1 {
    font-size: clamp(52px, 19vw, 76px);
  }

  .profile-strip-actions {
    grid-template-columns: 1fr;
  }
  /* kucuk tutar butonlari mobilde 3'lu grid (1'er 1'er degil) */
  .quick-amounts {
    grid-template-columns: repeat(3, 1fr);
  }
  /* odeme yontemi kartlari mobilde 2'li grid */
  .payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transaction-card-head {
    flex-direction: column;
  }

  .transaction-security {
    white-space: normal;
  }

  .dash-card {
    padding: 16px;
  }

  .transaction-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .transaction-status {
    grid-column: 2;
    width: fit-content;
  }
}

/* Mobil hesap menusu (drawer): FAB toggle ile slide-in (cascade override) */
@media (max-width: 980px) {
  body.gm-arwen-page .dash-sidebar { transition: left 0.32s cubic-bezier(.22,.68,0,1.1) !important; }
  body.gm-arwen-page .dash-sidebar.open { left: 0 !important; box-shadow: 0 24px 60px rgba(0,0,0,0.72) !important; }
}
/* ═══ Icerik panelleri OPAK: arkaplan fotosu artik panellerin icinden gecmez (soluk fix) ═══ */
body.gm-arwen-page .account-hero,
body.gm-arwen-page .account-metric,
body.gm-arwen-page .transaction-card,
body.gm-arwen-page .recent-card,
body.gm-arwen-page .dash-card,
body.gm-arwen-page .dash-profile-strip,
body.gm-arwen-page .sidebar-balance-card,
body.gm-arwen-page .transaction-row {
  background-color: rgba(12, 4, 26, 0.97) !important;
}
/* ═══ Mobil hesap menusu: sol drawer yerine icerige yayilmis yatay cip satiri ═══ */
.dash-mobile-menu { display: none; }
@media (max-width: 980px) {
  /* bulanik drawer + FAB + overlay tamamen gizli */
  body.gm-arwen-page .dash-sidebar,
  body.gm-arwen-page .mobile-sidebar-toggle,
  body.gm-arwen-page .sidebar-overlay { display: none !important; }
  /* sidebar gidince main tam genislik */
  body.gm-arwen-page .dash-shell { grid-template-columns: 1fr !important; }
  /* inline cip menu */
  body.gm-arwen-page .dash-mobile-menu {
    display: flex; gap: 8px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 2px 0 14px; padding-bottom: 2px;
  }
  body.gm-arwen-page .dash-mobile-menu::-webkit-scrollbar { display: none; }
  body.gm-arwen-page .dmm-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 14px; border-radius: 999px; white-space: nowrap;
    border: 1px solid rgba(140, 69, 255, 0.32); background: rgba(20, 8, 40, 0.92);
    color: rgba(248, 240, 255, 0.86); font: 600 13px/1 "Inter", system-ui, sans-serif;
    text-decoration: none;
  }
  body.gm-arwen-page .dmm-chip i { color: #b45dff; font-size: 13px; }
  body.gm-arwen-page .dmm-chip.active { background: linear-gradient(135deg, #8c45ff, #7d35ff); color: #fff; border-color: #b45dff; }
  body.gm-arwen-page .dmm-chip.active i { color: #fff; }
}