:root {
  --bg: #0d0d14;
  --panel: #16172a;
  --ink: #f0f0ff;
  --muted: #8887a8;
  --line: #2a2b40;
  --dark: #1e1f35;
  --accent: #6c63ff;
  --ok: #22c55e;
  --radius: 16px;
  --maxw: 1180px;
  --hero: url("https://i.postimg.cc/Kvr041K5/1765560270658.jpg");
}
* {
  box-sizing: border-box;
  transition: all 0.25s ease;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Kumbh Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial;
  font-weight: 600;
}
img {
  max-width: 100%;
  display: block;
}

/* Navbar styles */
.navbar {
  width: 100%;
  background: var(--bg);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 1px 12px rgba(108, 99, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}
.logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.logo-text {
  letter-spacing: -0.5px;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s, text-shadow 0.2s;
}
.nav-link:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(108, 99, 255, 0.6);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}
.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--accent);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 64px;
    flex-direction: column;
    background: var(--panel);
    width: 100%;
    height: calc(100vh - 64px);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    padding: 40px 0;
    gap: 24px;
    border-top: 1px solid var(--line);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }
  
  /* Hamburger animation */
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

/* YouTube Banner styling */
.yt-banner {
  max-width: var(--maxw);
  margin: 18px auto 0;
  padding: 0 14px;
}
.yt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.yt-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.yt-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #cc0000;
  object-fit: cover;
}
.yt-info h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.yt-info span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.yt-sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #cc0000;
  border: 2px solid #cc0000;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.2s ease;
}
.yt-sub-btn:hover {
  background: #fef2f2;
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.15);
}
.yt-icon {
  width: 20px;
  height: 20px;
}
@media (max-width: 600px) {
  .yt-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .yt-left {
    flex-direction: column;
    gap: 8px;
  }
  .yt-sub-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hero image banner */
.hero {
  max-width: var(--maxw);
  margin: 18px auto 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.hero__img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom, rgba(13, 13, 20, 0.55), rgba(13, 13, 20, 0.92)), var(--hero);
  background-size: cover;
  background-position: center bottom;
}
.hero h1 {
  margin: 0 0 8px 0;
  font-size: 36px;
}
.hero p {
  margin: 0;
  opacity: .95;
}

/* NEW persistent Robux header (under banner) */
.qsbar {
  max-width: var(--maxw);
  margin: 12px auto 0;
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 12px;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.2);
  color: var(--accent);
  transition: all 0.25s ease;
}
.qsbar--green {
  background: rgba(34, 197, 94, 0.05);
  border-color: var(--ok);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
}
.qsbar .qsval {
  transition: color .4s;
}
.qsbar--green .qsval {
  color: var(--ok);
  animation: pulse-glow 2s infinite ease-in-out;
  display: inline-block;
}
@keyframes pulse-glow {
  0% { transform: scale(1); text-shadow: 0 0 4px var(--ok); }
  50% { transform: scale(1.05); text-shadow: 0 0 12px var(--ok); }
  100% { transform: scale(1); text-shadow: 0 0 4px var(--ok); }
}

.wrap {
  max-width: var(--maxw);
  margin: 22px auto;
  padding: 0 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.08);
}
.title {
  font-size: 32px;
  margin: 0 0 12px;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(108, 99, 255, 0.4);
}
.input {
  width: 100%;
  max-width: 420px;
  padding: 12px 15px;
  background: #1e1f35;
  border: 2px solid var(--line);
  border-radius: 12px;
  outline: none;
  font-size: 17px;
  color: var(--ink);
  transition: all 0.25s ease;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.3);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-dark {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}
.btn-dark:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(108, 99, 255, 0.4);
}
.btn-ok {
  background: var(--ok);
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.btn-ok:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

/* Steps */
.box { display: block; }
.box2, .box3, .box4 { display: none; }

/* Packages */
.container {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  border: 1px solid var(--line);
}
.row {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: #1e1f35;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
}
.row:hover {
  background: #252647;
  border-left: 3px solid var(--accent);
}
.row:first-child {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.row:last-child {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-bottom: none;
}
.row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.row-bottom {
  margin-top: 6px;
  display: flex;
  align-items: center;
}
.robux-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.15);
  transition: all 0.25s ease;
}
.row:hover .robux-side {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 16px rgba(108, 99, 255, 0.3);
}
.robux-main {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.robux-crossed {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 2px;
}
.price-side {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-crossed {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}
.price-main {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.promo-badge {
  font-size: 13px;
  color: #ffffff;
  font-weight: 800;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.3);
  display: inline-flex;
  align-items: center;
}
.rbx {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Folding-cube loader updated with --accent */
.loaderWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}
.roblox-purple-spinner {
  width: 90px;
  height: 90px;
  position: relative;
  margin: 0 auto;
  transform: rotate(15deg);
  animation: roblox-glow-spin 2s ease-in-out infinite;
}
.roblox-purple-spinner .logo-body {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 12px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28% 100%, 0% 72%);
}
.roblox-purple-spinner .logo-fold {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  height: 45%;
  background: #4f46e5;
  clip-path: polygon(0 100%, 100% 100%, 62% 38%, 0 38%);
  border-bottom-left-radius: 12px;
  opacity: 0.95;
}
.roblox-purple-spinner .logo-hole {
  position: absolute;
  top: 32%;
  left: 32%;
  width: 36%;
  height: 36%;
  background: var(--panel);
}
@keyframes roblox-glow-spin {
  0% { transform: rotate(15deg) scale(1); }
  50% { transform: rotate(195deg) scale(1.08); }
  100% { transform: rotate(375deg) scale(1); }
}
.loadText {
  margin-top: 22px;
  font-size: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Locker UNDER the button */
.verifyMsg {
  display: none;
  margin: 14px 0 6px;
  padding: 10px 12px;
  background: #1e1f35;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
}
.locker {
  display: none;
  margin: 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}
.locker__body { height: 420px; }
.locker__body iframe { width: 100%; height: 100%; border: 0; }
.para {
  max-width: var(--maxw);
  margin: 26px auto 50px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
  padding: 0 14px;
  text-align: center;
}

/* Responsive Layout */
@media (max-width: 1042px) {
  .hero, .wrap, .yt-banner {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .hero, .wrap, .yt-banner {
    max-width: 100%;
    margin-top: 12px;
  }
  .card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .title {
    font-size: 26px;
  }
  .qsbar {
    font-size: 16px;
    padding: 10px 12px;
  }
}

@media (max-width: 560px) {
  .card {
    padding: 16px 12px;
  }
  .row {
    padding: 14px 12px;
  }
  .row-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .robux-side {
    align-self: flex-start;
    width: 100%;
    justify-content: center;
    padding: 6px 12px;
  }
  .price-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 4px;
  }
  .price-main {
    font-size: 16px;
  }
  .price-crossed {
    font-size: 13px;
  }
  .promo-badge {
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }
  .input {
    font-size: 16px;
    padding: 10px 12px;
    max-width: 100%;
  }
  .btn {
    width: 100%;
  }
  #subSection {
    padding: 16px 12px !important;
  }
}

@media (max-width: 400px) {
  .nav-container {
    padding: 0 16px;
  }
  .logo {
    font-size: 18px;
    gap: 8px;
  }
  .logo img {
    width: 28px;
    height: 28px;
  }
  .card {
    padding: 14px 10px;
  }
}

/* Username search result (Step 2) */
.searchResult { margin-top: 10px; }
.foundCard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.foundAvatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.nameRow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--ink);
}
.ok { color: var(--ok); }
.bad { color: #dc2626; }
.confirmBtn { margin-top: 10px; }

/* Step-4 “sending” visual */
.sendVisual {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
}
.sendLeft {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.pipe {
  flex: 1;
  position: relative;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.pipe .dot {
  position: absolute;
  left: -10px;
  top: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ok);
  animation: sendDot 1s linear infinite;
}
@keyframes sendDot { 0% { left: -10px; } 100% { left: calc(100% - 4px); } }
.sendRight { display: flex; align-items: center; gap: 10px; }
.sendAvatar {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.sendName { font-weight: 800; }

.sendVisual {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}
.sendLeft, .sendAvatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 0 0 auto;
}
.pipe {
  position: relative;
  width: 100%;
  height: 16px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.pipe .dot {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok);
  will-change: left;
  animation: sendDotAcross 1.1s linear infinite;
}
@keyframes sendDotAcross { from { left: 0%; } to { left: 100%; } }
.sendRight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}
.sendName {
  font-weight: 800;
  text-align: center;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .sendLeft { width: 56px; height: 56px; }
  .sendAvatar { width: 52px; height: 52px; }
  .sendName { font-size: 12px; max-width: 70px; }
  .sendVisual { gap: 12px; grid-template-columns: auto minmax(80px, 1fr) auto; }
}
.hideSV { display: none !important; }

/* Generating & Success screens */
.genWrap, .successWrap {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px 12px;
}
.genImg {
  width: 150px;
  max-width: 40%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.15);
}
.genText {
  margin: 14px 0 0;
  font-size: 18px;
  opacity: .9;
}
.dots::after { content: "."; animation: dots 1.4s steps(4, end) infinite; }
@keyframes dots { 0% { content: "."; } 25% { content: ".."; } 50% { content: "..."; } 75% { content: "...."; } 100% { content: "."; } }

.successWrap { position: relative; }
.successBadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid var(--ok);
  background: rgba(34, 197, 94, 0.05);
  color: var(--ok);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
}
.check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid var(--ok);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* burst poppers */
.poppers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.popper {
  position: absolute;
  width: 42px;
  height: 42px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.2);
  animation: pop .9s ease-out forwards;
}
@keyframes pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(0); }
  20% { opacity: 1; }
  60% { transform: translate(-50%, -50%) scale(1.15) rotate(15deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}

/* fly number to header */
.flyNum {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-weight: 900;
  font-size: 28px;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: left 1.1s ease, top 1.1s ease, transform 1.1s ease, opacity .6s ease .8s;
}
