:root { --ink:#e8f4ff; --paper:#061428; --card:rgba(10,40,80,.72); --line:rgba(120,190,255,.35); --accent:#1e88e5; }
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink);
  font-family: Vazirmatn, Tahoma, sans-serif; line-height: 1.7;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(30,136,229,.45), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(0,229,255,.22), transparent 55%),
    linear-gradient(180deg, #07182e, #04101f 40%, #071a33);
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(80,170,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(80,170,255,.08) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(#000, transparent 85%);
}
a { color: #9ad7ff; }
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  padding: 14px 5vw; color: #fff;
  background: rgba(6, 24, 48, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; color: #fff; }
.logo {
  width: 64px; height: 64px; object-fit: contain; border-radius: 16px;
  background: #000; box-shadow: 0 0 24px rgba(66,165,245,.8);
}
@keyframes pulse { 50% { box-shadow: 0 0 36px rgba(129,212,250,1); transform: translateY(-2px); } }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); }
nav a:hover { background: #1565c0; }
.sponsor { margin-inline-start: auto; display: flex; align-items: center; }
.warnline { border-bottom: 1px solid var(--line); background: rgba(6, 24, 48, .95); color: #d7ecff; font-size: 13px; line-height: 1.4; }
.warnline marquee { padding: 4px 0; }
.letter { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1565c0; color: #fff; text-decoration: none; font-weight: 800; }
main { position: relative; padding: 28px 5vw 72px; max-width: 1100px; }
.hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-bottom: 28px; }
.hero .mark { width: 120px; height: 120px; border-radius: 28px; }
h1 { font-size: clamp(36px, 6vw, 64px); margin: 0; text-shadow: 0 0 24px rgba(66,165,245,.7); }
.lede { font-size: 18px; color: #c5e4ff; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card, form, table {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25); backdrop-filter: blur(8px);
}
.card { transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30,136,229,.35); }
.price strong, .card h3 { margin: 0 0 6px; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.pill.open { background: rgba(46,125,50,.35); box-shadow: 0 0 16px rgba(102,187,106,.4); }
.pill.full { opacity: .65; }
label { display: block; margin: 10px 0; }
input, textarea, select, button { font: inherit; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: #fff; }
button, .btn { background: linear-gradient(90deg, #0d47a1, #1e88e5); color: #fff; border: 0; cursor: pointer; text-decoration: none; display: inline-block; padding: 10px 16px; width: auto; box-shadow: 0 8px 20px rgba(21,101,192,.45); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: right; padding: 10px; border-bottom: 1px solid var(--line); }
.medal { font-weight: 800; color: #ffd54f; text-shadow: 0 0 10px rgba(255,213,79,.6); }
.rank { font-size: 22px; color: #81d4fa; }
.contest { margin: 18px 0; }
.winners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.winner { background: linear-gradient(180deg, rgba(255,213,79,.2), transparent); border: 1px solid rgba(255,213,79,.4); border-radius: 12px; padding: 8px 12px; }
.social-row { display: flex; gap: 14px; justify-content: center; margin: 8px 5vw; }
.foot { padding: 20px 5vw 36px; border-top: 1px solid var(--line); color: #b9d7f2; }
.credits { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: #b3e5fc; }
