@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Fredoka:wght@400;500;600;700&display=swap');

/* =========================================================
   STEAL AN EGG - AUTHENTIC ROBLOX EXPERIENCE THEME
   Replication of official Roblox experience page & user layout
   Clean Roblox Light Mode by default, Dark Mode toggleable
   ========================================================= */

:root {
  /* Official Roblox Light Theme Canvas (Default - Matches Screenshot) */
  --rbx-bg-body: #f2f4f5;
  --rbx-bg-page: #ffffff;
  --rbx-bg-card: #ffffff;
  --rbx-bg-card-hover: #f8fafc;
  --rbx-bg-inner: #f2f4f5;
  --rbx-bg-modal: #ffffff;
  --rbx-bg-input: #ffffff;
  --rbx-bg-header: #ffffff;

  /* Official Roblox Borders */
  --rbx-border-subtle: #e3e5e8;
  --rbx-border-medium: #d0d3d8;
  --rbx-border-highlight: #b0b5bd;

  /* Official Roblox Typography */
  --rbx-text-primary: #191919;
  --rbx-text-secondary: #505256;
  --rbx-text-muted: #656565;
  --rbx-text-subtle: #8a8d91;
  --rbx-link: #0074ff;
  --rbx-link-hover: #0056b3;

  /* Official Roblox Accents */
  --rbx-blue: #0066ff;
  --rbx-blue-hover: #0052cc;
  --rbx-blue-glow: rgba(0, 102, 255, 0.22);

  --rbx-green: #00b06f;
  --rbx-green-hover: #009960;
  --rbx-green-glow: rgba(0, 176, 111, 0.25);

  --rbx-gold: #d97706;
  --rbx-red: #dc2626;

  /* Rarity Colors */
  --rarity-divine: #7c3aed;
  --rarity-divine-bg: rgba(124, 58, 237, 0.1);
  --rarity-secret: #d97706;
  --rarity-secret-bg: rgba(217, 119, 6, 0.1);
  --rarity-eternal: #0284c7;
  --rarity-eternal-bg: rgba(2, 132, 199, 0.1);
  --rarity-mythical: #e11d48;
  --rarity-mythical-bg: rgba(225, 29, 72, 0.1);
  --rarity-legendary: #ea580c;
  --rarity-legendary-bg: rgba(234, 88, 12, 0.1);
  --rarity-event: #16a34a;
  --rarity-event-bg: rgba(22, 163, 74, 0.1);

  /* Fonts */
  --font-main: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-badge: 'Fredoka', sans-serif;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Shadows */
  --rbx-shadow-card: 0 1px 4px rgba(0, 0, 0, 0.08);
  --rbx-shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   OFFICIAL ROBLOX DARK THEME (OPTIONAL TOGGLE)
   ========================================================= */
body.dark-theme {
  --rbx-bg-body: #111216;
  --rbx-bg-page: #191b1d;
  --rbx-bg-card: #232527;
  --rbx-bg-card-hover: #2b2e31;
  --rbx-bg-inner: #191b1d;
  --rbx-bg-modal: #232527;
  --rbx-bg-input: #191b1d;
  --rbx-bg-header: #191b1d;

  --rbx-border-subtle: #2d3034;
  --rbx-border-medium: #3b3f44;
  --rbx-border-highlight: #4d5259;

  --rbx-text-primary: #ffffff;
  --rbx-text-secondary: #c7c9cc;
  --rbx-text-muted: #8b9096;
  --rbx-text-subtle: #6b7077;
  --rbx-link: #38bdf8;
  --rbx-link-hover: #7dd3fc;

  --rbx-blue: #0066ff;
  --rbx-blue-hover: #2575fc;
  --rbx-blue-glow: rgba(0, 102, 255, 0.35);

  --rbx-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.3);
  --rbx-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--rbx-bg-body);
  color: var(--rbx-text-primary);
  font-family: var(--font-main);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.weapon-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.is-ready {
  opacity: 1;
  transition: opacity 0.25s ease-in;
}

a {
  color: var(--rbx-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--rbx-link-hover);
  text-decoration: underline;
}

/* =========================================================
   1. OFFICIAL ROBLOX NAVIGATION BAR
   ========================================================= */

.rbx-navbar {
  background: var(--rbx-bg-header);
  border-bottom: 1px solid var(--rbx-border-subtle);
  height: 54px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rbx-navbar-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.rbx-navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rbx-menu-btn {
  background: none;
  border: none;
  color: var(--rbx-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: var(--radius-xs);
  transition: color 0.15s, background 0.15s;
}

.rbx-menu-btn:hover {
  color: var(--rbx-text-primary);
  background: var(--rbx-bg-inner);
}

.rbx-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--rbx-text-primary);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none !important;
}

.rbx-logo-icon {
  width: 28px;
  height: 28px;
}

.rbx-nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  margin-left: 0.5rem;
}

@media (min-width: 820px) {
  .rbx-nav-links {
    display: flex;
  }
}

.rbx-nav-link {
  color: var(--rbx-text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.15s ease;
  padding: 0.35rem 0;
}

.rbx-nav-link:hover {
  color: var(--rbx-text-primary);
}

.rbx-nav-link.active {
  color: var(--rbx-text-primary);
  border-bottom: 2px solid var(--rbx-blue);
}

.rbx-navbar-center {
  flex: 1;
  max-width: 440px;
  display: none;
}

@media (min-width: 640px) {
  .rbx-navbar-center {
    display: block;
  }
}

.rbx-search-box {
  position: relative;
  width: 100%;
}

.rbx-search-box i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rbx-text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.rbx-search-input {
  width: 100%;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-medium);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem 0.45rem 2.25rem;
  color: var(--rbx-text-primary);
  font-size: 0.88rem;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.rbx-search-input:focus {
  outline: none;
  border-color: var(--rbx-blue);
  background: var(--rbx-bg-page);
  box-shadow: 0 0 0 2px var(--rbx-blue-glow);
}

.rbx-navbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rbx-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 176, 111, 0.1);
  border: 1px solid rgba(0, 176, 111, 0.3);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rbx-green);
}

.rbx-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rbx-green);
  box-shadow: 0 0 6px var(--rbx-green);
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.rbx-robux-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-subtle);
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--rbx-text-primary);
}

.rbx-robux-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.rbx-icon-btn {
  background: none;
  border: none;
  color: var(--rbx-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
  font-size: 1rem;
}

.rbx-icon-btn:hover {
  color: var(--rbx-text-primary);
  background: var(--rbx-bg-inner);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-button {
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-medium);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--rbx-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.82rem;
  pointer-events: none;
}

.lang-switcher:hover .lang-button {
  background: var(--rbx-bg-card-hover);
  color: var(--rbx-text-primary);
  border-color: var(--rbx-blue);
}

.lang-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  appearance: menulist;
}

@media (max-width: 640px) {
  .rbx-navbar {
    padding: 0 0.5rem;
    height: 48px;
  }
  .rbx-navbar-inner {
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
  }
  .rbx-navbar-left {
    gap: 0.35rem;
  }
  .rbx-logo span {
    display: none;
  }
  .rbx-navbar-right {
    gap: 0.3rem;
  }
  .rbx-active-pill span {
    display: none;
  }
  .rbx-active-pill {
    padding: 0.2rem 0.45rem;
    font-size: 0.74rem;
    gap: 0.3rem;
  }
  .rbx-robux-pill {
    padding: 0.2rem 0.45rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }
  .rbx-nav-bell {
    display: none !important;
  }
  .rbx-icon-btn {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  .lang-button {
    padding: 0.22rem 0.45rem;
    font-size: 0.74rem;
    gap: 0.3rem;
  }
}

/* =========================================================
   2. MAIN CONTAINER & HERO SHOWCASE (MATCHING USER SCREENSHOT)
   ========================================================= */

.rbx-main-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .rbx-main-wrap {
    margin: 0.75rem auto 2rem;
    padding: 0 0.5rem;
  }
}

/* Hero Card */
.rbx-game-hero {
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--rbx-shadow-card);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 640px) {
  .rbx-game-hero {
    padding: 0.85rem;
    gap: 1rem;
    border-radius: var(--radius-sm);
  }
}

@media (min-width: 860px) {
  .rbx-game-hero {
    grid-template-columns: minmax(340px, 620px) 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }
}

/* 16:9 Showcase Carousel Slider Track */
.rbx-media-showcase {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--rbx-border-subtle);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  user-select: none;
}

.rbx-carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.rbx-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease-in-out, visibility 0.35s ease-in-out;
}

.rbx-slide.active {
  opacity: 1;
  visibility: visible;
}

.rbx-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Circular Carousel Navigation Arrows (< and >) */
.rbx-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
}

.rbx-carousel-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.rbx-carousel-arrow svg {
  width: 22px;
  height: 22px;
  fill: #191919;
}

.rbx-arrow-prev {
  left: 14px;
}

.rbx-arrow-next {
  right: 14px;
}

/* Carousel Dots */
.rbx-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.rbx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.rbx-dot.active {
  background: #ffffff;
  width: 18px;
  border-radius: 4px;
}

/* Right Details Column */
.rbx-info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rbx-game-title-wrap {
  margin-bottom: 0.85rem;
}

.rbx-game-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
  line-height: 1.15;
  margin-bottom: 0.35rem;
  letter-spacing: -0.3px;
}

@media (min-width: 640px) {
  .rbx-game-title {
    font-size: 2.35rem;
  }
}

.rbx-creator-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--rbx-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.rbx-creator-link {
  color: var(--rbx-text-primary);
  font-weight: 700;
}

.rbx-creator-link:hover {
  color: var(--rbx-blue);
  text-decoration: underline;
}

.rbx-verified-icon {
  width: 18px;
  height: 18px;
  fill: #00a2ff;
}

.rbx-maturity-label {
  color: var(--rbx-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Blue Play Button (Matching Screenshot) */
.rbx-play-button-box {
  margin: 1.25rem 0;
}

.rbx-btn-play-blue {
  width: 100%;
  background: var(--rbx-blue);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 1rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--rbx-blue-glow);
  text-decoration: none !important;
}

.rbx-btn-play-blue:hover {
  background: var(--rbx-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--rbx-blue-glow);
}

.rbx-btn-play-blue:active {
  transform: translateY(0);
}

.rbx-btn-play-blue svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* Ratings & Action bar (Favoris, Notifier, 3M+, 369K+) */
.rbx-ratings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rbx-border-subtle);
  gap: 0.5rem;
}

.rbx-rating-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rbx-text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.15s ease;
}

.rbx-rating-item:hover {
  color: var(--rbx-text-primary);
}

.rbx-rating-item i {
  font-size: 1rem;
}

.rbx-rating-ratio-bar {
  width: 100%;
  height: 3px;
  background: var(--rbx-border-subtle);
  border-radius: 4px;
  margin-top: 0.65rem;
  overflow: hidden;
}

.rbx-rating-ratio-fill {
  width: 89%;
  height: 100%;
  background: var(--rbx-green);
}

/* =========================================================
   3. GAME SUB-NAVIGATION (ABOUT, STORE, SERVERS)
   ========================================================= */

.rbx-game-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--rbx-border-subtle);
  margin-bottom: 1.75rem;
}

.game-nav-tab {
  padding: 0.85rem 1.75rem;
  color: var(--rbx-text-muted);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: -2px;
}

.game-nav-tab:hover {
  color: var(--rbx-text-primary);
}

.game-nav-tab.active {
  color: var(--rbx-text-primary);
  border-bottom-color: var(--rbx-text-primary);
}

.game-nav-count {
  background: var(--rbx-bg-inner);
  color: var(--rbx-text-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--rbx-border-subtle);
}

.game-nav-tab.active .game-nav-count {
  background: var(--rbx-blue);
  color: #ffffff;
  border-color: var(--rbx-blue);
}

/* =========================================================
   4. EVENTS & ABOUT SECTIONS (MATCHING USER SCREENSHOT)
   ========================================================= */

.rbx-about-panel {
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--rbx-shadow-card);
}

@media (min-width: 768px) {
  .rbx-about-panel {
    padding: 2.25rem;
  }
}

.rbx-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
  margin-bottom: 1.15rem;
  letter-spacing: -0.2px;
}

/* Events Card */
.rbx-event-card {
  max-width: 320px;
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
  box-shadow: var(--rbx-shadow-card);
}

.rbx-event-card:hover {
  transform: translateY(-2px);
  border-color: var(--rbx-border-medium);
  box-shadow: var(--rbx-shadow-hover);
}

.rbx-event-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.rbx-event-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rbx-event-date-pill {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rbx-event-body {
  padding: 1rem;
}

.rbx-event-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rbx-event-sub {
  color: var(--rbx-text-muted);
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.rbx-event-btn {
  width: 100%;
  background: #191919;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
}

.rbx-event-btn:hover {
  background: var(--rbx-blue);
}

/* Description Text */
.rbx-desc-content {
  color: var(--rbx-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.rbx-how-to-play-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.85rem 0 1.5rem;
  font-size: 0.92rem;
}

.rbx-maturity-box {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-subtle);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--rbx-text-secondary);
  margin-bottom: 2rem;
}

.rbx-maturity-box strong {
  color: var(--rbx-text-primary);
}

/* Specifications Table */
.rbx-specs-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--rbx-border-subtle);
  padding-top: 1.25rem;
}

.rbx-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  white-space: nowrap;
}

.rbx-specs-table th {
  color: var(--rbx-text-muted);
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--rbx-border-subtle);
}

.rbx-specs-table td {
  color: var(--rbx-text-primary);
  font-weight: 700;
  padding: 0.75rem 0.85rem;
}

/* =========================================================
   5. STORE / ITEMS SECTION ("DOK ITEMS LT7T")
   ========================================================= */

.rbx-store-panel {
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--rbx-shadow-card);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 640px) {
  .rbx-store-panel {
    padding: 1rem 0.65rem;
    border-radius: var(--radius-sm);
  }
}

@media (min-width: 768px) {
  .rbx-store-panel {
    padding: 2.25rem;
  }
}

.rbx-store-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rbx-store-title-text h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
  letter-spacing: -0.2px;
}

.rbx-store-title-text p {
  color: var(--rbx-text-secondary);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Filter Controls Bar */
.rbx-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.store-banner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.store-tab {
  background: var(--rbx-bg-inner);
  color: var(--rbx-text-secondary);
  border: 1px solid var(--rbx-border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.store-tab:hover:not(.active) {
  background: var(--rbx-bg-card-hover);
  color: var(--rbx-text-primary);
  border-color: var(--rbx-border-medium);
}

.store-tab.active {
  background: var(--rbx-blue);
  color: #ffffff;
  border-color: var(--rbx-blue);
  box-shadow: 0 2px 8px var(--rbx-blue-glow);
}

.store-tab-count {
  background: rgba(0, 0, 0, 0.1);
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.store-tab.active .store-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.catalog-search-wrap {
  position: relative;
  min-width: 220px;
  flex: 1;
  max-width: 320px;
}

@media (max-width: 640px) {
  .catalog-search-wrap {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

.catalog-search-wrap input {
  width: 100%;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem 0.45rem 2.1rem;
  color: var(--rbx-text-primary);
  font-size: 0.85rem;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.catalog-search-wrap input:focus {
  outline: none;
  border-color: var(--rbx-blue);
  background: var(--rbx-bg-page);
  box-shadow: 0 0 0 2px var(--rbx-blue-glow);
}

.catalog-search-wrap i {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rbx-text-muted);
  font-size: 0.8rem;
  pointer-events: none;
}

/* Category Dividers */
.category-divider {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.category-divider span {
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  color: var(--rbx-text-primary) !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  white-space: normal;
}

@media (max-width: 640px) {
  .category-divider span {
    font-size: 0.88rem !important;
    letter-spacing: 0px !important;
  }
}

.category-divider div {
  flex: 1;
  height: 1.5px !important;
  background: var(--rbx-border-subtle) !important;
  min-width: 20px;
}

/* Items Grid */
.shop-items-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .shop-items-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .shop-items-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1200px) {
  .shop-items-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

/* Individual Item Card */
.shop-item {
  background: var(--rbx-bg-page);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rbx-border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--rbx-shadow-card);
  padding: 0.85rem;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.shop-item:hover {
  transform: translateY(-3px);
  border-color: var(--rbx-border-highlight);
  box-shadow: var(--rbx-shadow-hover);
}

/* Rarity Badges */
.card-rarity-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  font-family: var(--font-badge);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.rarity-divine { background: var(--rarity-divine-bg); color: var(--rarity-divine); border: 1px solid var(--rarity-divine); }
.rarity-secret { background: var(--rarity-secret-bg); color: var(--rarity-secret); border: 1px solid var(--rarity-secret); }
.rarity-eternal { background: var(--rarity-eternal-bg); color: var(--rarity-eternal); border: 1px solid var(--rarity-eternal); }
.rarity-mythical { background: var(--rarity-mythical-bg); color: var(--rarity-mythical); border: 1px solid var(--rarity-mythical); }
.rarity-legendary { background: var(--rarity-legendary-bg); color: var(--rarity-legendary); border: 1px solid var(--rarity-legendary); }
.rarity-event { background: var(--rarity-event-bg); color: var(--rarity-event); border: 1px solid var(--rarity-event); }

/* Card Image Box */
.shop-item-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.75rem;
  margin-bottom: 0.65rem;
  transition: border-color 0.2s ease;
  position: relative;
}

.shop-item:hover .shop-item-img-box {
  border-color: var(--rbx-border-medium);
}

.shop-item-img-box img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-item:hover .shop-item-img-box img {
  transform: scale(1.08);
}

/* Card Info */
.shop-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
  margin-bottom: 0.65rem;
}

.shop-item-name {
  color: var(--rbx-text-primary);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.3;
}

.shop-item-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--rbx-text-muted);
  font-size: 0.72rem;
  text-align: center;
}

/* Green Roblox Claim / Buy Button */
.roblox-claim-btn {
  width: 100%;
  background: var(--rbx-green);
  color: #ffffff;
  border: none;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-transform: capitalize;
}

.roblox-claim-btn:hover {
  background: var(--rbx-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--rbx-green-glow);
}

/* =========================================================
   6. OFFICIAL FOOTER
   ========================================================= */

.rbx-footer {
  background: var(--rbx-bg-page);
  border-top: 1px solid var(--rbx-border-subtle);
  padding: 3rem 1.25rem 2.5rem;
  margin-top: 4rem;
}

.rbx-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.rbx-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.rbx-footer-links a {
  color: var(--rbx-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.rbx-footer-links a:hover {
  color: var(--rbx-text-primary);
}

.rbx-footer-copy {
  color: var(--rbx-text-subtle);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* =========================================================
   7. GENERATOR MODAL (CPA OFFER LOCKER)
   ========================================================= */

.gen-modal, #gen-modal, .gen-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
}

.gen-modal.open, #gen-modal.open, .gen-modal-overlay.open {
  display: flex !important;
  animation: modalFadeIn 0.22s ease-out !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.gen-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.gen-box, .gen-card {
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-md);
  max-width: 440px;
  width: 100%;
  padding: 1.75rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
}

.gen-close-btn, .gen-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-subtle);
  color: var(--rbx-text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.15s ease;
  z-index: 10;
}

.gen-close-btn:hover, .gen-close:hover {
  background: var(--rbx-bg-card-hover);
  color: var(--rbx-text-primary);
}

.gen-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.gen-icon {
  font-size: 1.5rem;
}

.gen-title-box h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
}

.gen-badge-free {
  display: inline-block;
  background: rgba(0, 176, 111, 0.12);
  color: var(--rbx-green);
  border: 1px solid rgba(0, 176, 111, 0.3);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-xs);
  margin-top: 0.2rem;
}

.gen-item-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-subtle);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.gen-item-thumb, #gen-item-img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  border-radius: var(--radius-xs);
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  padding: 4px;
  flex-shrink: 0;
}

.gen-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gen-logo-img {
  max-height: 38px;
  max-width: 130px;
  object-fit: contain;
}

.gen-item-img-wrap {
  width: 58px;
  height: 58px;
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  flex-shrink: 0;
}

.gen-item-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gen-item-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
}

.gen-screen {
  display: none;
}

.gen-screen.active {
  display: block;
}

.gen-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rbx-text-secondary);
  margin-bottom: 0.5rem;
}

.gen-desc {
  color: var(--rbx-text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.gen-input-wrap {
  position: relative;
  margin-bottom: 0.85rem;
}

.gen-input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rbx-text-muted);
}

.gen-input {
  width: 100%;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-medium);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem 0.75rem 2.4rem;
  color: var(--rbx-text-primary);
  font-size: 0.92rem;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.gen-input:focus {
  outline: none;
  border-color: var(--rbx-blue);
  background: var(--rbx-bg-page);
  box-shadow: 0 0 0 2px var(--rbx-blue-glow);
}

.gen-error-msg {
  color: var(--rbx-red);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  display: none;
}

.gen-btn-primary {
  width: 100%;
  background: var(--rbx-blue);
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--rbx-blue-glow);
}

.gen-btn-primary:hover {
  background: var(--rbx-blue-hover);
  transform: translateY(-1px);
}

.gen-security-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--rbx-text-muted);
  font-size: 0.78rem;
}

.gen-security-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rbx-green);
  box-shadow: 0 0 8px var(--rbx-green);
}

/* Screen 2 Scanner */
#gen-screen-2 .gen-progress-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.avatar-scanner-container {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid var(--rbx-border-medium);
  position: relative;
  overflow: hidden;
  background: var(--rbx-bg-inner);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: border-color 0.4s, box-shadow 0.4s;
  flex-shrink: 0;
}

.avatar-scanner-container.scanning {
  border-color: var(--rbx-blue);
  box-shadow: 0 0 20px var(--rbx-blue-glow);
}

.scanner-avatar-img {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.4s;
}

.avatar-scanner-container.scanning .scanner-avatar-img {
  opacity: 1;
}

.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rbx-blue);
  box-shadow: 0 0 8px var(--rbx-blue);
  animation: scan 2s linear infinite;
  display: none;
}

.avatar-scanner-container.scanning .scanner-laser {
  display: block;
}

@keyframes scan {
  0% { top: 0%; }
  50% { top: 95%; }
  100% { top: 0%; }
}

#scanner-username {
  display: block !important;
  width: 100%;
  color: var(--rbx-text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
}

#gen-progress-label {
  display: block !important;
  width: 100%;
  color: var(--rbx-blue) !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
  text-align: center;
}

.gen-steps {
  display: flex;
  flex-direction: column;
  background: var(--rbx-bg-inner);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rbx-border-subtle);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  opacity: 0.4;
  transition: opacity 0.35s, background 0.3s;
  border-bottom: 1px solid var(--rbx-border-subtle);
}

.gen-step:last-child {
  border-bottom: none;
}

.gen-step.active {
  opacity: 1;
  background: var(--rbx-bg-card-hover);
}

.gen-step.done {
  opacity: 0.9;
}

.gen-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--rbx-text-secondary);
  flex-shrink: 0;
}

.gen-step.active .gen-step-icon {
  border-color: var(--rbx-blue);
  color: var(--rbx-blue);
  box-shadow: 0 0 8px var(--rbx-blue-glow);
}

.gen-step.done .gen-step-icon {
  background: var(--rbx-green);
  border-color: var(--rbx-green);
  color: #ffffff;
}

.gen-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rbx-text-primary);
}

.gen-step-sub {
  font-size: 0.72rem;
  color: var(--rbx-text-muted);
}

.gen-progress-track {
  width: 100%;
  height: 6px;
  background: var(--rbx-border-subtle);
  border-radius: 4px;
  overflow: hidden;
}

.gen-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--rbx-blue), #00b06f);
  transition: width 0.35s ease;
}

/* Screen 3 CPA Offers */
.gen-success-hero {
  text-align: center;
  margin-bottom: 1.25rem;
}

.gen-transfer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  background: var(--rbx-bg-inner);
  padding: 1.15rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rbx-border-subtle);
}

.transfer-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 75px;
  flex-shrink: 0;
}

.transfer-avatar-wrap, .transfer-item-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--rbx-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid var(--rbx-border-medium);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.transfer-avatar-img {
  width: 82%;
  height: 82%;
  object-fit: cover;
  border-radius: 50%;
}

.transfer-item-img {
  width: 82%;
  height: 82%;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.transfer-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--rbx-bg-page);
}

.transfer-status-indicator.online { background: var(--rbx-green); }
.transfer-status-indicator.pending { background: var(--rbx-gold); }

.transfer-username, .transfer-item-name {
  color: var(--rbx-text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.transfer-badge {
  font-size: 0.65rem;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-xs);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.online-badge {
  background: rgba(0, 176, 111, 0.12);
  color: var(--rbx-green);
  border: 1px solid rgba(0, 176, 111, 0.3);
}

.pending-badge {
  background: rgba(247, 185, 36, 0.15);
  color: var(--rbx-gold);
  border: 1px solid rgba(247, 185, 36, 0.35);
}

.transfer-path {
  flex-grow: 1;
  height: 2px;
  background: var(--rbx-border-subtle);
  position: relative;
  margin: 0 0.75rem;
  transform: translateY(-12px);
}

.transfer-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--rbx-blue);
  box-shadow: 0 0 8px var(--rbx-blue-glow);
}

.transfer-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px #ffffff, 0 0 12px var(--rbx-blue);
  animation: transferPulse 2s infinite;
  display: block;
}

@keyframes transferPulse {
  0% { left: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.gen-success-sub {
  color: var(--rbx-text-secondary);
  text-align: center;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.gen-success-sub strong {
  color: var(--rbx-text-primary);
}

/* CPA Offers container */
.offers-loading {
  text-align: center;
  padding: 1.5rem 1rem;
}

.offers-loading p {
  color: var(--rbx-text-muted);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--rbx-border-medium);
  border-top-color: var(--rbx-blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.offer-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--rbx-bg-inner);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  border: 1px solid var(--rbx-border-subtle);
  border-left: 4px solid var(--rbx-blue);
  gap: 0.85rem;
  transition: all 0.2s ease;
  text-decoration: none !important;
  color: inherit;
}

.offer-card:hover {
  background: var(--rbx-bg-card-hover);
  border-color: var(--rbx-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--rbx-blue-glow);
}

.offer-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-grow: 1;
  min-width: 0;
}

.offer-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  border: 1px solid var(--rbx-border-subtle);
  background: var(--rbx-bg-page);
  flex-shrink: 0;
}

.offer-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.offer-title {
  color: var(--rbx-text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-desc {
  color: var(--rbx-text-muted);
  font-size: 0.78rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-action {
  background: var(--rbx-green);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px var(--rbx-green-glow);
  flex-shrink: 0;
}

.offer-card:hover .offer-action {
  background: #00995f;
  transform: scale(1.03);
}

.cpa-modal-footer {
  margin-top: 1.25rem;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--rbx-border-subtle);
}

.secure-footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--rbx-text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.status-dot.pulsing {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rbx-green);
  box-shadow: 0 0 6px var(--rbx-green-glow);
  animation: pulse 1.6s infinite;
}

.gen-expire-note {
  color: var(--rbx-text-muted);
  font-size: 0.78rem;
}

.gen-expire-note span {
  color: var(--rbx-gold);
  font-weight: 700;
}

.success-message-box {
  background: rgba(0, 176, 111, 0.12);
  border: 1px solid rgba(0, 176, 111, 0.35);
  color: var(--rbx-green);
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

/* iOS Popup */
.ios-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ios-popup.open {
  display: flex;
}

.ios-box {
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-md);
  max-width: 380px;
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.ios-icon {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
}

.ios-box h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
  margin-bottom: 0.65rem;
}

.ios-box p {
  color: var(--rbx-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.ios-btn {
  background: var(--rbx-blue);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

/* =========================================================
   PACKAGES ROBUX SECTION (MATCHING USER SCREENSHOT)
   ========================================================= */

.rbx-robux-card-wrap {
  width: 100%;
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.rbx-robux-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.rbx-robux-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rbx-robux-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  background: var(--rbx-bg-page);
  border: 1px solid var(--rbx-border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  gap: 1rem;
}

.rbx-robux-row:hover {
  border-color: var(--rbx-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.rbx-robux-row.rbx-row-featured {
  border-color: rgba(0, 102, 255, 0.4);
  background: linear-gradient(90deg, var(--rbx-bg-page) 0%, rgba(0, 102, 255, 0.05) 100%);
}

.rbx-robux-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rbx-coin-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(247, 185, 36, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rbx-coin-icon-box .rbx-robux-icon {
  width: 20px;
  height: 20px;
  fill: var(--rbx-gold);
}

.rbx-robux-val-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.rbx-robux-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
  letter-spacing: -0.02em;
}

.rbx-robux-old {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--rbx-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.rbx-robux-icon-xs {
  width: 12px;
  height: 12px;
  fill: var(--rbx-text-muted);
  opacity: 0.7;
}

.rbx-robux-bonus {
  background: var(--rbx-bg-inner);
  border: 1px solid var(--rbx-border-medium);
  color: var(--rbx-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.01em;
}

.rbx-robux-tag-popular {
  background: rgba(247, 185, 36, 0.18);
  border: 1px solid rgba(247, 185, 36, 0.4);
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

body.dark-theme .rbx-robux-tag-popular {
  color: #fde047;
}

.rbx-robux-right {
  flex-shrink: 0;
}

.rbx-pkg-btn {
  background: #e3e5e8;
  color: var(--rbx-text-primary);
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  min-width: 135px;
  justify-content: center;
}

body.dark-theme .rbx-pkg-btn {
  background: #393b3d;
  color: #ffffff;
}

.rbx-pkg-btn:hover {
  background: #d4d7dc;
  transform: translateY(-1px);
}

body.dark-theme .rbx-pkg-btn:hover {
  background: #484b4e;
}

.rbx-pkg-btn s {
  font-size: 0.78rem;
  color: var(--rbx-text-muted);
  font-weight: 600;
}

.rbx-pkg-free {
  color: var(--rbx-green);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.rbx-pkg-btn-blue {
  background: var(--rbx-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--rbx-blue-glow);
}

.rbx-pkg-btn-blue:hover {
  background: var(--rbx-blue-hover) !important;
  box-shadow: 0 6px 18px var(--rbx-blue-glow);
}

.rbx-pkg-btn-blue s {
  color: rgba(255, 255, 255, 0.75) !important;
}

.rbx-pkg-btn-blue .rbx-pkg-free {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* =========================================================
   ROBUX CARDS GRID STYLING (3 PER ROW)
   ========================================================= */
.shop-item[data-category="robux"] {
  border-color: var(--rbx-border-subtle);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shop-item[data-category="robux"]:hover {
  transform: translateY(-4px);
  border-color: var(--rbx-gold);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.shop-item[data-category="robux"] .shop-item-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--rbx-text-primary);
}

.shop-item[data-category="robux"] .shop-item-meta {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.shop-item-meta s {
  opacity: 0.65;
  font-size: 0.82rem;
  color: var(--rbx-text-muted);
}

/* =========================================================
   MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION (SMARTPHONES)
   ========================================================= */
@media (max-width: 480px) {
  .rbx-main-wrap {
    padding: 0 0.5rem;
    margin: 0.75rem auto 1.75rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .rbx-game-hero {
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .rbx-game-title {
    font-size: 1.45rem;
  }

  .rbx-btn-play-blue {
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
  }

  .rbx-ratings-row {
    gap: 0.25rem;
    padding-top: 0.65rem;
  }

  .rbx-rating-item {
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .rbx-rating-item i {
    font-size: 0.85rem;
  }

  .store-banner-tabs {
    gap: 0.25rem;
  }

  .store-tab {
    padding: 0.35rem 0.6rem;
    font-size: 0.78rem;
  }

  .shop-items-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    width: 100%;
  }

  .shop-item {
    padding: 0.55rem 0.35rem !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .shop-item-name {
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }

  .shop-item-meta {
    font-size: 0.7rem !important;
    gap: 0.2rem !important;
  }

  .card-rarity-badge {
    font-size: 0.55rem !important;
    padding: 0.12rem 0.3rem !important;
    top: 0.3rem !important;
    right: 0.3rem !important;
  }

  .roblox-claim-btn {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.35rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .roblox-claim-btn svg {
    width: 12px !important;
    height: 12px !important;
  }

  .gen-modal-box {
    padding: 1.25rem 1rem;
    width: 92%;
  }

  .ios-popup-content {
    width: 90%;
    padding: 1.5rem 1rem;
  }
}
