/* Amar Topup Shop — Tournament Registration (Glass design + gaming background) */
:root {
  --primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --primary-solid: #4834d4;
  --accent: #4834d4;
  --primary-light: #686de0;
  --grad-start: #4facfe;
  --grad-end: #00f2fe;
  --header-h: 65px;
  --footer-navy: #0f0f5c;
  --telegram: #229ED9;
  --text: #ffffff;
  --muted: #d8def5;
  --glass: rgba(16, 16, 42, 0.55);
  --glass-border: rgba(255, 255, 255, 0.18);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', 'Hind Siliguri', sans-serif; -webkit-tap-highlight-color: transparent; }
html, body { min-height: 100vh; overflow-x: clip; scroll-behavior: smooth; }
body {
  background: #0b0b1e url('../img/bg-gaming.jpg') center top / cover no-repeat fixed;
  color: var(--text);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 8, 28, 0.55) 0%, rgba(8, 8, 28, 0.72) 55%, rgba(8, 8, 28, 0.88) 100%);
}
a { text-decoration: none; color: inherit; }
#app { width: 100%; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding-top: var(--header-h); display: flex; flex-direction: column; }
#app > main { flex: 1 0 auto; width: 100%; }

/* Header — glass */
.header { position: fixed; top: 0; width: 100%; height: var(--header-h); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; justify-content: space-between; align-items: center; padding: 0 max(20px, calc((100vw - 1300px) / 2)); z-index: 1002; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.site-logo { height: 50px; width: auto; object-fit: contain; border-radius: 8px; }
.brand-name { font-size: 20px; font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.header-tg { background: var(--telegram); color: #fff; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; box-shadow: 0 4px 16px rgba(34, 158, 217, 0.45); }
.header-tg:hover { filter: brightness(1.1); }

/* Hero — background দেখা যাবে, কোনো solid banner নয় */
.hero { text-align: center; padding: 46px 20px 40px; }
.hero-badge { display: inline-block; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.35); font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 6px 16px; border-radius: 999px; color: #fff; }
.hero h1 { font-family: 'Russo One', 'Poppins', sans-serif; font-size: 38px; font-weight: 400; margin: 16px 0 8px; line-height: 1.2; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65), 0 0 36px rgba(255, 107, 0, 0.5); letter-spacing: 1px; }
.hero-sub { font-size: 16px; color: #e6e9ff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); max-width: 560px; margin: 0 auto; }
.hero-cards { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.hero-card { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 14px 22px; min-width: 150px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35); }
.hc-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.hc-value { display: block; font-size: 20px; font-weight: 700; color: #fff; }
.countdown { margin-top: 26px; }
.cd-label { font-size: 13px; color: #e6e9ff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.cd-row { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.cd-cell { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); border-radius: 14px; padding: 10px 14px; min-width: 74px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.cd-cell b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; color: #fff; }
.cd-cell span { font-size: 12px; color: var(--muted); }
.hero-date { margin-top: 18px; font-size: 14px; color: #e6e9ff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }

/* Form — glass card */
.form-section { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 16px 8px; position: relative; z-index: 2; }
.form-card { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45); padding: 28px 24px; }
.form-card h2 { font-size: 22px; font-weight: 700; color: #fff; text-align: center; }
.form-note { text-align: center; color: var(--muted); font-size: 14px; margin: 6px 0 20px; }
.closed-box { background: rgba(254, 242, 242, 0.14); border: 1px solid rgba(252, 165, 165, 0.5); color: #fca5a5; border-radius: 12px; padding: 14px; text-align: center; font-weight: 600; margin-bottom: 16px; }
.field-label { display: block; font-size: 14px; font-weight: 600; color: #fff; margin: 16px 0 6px; }
.field-label:first-of-type { margin-top: 0; }
input[type="text"], input[type="tel"] { width: 100%; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 12px; padding: 13px 14px; font-size: 16px; color: #fff; background: rgba(255, 255, 255, 0.16); outline: none; }
input[type="text"]::placeholder, input[type="tel"]::placeholder { color: rgba(255, 255, 255, 0.75); }
input[type="text"]:focus, input[type="tel"]:focus { border-color: #7dd3fc; background: rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.25); }
.uid-row { display: flex; gap: 10px; }
.uid-row input { flex: 1; min-width: 0; }
.btn-verify { background: var(--primary-solid); color: #fff; border: none; border-radius: 12px; padding: 0 22px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-verify:disabled { opacity: 0.6; cursor: wait; }
.verify-result { margin-top: 10px; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600; }
.verify-result.ok { background: rgba(20, 83, 45, 0.55); border: 1px solid rgba(74, 222, 128, 0.5); color: #bbf7d0; }
.verify-result.err { background: rgba(127, 29, 29, 0.5); border: 1px solid rgba(252, 165, 165, 0.5); color: #fecaca; }
.verify-result.info { background: rgba(30, 58, 138, 0.5); border: 1px solid rgba(147, 197, 253, 0.5); color: #bfdbfe; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.btn-submit { width: 100%; margin-top: 22px; background: var(--primary); color: #fff; border: none; border-radius: 14px; padding: 15px; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 26px rgba(79, 172, 254, 0.5); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { text-align: center; font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 20px; }
.form-status.err { color: #fca5a5; }
.form-status.info { color: #7dd3fc; }
.success-box { text-align: center; padding: 10px 0 4px; }
.success-icon { font-size: 48px; }
.success-box h3 { font-size: 20px; margin: 8px 0; color: #fff; }
.success-box p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* Telegram — glass card */
.btn-telegram { display: inline-block; background: var(--telegram); color: #fff; font-weight: 700; font-size: 16px; padding: 13px 28px; border-radius: 999px; box-shadow: 0 8px 24px rgba(34, 158, 217, 0.5); }
.btn-telegram:hover { filter: brightness(1.1); }
.btn-telegram.big { font-size: 18px; padding: 15px 34px; }
.tg-section { width: 100%; max-width: 640px; margin: 18px auto 40px; padding: 0 16px; }
.tg-card { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(125, 211, 252, 0.4); border-radius: 20px; padding: 28px 24px; text-align: center; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45); }
.tg-card h2 { font-size: 20px; font-weight: 700; color: #fff; }
.tg-card p { color: var(--muted); font-size: 14px; margin: 10px 0 20px; }

/* Footer — glass */
.footer { background: rgba(10, 10, 30, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, 0.12); color: #fff; margin-top: auto; }
.footer-inner { max-width: 1300px; margin: 0 auto; padding: 28px 20px; text-align: center; }
.footer-logo { height: 38px; width: auto; border-radius: 6px; }
.footer-brand { font-size: 20px; font-weight: 800; }
.footer-text { font-size: 13px; opacity: 0.85; margin-top: 6px; }
.footer-copy { font-size: 12px; opacity: 0.6; margin-top: 10px; }

@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .hero-card { min-width: 0; flex: 1; padding: 12px 10px; }
  .hc-value { font-size: 16px; }
  .brand-name { font-size: 17px; }
  .site-logo { height: 42px; }
  .cd-cell { min-width: 62px; padding: 8px 10px; }
  .cd-cell b { font-size: 22px; }
  .form-card, .tg-card { padding: 22px 16px; }
  .steps { grid-template-columns: 1fr; }
}

/* ── v4: ভেরিফাইড প্লেয়ার কার্ড, ভেরিফাইড ট্যাগ, লাইভ ব্যাজ, স্টেপস ── */
.hero-badge.live { background: rgba(220, 38, 38, 0.45); border-color: rgba(252, 165, 165, 0.6); margin-left: 8px; }
.player-card { margin-top: 12px; background: rgba(20, 83, 45, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(74, 222, 128, 0.55); border-radius: 14px; padding: 14px 16px; text-align: center; }
.pc-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #bbf7d0; letter-spacing: 0.5px; }
.pc-name { font-size: 24px; font-weight: 800; color: #fff; margin: 6px 0 2px; line-height: 1.2; }
.pc-uid { font-size: 13px; color: #a7f3d0; }
.verified-tag { display: inline-block; background: rgba(34, 197, 94, 0.25); border: 1px solid rgba(74, 222, 128, 0.6); color: #bbf7d0; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
input.locked { border-color: rgba(74, 222, 128, 0.6) !important; background: rgba(20, 83, 45, 0.25) !important; cursor: not-allowed; }

/* কীভাবে জয়েন করবে — ৩ ধাপ */
.steps-section { width: 100%; max-width: 900px; margin: 6px auto 24px; padding: 0 16px; }
.steps-section h2 { text-align: center; font-size: 20px; font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); margin-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); border-radius: 16px; padding: 20px 16px; text-align: center; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 19px; font-weight: 800; box-shadow: 0 4px 16px rgba(79, 172, 254, 0.5); }
.step h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 12px 0 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── v6: আসল আইকন (SVG), লাইভ ডট, হিরো কার্ড আইকন ── */
.ic { width: 1.15em; height: 1.15em; vertical-align: -0.18em; display: inline-block; flex: none; }
.ic-lg { width: 56px; height: 56px; color: #4ade80; }
.hc-icon { display: block; margin: 0 auto 6px; width: 22px; height: 22px; color: #fbbf24; }
.hc-icon .ic { width: 22px; height: 22px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; margin-right: 6px; vertical-align: 1px; animation: pulse-dot 1.4s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); } 50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); } }
.btn-submit .ic, .btn-telegram .ic, .btn-group .ic, .btn-youtube .ic { margin-right: 6px; }

/* ── v6: YouTube চ্যানেল সেকশন ── */
.yt-section { width: 100%; max-width: 640px; margin: 0 auto 24px; padding: 0 16px; }
.yt-card { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 0, 0, 0.35); border-radius: 20px; padding: 28px 24px; text-align: center; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45); }
.yt-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #ff0000; color: #fff; box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45); }
.yt-icon .ic { width: 30px; height: 30px; }
.yt-card h2 { font-size: 20px; font-weight: 700; color: #fff; margin: 14px 0 8px; }
.yt-card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.btn-youtube.big { font-size: 17px; padding: 14px 32px; margin-top: 0; }

/* ── v5: YouTube লাইভ বাটন, গ্রুপ বাটন ── */
.btn-youtube { display: inline-block; margin-top: 18px; background: #ff0000; color: #fff; font-weight: 700; font-size: 16px; padding: 13px 28px; border-radius: 999px; box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45); }
.btn-youtube:hover { filter: brightness(1.15); }
.tg-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-group { display: inline-block; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 999px; }
.btn-group:hover { background: rgba(255, 255, 255, 0.22); }
