/* =============== Base =============== */
:root {
  --bg0: #061522;
  --bg1: #071c2b;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.10);
  --line2: rgba(255, 255, 255, 0.16);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --muted2: rgba(255, 255, 255, 0.55);
  --blue: #4ea1ff;
  --blue2: #2f7fe0;
  --warn: #f6c343;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.40);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(78, 161, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(78, 161, 255, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  overflow-x: hidden;
}

a {
  color: var(--blue);
}

a:hover {
  color: #7bbcff;
}

.bg {
  position: fixed;
  inset: -40px;
  background: radial-gradient(700px 500px at 30% 10%, rgba(78, 161, 255, 0.16), transparent 60%),
    radial-gradient(600px 400px at 70% 0%, rgba(78, 161, 255, 0.10), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/* =============== Topbar =============== */
.topbar {
  max-width: 1080px;
  margin: 28px auto 18px;
  padding: 0 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.logo {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  object-fit: contain;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 20px;
  line-height: 1.2;
}

.brand-tagline {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.toplinks {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 4px;
}

.toplink {
  text-decoration: none;
  font-size: 13px;
  color: rgba(120, 190, 255, 0.95);
  border-bottom: 1px solid rgba(120, 190, 255, 0.25);
  padding-bottom: 2px;
}

.toplink:hover {
  border-bottom-color: rgba(120, 190, 255, 0.55);
}

/* =============== Layout =============== */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px 38px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============== Cards =============== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
  line-height: 1.45;
}

.bullets {
  margin: 10px 0 10px 18px;
  padding: 0;
}

.bullets li {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.86);
}

/* =============== Info/Warn blocks =============== */
.info-box {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 10px;
  background: rgba(78, 161, 255, 0.10);
  border: 1px solid rgba(78, 161, 255, 0.18);
}

.info-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.info-text {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.warn {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 10px;
  background: rgba(246, 195, 67, 0.10);
  border: 1px solid rgba(246, 195, 67, 0.22);
  position: relative;
}

.warn:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: rgba(246, 195, 67, 0.75);
  border-radius: 3px;
}

.warn-title {
  font-weight: 900;
  margin-left: 10px;
}

.warn-text {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.45;
}

/* =============== Buttons =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: transform .08s ease, background .12s ease, border-color .12s ease, color .12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.primary {
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color: #071726;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 24px rgba(78, 161, 255, 0.22);
}

.primary:hover {
  filter: brightness(1.05);
}

.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--line2);
}

.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* =============== CTA Card (Game Packages) =============== */
.cta-row {
  margin-top: 12px;
}

.cta-card {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}

.cta-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.cta-title {
  font-weight: 900;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.92);
}

.cta-sub {
  opacity: 0.85;
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.78);
}

/* =============== Referral code line =============== */
.refcode {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.refcode span {
  color: rgba(255, 255, 255, 0.90);
  font-weight: 800;
}

/* =============== Mini card inside right =============== */
.mini-card {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.mini-text {
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.45;
}

/* =============== Guide section =============== */
.guide {
  margin-top: 22px;
}

.guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.guide-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.guide-body {
  margin-top: 14px;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

.guide-box {
  padding: 12px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =============== Footer =============== */
.foot {
  margin-top: 18px;
  text-align: center;
  padding: 10px 0 0;
}

.foot-row {
  margin-top: 6px;
}

.primary-btn {
  display: inline-block;
  padding: 14px 24px;
  background: linear-gradient(135deg, #2b6cff, #4aa3ff);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
}