/* Kelmo Premium page – builds on style.css */
.premium { max-width: 860px; padding-top: 48px; padding-bottom: 40px; }
.premium h2 { font-size: 24px; margin-bottom: 14px; }
.muted { color: var(--muted); }

.p-hero { text-align: center; margin-bottom: 30px; }
.p-hero h1 { font-size: clamp(34px, 6vw, 52px); margin: 14px 0 8px; letter-spacing: -0.03em; }
.p-hero .lead { color: var(--muted); font-size: 18px; margin: 0; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.plan-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.plan-card.best { border-color: rgba(255, 215, 122, 0.45); background: linear-gradient(160deg, var(--gold-soft), var(--surface) 60%); }
.plan-card h2 { font-size: 18px; color: var(--muted); margin-bottom: 6px; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price .amount { font: 700 38px var(--head); letter-spacing: -0.02em; }
.price .per { color: var(--muted); }
.plan-note { color: var(--faint); font-size: 14px; margin: 6px 0 0; }
.plan-flag { position: absolute; top: 18px; right: 18px; }
.plan-flag[hidden] { display: none; }

.p-servers { background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px; padding: 24px; margin-bottom: 40px; }
.p-servers .notice, .p-servers .notice-ok { margin-bottom: 14px; }
.notice-ok { background: var(--accent-soft); border: 1px solid rgba(246, 180, 92, 0.3); border-radius: 12px; padding: 12px 16px; }
.p-list { display: flex; flex-direction: column; gap: 10px; }
.p-server { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; min-width: 0; }
.p-server.focus { border-color: var(--accent); }
.gicon { width: 44px; height: 44px; border-radius: 13px; flex: none; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; font: 700 18px var(--head); color: var(--muted); }
.p-server .gname { flex: 1; min-width: 160px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.p-server .gname small { display: block; font-weight: 400; color: var(--faint); font-size: 14px; }
.p-server .gname small.on { color: var(--gold); }
.p-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.p-actions .btn:disabled { opacity: 0.45; cursor: not-allowed; }

.p-features { margin-bottom: 40px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.feature-list b { font-family: var(--head); font-size: 17px; }
.feature-list p { color: var(--muted); margin: 4px 0 0; font-size: 15px; }

.p-faq dl { margin: 0; }
.p-faq dt { font-weight: 600; margin-top: 16px; }
.p-faq dd { margin: 4px 0 0; color: var(--muted); }

@media (max-width: 640px) {
  .premium { padding-top: 32px; }
  .plans, .feature-list { grid-template-columns: 1fr; }
  .p-servers { padding: 18px; }
  .p-actions { width: 100%; }
  .p-actions .btn { flex: 1; }
}

.plan-hint { color: var(--muted); font-size: 14.5px; text-align: center; margin: -8px 0 28px; }
