/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Rubik:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #090a10;
  --bg-panel: rgba(16, 18, 28, 0.75);
  --bg-card: rgba(21, 24, 38, 0.7);
  --bg-card-hover: rgba(28, 33, 52, 0.9);
  
  --primary-accent: #ff3366;
  --primary-accent-glow: rgba(255, 51, 102, 0.4);
  --primary-cyan: #00f0ff;
  --primary-cyan-glow: rgba(0, 240, 255, 0.35);
  --secondary-gold: #ffbe0b;
  --secondary-gold-glow: rgba(255, 190, 11, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Modern Rarity Colors */
  --rarity-secret: #ff2a85;
  --rarity-secret-glow: rgba(255, 42, 133, 0.4);
  --rarity-secret-bg: rgba(255, 42, 133, 0.15);
  
  --rarity-eternal: #00e5ff;
  --rarity-eternal-glow: rgba(0, 229, 255, 0.4);
  --rarity-eternal-bg: rgba(0, 229, 255, 0.15);
  
  --rarity-divine: #ffb703;
  --rarity-divine-glow: rgba(255, 183, 3, 0.4);
  --rarity-divine-bg: rgba(255, 183, 3, 0.15);
  
  --rarity-cosmic: #b5179e;
  --rarity-cosmic-glow: rgba(181, 23, 158, 0.4);
  --rarity-cosmic-bg: rgba(181, 23, 158, 0.15);
  
  --rarity-pack: #10b981;
  --rarity-pack-glow: rgba(16, 185, 129, 0.4);
  --rarity-pack-bg: rgba(16, 185, 129, 0.15);

  --rarity-vintage: #2ecc71;
  --rarity-godly: #e63946;
  --rarity-ancient: #9b59b6;
  --rarity-unique: #e67e22;
  --rarity-legendary: #f1c40f;
  
  --font-main: 'Rubik', sans-serif;
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 42, 133, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 60%, rgba(255, 183, 3, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(181, 23, 158, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  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: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

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

/* Floating Egg Sparkles Background */
.weapon-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.weapon-bg::before, .weapon-bg::after {
  content: '🥚';
  position: absolute;
  font-size: 2rem;
  opacity: 0.06;
  animation: float 18s infinite linear;
}

.weapon-bg::after {
  content: '✨';
  left: 75%;
  animation-duration: 24s;
  animation-delay: -6s;
}

/* =========================================================
   TOP NOTIFICATION BANNER (RESPONSIVE & COMPACT)
========================================================= */
.top-announcement-bar {
  background: rgba(10, 12, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 1rem;
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.announcement-badge {
  background: linear-gradient(135deg, #ff3366, #e60049);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.announcement-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.announcement-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-dot-green {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  z-index: 101;
}

.lang-button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.22rem 0.6rem;
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-main);
}

.lang-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-cyan);
}

.lang-select {
  display: none;
}

/* Hero Section */
.page-hero {
  text-align: center;
  padding: 2.5rem 0 1.75rem;
  position: relative;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.hero-badge-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.hero-logo {
  max-width: 130px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(255, 42, 133, 0.45));
  animation: logoHover 4s ease-in-out infinite;
}

@keyframes logoHover {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #ffffff 0%, #ff6b9d 50%, #00f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

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

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 22, 34, 0.7);
  padding: 0.45rem 1.1rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: #e2e8f0;
}

.social-proof .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

/* =========================================================
   EXCLUSIVE PACKS PANEL (GOLDEN HIGHLIGHTED)
========================================================= */
.packs-panel {
  background: radial-gradient(circle at 50% 0%, rgba(255, 190, 11, 0.08) 0%, rgba(17, 20, 32, 0.85) 75%);
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 11, 0.35);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  margin-bottom: 2.5rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 190, 11, 0.12);
  position: relative;
  overflow: hidden;
}

.packs-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffbe0b, #10b981, #ff3366, #ffbe0b);
  background-size: 300% 100%;
  animation: barShimmer 5s linear infinite;
}

.packs-title {
  color: #ffbe0b;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.packs-tag {
  background: rgba(255, 190, 11, 0.15);
  color: #ffbe0b;
  border: 1px solid rgba(255, 190, 11, 0.4);
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.packs-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* =========================================================
   SHOP PANEL (VAULT INVENTORY)
========================================================= */
.shop-panel {
  background: var(--bg-panel);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.shop-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-accent), var(--primary-cyan), var(--secondary-gold), var(--primary-accent));
  background-size: 300% 100%;
  animation: barShimmer 6s linear infinite;
}

/* Controls Bar: Search & Category Tabs */
.shop-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.controls-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.store-title-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.store-items-counter {
  font-size: 0.85rem;
  font-family: var(--font-main);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  color: var(--primary-cyan);
  font-weight: 600;
}

/* Search Box */
.search-box-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.search-box-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(10, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 12px var(--primary-cyan-glow);
  background: rgba(15, 18, 30, 0.95);
}

.search-input::placeholder {
  color: var(--text-dim);
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.category-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.category-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.category-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-accent), #d90429);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--primary-accent-glow);
}

/* Grid & Items */
.shop-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}

.shop-item {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  backdrop-filter: blur(8px);
}

.shop-item:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

/* Rarity specific card styling */
.shop-item[data-rarity="Secret"] {
  border-color: rgba(255, 42, 133, 0.25);
}
.shop-item[data-rarity="Secret"]:hover {
  border-color: var(--rarity-secret);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--rarity-secret-glow);
}

.shop-item[data-rarity="Eternal"] {
  border-color: rgba(0, 229, 255, 0.25);
}
.shop-item[data-rarity="Eternal"]:hover {
  border-color: var(--rarity-eternal);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--rarity-eternal-glow);
}

.shop-item[data-rarity="Divine"] {
  border-color: rgba(255, 183, 3, 0.25);
}
.shop-item[data-rarity="Divine"]:hover {
  border-color: var(--rarity-divine);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--rarity-divine-glow);
}

.shop-item[data-rarity="Cosmic"] {
  border-color: rgba(181, 23, 158, 0.25);
}
.shop-item[data-rarity="Cosmic"]:hover {
  border-color: var(--rarity-cosmic);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--rarity-cosmic-glow);
}

.shop-item[data-rarity="Pack"] {
  border-color: rgba(255, 190, 11, 0.35);
}
.shop-item[data-rarity="Pack"]:hover {
  border-color: var(--secondary-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--secondary-gold-glow);
}

/* Card Image Box */
.shop-item-img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255,255,255,0.06) 0%, transparent 70%);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.shop-item-img-box img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Card Info */
.shop-item-info {
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.shop-item-name {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.2px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-item-meta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-top: 0.35rem;
  width: 100%;
}

.shop-item-stock {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  width: 100%;
  white-space: nowrap;
}

.shop-item-stock .stock-qty {
  color: #10b981;
  font-weight: 700;
}

.shop-item-stock .stock-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulse 2s infinite;
}

/* Low Stock Urgency State */
.shop-item-stock.low-stock {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
}
.shop-item-stock.low-stock .stock-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}
.shop-item-stock.low-stock .stock-qty {
  color: #f59e0b;
}

/* Floating Rarity Pill Badge (Top Corner of Card) */
.shop-item-rarity {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.rarity-secret { background: var(--rarity-secret-bg); color: var(--rarity-secret); border: 1px solid rgba(255, 42, 133, 0.45); }
.rarity-eternal { background: var(--rarity-eternal-bg); color: var(--rarity-eternal); border: 1px solid rgba(0, 229, 255, 0.45); }
.rarity-divine { background: var(--rarity-divine-bg); color: var(--rarity-divine); border: 1px solid rgba(255, 183, 3, 0.45); }
.rarity-cosmic { background: var(--rarity-cosmic-bg); color: var(--rarity-cosmic); border: 1px solid rgba(181, 23, 158, 0.45); }
.rarity-pack { background: rgba(255, 190, 11, 0.22); color: #ffbe0b; border: 1px solid rgba(255, 190, 11, 0.5); }

/* Card Claim Button */
.roblox-claim-btn {
  background: linear-gradient(135deg, #ff3366 0%, #d90429 100%);
  color: white;
  border: none;
  padding: 0.68rem 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  margin: 0 0.85rem 0.85rem 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.35);
}

.roblox-claim-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

.shop-item:hover .roblox-claim-btn::after {
  left: 130%;
}

.roblox-claim-btn:hover {
  background: linear-gradient(135deg, #ff4d7a 0%, #e60049 100%);
  box-shadow: 0 6px 22px rgba(255, 51, 102, 0.55);
  transform: translateY(-2px);
}

.roblox-claim-btn:active {
  transform: translateY(0);
}

/* Empty Search Results Message */
.no-items-found {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.no-items-found i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dim);
}

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

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

.gen-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 14, 0.88);
  backdrop-filter: blur(12px);
}

.gen-box {
  position: relative;
  background: #111422;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 51, 102, 0.2);
  overflow: hidden;
  z-index: 2;
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92) translateY(15px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.gen-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  z-index: 10;
}

.gen-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.gen-header {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

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

.gen-logo-img {
  height: 34px;
  width: auto;
}

.gen-label {
  font-family: var(--font-heading);
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
}

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

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

/* Modal Screen 1 */
.gen-item-preview {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.gen-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

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

.gen-item-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 51, 102, 0.2);
  color: var(--primary-accent);
  border: 1px solid var(--primary-accent);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  width: max-content;
}

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

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

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

.gen-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1rem 1rem 2.8rem;
  border-radius: 12px;
  color: white;
  font-family: var(--font-main);
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.gen-input:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.3);
  background: rgba(5, 7, 12, 0.7);
}

.gen-error-msg {
  color: var(--primary-accent);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
  font-weight: 500;
}

.gen-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #ff3366, #e60049);
  color: white;
  border: none;
  padding: 1.05rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gen-btn-primary:hover {
  background: linear-gradient(135deg, #ff4d7a, #ff1a53);
  box-shadow: 0 0 25px rgba(255, 51, 102, 0.5);
  transform: translateY(-2px);
}

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

.gen-security-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

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

.avatar-scanner-container {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(255, 51, 102, 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(255, 51, 102, 0.2);
  transition: all 0.4s ease;
}

.avatar-scanner-container.scanning {
  border-color: var(--primary-accent);
  box-shadow: 0 0 30px rgba(255, 51, 102, 0.4);
}

.scanner-avatar-img {
  width: 82%;
  height: 82%;
  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: 3px;
  background: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-accent), 0 0 20px rgba(255, 51, 102, 0.8);
  animation: scan 1.8s ease-in-out infinite alternate;
  display: none;
}

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

#scanner-username {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

#gen-progress-label {
  color: var(--primary-cyan) !important;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 6px;
}

.gen-steps {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

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

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

.gen-step.active {
  opacity: 1;
  background: rgba(255, 51, 102, 0.1);
}

.gen-step.done {
  opacity: 0.8;
  background: transparent;
}

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

.gen-step.active .gen-step-icon {
  background: var(--primary-accent);
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.5);
}

.gen-step.done .gen-step-icon {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.gen-step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

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

.gen-progress-bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.gen-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-accent), var(--primary-cyan));
  background-size: 200% 100%;
  border-radius: 10px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}

/* Modal Screen 3: Transfer & Completion */
.gen-transfer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.transfer-avatar-img, .transfer-item-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  border-radius: 50%;
}

.transfer-item-img {
  border-radius: 0;
}

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

.transfer-status-indicator.online { background: #10b981; }
.transfer-status-indicator.pending { background: #f59e0b; }

.transfer-username, .transfer-item-name {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.transfer-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.online-badge { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid #10b981; }
.pending-badge { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid #f59e0b; }

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

.transfer-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-accent), var(--primary-cyan));
  box-shadow: 0 0 10px var(--primary-accent);
}

.gen-success-sub {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Simulation / Direct Claim Success Box */
.simulation-delivery-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.simulation-delivery-box .icon-circle {
  width: 48px;
  height: 48px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.8rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.simulation-delivery-box h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.simulation-delivery-box p {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.simulation-claim-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  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;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.simulation-claim-btn:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* CPA Offers Container */
.offer-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.offer-card {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--primary-accent);
  gap: 1rem;
  transition: all 0.25s ease;
  text-decoration: none !important;
  color: inherit;
}

.offer-card:hover {
  background: rgba(255, 51, 102, 0.12);
  border-color: rgba(255, 51, 102, 0.4);
  transform: translateX(4px);
}

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

.offer-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

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

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

.offer-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: block;
}

.offer-action {
  background: var(--primary-accent);
  color: white;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.offer-action:hover {
  background: #ff4d7a;
  box-shadow: 0 0 12px var(--primary-accent-glow);
}

.cpa-modal-footer {
  margin-top: 1.25rem;
  text-align: center;
}

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

.status-dot.pulsing {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* =========================================================
   LIVE CLAIM TOAST NOTIFICATION
========================================================= */
.claim-toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.claim-toast {
  background: rgba(18, 22, 34, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--primary-cyan);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1), toastFadeOut 0.5s ease 5.5s forwards;
  max-width: 320px;
}

@keyframes toastSlideIn {
  0% { transform: translateX(-100%) scale(0.9); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes toastFadeOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(15px); }
}

.toast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  object-fit: cover;
  flex-shrink: 0;
}

.toast-content {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.toast-user {
  color: #fff;
  font-weight: 700;
}

.toast-item {
  color: var(--primary-cyan);
  font-weight: 600;
}

.toast-time {
  color: var(--text-dim);
  font-size: 0.7rem;
}

/* =========================================================
   CONFETTI CONTAINER
========================================================= */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3000;
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.78rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

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

/* Keyframes */
@keyframes float {
  0% { transform: translateY(105vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.08; }
  90% { opacity: 0.08; }
  100% { transform: translateY(-15vh) rotate(360deg); opacity: 0; }
}

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

@keyframes scan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

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

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

@keyframes barShimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* =========================================================
   RESPONSIVE DESIGN (MOBILE-FIRST POLISH)
========================================================= */
@media (max-width: 640px) {
  .top-announcement-bar {
    height: 38px;
    padding: 0 0.5rem;
  }
  .desktop-only {
    display: none !important;
  }
  .announcement-badge {
    padding: 0.15rem 0.4rem;
    font-size: 0.62rem;
  }
  .announcement-left {
    font-size: 0.74rem;
    gap: 0.35rem;
  }
  .announcement-right {
    gap: 0.4rem;
  }
  .server-status {
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
  }
  .lang-button {
    padding: 0.18rem 0.45rem;
    font-size: 0.72rem;
  }

  .page-hero { padding: 1.75rem 0 1.25rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-logo { max-width: 105px; }

  .packs-panel { padding: 1.25rem 0.85rem; border-radius: 18px; margin-bottom: 1.75rem; }
  .packs-title { font-size: 1.25rem; }

  .shop-panel { padding: 1.25rem 0.85rem; border-radius: 18px; }
  .controls-header-row { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .search-box-wrap { max-width: 100%; }
  
  .shop-items-list { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .shop-item { border-radius: 15px; }
  .shop-item-info { padding: 0.65rem 0.55rem; gap: 0.35rem; }
  .shop-item-name { font-size: 0.86rem; line-height: 1.25; min-height: 2.5em; }
  .shop-item-meta-row { padding-top: 0.2rem; }
  .shop-item-stock { font-size: 0.72rem; padding: 0.22rem 0.45rem; gap: 0.3rem; }
  .shop-item-stock .stock-dot { width: 5px; height: 5px; }
  .shop-item-rarity { top: 7px; right: 7px; padding: 0.18rem 0.45rem; font-size: 0.62rem; gap: 0.25rem; }
  .roblox-claim-btn { font-size: 0.82rem; padding: 0.55rem 0.5rem; margin: 0 0.55rem 0.55rem 0.55rem; border-radius: 10px; }

  .claim-toast-container { bottom: 0.75rem; left: 0.75rem; right: 0.75rem; }
  .claim-toast { max-width: 100%; padding: 0.5rem 0.75rem; font-size: 0.75rem; }
  
  .gen-box { border-radius: 20px; }
  .gen-screen { padding: 1.5rem 1.15rem; }
}

@media (max-width: 380px) {
  .shop-items-list { grid-template-columns: 1fr; }
}
