@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: #0B0B0B;
  --bg-card: #151515;
  --bg-card-hover: #1A1A1A;
  --bg-secondary: #111111;
  --primary-yellow: #FFD400;
  --yellow-hover: #FFEA00;
  --yellow-active: #E6B800;
  --yellow-glow: rgba(255, 212, 0, 0.35);
  --yellow-glow-strong: rgba(255, 212, 0, 0.55);
  --orange-accent: #FF8A00;
  --orange-glow: rgba(255, 138, 0, 0.35);
  --text-main: #FFFFFF;
  --text-secondary: #D9D9D9;
  --text-muted: #9A9A9A;
  --text-btn: #080808;
  --border-subtle: #292929;
  --border-important: #FFD400;

  /* Rarity badge colors - restricted strictly to Black, Yellow, White, Orange */
  --rarity-godly: #FFD400;
  --rarity-ancient: #FF8A00;
  --rarity-unique: #FF8A00;
  --rarity-legendary: #FFD400;
  --rarity-vintage: #FFD400;
  --rarity-eternal: #FFD400;
  --rarity-divine: #FFD400;
  --rarity-secret: #FF8A00;
  --rarity-cosmic: #FF8A00;

  --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 - Clean Dark Gradient, Floating Background Items Removed */
.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% 20%, #151515 0%, var(--bg-main) 80%);
}

/* Language Switcher */
.lang-switcher {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

.lang-button {
  background: rgba(21, 21, 21, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: var(--text-main);
  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(--border-important);
  box-shadow: 0 0 10px var(--yellow-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.88);
  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-yellow);
  box-shadow: 0 0 30px var(--yellow-glow);
  text-align: center;
  max-width: 90%;
  width: 400px;
}

.ios-instruction-gif {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
}

.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 var(--yellow-glow));
}

.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-yellow), var(--orange-accent));
  -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-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(21, 21, 21, 0.85);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(4px);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-yellow);
  box-shadow: 0 0 8px var(--yellow-glow);
  animation: pulse 2s infinite;
}

/* Shop Panel */
.shop-panel {
  background: rgba(21, 21, 21, 0.85);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.shop-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
}

.shop-header.store-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.store-title-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-banner-tabs {
  display: flex;
  gap: 1rem;
}

.store-tab {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  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: var(--primary-yellow);
  color: var(--text-btn);
  border-color: var(--primary-yellow);
  box-shadow: 0 0 15px var(--yellow-glow);
}

/* Shop Items Grid */
.shop-items-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.shop-item {
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.shop-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-important);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 15px var(--yellow-glow);
}

.shop-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.shop-item-img-box {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 212, 0, 0.04) 0%, transparent 70%);
  padding: 1rem;
}

.shop-item-img-box img {
  max-width: 80%;
  max-height: 80%;
  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(5deg);
}

.shop-item-info {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.shop-item-name {
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: center;
}

.shop-item-stock {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

.shop-item-rarity {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  align-self: center;
  margin-top: auto;
}

.rarity-godly { background: rgba(255, 212, 0, 0.15); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); }
.rarity-ancient { background: rgba(255, 138, 0, 0.15); color: var(--orange-accent); border: 1px solid var(--orange-accent); }
.rarity-unique { background: rgba(255, 138, 0, 0.15); color: var(--orange-accent); border: 1px solid var(--orange-accent); }
.rarity-legendary { background: rgba(255, 212, 0, 0.15); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); }
.rarity-vintage { background: rgba(255, 212, 0, 0.15); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); }
.rarity-eternal { background: rgba(255, 212, 0, 0.15); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); }
.rarity-divine { background: rgba(255, 212, 0, 0.15); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); }
.rarity-secret { background: rgba(255, 138, 0, 0.15); color: var(--orange-accent); border: 1px solid var(--orange-accent); }
.rarity-cosmic { background: rgba(255, 138, 0, 0.15); color: var(--orange-accent); border: 1px solid var(--orange-accent); }

/* Primary CTA Button */
.roblox-claim-btn {
  background: var(--primary-yellow);
  color: var(--text-btn);
  border: none;
  padding: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px var(--yellow-glow);
}

.roblox-claim-btn:hover {
  background: var(--yellow-hover);
  box-shadow: 0 0 18px var(--yellow-glow-strong);
}

.roblox-claim-btn:active {
  background: var(--yellow-active);
}

.fire-effect {
  border-color: var(--border-important);
  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.88);
  backdrop-filter: blur(8px);
}

.gen-box {
  position: relative;
  background: var(--bg-card);
  width: 90%;
  max-width: 450px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary-yellow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.gen-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  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: var(--text-main);
  font-weight: 600;
  font-size: 1.2rem;
}

.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: var(--bg-secondary);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.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: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

.gen-item-badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  background: rgba(255, 212, 0, 0.15);
  color: var(--primary-yellow);
  border: 1px solid var(--primary-yellow);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  width: max-content;
}

.gen-desc {
  color: var(--text-secondary);
  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: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1rem 1rem 2.5rem;
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.gen-input:focus {
  outline: none;
  border-color: var(--border-important);
  box-shadow: 0 0 12px var(--yellow-glow);
}

.gen-error-msg {
  color: var(--orange-accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

.gen-btn-primary {
  width: 100%;
  background: var(--primary-yellow);
  color: var(--text-btn);
  border: none;
  padding: 1rem;
  border-radius: 8px;
  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 0 12px var(--yellow-glow);
}

.gen-btn-primary:hover {
  background: var(--yellow-hover);
  box-shadow: 0 0 22px var(--yellow-glow-strong);
  transform: translateY(-2px);
}

.gen-btn-primary:active {
  background: var(--yellow-active);
}

.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(--primary-yellow);
  box-shadow: 0 0 6px var(--yellow-glow);
  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(255, 212, 0, 0.3);
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.15);
  transition: border-color 0.5s, box-shadow 0.5s;
  flex-shrink: 0;
}

.avatar-scanner-container.scanning {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 25px var(--yellow-glow);
}

.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-yellow);
  box-shadow: 0 0 10px var(--primary-yellow), 0 20px 20px var(--yellow-glow);
  animation: scan 2s linear infinite;
  display: none;
}

.avatar-scanner-container.scanning .scanner-laser {
  display: block;
}

#scanner-username {
  display: block !important;
  width: 100%;
  color: var(--text-main);
  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-yellow) !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: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  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 var(--border-subtle);
}

.gen-step:last-child {
  border-bottom: none;
}

.gen-step.active {
  opacity: 1;
  background: rgba(255, 212, 0, 0.08);
}

.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.8rem;
  font-weight: bold;
  color: var(--text-main);
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
}

.gen-step.active .gen-step-icon {
  background: var(--primary-yellow);
  color: var(--text-btn);
  box-shadow: 0 0 12px var(--yellow-glow);
}

.gen-step.done .gen-step-icon {
  background: var(--primary-yellow);
  color: var(--text-btn);
  box-shadow: none;
}

.gen-step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gen-step-title {
  color: var(--text-main);
  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: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-top: 1.2rem;
  overflow: hidden;
}

.gen-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-accent), var(--primary-yellow), var(--yellow-hover));
  background-size: 200% 100%;
  border-radius: 10px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px var(--yellow-glow);
  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: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.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: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid var(--border-subtle);
}

.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(--primary-yellow); box-shadow: 0 0 6px var(--yellow-glow); }
.transfer-status-indicator.pending { background: var(--orange-accent); box-shadow: 0 0 6px var(--orange-glow); }

.transfer-username, .transfer-item-name {
  color: var(--text-main);
  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(255, 212, 0, 0.15); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); }
.pending-badge { background: rgba(255, 138, 0, 0.15); color: var(--orange-accent); border: 1px solid var(--orange-accent); }

.transfer-path {
  flex-grow: 1;
  height: 2px;
  background: var(--border-subtle);
  position: relative;
  margin: 0 1rem;
  transform: translateY(-15px);
}

.transfer-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary-yellow);
  box-shadow: 0 0 8px var(--yellow-glow);
}

.transfer-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px #FFFFFF, 0 0 20px var(--primary-yellow);
  animation: transferPulse 2s infinite;
  display: none;
}

.gen-success-sub {
  color: var(--text-secondary);
  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 var(--border-subtle);
  border-top-color: var(--primary-yellow);
  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: var(--bg-secondary);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary-yellow);
  gap: 1rem;
  transition: all 0.3s ease;
}

.offer-card:hover {
  background: var(--bg-card);
  border-color: var(--border-important);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px var(--yellow-glow);
}

.offer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
  min-width: 0;
}

.offer-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.offer-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.offer-title {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-desc {
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: block;
}

.offer-action {
  background: var(--primary-yellow);
  color: var(--text-btn);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 0 8px var(--yellow-glow);
}

.offer-action:hover {
  background: var(--yellow-hover);
  box-shadow: 0 0 14px var(--yellow-glow-strong);
}

.offer-action:active {
  background: var(--yellow-active);
}

.success-message-box {
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid var(--primary-yellow);
  color: var(--primary-yellow);
  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(--primary-yellow);
  box-shadow: 0 0 6px var(--yellow-glow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.gen-expire-note {
  color: var(--text-muted);
  font-size: 0.75rem;
}

#gen-timer {
  color: var(--orange-accent);
  font-weight: 600;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
}

.footer-keywords {
  color: var(--text-muted);
  font-size: 0.7rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.6;
}

/* Animations */
@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 rgba(255, 138, 0, 0.4); }
  to { box-shadow: 0 0 20px rgba(255, 212, 0, 0.6), 0 0 30px rgba(255, 138, 0, 0.4); }
}

@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; }
}

/* 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; }
