@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: #10141f;
  --bg-card: #1a2233;
  --bg-card-hover: #22304a;
  --primary-red: #ff4d6d;
  --primary-red-glow: rgba(255, 77, 109, 0.4);
  --secondary-gold: #ffd166;
  --tertiary-blue: #06d6a0;
  --text-main: #f6f8ff;
  --text-muted: #aab6cf;
  
  --rarity-godly: #ff4d6d;
  --rarity-ancient: #9b5de5;
  --rarity-unique: #f9844a;
  --rarity-legendary: #ffd166;
  --rarity-vintage: #06d6a0;
  --rarity-eternal: #4cc9f0;
  --rarity-divine: #f9c74f;
  --rarity-secret: #f72585;
  --rarity-cosmic: #7209b7;

  
  --font-main: 'Rubik', sans-serif;
  --font-heading: 'Fredoka', sans-serif;
}

* {
  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;
}

.is-ready {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.main-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Effects */
.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 center, rgba(36, 53, 27, 0.9) 0%, var(--bg-main) 100%);
}

.weapon-bg::before, .weapon-bg::after {
  content: '🔪';
  position: absolute;
  font-size: 2rem;
  opacity: 0.05;
  animation: float 15s infinite linear;
}

.weapon-bg::after {
  content: '🔫';
  left: 70%;
  animation-duration: 20s;
  animation-delay: -5s;
}

/* Language Switcher */
.lang-switcher {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

.lang-button {
  background: rgba(18, 18, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.lang-button:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 10px var(--primary-red-glow);
}

.lang-icon {
  font-size: 1.2rem;
}

.lang-label {
  font-weight: 500;
  font-size: 0.9rem;
}

.lang-select {
  display: none;
}

/* iOS Popup */
.ios-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.ios-popup-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.ios-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid var(--primary-red);
  box-shadow: 0 0 30px rgba(230, 149, 40, 0.3);
  text-align: center;
  max-width: 90%;
  width: 400px;
}

.ios-instruction-gif {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.ios-instruction-text {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Page Hero */
.page-hero {
  text-align: center;
  padding: 4rem 0 2rem;
  position: relative;
}

.hero-logo {
  max-width: 100px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(230, 149, 40, 0.5));
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s ease infinite;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 18, 26, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  font-size: 0.9rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--rarity-vintage);
  box-shadow: 0 0 8px var(--rarity-vintage);
  animation: pulse 2s infinite;
}

/* Shop Panel */
.shop-panel {
  background: rgba(36, 53, 27, 0.85);
  border-radius: 20px;
  border: 2px solid #374f28;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.shop-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #e69528, transparent);
}

.shop-header.store-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #1b2813;
  border: 2px solid #374f28;
  border-radius: 16px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 4px 15px rgba(0,0,0,0.3);
  flex-wrap: wrap;
  gap: 1rem;
}

.store-title-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #e69528;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-banner-tabs {
  display: flex;
  gap: 1rem;
}

.store-tab {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.store-tab.active {
  background: linear-gradient(180deg, #2ecc71 0%, #1e9d52 100%);
  color: white;
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
}

/* Shop Items Grid */
.shop-items-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.shop-item {
  background: #1b2713;
  border-radius: 18px;
  border: 2px solid #374f28;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  padding: 0.75rem;
}

.shop-item:hover {
  transform: translateY(-5px);
  border-color: #e69528;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(230, 149, 40, 0.3);
}

.shop-item-img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 2px dashed #e69528;
  border-radius: 14px;
  padding: 0.75rem;
}

.shop-item-img-box img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.shop-item:hover .shop-item-img-box img {
  transform: scale(1.1) rotate(4deg);
}

.shop-item-info {
  padding: 0.5rem 0.25rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
}

.shop-item-name {
  color: #e69528;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-item-stock,
.shop-item-rarity {
  display: none !important;
}


.roblox-claim-btn {
  background: linear-gradient(180deg, #2ecc71 0%, #1e9d52 100%);
  color: #ffffff;
  border: 1px solid #52f094;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  margin-top: 0.25rem;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.roblox-claim-btn:hover {
  background: linear-gradient(180deg, #3cf085 0%, #23b560 100%);
  box-shadow: 0 0 18px rgba(46, 204, 113, 0.6);
  transform: translateY(-2px);
}

.fire-effect {
  border-color: var(--secondary-gold);
  animation: glow 2s infinite alternate;
}

/* Generator Modal */
.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;
}

.gen-modal.open {
  opacity: 1;
  pointer-events: all;
}

.gen-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.gen-box {
  position: relative;
  background: var(--bg-card);
  width: 90%;
  max-width: 450px;
  border-radius: 20px;
  border: 2px solid #374f28;
  border-top: 5px solid #e69528;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.gen-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #1b2813;
  text-align: center;
}

.gen-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.gen-logo-img {
  height: 30px;
}

.gen-label {
  font-family: var(--font-heading);
  color: #e69528;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gen-screen {
  display: none;
  padding: 2rem 1.5rem;
}

.gen-screen.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Gen Screen 1 */
.gen-item-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #1b2713;
  padding: 1rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  border: 2px dashed #e69528;
}

.gen-item-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.gen-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gen-item-name {
  color: #e69528;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.gen-item-badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  background: rgba(230, 149, 40, 0.2);
  color: #e69528;
  border: 1px solid #e69528;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  width: max-content;
}

.gen-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.gen-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.gen-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.gen-input {
  width: 100%;
  background: #152210;
  border: 1.5px solid #374f28;
  padding: 1rem 1rem 1rem 2.5rem;
  border-radius: 10px;
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.gen-input:focus {
  outline: none;
  border-color: #e69528;
  box-shadow: 0 0 10px rgba(230, 149, 40, 0.3);
}

.gen-error-msg {
  color: #ff5252;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

.gen-btn-primary {
  width: 100%;
  background: linear-gradient(180deg, #2ecc71 0%, #1e9d52 100%);
  color: #ffffff;
  border: 1px solid #52f094;
  padding: 1rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(46, 204, 113, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gen-btn-primary:hover {
  background: linear-gradient(180deg, #3cf085 0%, #23b560 100%);
  box-shadow: 0 0 22px rgba(46, 204, 113, 0.6);
  transform: translateY(-2px);
}

.gen-security-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.gen-security-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rarity-vintage);
  box-shadow: 0 0 5px var(--rarity-vintage);
  animation: pulse 2s infinite;
}

/* Gen Screen 2 */
#gen-screen-2 .gen-progress-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.avatar-scanner-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(230,57,70,0.4);
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(230,57,70,0.15);
  transition: border-color 0.5s, box-shadow 0.5s;
  flex-shrink: 0;
}

.avatar-scanner-container.scanning {
  border-color: var(--primary-red);
  box-shadow: 0 0 25px rgba(230,57,70,0.35);
}

.scanner-avatar-img {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.5s;
}

.avatar-scanner-container.scanning .scanner-avatar-img {
  opacity: 1;
}

.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-red);
  box-shadow: 0 0 10px var(--primary-red), 0 20px 20px rgba(230,57,70,0.4);
  animation: scan 2s linear infinite;
  display: none;
}

.avatar-scanner-container.scanning .scanner-laser {
  display: block;
}

#scanner-username {
  display: block !important;
  width: 100%;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.5px;
  text-align: center;
}

#gen-progress-label {
  display: block !important;
  width: 100%;
  color: var(--primary-red) !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.3px;
  text-align: center;
}

.gen-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  opacity: 0.35;
  transition: opacity 0.4s, 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(230,57,70,0.08);
}

.gen-step.done {
  opacity: 0.7;
  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.8rem;
  font-weight: bold;
  color: white;
  transition: background 0.3s, box-shadow 0.3s;
}

.gen-step.active .gen-step-icon {
  background: var(--primary-red);
  box-shadow: 0 0 12px rgba(230,57,70,0.5);
}

.gen-step.done .gen-step-icon {
  background: var(--rarity-vintage);
  box-shadow: none;
}

.gen-step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gen-step-title {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.gen-step-sub {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.gen-progress-bar-wrap {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-top: 1.2rem;
  overflow: hidden;
}

.gen-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-red), #ff4a5a, var(--primary-red));
  background-size: 200% 100%;
  border-radius: 10px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px rgba(230,57,70,0.4);
  animation: barShimmer 2s linear infinite;
}

@keyframes barShimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}


/* Gen Screen 3 */
.gen-transfer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  background: rgba(0,0,0,0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.transfer-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 80px;
}

.transfer-avatar-wrap, .transfer-item-wrap {
  width: 60px;
  height: 60px;
  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.1);
}

.transfer-avatar-img, .transfer-item-img {
  width: 80%;
  height: 80%;
  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: var(--rarity-vintage); }
.transfer-status-indicator.pending { background: var(--rarity-unique); }

.transfer-username, .transfer-item-name {
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.transfer-badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: bold;
}

.online-badge { background: rgba(46,204,113,0.2); color: var(--rarity-vintage); border: 1px solid var(--rarity-vintage); }
.pending-badge { background: rgba(230,126,34,0.2); color: var(--rarity-unique); border: 1px solid var(--rarity-unique); }

.transfer-path {
  flex-grow: 1;
  height: 2px;
  background: rgba(255,255,255,0.1);
  position: relative;
  margin: 0 1rem;
  transform: translateY(-15px);
}

.transfer-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary-red);
  box-shadow: 0 0 8px var(--primary-red);
}

.transfer-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px white, 0 0 20px var(--primary-red);
  animation: transferPulse 2s infinite;
  display: none;
}

.gen-success-sub {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* CPA Offers */
.offers-loading {
  text-align: center;
  padding: 1rem;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.offer-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offer-card {
  display: flex;
  align-items: center;
  background: #1b2713;
  border-radius: 12px;
  padding: 1rem;
  border: 1.5px solid #374f28;
  border-left: 5px solid #e69528;
  gap: 1rem;
  transition: all 0.3s ease;
}

.offer-card:hover {
  background: #24351b;
  border-color: #e69528;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.offer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
  min-width: 0;
}

.offer-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #374f28;
}

.offer-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.offer-title {
  color: #e69528;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
}

.offer-action {
  background: linear-gradient(180deg, #2ecc71 0%, #1e9d52 100%);
  color: #ffffff;
  border: 1px solid #52f094;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(46, 204, 113, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.offer-action:hover {
  background: linear-gradient(180deg, #3cf085 0%, #23b560 100%);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.6);
}

.success-message-box {
  background: rgba(46,204,113,0.1);
  border: 1px solid var(--rarity-vintage);
  color: var(--rarity-vintage);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1rem;
  display: none;
}

.cpa-modal-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.secure-footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.status-dot.pulsing {
  width: 6px;
  height: 6px;
  background: var(--rarity-vintage);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.gen-expire-note {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 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.7rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Animations */
@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.95); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes glow {
  from { box-shadow: 0 0 5px var(--secondary-gold); }
  to { box-shadow: 0 0 20px var(--secondary-gold), 0 0 30px var(--secondary-gold); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes transferPulse {
  0% { left: 0%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes bloodDrip {
  0% { height: 0; opacity: 1; }
  100% { height: 50px; opacity: 0; }
}

/* Responsive */
@media (min-width: 480px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 768px) {
  .shop-items-list { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 4rem; }
  .shop-panel { padding: 2rem; }
}

@media (min-width: 1024px) {
  .shop-items-list { grid-template-columns: repeat(4, 1fr); }
}

/* Override links in offers to remove blue underline */
.offer-card { text-decoration: none !important; color: inherit; }
.offer-title { text-decoration: none !important; }
.offer-container a { text-decoration: none !important; }

/* Theme refresh */
.weapon-bg {
  background:
    radial-gradient(circle at top left, rgba(6, 214, 160, 0.22) 0%, transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 77, 109, 0.18) 0%, transparent 36%),
    linear-gradient(180deg, #10141f 0%, #171827 100%);
}

.ios-popup-content,
.shop-panel,
.gen-box {
  background: rgba(26, 34, 51, 0.92);
  border-color: rgba(76, 201, 240, 0.28);
}

.shop-panel::before {
  background: linear-gradient(90deg, transparent, var(--primary-red), var(--tertiary-blue), transparent);
}

.shop-header.store-banner,
.shop-item,
.gen-item-preview,
.offer-card {
  background: #151c2b;
  border-color: rgba(76, 201, 240, 0.24);
}

.shop-item:hover,
.offer-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-red);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.55), 0 0 18px rgba(255, 77, 109, 0.26);
}

.store-title-text,
.shop-item-name,
.gen-label,
.offer-title {
  color: var(--primary-red);
}

.shop-item-img-box,
.gen-item-preview,
.transfer-item-wrap {
  border-color: rgba(255, 77, 109, 0.68);
}

.store-tab.active,
.roblox-claim-btn,
.gen-btn-primary,
.offer-action {
  background: linear-gradient(180deg, #06d6a0 0%, #058f73 100%);
  border-color: #58f7d2;
  color: #07121a;
  box-shadow: 0 5px 16px rgba(6, 214, 160, 0.32);
}

.roblox-claim-btn:hover,
.gen-btn-primary:hover,
.offer-action:hover {
  background: linear-gradient(180deg, #38f2c7 0%, #06a888 100%);
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.48);
}

.gen-progress-bar,
.transfer-pulse {
  background: linear-gradient(90deg, var(--primary-red), #ffd166, var(--tertiary-blue));
}

/* Offer modal polish */
.gen-modal .gen-backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(3px);
}

.gen-modal .gen-box {
  max-width: 565px;
  background: #21391b;
  border: 2px solid #41682b;
  border-top: 6px solid #f49a23;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.gen-modal .gen-header {
  background: #162911;
  border-bottom: 0;
  padding: 2rem 1.25rem;
}

.gen-modal .gen-logo-row {
  gap: 0.8rem;
}

.gen-modal .gen-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.gen-modal .gen-label {
  color: #ff9f2b;
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.32);
}

.gen-modal #gen-screen-3 {
  padding: 2.5rem 1.9rem 2.25rem;
}

.gen-modal .gen-transfer-panel {
  background: #172b12;
  border-radius: 12px;
  padding: 1.9rem 1.75rem;
  margin-bottom: 2.35rem;
}

.gen-modal .transfer-line {
  background: #31482a;
}

.gen-modal .transfer-username,
.gen-modal .transfer-item-name {
  font-weight: 800;
  color: #ffffff;
}

.gen-modal .online-badge {
  color: #47c560;
  border-color: #47c560;
  background: rgba(51, 186, 78, 0.2);
}

.gen-modal .pending-badge {
  color: #ff9f2b;
  border-color: #e98210;
  background: rgba(233, 130, 16, 0.2);
}

.gen-modal .gen-success-sub {
  color: #aeb2bf !important;
  font-size: 1.05rem;
  line-height: 1.35;
  max-width: 470px;
  margin: 0 auto 1.35rem !important;
}

.gen-modal .gen-success-sub strong {
  color: #c9ccd6;
}

.gen-modal .offer-container {
  gap: 1.25rem;
}

.gen-modal .offer-card {
  min-height: 96px;
  background: #172b12;
  border: 1px solid #456b2b;
  border-left: 7px solid #ff9f2b;
  border-radius: 13px;
  padding: 1.25rem 1.25rem 1.25rem 1.45rem;
  gap: 1.15rem;
}

.gen-modal .offer-card:hover {
  background: #1e3517;
  border-color: #ff9f2b;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
  transform: translateY(-1px);
}

.gen-modal .offer-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 0;
  background: #10200c;
  flex: 0 0 auto;
}

.gen-modal .offer-title {
  color: #ff9f2b;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.gen-modal .offer-desc {
  color: #a9bf9b;
  font-size: 0.95rem;
  font-weight: 500;
}

.gen-modal .offer-action {
  min-width: 102px;
  text-align: center;
  background: linear-gradient(180deg, #31dd7d 0%, #17a957 100%);
  border: 1px solid #6cf2a3;
  color: #ffffff;
  border-radius: 9px;
  padding: 0.8rem 1.35rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(35, 205, 111, 0.3);
}

.gen-modal .offers-empty {
  background: #172b12;
  border: 1px solid #456b2b;
  border-radius: 12px;
  color: #a9bf9b;
  font-weight: 600;
  padding: 1.1rem;
  text-align: center;
}

.gen-modal .cpa-modal-footer {
  border-top-color: #665426 !important;
  color: #a9bf9b;
}

.gen-modal .secure-footer-line {
  color: #a9bf9b;
  font-size: 0.95rem;
}

.gen-modal .status-dot.pulsing {
  background: #4fbd5e;
}

.gen-modal .gen-expire-note {
  color: #a9bf9b;
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .gen-modal .gen-box {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    overflow-y: auto;
  }

  .gen-modal #gen-screen-3 {
    padding: 1.75rem 1rem;
  }

  .gen-modal .gen-transfer-panel {
    padding: 1.25rem 0.9rem;
  }

  .gen-modal .offer-card {
    min-height: 88px;
    padding: 1rem 0.9rem 1rem 1.1rem;
  }

  .gen-modal .offer-title {
    font-size: 0.98rem;
  }

  .gen-modal .offer-desc {
    font-size: 0.84rem;
  }

  .gen-modal .offer-action {
    min-width: 82px;
    padding: 0.7rem 0.8rem;
  }
}

/* Compact drop-board layout */
.items-section {
  padding: 1.25rem 0 2rem;
}

.drop-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 0.85rem 4.75rem 0.85rem 0;
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-chip .hero-logo {
  width: 64px;
  max-width: 64px;
  margin: 0;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(6, 214, 160, 0.34));
}

.brand-chip .hero-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0.4px;
  text-align: left;
  text-transform: none;
}

.mini-caption {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.drop-board-header .social-proof {
  border-radius: 12px;
  white-space: nowrap;
}

.shop-panel {
  padding: 0.85rem;
  border-radius: 18px;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(235px, 0.72fr) minmax(0, 1.65fr);
  gap: 0.85rem;
  align-items: stretch;
}

.featured-drop {
  position: sticky;
  top: 1rem;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 209, 102, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 77, 109, 0.2), rgba(6, 214, 160, 0.09)),
    #121927;
  cursor: pointer;
  overflow: hidden;
}

.featured-copy {
  position: relative;
  z-index: 1;
}

.featured-kicker,
.inventory-pill,
.inventory-count {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.featured-drop h2 {
  margin: 0.35rem 0 0.3rem;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1;
  color: var(--text-main);
}

.featured-drop p {
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.featured-drop img {
  width: min(100%, 280px);
  max-height: 260px;
  align-self: end;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.44));
}

.inventory-zone {
  min-width: 0;
}

.inventory-zone .shop-header.store-banner {
  min-height: 50px;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
}

.inventory-zone .store-banner-left {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.inventory-zone .store-title-text {
  font-size: 1.15rem;
  letter-spacing: 0.3px;
}

.inventory-pill {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(6, 214, 160, 0.35);
  border-radius: 999px;
  color: var(--tertiary-blue);
}

.shop-items-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.shop-item {
  min-height: 0;
  padding: 0.55rem;
  border-radius: 13px;
}

.shop-item-img-box {
  aspect-ratio: 1.18 / 1;
  padding: 0.45rem;
  border-radius: 10px;
}

.shop-item-img-box img {
  max-width: 92%;
  max-height: 92%;
}

.shop-item-info {
  padding: 0.45rem 0.1rem 0.25rem;
}

.shop-item-name {
  min-height: 2.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  line-height: 1.02;
  letter-spacing: 0.2px;
}

.roblox-claim-btn {
  width: 100%;
  min-height: 34px;
  padding: 0.43rem 0.55rem;
  border-radius: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.6px;
}

.site-footer {
  display: none;
}

@media (max-width: 960px) {
  .drop-board-header {
    padding-right: 4.5rem;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .featured-drop {
    position: relative;
    top: auto;
    min-height: 170px;
    grid-template-columns: minmax(0, 1fr) 170px;
    grid-template-rows: auto;
    align-items: center;
  }

  .featured-drop img {
    max-height: 150px;
  }
}

@media (max-width: 760px) {
  .lang-switcher {
    top: 0.75rem;
    right: 0.75rem;
  }

  .items-section {
    padding-top: 0.75rem;
  }

  .drop-board-header {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 0.25rem 4.3rem 0.75rem 0;
  }

  .brand-chip .hero-logo {
    width: 52px;
    max-width: 52px;
  }

  .mini-caption {
    display: none;
  }

  .drop-board-header .social-proof {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }

  .featured-drop {
    grid-template-columns: 1fr 120px;
    min-height: 118px;
    padding: 0.7rem;
  }

  .featured-drop h2 {
    font-size: 1.2rem;
  }

  .featured-drop p {
    display: none;
  }

  .featured-drop img {
    max-height: 104px;
  }

  .shop-items-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.48rem;
  }

  .shop-panel {
    padding: 0.55rem;
  }

  .shop-item {
    padding: 0.42rem;
    border-radius: 11px;
  }

  .shop-item-img-box {
    aspect-ratio: 1.3 / 1;
    padding: 0.32rem;
  }

  .shop-item-name {
    min-height: 2.15em;
    font-size: 0.68rem;
  }

  .roblox-claim-btn {
    min-height: 29px;
    padding: 0.32rem 0.35rem;
    font-size: 0.68rem;
  }
}

@media (max-width: 350px) {
  .shop-items-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1320px;
  }

  .shop-items-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
