@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: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a26;

  /* ── CHANGED: from red to purple ── */
  --primary-red: #7c3aed;
  --primary-red-glow: rgba(124, 58, 237, 0.45);
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;

  --secondary-gold: #f5bb27;
  --tertiary-blue: #29abf7;
  --text-main: #f0f0f5;
  --text-muted: #8e8e9e;
  
  --rarity-godly: #e63946;
  --rarity-ancient: #9b59b6;
  --rarity-unique: #e67e22;
  --rarity-legendary: #f1c40f;
  --rarity-vintage: #2ecc71;
  --rarity-eternal: #00ffff;
  --rarity-divine: #ffdf00;
  --rarity-secret: #ff00ff;
  --rarity-cosmic: #8a2be2;

  --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(10, 10, 15, 0.8) 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 var(--primary-red-glow);
  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 var(--primary-red-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-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(18, 18, 26, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px 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, transparent, var(--primary-red), var(--secondary-gold), 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 rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 1rem;
}

.store-title-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.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(135deg, var(--primary-red), var(--primary-light));
  color: white;
  box-shadow: 0 0 15px var(--primary-red-glow);
}

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

/* ── Shop item cards ── */
.shop-item {
  background: linear-gradient(160deg, #16172200 0%, #0e0e1800 100%);
  background-color: #13141f;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  cursor: pointer;
}

.shop-item:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,58,237,0.18);
}

.shop-item-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 60%, rgba(124,58,237,0.1) 0%, transparent 70%);
  padding: 1.2rem;
}

.shop-item-img-box img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

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

.shop-item-info {
  padding: 0.6rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.shop-item-name {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
  line-height: 1.2;
}

.shop-item-stock {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
}

.shop-item-rarity {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  align-self: center;
  margin-top: 0.2rem;
}

.rarity-godly   { background: rgba(230,57,70,0.15);   color: #ff6b77;   border: 1px solid rgba(230,57,70,0.4);   }
.rarity-ancient { background: rgba(155,89,182,0.15);  color: #c084fc;   border: 1px solid rgba(155,89,182,0.4); }
.rarity-unique  { background: rgba(230,126,34,0.15);  color: #fb923c;   border: 1px solid rgba(230,126,34,0.4);  }
.rarity-legendary { background: rgba(241,196,15,0.15); color: #fbbf24; border: 1px solid rgba(241,196,15,0.4); }
.rarity-vintage { background: rgba(46,204,113,0.15);  color: #4ade80;   border: 1px solid rgba(46,204,113,0.4); }
.rarity-eternal { background: rgba(0,255,255,0.12);   color: #22d3ee;   border: 1px solid rgba(0,255,255,0.35); }
.rarity-divine  { background: rgba(255,223,0,0.12);   color: #fde047;   border: 1px solid rgba(255,223,0,0.35);  }
.rarity-secret  { background: rgba(255,0,255,0.12);   color: #e879f9;   border: 1px solid rgba(255,0,255,0.35);  }
.rarity-cosmic  { background: rgba(138,43,226,0.15);  color: #a78bfa;   border: 1px solid rgba(138,43,226,0.4);  }

/* ── Claim button ── */
.roblox-claim-btn {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  margin: 0 0.5rem 0.6rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 12px rgba(124,58,237,0.35);
}

.roblox-claim-btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 5px 20px rgba(124,58,237,0.55);
  transform: translateY(-1px);
}

/* fire-effect: keep border gold but remove distracting animation */
.fire-effect {
  border-color: rgba(245,187,39,0.35);
}

/* ── 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 modal ── */
.gen-box {
  position: relative;
  background: #13141f;
  width: 92%;
  max-width: 440px;
  border-radius: 20px;
  border: 1px solid rgba(124,58,237,0.25);
  border-top: 3px solid var(--primary-red);
  box-shadow: 0 24px 60px rgba(0,0,0,0.8), 0 0 40px rgba(124,58,237,0.15);
  overflow: hidden;
}

.gen-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  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: white;
  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: rgba(124,58,237,0.08);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(124,58,237,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.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: white;
  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(124, 58, 237, 0.2);
  color: var(--primary-light);
  border: 1px solid var(--primary-red);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  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: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  border-radius: 12px;
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.gen-input::placeholder { color: rgba(255,255,255,0.3); }

.gen-input:focus {
  outline: none;
  border-color: var(--primary-red);
  background: rgba(124,58,237,0.07);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}

.gen-error-msg {
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

/* ── Primary button ── */
.gen-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 0.95rem 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;
  box-shadow: 0 4px 20px var(--primary-red-glow);
  margin-top: 0.25rem;
}

.gen-btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 28px var(--primary-red-glow);
  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-progress-header {
  text-align: center;
  margin-bottom: 2rem;
}

.avatar-scanner-container {
  width: 96px; height: 96px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  border: 2px solid rgba(124,58,237,0.4);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
}

.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 var(--primary-red-glow);
  animation: scan 2s linear infinite;
  display: none;
}

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

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

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

.gen-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0.35;
  transition: opacity 0.35s ease;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
}

.gen-step.active {
  opacity: 1;
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.25);
}

.gen-step.done {
  opacity: 0.65;
  background: rgba(46,204,113,0.06);
  border-color: rgba(46,204,113,0.2);
}

.gen-step-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.gen-step.active .gen-step-icon {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-light));
  box-shadow: 0 0 14px var(--primary-red-glow);
  color: white;
}

.gen-step.done .gen-step-icon {
  background: linear-gradient(135deg, #16a34a, var(--rarity-vintage));
  color: white;
}

.gen-step-title { color: white; font-weight: 600; font-size: 0.9rem; }
.gen-step-sub { color: var(--text-muted); font-size: 0.75rem; margin-top: 1px; }

/* ── CHANGED: Progress bar purple-to-gold ── */
.gen-progress-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-top: 2rem;
  overflow: hidden;
}

.gen-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-red), var(--secondary-gold));
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary-red-glow);
}

/* Gen Screen 3 */
.gen-transfer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  background: rgba(124,58,237,0.06);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(124,58,237,0.12);
}

.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(124,58,237,0.25);
}

.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.15); color: #4ade80; border: 1px solid rgba(46,204,113,0.4); }
/* PENDING badge — orange pulsing */
.pending-badge {
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.45);
  animation: pendingPulse 1.8s ease-in-out infinite;
}

@keyframes pendingPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.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: linear-gradient(90deg, var(--primary-red), var(--primary-light));
  box-shadow: 0 0 8px var(--primary-red);
  transition: width 2s ease;
}

/* Animated dot traveling from item → avatar */
.transfer-pulse {
  position: absolute;
  top: 50%;
  right: 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: travelDot 1.8s ease-in-out infinite;
  display: none;
}

@keyframes travelDot {
  0%   { right: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

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

/* ── CHANGED: 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-light);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

/* ── CHANGED: Offer cards ── */
.offer-card {
  display: flex;
  align-items: center;
  background: rgba(124,58,237,0.05);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(124,58,237,0.12);
  border-left: 4px solid var(--primary-red);
  gap: 1rem;
  transition: all 0.25s ease;
  text-decoration: none !important;
  color: inherit;
}

.offer-card:hover {
  background: rgba(124,58,237,0.12);
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.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;
}

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

.offer-title {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none !important;
}

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

/* ── CHANGED: Offer action button ── */
.offer-action {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-light));
  color: white;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 3px 10px var(--primary-red-glow);
}

.offer-action:hover {
  filter: brightness(1.12);
  box-shadow: 0 5px 16px var(--primary-red-glow);
  transform: translateY(-1px);
}

.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 */
.offer-card { text-decoration: none !important; color: inherit; }
.offer-title { text-decoration: none !important; }
.offer-container a { text-decoration: none !important; }
