@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: #090c15;
  --bg-card: #111625;
  --bg-card-hover: #192238;
  --bg-glass: rgba(17, 22, 37, 0.75);
  --primary-egg: #10b981;
  --primary-egg-glow: rgba(16, 185, 129, 0.45);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.45);
  --accent-gold: #fbbf24;
  --accent-gold-glow: rgba(251, 191, 36, 0.45);
  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.45);
  --accent-pink: #ec4899;
  --accent-pink-glow: rgba(236, 72, 153, 0.45);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --rarity-godly: #ef4444;
  --rarity-ancient: #a855f7;
  --rarity-unique: #f97316;
  --rarity-legendary: #fbbf24;
  --rarity-vintage: #10b981;
  --rarity-eternal: #06b6d4;
  --rarity-divine: #ffd700;
  --rarity-secret: #ec4899;
  --rarity-cosmic: #8b5cf6;
  --font-main: 'Rubik', sans-serif;
  --font-heading: 'Fredoka', cursive, sans-serif;
}

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

body {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 20% 15%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(251, 191, 36, 0.12) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  min-height: 100vh;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 1; }
.main-container { position: relative; min-height: 100vh; display: flex; flex-direction: column; }

.weapon-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; }

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.06; }
  90% { opacity: 0.06; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.lang-switcher { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 50; }
.lang-button {
  background: rgba(17, 22, 37, 0.85);
  border: 1.5px solid rgba(6, 182, 212, 0.3);
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4), 0 0 10px rgba(6,182,212,0.2);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  font-size: 0.9rem;
}
.lang-button:hover { border-color: var(--accent-cyan); box-shadow: 0 0 18px var(--accent-cyan-glow); transform: translateY(-2px); }
.lang-icon { font-size: 1.1rem; }
.lang-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.5px; }
.lang-select { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10; appearance: none; -webkit-appearance: none; }

.page-hero { text-align: center; padding: 3.5rem 0 2rem; position: relative; }
.hero-logo {
  max-width: 130px;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 10px 20px rgba(16,185,129,0.4)) drop-shadow(0 0 35px rgba(6,182,212,0.3));
  animation: eggFloat 3.5s ease-in-out infinite alternate;
}
@keyframes eggFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
.hero-text { margin-bottom: 1.25rem; }
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 35%, #10b981 75%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(17,22,37,0.85);
  padding: 0.55rem 1.25rem;
  border-radius: 99px;
  border: 1.5px solid rgba(16,185,129,0.35);
  backdrop-filter: blur(8px);
  font-size: 0.95rem;
  font-family: var(--font-heading);
  color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 15px rgba(16,185,129,0.2);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background-color: #10b981; box-shadow: 0 0 12px #10b981, 0 0 20px #10b981; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(0.9); opacity: 0.7; } }

.shop-panel {
  background: rgba(17,22,37,0.85);
  border-radius: 24px;
  border: 1.5px solid rgba(6,182,212,0.25);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 35px rgba(6,182,212,0.15), 0 0 20px rgba(16,185,129,0.1);
  position: relative;
  overflow: hidden;
}
.shop-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #10b981, #06b6d4, #a855f7, #fbbf24, #10b981);
  background-size: 200% 100%;
  animation: rainbowBar 4s linear infinite;
}
@keyframes rainbowBar { 0% { background-position: 0% 0%; } 100% { background-position: 200% 0%; } }

.shop-header.store-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(6,182,212,0.15);
}
.store-title-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

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

.shop-item {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,0.07);
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}
.shop-item:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(6,182,212,0.5); box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 20px rgba(6,182,212,0.2); background: var(--bg-card-hover); }
.shop-item.fire-effect::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(251,191,36,0.08) 0%, transparent 60%); pointer-events: none; }

.shop-item-img-box { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.shop-item-img-box img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.shop-item:hover .shop-item-img-box img { transform: scale(1.08); }

.shop-item-info { display: flex; flex-direction: column; gap: 0.3rem; }
.shop-item-name { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: #e2e8f0; line-height: 1.2; }
.shop-item-stock { font-size: 0.72rem; color: var(--text-muted); }
.shop-item-rarity { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.8px; width: fit-content; }
.rarity-secret { background: rgba(236,72,153,0.15); color: var(--rarity-secret); border: 1px solid rgba(236,72,153,0.3); }
.rarity-eternal { background: rgba(6,182,212,0.15); color: var(--rarity-eternal); border: 1px solid rgba(6,182,212,0.3); }
.rarity-divine { background: rgba(255,215,0,0.15); color: var(--rarity-divine); border: 1px solid rgba(255,215,0,0.3); }
.rarity-cosmic { background: rgba(139,92,246,0.15); color: var(--rarity-cosmic); border: 1px solid rgba(139,92,246,0.3); }
.rarity-godly { background: rgba(239,68,68,0.15); color: var(--rarity-godly); border: 1px solid rgba(239,68,68,0.3); }
.rarity-legendary { background: rgba(251,191,36,0.15); color: var(--rarity-legendary); border: 1px solid rgba(251,191,36,0.3); }

.roblox-claim-btn { width: 100%; padding: 0.55rem; border: none; border-radius: 10px; background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.25s ease; box-shadow: 0 4px 12px rgba(16,185,129,0.3); letter-spacing: 0.5px; margin-top: auto; }
.roblox-claim-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(16,185,129,0.5); }
.roblox-claim-btn:active { transform: scale(0.97); }

.gen-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; padding: 1rem; }
.gen-modal.open { display: flex; }
.gen-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(6px); cursor: pointer; }
.gen-box { position: relative; background: #0f1420; border: 1.5px solid rgba(6,182,212,0.3); border-radius: 20px; padding: 1.5rem; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(6,182,212,0.15); animation: slideUp 0.35s cubic-bezier(0.16,1,0.3,1); }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.gen-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(6,182,212,0.15); }
.gen-logo-row { display: flex; align-items: center; gap: 0.75rem; }
.gen-logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.gen-label { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #e2e8f0; }

.gen-screen { display: none; }
.gen-screen.active { display: block; }

.gen-item-preview { display: flex; align-items: center; gap: 1rem; background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2); border-radius: 14px; padding: 0.85rem 1rem; margin-bottom: 1rem; }
.gen-item-thumb { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; }
.gen-item-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: #e2e8f0; }
.gen-item-badge { display: inline-block; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #10b981; font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 99px; letter-spacing: 1px; margin-top: 0.25rem; }

.gen-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; line-height: 1.5; }
.gen-input-wrap { display: flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.05); border: 1.5px solid rgba(6,182,212,0.25); border-radius: 12px; padding: 0.7rem 1rem; margin-bottom: 0.75rem; transition: border-color 0.2s; }
.gen-input-wrap:focus-within { border-color: var(--accent-cyan); }
.gen-input-icon { font-size: 1rem; }
.gen-input { flex: 1; background: none; border: none; outline: none; color: white; font-family: var(--font-main); font-size: 0.95rem; }
.gen-input::placeholder { color: rgba(255,255,255,0.3); }
.gen-error-msg { color: #ef4444; font-size: 0.82rem; margin-bottom: 0.5rem; display: none; }

.gen-btn-primary { width: 100%; padding: 0.9rem; border: none; border-radius: 12px; background: linear-gradient(135deg, #10b981, #06b6d4); color: white; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.25s; box-shadow: 0 6px 20px rgba(16,185,129,0.35); letter-spacing: 0.5px; }
.gen-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16,185,129,0.5); }

.gen-security-row { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-muted); }
.gen-security-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; }

.gen-progress-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.5rem; }
.avatar-scanner-container { position: relative; width: 80px; height: 80px; margin-bottom: 0.75rem; }
.scanner-avatar-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(6,182,212,0.4); }
.scanner-laser { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, transparent, #06b6d4, transparent); animation: laserScan 1.5s ease-in-out infinite; border-radius: 2px; opacity: 0; }
.avatar-scanner-container.scanning .scanner-laser { opacity: 1; }
@keyframes laserScan { 0% { top: 0%; } 50% { top: 100%; } 100% { top: 0%; } }
.scanner-username-label { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: #e2e8f0; margin-bottom: 0.3rem; }
.gen-progress-label { font-size: 0.88rem; color: var(--accent-cyan); text-align: center; }

.gen-steps { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.gen-step { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 1rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; transition: all 0.3s; }
.gen-step.active { border-color: rgba(6,182,212,0.4); background: rgba(6,182,212,0.06); }
.gen-step.done { border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.06); }
.gen-step-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); flex-shrink: 0; transition: all 0.3s; }
.gen-step.active .gen-step-icon { background: rgba(6,182,212,0.2); color: var(--accent-cyan); animation: stepPulse 1s infinite; }
.gen-step.done .gen-step-icon { background: rgba(16,185,129,0.2); color: #10b981; }
@keyframes stepPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(6,182,212,0.4); } 50% { box-shadow: 0 0 0 6px rgba(6,182,212,0); } }
.gen-step-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: #e2e8f0; }
.gen-step-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }

.gen-progress-bar-wrap { height: 6px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.gen-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #10b981, #06b6d4); border-radius: 99px; transition: width 0.5s ease; box-shadow: 0 0 10px rgba(16,185,129,0.5); }

.gen-transfer-panel { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.2rem; }
.transfer-node { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.transfer-avatar-wrap, .transfer-item-wrap { position: relative; width: 70px; height: 70px; }
.transfer-avatar-img, .transfer-item-img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.transfer-item-img { border-radius: 14px; object-fit: contain; }
.transfer-status-indicator { position: absolute; bottom: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #0f1420; }
.transfer-status-indicator.online { background: #10b981; box-shadow: 0 0 8px #10b981; }
.transfer-status-indicator.pending { background: var(--accent-gold); box-shadow: 0 0 8px var(--accent-gold); animation: pulse 1.5s infinite; }
.transfer-username, .transfer-item-name { font-family: var(--font-heading); font-size: 0.82rem; font-weight: 600; color: #e2e8f0; text-align: center; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transfer-badge { font-size: 0.6rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 99px; letter-spacing: 1px; }
.online-badge { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.pending-badge { background: rgba(251,191,36,0.15); color: var(--accent-gold); border: 1px solid rgba(251,191,36,0.3); }
.transfer-path { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; flex: 1; max-width: 60px; position: relative; }
.transfer-line { width: 100%; height: 2px; background: linear-gradient(90deg, #10b981, var(--accent-gold)); border-radius: 2px; }
.transfer-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-cyan); animation: transferMove 1.5s linear infinite; position: absolute; top: 50%; transform: translateY(-50%); }
@keyframes transferMove { 0% { left: 0%; opacity: 1; } 100% { left: 100%; opacity: 0; } }

.offers-loading { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2rem; color: var(--text-muted); font-size: 0.9rem; }
.spinner { width: 32px; height: 32px; border: 3px solid rgba(6,182,212,0.2); border-top-color: var(--accent-cyan); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.offer-container { display: flex; flex-direction: column; gap: 0.9rem; }

/* Offer card with image */
.offer-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none;
  color: inherit;
}
.offer-card:hover {
  border-color: rgba(16,185,129,0.5);
  background: rgba(16,185,129,0.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 15px rgba(16,185,129,0.15);
}

/* Image wrapper */
.offer-img-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.offer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  display: block;
}
.offer-img-fallback {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-radius: 13px;
}

.offer-text { flex: 1; min-width: 0; }
.offer-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA button */
.offer-cta {
  flex-shrink: 0;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
  transition: box-shadow 0.2s, transform 0.2s;
}
.offer-card:hover .offer-cta {
  box-shadow: 0 6px 18px rgba(16,185,129,0.5);
  transform: scale(1.05);
}

.offer-arrow { color: var(--text-muted); font-size: 0.85rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; display: inline-block; margin-right: 6px; box-shadow: 0 0 8px #10b981; }
.status-dot.pulsing { animation: pulse 1.5s infinite; }
.gen-expire-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
#gen-timer { color: #ef4444; font-weight: 700; }

.cpa-modal-footer { margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(6,57,70,0.2); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.secure-footer-line { justify-content: center; display: flex; align-items: center; font-size: 0.82rem; color: var(--text-muted); }

.site-footer { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: auto; }
.footer-keywords { font-size: 0.78rem; color: rgba(255,255,255,0.2); line-height: 1.8; text-align: center; }

.ios-popup { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.modal-banner-ad { margin-top: 15px; display: flex; justify-content: center; align-items: center; min-height: 60px; overflow: hidden; border-radius: 8px; width: 100%; }

.gen-success-sub { text-align: center; color: #8e8e9e; margin-bottom: 15px; font-size: 0.88rem; line-height: 1.5; }

@media (max-width: 640px) {
  .hero-title { font-size: 1.9rem; }
  .shop-items-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .gen-box { padding: 1.1rem; }
  .gen-transfer-panel { gap: 0.6rem; }
}
