/* ============================================================
   GameRent — Membership + Account styles
   ============================================================ */

/* ===================== MEMBERSHIP ===================== */
.mem-hero { position: relative; overflow: hidden; padding-block: 60px 40px; }
.mem-hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 50% 0%, rgba(139,108,255,.16), transparent 60%); }
.mem-h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.02; }
.mem-sub { color: var(--tx-dim); font-size: clamp(15px,1.6vw,18px); max-width: 560px; margin: 18px auto 0; line-height: 1.55; }
.mem-toggle { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border-radius: var(--r-pill); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.mem-toggle button { padding: 9px 20px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--tx-dim); display: inline-flex; align-items: center; gap: 8px; transition: all .15s; }
.mem-toggle button.on { background: var(--bg-4); color: var(--tx); box-shadow: var(--sh-1); }
.mem-save { font-size: 11px; font-weight: 700; color: var(--ac); background: var(--ac-soft); padding: 2px 7px; border-radius: 99px; }

.mem-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 860px){ .mem-plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.mem-plan { position: relative; padding: 26px; border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.mem-plan.popular { background: linear-gradient(180deg, var(--ac-soft), transparent 30%), var(--card); box-shadow: inset 0 0 0 1.5px var(--ac-line), 0 20px 50px -20px var(--ac-glow); }
.mem-plan-badge { position: absolute; top: -12px; left: 26px; font-family: var(--f-disp); font-size: 11px; font-weight: 600; letter-spacing:.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: var(--ac); color: var(--ac-ink); }
.mem-price { display: flex; align-items: baseline; gap: 4px; margin-top: 18px; }
.mem-price-n { font-size: 40px; font-weight: 700; }
.mem-price-u { font-size: 15px; color: var(--tx-mute); }
.mem-perks { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.mem-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--tx-dim); }
.mem-tick { width: 19px; height: 19px; border-radius: 99px; background: var(--ac-soft); color: var(--ac); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

.mem-savings { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding: 36px; border-radius: var(--r-xl); background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 820px){ .mem-savings { grid-template-columns: 1fr; gap: 24px; padding: 26px; } }
.mem-savings-card { padding: 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.mem-sav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 14.5px; color: var(--tx-dim); }
.mem-sav-row.big { font-size: 17px; font-weight: 700; color: var(--tx); }
.mem-sav-row.big b { font-size: 26px; }

/* comparison table */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--card); }
.cmp th, .cmp td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--bg-2); }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp-feat { font-size: 14px; color: var(--tx-dim); font-weight: 600; }
.cmp-plan-h { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.cmp-plan-h span:first-child { font-family: var(--f-disp); font-weight: 700; font-size: 16px; }
.cmp-plan-p { font-size: 15px; font-weight: 700; }
.cmp .pop { background: var(--ac-soft); }
.cmp-yes { display: inline-flex; width: 26px; height: 26px; border-radius: 99px; background: var(--ac-soft); color: var(--ac); align-items: center; justify-content: center; }
.cmp-no { display: inline-flex; color: var(--tx-faint); }
.cmp-txt { font-size: 13.5px; color: var(--tx-dim); }
.cmp tbody tr:last-child td { border-bottom: 0; }

.mem-faq { max-width: 760px; }
.mem-cta-foot { text-align: center; margin-top: 56px; padding: 44px; border-radius: var(--r-xl); background: linear-gradient(120deg, var(--mem-a), var(--mem-b)); box-shadow: inset 0 0 0 1px var(--vi-line); display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* ===================== ACCOUNT ===================== */
.acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.acc-stats { display: flex; gap: 10px; }
.acc-stat { display: flex; flex-direction: column; padding: 12px 18px; border-radius: var(--r-md); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.acc-stat-n { font-size: 22px; font-weight: 700; line-height: 1; }
.acc-stat-l { font-size: 12px; color: var(--tx-mute); margin-top: 5px; }
@media (max-width: 560px){ .acc-stats { width: 100%; } .acc-stat { flex: 1; } }

.acc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tab { padding: 14px 16px; font-family: var(--f-disp); font-weight: 600; font-size: 15px; color: var(--tx-mute); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.acc-tab:hover { color: var(--tx-dim); }
.acc-tab.on { color: var(--tx); border-bottom-color: var(--ac); }
.acc-tab-n { font-size: 11px; background: var(--bg-3); color: var(--tx-dim); padding: 1px 7px; border-radius: 99px; }
.acc-tab.on .acc-tab-n { background: var(--ac); color: var(--ac-ink); }

/* active rentals */
.acc-rentals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px){ .acc-rentals { grid-template-columns: 1fr; } }
.acc-rental { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.acc-rental-cov { cursor: pointer; }
.acc-rental-cov .cover { border-radius: var(--r-sm); }
.acc-count { display: flex; flex-direction: column; align-items: center; padding: 8px 14px; border-radius: var(--r-md); flex-shrink: 0; }
.acc-count-ok { background: var(--ok-soft); color: var(--ok); }
.acc-count-warn { background: rgba(255,194,77,.12); color: var(--warn); }
.acc-count-danger { background: var(--danger-soft); color: var(--danger); }
.acc-count-n { font-size: 22px; font-weight: 700; line-height: 1; }
.acc-count-l { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.acc-progress { margin-top: 14px; }
.acc-progress-track { height: 6px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.acc-progress-fill { height: 100%; border-radius: 99px; }
.acc-progress-fill.tone-ok { background: var(--ok); }
.acc-progress-fill.tone-warn { background: var(--warn); }
.acc-progress-fill.tone-danger { background: var(--danger); }

/* order history */
.acc-orders { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.acc-order { border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.acc-order-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--bg-2); }
.acc-order-items { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; }
.acc-order-item { display: flex; align-items: center; gap: 12px; }
.acc-order-cov { width: 38px; flex-shrink: 0; cursor: pointer; }
.acc-order-cov .cover { border-radius: 5px; }
.acc-order-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); }

/* addresses */
.acc-addrs { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 820px){ .acc-addrs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .acc-addrs { grid-template-columns: 1fr; } }
.acc-addr { padding: 18px; border-radius: var(--r-lg); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.acc-addr-new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; border-radius: var(--r-lg);
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--tx-mute); font-weight: 600; font-size: 14px; min-height: 140px; transition: all .15s; }
.acc-addr-new:hover { color: var(--ac); box-shadow: inset 0 0 0 1.5px var(--ac-line); }
