.rbx-widgets-root { position: fixed; inset: 0; pointer-events: none; z-index: 9999; font-family: 'Inter', 'Segoe UI', sans-serif; }
.rbx-widget-btn { pointer-events: auto; position: fixed; bottom: 20px; width: 66px; height: 66px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.2); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; font-size: 28px; }
.rbx-widget-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 42px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.35); }
.rbx-widget-btn span { filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.rbx-support-btn { left: 18px; background: linear-gradient(145deg, #7867ff, #5141e4); }
.rbx-chat-btn { right: 18px; background: linear-gradient(145deg, #12b886, #0f766e); }
.rbx-widget-panel { pointer-events: auto; position: fixed; bottom: 96px; width: min(95vw, 380px); background: #0e1320; color: #f8faff; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 16px 38px rgba(0,0,0,.42); overflow: hidden; display: none; }
.rbx-widget-panel.open { display: block; }
.rbx-support-panel { left: 18px; max-height: min(74vh, 700px); overflow: auto; }
.rbx-chat-panel { right: 18px; height: min(72vh, 600px); display: none; flex-direction: column; }
.rbx-chat-panel.open { display: flex; }
.rbx-widget-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.09); }
.rbx-widget-header h4 { margin: 0; font-size: 14px; }
.rbx-widget-header button { background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.rbx-support-content { padding: 14px; font-size: 13px; line-height: 1.45; }
.rbx-support-content h5 { margin: 10px 0 6px; font-size: 13px; color: #cbd5ff; }
.rbx-support-content ul { margin: 6px 0 0 16px; padding: 0; }
.rbx-support-content a { color: #7dd3fc; }
.rbx-discord-link { margin-bottom: 14px; padding: 12px; border: 1px solid rgba(88,101,242,.34); border-radius: 14px; background: linear-gradient(145deg, rgba(88,101,242,.17), rgba(124,77,255,.09)); }
.rbx-discord-link h5 { margin-top: 0; color: #d9dcff; }
.rbx-discord-link p { margin: 7px 0; color: #c4bdd1 !important; }
.rbx-discord-link > small { display: block; margin-top: 8px; color: #958ba7; line-height: 1.4; }
.rbx-discord-link > button { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 9px 11px; color: #fff; font-weight: 750; cursor: pointer; background: linear-gradient(135deg, #5865f2, #7c4dff); }
.rbx-discord-link > button:disabled { cursor: not-allowed; opacity: .55; }
.rbx-discord-link > .rbx-discord-disconnect { display: none; margin-top: 7px; color: #ffc4cf; border-color: rgba(244,63,94,.35); background: rgba(244,63,94,.10); box-shadow: none; }
.rbx-discord-link.is-success, .rbx-discord-link.is-connected { border-color: rgba(34,197,94,.42); }
.rbx-discord-link.is-error { border-color: rgba(244,63,94,.48); }
.rbx-discord-profile { display: flex; align-items: center; gap: 9px; }
.rbx-discord-profile:empty { display: none; }
.rbx-discord-profile img, .rbx-discord-avatar-fallback { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 800; background: #5865f2; border: 1px solid rgba(255,255,255,.18); }
.rbx-discord-profile span { display: grid; }
.rbx-discord-profile strong { color: #fff; font-size: 13px; }
.rbx-discord-profile small { color: #aaa0ba; font-size: 11px; }
.rbx-contact-form { margin-top: 10px; display: grid; gap: 8px; }
.rbx-contact-form input, .rbx-contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); background: #101829; color: #fff; border-radius: 8px; padding: 8px; }
.rbx-contact-form button { border: none; border-radius: 8px; padding: 8px 10px; background: #6366f1; color: #fff; font-weight: 600; cursor: pointer; }
.rbx-contact-note { margin-top: 8px; color: #9ca3af; font-size: 12px; }
.rbx-chat-messages { flex: 1; overflow: auto; padding: 12px; display: grid; gap: 9px; background: #0b0f18; }
.rbx-chat-msg { display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: start; }
.rbx-chat-msg img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #111827; border: 1px solid rgba(255,255,255,.12); }
.rbx-chat-msg b { font-size: 12px; }
.rbx-chat-msg p { margin: 2px 0 0; font-size: 12px; color: #e5e7eb; word-break: break-word; }
.rbx-chat-meta { font-size: 10px; color: #9ca3af; }
.rbx-chat-form { border-top: 1px solid rgba(255,255,255,.1); padding: 10px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.rbx-chat-form input { background: #111827; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #fff; padding: 8px; }
.rbx-chat-form button { border: none; border-radius: 8px; background: #10b981; color: #fff; padding: 0 12px; font-weight: 700; }
.rbx-chat-status { padding: 0 10px 8px; font-size: 11px; color: #93c5fd; min-height: 16px; }
@media (max-width: 680px) {
  .rbx-widget-btn { width: 62px; height: 62px; font-size: 26px; }
  .rbx-widget-panel { bottom: 86px; width: calc(100vw - 16px); }
  .rbx-support-panel { left: 8px; }
  .rbx-chat-panel { right: 8px; }
  .rbx-support-btn { left: 8px; }
  .rbx-chat-btn { right: 8px; }
}

/* RBXPRO 2026 premium dark/glow theme refresh.
   Inspired by modern Robux dashboard aesthetics, while keeping RBXPRO content and functionality intact. */
:root {
  --rbxpro-pink: #ff2f9f;
  --rbxpro-cyan: #00d8ff;
  --rbxpro-violet: #8f55ff;
  --rbxpro-purple: #6f49ff;
  --rbxpro-bg: #06040b;
  --rbxpro-ink: #f8f6ff;
  --rbxpro-muted: #a79abb;
  --rbxpro-panel: rgba(18, 11, 28, 0.82);
  --rbxpro-panel-strong: rgba(24, 14, 38, 0.94);
  --rbxpro-line: rgba(169, 105, 255, 0.22);
  --rbxpro-line-hot: rgba(255, 47, 159, 0.42);
  --rbxpro-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --rbxpro-glow: 0 0 34px rgba(143, 85, 255, 0.36);
}

html {
  scrollbar-color: rgba(143, 85, 255, 0.58) #08050f;
}

body {
  color: var(--rbxpro-ink) !important;
  background:
    radial-gradient(900px 420px at 78% 8%, rgba(111, 73, 255, 0.22), transparent 72%),
    radial-gradient(700px 340px at 16% 18%, rgba(255, 47, 159, 0.18), transparent 72%),
    linear-gradient(180deg, #05030a 0%, #090611 44%, #05030a 100%) !important;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 4, 14, 0.1), rgba(8, 4, 14, 0.8));
}

::selection {
  background: rgba(255, 47, 159, 0.34);
  color: #fff;
}

.container {
  width: min(1240px, 94vw) !important;
}

.topbar,
.navbar {
  min-height: 76px !important;
  border-bottom: 1px solid rgba(169, 105, 255, 0.14) !important;
  background: rgba(7, 4, 13, 0.76) !important;
  backdrop-filter: blur(22px) saturate(130%) !important;
  box-shadow: none !important;
}

.topbar-inner,
.navbar-container {
  min-height: 76px !important;
}

.brand,
.navbar-brand .logo {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  color: #fff !important;
  font-weight: 950 !important;
  letter-spacing: -0.055em !important;
  text-shadow: 0 0 18px rgba(143, 85, 255, 0.24);
}

.brand::before,
.navbar-brand .logo::before {
  content: "⬡";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  color: #d6b3ff;
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(143, 85, 255, 0.9);
}

.brand .accent,
.navbar-brand .logo,
.accent {
  background: linear-gradient(125deg, var(--rbxpro-cyan), var(--rbxpro-pink) 46%, var(--rbxpro-violet)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.nav a,
.navbar-menu a,
.footer-links a,
.footer-nav a,
.footer-nav li a {
  color: #b7a9ce !important;
  border-radius: 14px !important;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, border-color 0.22s ease !important;
}

.nav a:hover,
.nav a.is-active,
.navbar-menu a:hover,
.footer-links a:hover,
.footer-nav a:hover,
.footer-nav li a:hover {
  color: #fff !important;
  background: rgba(143, 85, 255, 0.12) !important;
  transform: translateY(-1px);
}

.btn,
button,
.redeem-btn,
.back-btn,
.game-btn,
.mobile-toggle {
  border-radius: 14px !important;
}

.btn-primary,
.redeem-btn,
.modal-content button,
.back-btn,
.game-btn:not(.secondary) {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(135deg, #ff2f9f 0%, #8f55ff 58%, #00d8ff 130%) !important;
  box-shadow: 0 14px 34px rgba(143, 85, 255, 0.34), inset 0 1px 0 rgba(255,255,255,0.22) !important;
}

.btn-primary:hover,
.redeem-btn:hover,
.modal-content button:hover,
.back-btn:hover,
.game-btn:not(.secondary):hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08);
}

.btn-soft,
.game-btn.secondary {
  border: 1px solid var(--rbxpro-line) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

.hero,
.hero-copy,
.hero-side,
.panel,
.promo-code-section,
.board,
.confirmation-card,
.login-shell,
.compact-card,
.card,
.streak-panel,
.game-card,
.game-modal-shell,
.withdraw-option-card,
.highlight-card,
.earn-podium-card,
.podium-card,
.stat,
.secure,
.modal-content,
.rbx-widget-panel {
  border: 1px solid var(--rbxpro-line) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 47, 159, 0.12), transparent 38%),
    radial-gradient(circle at 90% 12%, rgba(0, 216, 255, 0.10), transparent 38%),
    linear-gradient(155deg, rgba(22, 13, 35, 0.96), rgba(9, 6, 16, 0.97)) !important;
  box-shadow: var(--rbxpro-shadow), inset 0 1px 0 rgba(255,255,255,0.055) !important;
}

.hero,
.login-shell,
.promo-code-section,
.page .panel:first-child,
.streak-panel {
  border-radius: 28px !important;
}

.hero {
  position: relative;
  overflow: hidden;
}

body:has(.hero-grid) .hero {
  padding: clamp(70px, 8vw, 116px) 0 48px !important;
}

.hero-grid {
  position: relative;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.86fr) !important;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem) !important;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 2.6rem) !important;
  border-color: transparent !important;
  background: linear-gradient(90deg, rgba(8, 4, 14, 0.45), rgba(8, 4, 14, 0.08)) !important;
  box-shadow: none !important;
}

.hero-copy h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(3rem, 7.4vw, 6.45rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.075em !important;
  text-shadow: 0 16px 60px rgba(0,0,0,0.6);
}

.hero-copy h1 span,
h1.title,
.section h2 span,
.section-title-spotlight,
.section-title-games {
  color: var(--rbxpro-violet) !important;
  text-shadow: 0 0 34px rgba(143, 85, 255, 0.78) !important;
}

.hero-copy p,
.section-intro,
.card p,
.compact-card p,
.user-details p,
.muted,
.state,
td,
.login-description,
.promo-code-section p,
.rbx-support-content,
.game-sub {
  color: var(--rbxpro-muted) !important;
}

.badge,
.earn-tag,
.balance-chip,
.balance-pill,
.game-badge,
.tag,
.stat-pill,
.pill {
  border: 1px solid rgba(143, 85, 255, 0.34) !important;
  color: #dbc6ff !important;
  background: rgba(143, 85, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-side {
  position: relative;
  min-height: 420px;
  padding: 1.15rem !important;
  transform: perspective(1100px) rotateY(-12deg) rotateX(4deg);
  transform-origin: center;
  isolation: isolate;
}

.hero-side::before {
  content: "RBXPRO  EARNINGS";
  display: block;
  margin-bottom: 24px;
  color: #ddd3ff;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-side::after {
  content: "";
  position: absolute;
  inset: 106px 34px 84px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,47,159,0.06), rgba(143,85,255,0.36)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620 250'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop stop-color='%23ff2f9f'/%3E%3Cstop offset='1' stop-color='%2300d8ff'/%3E%3C/linearGradient%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='5' result='b'/%3E%3CfeMerge%3E%3CfeMergeNode in='b'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0 160 C95 80 160 196 245 126 S390 88 475 134 S568 176 620 128' fill='none' stroke='url(%23g)' stroke-width='10' stroke-linecap='round' filter='url(%23glow)'/%3E%3Cpath d='M0 180 C95 100 160 216 245 146 S390 108 475 154 S568 196 620 148 L620 250 L0 250 Z' fill='%238f55ff' opacity='.30'/%3E%3C/svg%3E") center/cover no-repeat;
  border: 1px solid rgba(169,105,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 60px rgba(143,85,255,0.24);
  pointer-events: none;
}

.hero-side img {
  height: 92px !important;
  max-height: 92px !important;
  opacity: 0.26;
  filter: saturate(1.2) contrast(1.08);
}

.stats {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
}

.stat,
.streak-stat,
.stat-pill {
  background: rgba(255,255,255,0.045) !important;
  border-color: rgba(169,105,255,0.22) !important;
}

.num,
.balance-display,
#rbxbalance,
.withdraw-price,
.earn-podium-earned,
.stat-pill strong,
.streak-stat strong {
  color: #bc7cff !important;
  text-shadow: 0 0 22px rgba(143, 85, 255, 0.52);
}

.section {
  position: relative;
  padding: clamp(58px, 8vw, 94px) 0 !important;
}

.section h2,
.section-title,
.withdraw-options-header h1,
.promo-code-section h1,
.login-card h1,
.board h2 {
  color: #fff !important;
  letter-spacing: -0.045em !important;
  text-shadow: 0 12px 44px rgba(0,0,0,0.5);
}

.methods,
.stories,
.cards-grid,
.offerwalls-grid,
.quick-nav,
.games-grid {
  gap: 1rem !important;
}

.card,
.compact-card,
.withdraw-option-card,
.quick-nav-item,
.offerwall-card,
.game-launcher-card,
.podium-card,
.earn-podium-card {
  border-radius: 20px !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.card:hover,
.compact-card:hover,
.withdraw-option-card:hover,
.quick-nav-item:hover,
.offerwall-card:hover,
.game-launcher-card:hover,
.podium-card:hover,
.earn-podium-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255, 47, 159, 0.5) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,0.5), 0 0 34px rgba(143,85,255,0.18) !important;
}

.method-icon,
.card-icon,
.compact-card-icon,
.shield,
.user-avatar,
.game-launcher-icon,
.earn-podium-medal,
.avatar {
  border: 1px solid rgba(169, 105, 255, 0.26) !important;
  background: linear-gradient(145deg, rgba(143,85,255,0.22), rgba(255,47,159,0.11)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 24px rgba(143,85,255,0.16);
}

.quick-nav-item {
  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(169,105,255,0.2) !important;
}

input,
textarea,
select,
.withdraw-input,
.promo-input,
.game-bet-input,
.rbx-contact-form input,
.rbx-contact-form textarea,
.rbx-chat-form input {
  color: #fff !important;
  border: 1px solid rgba(169,105,255,0.25) !important;
  background: rgba(255,255,255,0.055) !important;
  border-radius: 14px !important;
  outline: none !important;
}

input:focus,
textarea:focus,
select:focus,
.withdraw-input:focus,
.promo-input:focus,
.game-bet-input:focus {
  border-color: rgba(255,47,159,0.58) !important;
  box-shadow: 0 0 0 4px rgba(255,47,159,0.10), 0 0 28px rgba(143,85,255,0.20) !important;
}

table {
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

tbody tr {
  background: rgba(255,255,255,0.04) !important;
  box-shadow: inset 0 0 0 1px rgba(169,105,255,0.14);
}

tbody td:first-child { border-radius: 14px 0 0 14px; }
tbody td:last-child { border-radius: 0 14px 14px 0; }

.footer,
footer {
  color: var(--rbxpro-muted) !important;
  border-top: 1px solid rgba(169,105,255,0.14) !important;
  background: linear-gradient(180deg, rgba(7,4,13,0), rgba(7,4,13,0.72)) !important;
}

.rbx-widget-btn {
  background: linear-gradient(145deg, #ff2f9f, #8f55ff) !important;
  box-shadow: 0 18px 46px rgba(143,85,255,0.38), inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

.rbx-chat-btn {
  background: linear-gradient(145deg, #00d8ff, #6f49ff) !important;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-side {
    min-height: 340px;
    transform: none;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .navbar-container {
    min-height: 68px !important;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 15vw, 4.6rem) !important;
  }

  .hero-side {
    min-height: 280px;
  }

  .hero-side::after {
    inset: 96px 18px 74px;
  }
}
