:root {
  --bg: #0b1020;
  --bg2: #111838;
  --card: #151d3f;
  --card2: #1a2450;
  --accent: #5b8cff;
  --accent2: #a06bff;
  --text: #eef1ff;
  --muted: #9aa3c7;
  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #0d1430 100%);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
.container { max-width: 720px; margin: 0 auto; padding: 0 16px 64px; }
nav.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; max-width: 720px; margin: 0 auto;
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.brand span { background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.navlinks a { margin-left: 14px; color: var(--muted); font-size: 14px; }
.navlinks a:hover { color: var(--text); }
.burger { background: none; border: none; padding: 8px 4px; cursor: pointer; }
.burger svg { width: 26px; height: 26px; stroke: var(--text); display: block; }
.scrim { position: fixed; inset: 0; background: rgba(4,6,18,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
  background: var(--bg2); border-left: 1px solid #2a3568; z-index: 50;
  transform: translateX(102%); transition: transform .28s ease;
  padding: 18px; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; }
.drawer-close { background: none; border: none; color: var(--muted);
  font-size: 20px; cursor: pointer; padding: 8px; }
.drawer a { color: var(--text); font-size: 17px; font-weight: 600;
  padding: 14px 6px; border-bottom: 1px solid #1e2650; }
.drawer a.on { color: var(--accent); }

.hero { text-align: center; padding: 36px 0 8px; }
.hero h1 { font-size: 30px; margin: 0 0 10px; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); margin: 6px 0; font-size: 15px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.badge { background: var(--card); border: 1px solid #2a3568; border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: var(--text); }

.cards { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: linear-gradient(160deg, var(--card), var(--card2));
  border: 1px solid #2a3568; border-radius: var(--radius); padding: 22px; }
.card.popular { border: 2px solid var(--accent); position: relative; }
.card .tag { position: absolute; top: -12px; right: 16px; background: var(--accent);
  color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.price { font-size: 32px; font-weight: 800; margin: 8px 0 2px; }
.price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.feat { list-style: none; padding: 0; margin: 14px 0; }
.feat li { padding: 6px 0; color: var(--muted); font-size: 14px; }
.feat li::before { content: "✓ "; color: var(--green); font-weight: 700; }

.btn { display: inline-block; width: 100%; text-align: center;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 700; font-size: 16px; border: none;
  padding: 14px 20px; border-radius: 12px; cursor: pointer; margin-top: 8px; }
.btn:hover { opacity: .92; }
.btn.secondary { background: var(--card2); border: 1px solid #2a3568; color: var(--text); }

form.box { background: var(--card); border: 1px solid #2a3568;
  border-radius: var(--radius); padding: 20px; margin-top: 20px; }
label { display: block; font-size: 14px; margin: 14px 0 6px; color: var(--muted); }
input[type=text], input[type=password], input[type=email], input[type=tel],
select, textarea {
  width: 100%; padding: 13px; border-radius: 10px; font-size: 16px;
  background: #0e1430; border: 1px solid #2a3568; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 110px; font-family: monospace; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.error { background: #3a1620; border: 1px solid var(--red); color: #ffb4b4;
  padding: 12px; border-radius: 10px; margin-top: 16px; font-size: 14px; }
.success-msg { background: #0f2f24; border: 1px solid var(--green);
  padding: 12px; border-radius: 10px; margin-top: 16px; font-size: 14px; color: #b7f5dd; }

.steps { counter-reset: step; margin: 20px 0; padding: 0; list-style: none; }
.steps li { background: var(--card); border: 1px solid #2a3568;
  border-radius: var(--radius); padding: 16px 16px 16px 58px;
  margin-bottom: 12px; position: relative; font-size: 14px; }
.steps li::before { counter-increment: step; content: counter(step);
  position: absolute; left: 16px; top: 14px; width: 30px; height: 30px;
  border-radius: 50%; background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mono { font-family: monospace; background: #0e1430; padding: 2px 8px;
  border-radius: 6px; font-size: 15px; }

.orderid { font-size: 40px; font-weight: 800; letter-spacing: 2px; text-align: center;
  color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: var(--radius); padding: 18px; margin: 20px 0; }

.timeline { list-style: none; padding: 0; margin: 20px 0; }
.timeline li { padding: 14px 14px 14px 48px; position: relative; font-size: 15px;
  background: var(--card); border: 1px solid #2a3568; border-radius: 12px; margin-bottom: 10px; }
.timeline li::before { content: "○"; position: absolute; left: 16px; top: 13px;
  font-size: 20px; color: var(--muted); }
.timeline li.done::before { content: "●"; color: var(--green); }
.timeline li.done { border-color: #1f5c43; }
.timeline li.active { border-color: var(--accent); }
.timeline li.active::before { content: "◐"; color: var(--accent); }
.timeline .sub { color: var(--muted); font-size: 13px; margin-top: 4px; }

.copybox { background: #0e1430; border: 1px dashed var(--accent);
  border-radius: 10px; padding: 16px; font-family: monospace; font-size: 15px;
  word-break: break-all; margin: 12px 0; }

.faq-item { background: var(--card); border: 1px solid #2a3568;
  border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.faq-item h3 { margin: 0 0 8px; font-size: 16px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

table.orders { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
table.orders th, table.orders td { text-align: left; padding: 10px 8px;
  border-bottom: 1px solid #2a3568; }
table.orders th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.payment_pending { background: #3a2c10; color: var(--yellow); }
.pill.paid { background: #102f4a; color: var(--accent); }
.pill.proxy_assigned { background: #2c1a4d; color: var(--accent2); }
.pill.delivered { background: #0f2f24; color: var(--green); }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.toolbar select, .toolbar input { width: auto; flex: 1; min-width: 140px; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px;
  font-size: 14px; margin: 14px 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-all; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 32px 0 8px; }
.notice { background: #2c1a4d; border: 1px solid var(--accent2); color: #d9c8ff;
  padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-size: 14px; }
h2.page { margin: 26px 0 6px; font-size: 24px; }
p.lead { color: var(--muted); font-size: 15px; }
.radio-row { display: flex; gap: 12px; margin-top: 6px; }
.radio-card { flex: 1; border: 1px solid #2a3568; border-radius: 10px; padding: 12px;
  text-align: center; cursor: pointer; font-size: 15px; }
.radio-card input { margin-right: 6px; }

/* catalog + admin product manager */
.prod-block { margin-top: 16px; }
.prod-head { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; }
.prod-head h3 { margin: 0; }
.btn.mini { width: auto; margin-top: 0; padding: 8px 16px; font-size: 13px; }
.inline-form { display: flex; gap: 6px; align-items: center; margin: 0; }
.price-input { width: 110px !important; padding: 8px 10px !important; font-size: 14px !important; }
.card.oos { opacity: .65; }
.oos-label { display: inline-block; width: 100%; text-align: center;
  background: var(--card2); border: 1px dashed var(--muted); color: var(--muted);
  font-weight: 700; font-size: 15px; padding: 13px 20px; border-radius: 12px;
  margin-top: 8px; }
details summary { outline: none; }
input[type=number] { width: 100%; padding: 13px; border-radius: 10px; font-size: 16px;
  background: #0e1430; border: 1px solid #2a3568; color: var(--text); }
input[type=number]:focus { outline: none; border-color: var(--accent); }

/* ---- single buy widget (period + country) ---- */
.buywidget label { margin-top: 10px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; }
.pill-opt { flex: 1 1 0; min-width: 96px; background: #0e1430;
  border: 1px solid #2a3568; border-radius: 12px; padding: 12px 8px;
  cursor: pointer; color: var(--text); text-align: center; }
.pill-opt strong { display: block; font-size: 15px; }
.pill-opt small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.pill-opt.sel { border: 2px solid var(--accent); background: #16204a; }
.bw-total { margin: 14px 0 4px; font-size: 15px; color: var(--muted); }
.bw-total strong { font-size: 26px; color: var(--text); margin-left: 6px; }
.bw-total small { display: block; font-size: 13px; margin-top: 2px; }

/* ---- hot tag ---- */
.hot-tag { display: inline-block; vertical-align: middle; margin-left: 10px;
  background: linear-gradient(90deg, #ff6b35, #f72c5b); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  letter-spacing: .5px; white-space: nowrap;
  animation: hotpulse 1.6s ease-in-out infinite; }
@keyframes hotpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* ---- Design 1: Midnight Premium homepage ---- */
.hero1 { text-align: center; padding: 64px 12px 44px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #1a2450 0%, transparent 70%);
  border-radius: 0 0 28px 28px; }
.hero1 h1 { font-size: 44px; margin: 0 0 16px; letter-spacing: -1px; line-height: 1.15; }
.hero1 h1 span { background: linear-gradient(90deg, #6c8cff, #c86cff, #ff6c9c);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero1 p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 30px; line-height: 1.6; }
.cta1 { display: inline-block; background: linear-gradient(90deg, #5b7cff, #a05cff);
  color: #fff; padding: 15px 44px; border-radius: 50px; font-size: 17px; font-weight: 700;
  box-shadow: 0 8px 30px rgba(108,100,255,.4); }
.cta1:hover { opacity: .93; color: #fff; }
.trust1 { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin: 34px 0 8px; }
.t1 { background: #121832; border: 1px solid #232c55; border-radius: 14px;
  padding: 13px 22px; font-size: 14px; font-weight: 600; display: flex;
  align-items: center; gap: 8px; }
.t1 b { color: #8fa2ff; }
.catsec { margin-top: 44px; }
.catsec h2 { font-size: 27px; margin: 0 0 4px; letter-spacing: -.5px; }
.catsub { color: var(--muted); font-size: 15px; margin: 0 0 4px; }
.card.soon { opacity: .85; }
.soon-badge { display: inline-block; background: #0f2f24; color: #34d399;
  border: 1px solid #1f5c43; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }

/* ---- sale pricing ---- */
.sale-row { margin: 2px 0 4px; }
.old-price { color: var(--muted); font-size: 16px; }
.sale-badge { display: inline-block; background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: #fff; font-size: 12px; font-weight: 800; padding: 3px 12px;
  border-radius: 999px; margin-left: 8px; letter-spacing: .5px;
  animation: hotpulse 1.6s ease-in-out infinite; }
.dur { color: var(--muted); font-size: 14px; margin: -2px 0 6px; }
.pdesc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 2px 0 8px; }
/* category explore cards (Design 1) */
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .catgrid { grid-template-columns: 1fr; } }
.ccard { background: #141a33; border: 1px solid #2a3560; border-radius: 16px; padding: 24px 20px; text-align: center; transition: transform .2s, border-color .2s; }
.ccard:hover { transform: translateY(-4px); border-color: #8b7bff; }
.cicon { font-size: 42px; margin-bottom: 10px; }
.ccard h3 { font-size: 18px; margin-bottom: 6px; }
.ccard p { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.ccard .count { display: inline-block; background: #232c55; color: #8b7bff; font-size: 12px; padding: 2px 10px; border-radius: 12px; margin-bottom: 12px; }
.explore { display: inline-block; border: 1px solid #8b7bff; color: #8b7bff; padding: 9px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; }
.explore:hover { background: #8b7bff; color: #fff; }
.preline { white-space: pre-line; }
@media (max-width: 560px) {
  .hero1 { padding: 44px 8px 32px; }
  .hero1 h1 { font-size: 32px; }
  .hero1 p { font-size: 15px; }
  .catsec h2 { font-size: 23px; }
}
