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

:root {
  --bg-main: #0a1128;
  --bg-secondary: #101e42;
  --bg-card: #152554;
  --bg-card-hover: #1a2c68;
  --bg-card-glass: rgba(21, 37, 84, 0.85);
  
  --primary-red: #00d2ff;
  --primary-red-hover: #3a86ff;
  --primary-red-glow: rgba(0, 210, 255, 0.45);
  --secondary-gold: #f5bb27;
  --tertiary-blue: #3a86ff;
  
  --text-main: #f5f5fa;
  --text-muted: #9595a8;
  --text-sub: #707085;
  
  /* MM2 Weapon Rarities */
  --rarity-godly: #00d2ff;
  --rarity-ancient: #a855f7;
  --rarity-unique: #f97316;
  --rarity-legendary: #eab308;
  --rarity-rare: #06b6d4;
  --rarity-uncommon: #22c55e;
  --rarity-common: #94a3b8;
  --rarity-vintage: #10b981;
  
  --font-main: 'Rubik', sans-serif;
  --font-heading: 'Fredoka', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.5;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.main-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Atmosphere */
.weapon-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(circle at 50% 10%, rgba(0, 210, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(245, 187, 39, 0.04) 0%, transparent 50%),
    var(--bg-main);
}

/* Language Switcher */
.lang-switcher {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 50;
}

.lang-button {
  background: rgba(20, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  font-family: var(--font-main);
}

.lang-button:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 15px var(--primary-red-glow);
  transform: translateY(-1px);
}

.lang-icon {
  font-size: 1.1rem;
}

.lang-label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.lang-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Page Hero */
.page-hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
  position: relative;
}

.hero-logo {
  max-width: 220px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.45));
  animation: floatHero 6s ease-in-out infinite;
}

.hero-text {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #ff526d 50%, var(--secondary-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.15;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(20, 20, 34, 0.75);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--rarity-vintage);
  box-shadow: 0 0 10px var(--rarity-vintage);
  animation: pulse 2s infinite;
}

/* Shop Panel */
.shop-panel {
  background: var(--bg-card-glass);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  margin-bottom: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.shop-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d2ff, #3a86ff, transparent);
}

.shop-header.store-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.store-title-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.5px;
}

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

.store-tab {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.store-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.15);
}

.store-tab.active {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
  box-shadow: 0 0 15px var(--primary-red-glow);
}

/* Shop Items Grid */
.shop-items-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.shop-item {
  background: rgba(14, 14, 24, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.shop-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--item-glow, var(--primary-red-glow));
  border-color: var(--item-color, var(--primary-red));
}

/* Card Rarity Accents */
.shop-item.card-godly { --item-color: var(--rarity-godly); --item-glow: rgba(0, 210, 255, 0.35); }
.shop-item.card-ancient { --item-color: var(--rarity-ancient); --item-glow: rgba(168, 85, 247, 0.35); }
.shop-item.card-legendary { --item-color: var(--rarity-legendary); --item-glow: rgba(234, 179, 8, 0.35); }
.shop-item.card-unique { --item-color: var(--rarity-unique); --item-glow: rgba(249, 115, 22, 0.35); }
.shop-item.card-rare { --item-color: var(--rarity-rare); --item-glow: rgba(6, 182, 212, 0.35); }
.shop-item.card-uncommon { --item-color: var(--rarity-uncommon); --item-glow: rgba(34, 197, 94, 0.35); }
.shop-item.card-common { --item-color: var(--rarity-common); --item-glow: rgba(148, 163, 184, 0.25); }

.shop-item-badge-top {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(10, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffc107;
  backdrop-filter: blur(4px);
}

.shop-item-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, transparent 75%);
  padding: 1.25rem;
  position: relative;
}

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

.shop-item:hover .shop-item-img-box img {
  transform: scale(1.12) rotate(4deg);
}

.shop-item-info {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
}

.shop-item-name {
  color: white;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.25;
}

.shop-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.4rem;
}

.shop-item-stock {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.shop-item-rarity {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rarity-godly { background: rgba(0, 210, 255, 0.18); color: var(--rarity-godly); border: 1px solid var(--rarity-godly); }
.rarity-ancient { background: rgba(168, 85, 247, 0.18); color: var(--rarity-ancient); border: 1px solid var(--rarity-ancient); }
.rarity-unique { background: rgba(249, 115, 22, 0.18); color: var(--rarity-unique); border: 1px solid var(--rarity-unique); }
.rarity-legendary { background: rgba(234, 179, 8, 0.18); color: var(--rarity-legendary); border: 1px solid var(--rarity-legendary); }
.rarity-rare { background: rgba(6, 182, 212, 0.18); color: var(--rarity-rare); border: 1px solid var(--rarity-rare); }
.rarity-uncommon { background: rgba(34, 197, 94, 0.18); color: var(--rarity-uncommon); border: 1px solid var(--rarity-uncommon); }
.rarity-common { background: rgba(148, 163, 184, 0.18); color: var(--rarity-common); border: 1px solid var(--rarity-common); }

.roblox-claim-btn {
  background: linear-gradient(135deg, var(--primary-red), #3a86ff);
  color: white;
  border: none;
  padding: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.roblox-claim-btn:hover {
  background: linear-gradient(135deg, #3a86ff, #00d2ff);
  box-shadow: 0 0 15px var(--primary-red-glow);
}

.fire-effect {
  animation: cardPulse 3s infinite alternate;
}

/* ==========================================================================
   GENERATOR MODAL (OPTIMIZED & REDESIGNED)
   ========================================================================== */
.gen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.gen-modal.open {
  opacity: 1;
  pointer-events: all;
}

.gen-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gen-box {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 37, 84, 0.7) 0%, rgba(10, 17, 40, 0.9) 100%); backdrop-filter: blur(30px); border: 1px solid rgba(0, 212, 255, 0.3);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 60px rgba(0, 210, 255, 0.25), inset 0 0 15px rgba(0, 210, 255, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gen-modal.open .gen-box {
  transform: scale(1);
}

/* Modal Header */
.gen-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  position: sticky;
  top: 0;
  z-index: 10;
}

.gen-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gen-logo-img {
  height: 28px;
  filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.4));
}

.gen-label {
  font-family: var(--font-heading);
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.gen-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gen-close-btn:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--primary-red);
  color: white;
  transform: rotate(90deg);
}

.gen-screen {
  display: none;
  padding: 1.75rem 1.5rem;
}

.gen-screen.active {
  display: block;
  animation: fadeInModal 0.35s ease;
}

/* ==========================================================================
   SCREEN 1: USERNAME INPUT & ITEM PREVIEW
   ========================================================================== */
.gen-item-preview {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gen-item-thumb-wrap {
  width: 68px;
  height: 68px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(0, 0, 0, 0.3) 80%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.gen-item-thumb {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.gen-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
}

.gen-item-name {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}

.gen-item-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gen-item-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--rarity-vintage);
  border: 1px solid var(--rarity-vintage);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gen-item-rarity-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 210, 255, 0.15);
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gen-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-align: center;
  line-height: 1.4;
}

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

.gen-input-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

.gen-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.gen-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
  background: rgba(0, 0, 0, 0.7);
}

.gen-input.input-error {
  border-color: #3a86ff;
  animation: shake 0.4s ease;
}

.gen-error-msg {
  color: #3a86ff;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-align: center;
  display: none;
}

.gen-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #00d2ff 0%, #3a86ff 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.35);
}

.gen-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(30deg);
  animation: sheen 3.5s infinite;
}

.gen-btn-primary:hover {
  background: linear-gradient(135deg, #3a86ff 0%, #00d2ff 100%);
  box-shadow: 0 6px 25px rgba(0, 210, 255, 0.55);
  transform: translateY(-2px);
}

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

.gen-security-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rarity-vintage);
  box-shadow: 0 0 8px var(--rarity-vintage);
  animation: pulse 2s infinite;
}

/* ==========================================================================
   SCREEN 2: HIGH-TECH SCANNER & GENERATION PIPELINE
   ========================================================================== */
.gen-progress-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.avatar-scanner-container {
  width: 105px;
  height: 105px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  border: 2px solid rgba(0, 210, 255, 0.4);
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.2);
}

.scanner-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(0, 210, 255, 0.45);
  animation: rotateHUD 8s linear infinite;
  pointer-events: none;
}

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

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

.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d2ff, #ffffff, #00d2ff, transparent);
  box-shadow: 0 0 12px #00d2ff, 0 0 20px rgba(0, 210, 255, 0.8);
  animation: scanLaser 1.8s ease-in-out infinite alternate;
}

.scanner-detected-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  color: #ffc107;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gen-progress-label {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.gen-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0.9rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.gen-step.active {
  opacity: 1;
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.3);
}

.gen-step.done {
  opacity: 0.85;
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.gen-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.gen-step.active .gen-step-icon {
  background: var(--primary-red);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
  animation: pulse 1.5s infinite;
}

.gen-step.done .gen-step-icon {
  background: var(--rarity-vintage);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.gen-step-text {
  flex-grow: 1;
  min-width: 0;
}

.gen-step-title {
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
}

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

.gen-progress-bar-wrap {
  height: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gen-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00d2ff, #f5bb27, #2ecc71);
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
}

.gen-progress-pct {
  position: absolute;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  display: none;
}

/* ==========================================================================
   SCREEN 3: CLAIM & HIGH-CONVERTING CPA OFFERS
   ========================================================================== */
.gen-transfer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.5rem;
}

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

.transfer-avatar-wrap, 
.transfer-item-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.transfer-avatar-wrap {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.transfer-item-wrap {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.2);
}

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

.transfer-item-img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.transfer-status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: bold;
  color: white;
}

.transfer-status-indicator.online { 
  background: var(--rarity-vintage); 
  box-shadow: 0 0 6px var(--rarity-vintage);
}

.transfer-status-indicator.pending { 
  background: var(--primary-red); 
  box-shadow: 0 0 6px var(--primary-red);
}

.transfer-username, 
.transfer-item-name {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85px;
}

.transfer-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.online-badge { 
  background: rgba(16, 185, 129, 0.15); 
  color: var(--rarity-vintage); 
  border: 1px solid var(--rarity-vintage); 
}

.pending-badge { 
  background: rgba(0, 210, 255, 0.15); 
  color: var(--primary-red); 
  border: 1px solid var(--primary-red); 
}

.transfer-path {
  flex-grow: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  margin: 0 0.5rem;
  transform: translateY(-12px);
  border-radius: var(--radius-full);
}

.transfer-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #10b981, #00d2ff);
  opacity: 0.6;
}

.transfer-beam {
  position: absolute;
  top: -1px;
  left: 0;
  height: 5px;
  width: 25px;
  border-radius: var(--radius-full);
  background: white;
  box-shadow: 0 0 10px white, 0 0 20px #00d2ff;
  animation: transferBeam 2s ease-in-out infinite;
}

/* Offers Headline */
.gen-offers-intro {
  text-align: center;
  margin-bottom: 1.25rem;
}

.offers-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.offers-headline-badge {
  background: rgba(0, 210, 255, 0.2);
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.offers-headline-title {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.gen-success-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.highlight-item {
  color: #ffc107;
}

.highlight-user {
  color: #2ecc71;
}

/* CPA Offers Container & Cards */
.offers-loading {
  text-align: center;
  padding: 1.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 0.75rem;
}

.offers-loading p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

/* Modern Card Layout */
.offer-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--primary-red);
  gap: 0.9rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.offer-card:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 210, 255, 0.15);
}

.offer-num-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offer-card:hover .offer-num-badge {
  background: var(--primary-red);
  color: white;
}

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

.offer-img-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.offer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.offer-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.offer-title {
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-badge-tag {
  background: rgba(245, 187, 39, 0.15);
  color: #f5bb27;
  border: 1px solid rgba(245, 187, 39, 0.3);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  white-space: nowrap;
}

.offer-desc {
  color: var(--text-muted);
  font-size: 0.76rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.offer-action {
  background: linear-gradient(135deg, var(--primary-red), #d81131);
  color: white;
  border: none;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 210, 255, 0.3);
}

.offer-card:hover .offer-action {
  background: linear-gradient(135deg, #3a86ff, #ea1d3e);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.5);
  transform: scale(1.03);
}

/* Modal Footer */
.cpa-modal-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.secure-footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

.status-dot.pulsing {
  width: 7px;
  height: 7px;
  background: var(--rarity-vintage);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--rarity-vintage);
  animation: pulse 1.8s infinite;
}

.btn-check-status {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.btn-check-status:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.timer-countdown-badge {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

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

.gen-expire-note span {
  color: #3a86ff;
  font-weight: 700;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-keywords {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes floatHero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.05; }
  90% { opacity: 0.05; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

@keyframes pulse {
  0% { transform: scale(0.92); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(0.92); opacity: 0.6; }
}

@keyframes cardPulse {
  0% { box-shadow: 0 0 5px rgba(245, 187, 39, 0.2); }
  100% { box-shadow: 0 0 18px rgba(245, 187, 39, 0.45); }
}

@keyframes scanLaser {
  0% { top: 0%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { top: 96%; opacity: 0.3; }
}

@keyframes rotateHUD {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes transferBeam {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 80%; opacity: 0; }
}

@keyframes sheen {
  0% { transform: translate(-100%, -100%) rotate(30deg); }
  25%, 100% { transform: translate(100%, 100%) rotate(30deg); }
}

@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST TO DESKTOP)
   ========================================================================== */
@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .hero-sub { font-size: 0.95rem; }
  .shop-panel { padding: 1.15rem 0.9rem; }
  .shop-items-list { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .shop-item-info { padding: 0.75rem; }
  .shop-item-name { font-size: 0.88rem; }
  .roblox-claim-btn { padding: 0.6rem 0.4rem; font-size: 0.82rem; }
  
  .gen-box { max-width: 95%; }
  .gen-screen { padding: 1.25rem 1rem; }
  
  .offer-card { padding: 0.75rem 0.8rem; gap: 0.6rem; }
  .offer-img-box { width: 38px; height: 38px; }
  .offer-title { font-size: 0.85rem; }
  .offer-desc { font-size: 0.72rem; }
  .offer-action { padding: 0.45rem 0.75rem; font-size: 0.75rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.2rem; }
  .shop-items-list { grid-template-columns: repeat(3, 1fr); }
  .shop-panel { padding: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.8rem; }
  .shop-items-list { grid-template-columns: repeat(4, 1fr); }
}
