@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;
  --primary-red: #e63946;
  --primary-red-glow: rgba(230, 57, 70, 0.4);
  --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;
  
  --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 rgba(230, 57, 70, 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: 200px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(230, 57, 70, 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(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), 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-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: var(--primary-red);
  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 {
  background: rgba(10, 10, 15, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.shop-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-red-glow);
}

.shop-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.shop-item-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 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.5));
  transition: transform 0.3s ease;
}

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

.shop-item-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.shop-item-name {
  color: white;
  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(230, 57, 70, 0.2); color: var(--rarity-godly); border: 1px solid var(--rarity-godly); }
.rarity-ancient { background: rgba(155, 89, 182, 0.2); color: var(--rarity-ancient); border: 1px solid var(--rarity-ancient); }
.rarity-unique { background: rgba(230, 126, 34, 0.2); color: var(--rarity-unique); border: 1px solid var(--rarity-unique); }
.rarity-legendary { background: rgba(241, 196, 15, 0.2); color: var(--rarity-legendary); border: 1px solid var(--rarity-legendary); }
.rarity-vintage { background: rgba(46, 204, 113, 0.2); color: var(--rarity-vintage); border: 1px solid var(--rarity-vintage); }

.roblox-claim-btn {
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roblox-claim-btn:hover {
  background: #ff4a5a;
  box-shadow: 0 0 15px var(--primary-red-glow);
}

.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: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--primary-red);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  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(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.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(230, 57, 70, 0.2);
  color: var(--primary-red);
  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(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1rem 1rem 2.5rem;
  border-radius: 8px;
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.gen-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.2);
}

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

.gen-btn-primary {
  width: 100%;
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gen-btn-primary:hover {
  background: #ff4a5a;
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
  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: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.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: 1rem;
}

.gen-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.gen-step.active {
  opacity: 1;
}

.gen-step.done {
  opacity: 0.7;
}

.gen-step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}

.gen-step.active .gen-step-icon {
  background: var(--primary-red);
  box-shadow: 0 0 10px rgba(230,57,70,0.5);
}

.gen-step.done .gen-step-icon {
  background: var(--rarity-vintage);
}

.gen-step-title {
  color: white;
  font-weight: 500;
}

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

.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), #ff4a5a);
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(230,57,70,0.5);
}

/* 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: rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 4px solid var(--primary-red);
  gap: 1rem;
  transition: all 0.3s ease;
}

.offer-card:hover {
  background: rgba(230,57,70,0.1);
  border-color: rgba(230,57,70,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;
}

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

.offer-action {
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.offer-action:hover {
  background: #ff4a5a;
  box-shadow: 0 0 10px rgba(230,57,70,0.4);
}

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

/* Premium polish layer */
:root {
  --bg-main: #090a10;
  --bg-card: #11131c;
  --bg-card-hover: #171b27;
  --primary-red: #ff384f;
  --primary-red-glow: rgba(255, 56, 79, 0.34);
  --secondary-gold: #ffd166;
  --tertiary-blue: #39c6ff;
  --accent-mint: #36d399;
  --accent-pink: #ff6bb5;
  --text-main: #f7f7fb;
  --text-muted: #a7adbd;
  --panel-line: rgba(255, 255, 255, 0.1);
  --panel-strong: rgba(255, 255, 255, 0.16);
  --soft-surface: rgba(15, 18, 29, 0.76);
  --deep-surface: rgba(7, 9, 15, 0.92);
  --rarity-rare: #39c6ff;
  --rarity-uncommon: #36d399;
  --rarity-common: #c7d0df;
  --shadow-xl: 0 28px 90px rgba(0, 0, 0, 0.48);
  --radius-card: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 47, 73, 0.24), transparent 23rem),
    radial-gradient(circle at 86% 18%, rgba(57, 198, 255, 0.22), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(255, 209, 102, 0.1), transparent 30rem),
    linear-gradient(180deg, #080b12 0%, #070910 42%, #050609 100%);
  color: var(--text-main);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .main-container,
body.modal-open .lang-switcher,
body.modal-open .weapon-bg {
  filter: blur(2px);
}

a,
button,
input,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(57, 198, 255, 0.72);
  outline-offset: 3px;
}

.container {
  width: min(100% - 28px, 1180px);
  padding: 0;
}

.main-container {
  isolation: isolate;
}

.items-section {
  padding: 4.8rem 0 1.8rem;
}

.weapon-bg {
  background:
    radial-gradient(circle at center, rgba(255, 56, 79, 0.08), transparent 34rem),
    linear-gradient(180deg, rgba(8, 10, 16, 0.18), rgba(8, 10, 16, 0.88));
}

.weapon-bg::before,
.weapon-bg::after {
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: transparent;
  opacity: 0.36;
}

.weapon-bg::before {
  top: 10%;
  left: -5rem;
  box-shadow: 0 0 80px rgba(255, 56, 79, 0.2);
}

.weapon-bg::after {
  right: -6rem;
  left: auto;
  bottom: 10%;
  animation-duration: 22s;
  box-shadow: 0 0 80px rgba(57, 198, 255, 0.18);
}

.lang-switcher {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 70;
}

.lang-button {
  min-width: 78px;
  min-height: 40px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--panel-line);
  background: rgba(9, 10, 16, 0.72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

.lang-button:hover {
  border-color: rgba(57, 198, 255, 0.55);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26), 0 0 0 4px rgba(57, 198, 255, 0.08);
}

.lang-select {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: 560px;
  padding: 3.6rem 0 2.5rem;
  text-align: left;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.hero-kicker,
.section-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--secondary-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-logo {
  display: block;
  max-width: 228px;
  margin: 0 0 1.05rem;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 28px rgba(255, 56, 79, 0.24));
}

.hero-text {
  margin: 0;
}

.hero-title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, #ffd166 38%, #ff6b82 74%, #39c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 2.35rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: none;
}

.hero-sub {
  max-width: 600px;
  margin: 1rem 0 0;
  color: #d9deea;
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.55rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border-radius: 8px;
  color: #11131c;
  background: linear-gradient(135deg, var(--secondary-gold), #ff8f70);
  box-shadow: 0 18px 34px rgba(255, 115, 89, 0.22);
  font-weight: 900;
  text-decoration: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
}

.social-proof {
  display: inline-flex;
  min-height: 38px;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--panel-line);
  background: rgba(9, 10, 16, 0.54);
  color: #d9deea;
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.dot {
  width: 0.52rem;
  height: 0.52rem;
  box-shadow: 0 0 0 5px rgba(54, 211, 153, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-stat {
  min-height: 82px;
  padding: 0.9rem;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.hero-stat span,
.hero-stat strong {
  display: block;
}

.hero-stat span {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 900;
}

.hero-stat strong {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-showcase {
  position: relative;
  display: none;
  min-height: 480px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 18% 0 12%;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(255, 56, 79, 0.12), rgba(57, 198, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--panel-line);
  transform: skewY(-4deg);
  box-shadow: var(--shadow-xl);
}

.showcase-item {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 154px;
  min-height: 166px;
  padding: 1rem;
  border: 1px solid var(--panel-strong);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 55%),
    rgba(10, 12, 20, 0.84);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.showcase-item img {
  width: min(170px, 72%);
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.46));
}

.showcase-item span {
  align-self: end;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.showcase-main {
  top: 50%;
  left: 50%;
  width: 260px;
  min-height: 276px;
  transform: translate(-50%, -50%) rotate(-3deg);
}

.showcase-main img {
  height: 205px;
  width: 86%;
}

.showcase-top {
  top: 5%;
  right: 3%;
  transform: rotate(7deg);
}

.showcase-bottom {
  left: 4%;
  bottom: 6%;
  transform: rotate(-8deg);
}

.shop-panel {
  position: relative;
  margin: 0 0 1.6rem;
  padding: 1rem;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 9, 15, 0.62);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.shop-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 56, 79, 0.16), transparent 30%, rgba(57, 198, 255, 0.13) 70%, transparent);
  opacity: 0.74;
}

.summer-box-panel {
  margin-top: 1.4rem;
}

.shop-header.store-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: auto;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.045);
}

.store-banner-left {
  min-width: 0;
}

.store-title-text {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-pill,
.event-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 0.75rem;
  border: 1px solid rgba(54, 211, 153, 0.38);
  border-radius: 999px;
  background: rgba(54, 211, 153, 0.12);
  color: #8ff3c1;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-badge {
  border-color: rgba(255, 209, 102, 0.45);
  background: rgba(255, 209, 102, 0.12);
  color: var(--secondary-gold);
}

.shop-items-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.shop-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(11, 13, 20, 0.86);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.shop-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 102, 0.42);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 0 4px rgba(255, 209, 102, 0.06);
}

.shop-item.fire-effect::before {
  content: "LIMITED";
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-red), #ff8f70);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(255, 56, 79, 0.24);
}

.shop-item-img-box {
  display: grid;
  place-items: center;
  height: 122px;
  margin: 0 0 0.65rem;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.13), transparent 68%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.shop-item-img-box img {
  max-width: 88%;
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.38));
  transform: translateZ(0);
  transition: transform 180ms ease;
}

.shop-item:hover .shop-item-img-box img {
  transform: translateY(-3px) scale(1.04);
}

.shop-item-info {
  display: grid;
  gap: 0.35rem;
  min-height: 74px;
  margin-bottom: 0.8rem;
}

.shop-item-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  word-break: break-word;
}

.shop-item-stock {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.shop-item-rarity {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.5rem;
  border-radius: 999px;
  color: #0b0d14;
  font-size: 0.7rem;
  font-weight: 900;
}

.rarity-godly {
  background: linear-gradient(135deg, #ff384f, #ff6bb5);
  color: #fff;
}

.rarity-ancient {
  background: linear-gradient(135deg, #a855f7, #39c6ff);
  color: #fff;
}

.rarity-legendary {
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
  color: #16110a;
}

.rarity-unique {
  background: linear-gradient(135deg, #ff8f70, #f97316);
  color: #fff;
}

.rarity-rare {
  background: linear-gradient(135deg, #39c6ff, #60a5fa);
  color: #06131c;
}

.rarity-uncommon {
  background: linear-gradient(135deg, #36d399, #a7f3d0);
  color: #06170f;
}

.rarity-common {
  background: linear-gradient(135deg, #d5dbe8, #ffffff);
  color: #11131c;
}

.roblox-claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  color: #10131c;
  background: linear-gradient(135deg, var(--secondary-gold), #ff8f70);
  box-shadow: 0 13px 24px rgba(255, 143, 112, 0.18);
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.roblox-claim-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(255, 143, 112, 0.24);
}

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--panel-line);
  background: rgba(7, 9, 15, 0.45);
}

.footer-keywords {
  color: rgba(255, 255, 255, 0.35);
}

.ios-popup-content {
  border-radius: 10px;
  border: 1px solid var(--panel-strong);
  background: rgba(10, 12, 20, 0.94);
  box-shadow: var(--shadow-xl);
}

.gen-modal {
  padding: 1rem;
}

.gen-modal.open {
  display: grid;
  place-items: center;
}

.gen-backdrop {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 56, 79, 0.18), transparent 28rem),
    rgba(2, 4, 9, 0.82);
  backdrop-filter: blur(10px);
}

.gen-box {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid var(--panel-strong);
  border-radius: 12px;
  background:
    radial-gradient(circle at top left, rgba(255, 56, 79, 0.14), transparent 18rem),
    radial-gradient(circle at top right, rgba(57, 198, 255, 0.1), transparent 18rem),
    rgba(10, 12, 20, 0.96);
  box-shadow: var(--shadow-xl);
}

.gen-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.gen-close:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.gen-header {
  padding-right: 3rem;
  border-bottom: 1px solid var(--panel-line);
}

.gen-logo-row {
  gap: 0.85rem;
}

.gen-label {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.gen-screen {
  padding: 1.2rem;
}

.gen-item-preview,
.gen-transfer-panel {
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.gen-desc,
.gen-success-sub,
.gen-expire-note {
  color: var(--text-muted);
  line-height: 1.5;
}

.gen-success-sub {
  margin: 0 0 0.95rem;
  text-align: center;
}

.gen-input-wrap {
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.gen-input {
  color: #fff;
}

.gen-btn-primary {
  min-height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--secondary-gold), #ff8f70);
  color: #10131c;
  font-weight: 900;
}

.gen-progress-bar-wrap {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.gen-progress-bar {
  background: linear-gradient(90deg, var(--accent-mint), var(--tertiary-blue), var(--secondary-gold));
}

.gen-step {
  border-radius: 8px;
  border: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.045);
}

.gen-step.done {
  border-color: rgba(54, 211, 153, 0.3);
  background: rgba(54, 211, 153, 0.08);
}

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

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 209, 102, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

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

.offer-img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.offer-info {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.offer-title,
.offer-desc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
}

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

.offer-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.75rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--secondary-gold), #ff8f70);
  color: #10131c;
  font-size: 0.8rem;
  font-weight: 900;
}

.offer-empty,
.success-message-box {
  width: 100%;
  padding: 0.95rem;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9deea;
  text-align: center;
}

.success-message-box {
  border-color: rgba(54, 211, 153, 0.38);
  background: rgba(54, 211, 153, 0.1);
  color: #b8f7d5;
}

.cpa-modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.secure-footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.gen-expire-note {
  margin: 0;
  font-size: 0.82rem;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 40px, 1180px);
  }

  .hero-title {
    font-size: 3.15rem;
  }

  .shop-panel {
    padding: 1.25rem;
  }

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

@media (min-width: 980px) {
  .items-section {
    padding-top: 5.2rem;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-showcase {
    display: block;
  }

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

@media (max-width: 767px) {
  .lang-switcher {
    top: 12px;
    right: 12px;
  }

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

  .page-hero {
    min-height: auto;
    padding-top: 2.6rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-cta,
  .social-proof {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .shop-header.store-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-pill,
  .event-badge {
    align-self: flex-start;
  }

  .gen-box {
    width: min(100%, 460px);
  }
}

@media (max-width: 479px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-logo {
    max-width: 180px;
  }

  .shop-panel {
    padding: 0.8rem;
  }

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

  .shop-item {
    min-height: 238px;
  }

  .store-title-text {
    font-size: 1.34rem;
  }

  .offer-card {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-action {
    width: 100%;
  }
}

/* Screenshot vault restore */
body {
  font-family: var(--font-heading);
}

.hero-cta,
.gen-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff2f49, #c80d25);
  box-shadow: 0 18px 38px rgba(255, 47, 73, 0.24);
}

.hero-cta:hover,
.gen-btn-primary:hover {
  filter: brightness(1.05);
}

.hero-stat span {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.15;
}

.hero-stat strong {
  font-family: var(--font-main);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.shop-panel {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.shop-panel::before {
  display: none;
}

.shop-header.store-banner {
  padding: 0 0 1rem;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.store-title-text {
  font-size: clamp(1.8rem, 5vw, 2.85rem);
}

.section-eyebrow {
  color: #ffd166;
  font-size: 0.9rem;
}

.section-pill,
.event-badge {
  min-height: 44px;
  border-radius: 8px;
  border-color: rgba(255, 209, 102, 0.78);
  background: rgba(255, 209, 102, 0.11);
  color: #ffe59a;
  font-size: 0.86rem;
}

.shop-item {
  min-height: 305px;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(11, 14, 22, 0.9);
}

.shop-item.fire-effect {
  border-color: rgba(255, 209, 102, 0.76);
}

.shop-item.fire-effect::before {
  top: 1rem;
  right: auto;
  left: 1rem;
  min-height: 42px;
  padding: 0 0.85rem;
  border-radius: 8px;
  background: #ffd166;
  color: #11131c;
  font-size: 0.82rem;
  box-shadow: 0 12px 24px rgba(255, 209, 102, 0.18);
}

.shop-item-img-box {
  height: 166px;
  margin-top: 0.55rem;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.035);
}

.shop-item-img-box img {
  max-height: 154px;
}

.shop-item-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .items-section {
    padding-top: 0;
  }

  .page-hero {
    display: block;
    padding: 2.35rem 0 1.6rem;
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-kicker {
    justify-content: center;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-actions {
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .hero-cta {
    min-height: 48px;
    border-radius: 8px;
    font-size: 1.02rem;
  }

  .social-proof {
    min-height: 48px;
    justify-content: flex-start;
    padding-inline: 1rem;
    border-radius: 8px;
    font-size: 1rem;
  }

  .hero-stats {
    gap: 0.8rem;
    margin-top: 1.65rem;
  }

  .hero-stat {
    min-height: 74px;
    display: grid;
    place-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(7, 10, 17, 0.78);
  }

  .hero-showcase {
    display: block;
    min-height: 380px;
    margin-top: 1.7rem;
  }

  .hero-showcase::before {
    inset: 18% 4% 12%;
    border-radius: 8px;
    transform: rotate(-4deg);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 46%),
      rgba(14, 16, 24, 0.72);
  }

  .showcase-item {
    min-width: 126px;
    min-height: 152px;
    padding: 0.75rem;
    border-radius: 8px;
  }

  .showcase-item img {
    width: 100%;
    height: 106px;
  }

  .showcase-item span {
    font-size: 1.02rem;
  }

  .showcase-main {
    top: 51%;
    left: 50%;
    width: 158px;
    min-height: 180px;
    z-index: 2;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .showcase-main img {
    width: 82%;
    height: 122px;
  }

  .showcase-top {
    top: 18%;
    right: 0;
    width: 144px;
    transform: rotate(0deg);
  }

  .showcase-bottom {
    left: 0;
    bottom: 13%;
    width: 144px;
    transform: rotate(0deg);
  }

  .shop-header.store-banner {
    align-items: center;
    flex-direction: row;
  }

  .section-pill,
  .event-badge {
    align-self: center;
    white-space: nowrap;
  }

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

  .shop-item {
    min-height: 285px;
    padding: 0.7rem;
  }

  .shop-item-img-box {
    height: 150px;
  }

  .shop-item-img-box img {
    max-height: 136px;
  }
}

@media (max-width: 479px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-showcase {
    min-height: 356px;
  }

  .showcase-main {
    width: 148px;
    min-height: 172px;
  }

  .showcase-top,
  .showcase-bottom {
    width: 134px;
    min-width: 118px;
  }

  .store-title-text {
    font-size: 1.72rem;
  }

  .section-pill,
  .event-badge {
    min-height: 38px;
    padding-inline: 0.58rem;
    font-size: 0.72rem;
  }

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

  .shop-item {
    min-height: 258px;
  }

  .shop-item-img-box {
    height: 126px;
  }

  .shop-item-img-box img {
    max-height: 116px;
  }

  .shop-item.fire-effect::before {
    min-height: 34px;
    font-size: 0.68rem;
  }

  .roblox-claim-btn {
    min-height: 38px;
  }
}

/* Background refresh */
body {
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 47, 73, 0.24), transparent 23rem),
    radial-gradient(circle at 86% 18%, rgba(57, 198, 255, 0.22), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(255, 209, 102, 0.1), transparent 30rem),
    linear-gradient(180deg, #080b12 0%, #070910 42%, #050609 100%);
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 47, 73, 0.08), transparent 34%, rgba(57, 198, 255, 0.07) 68%, transparent);
  background-size: 56px 56px, 56px 56px, cover;
  opacity: 0.72;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 86%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    url("../images/ocean.png"),
    url("../images/chroma_icecream.png"),
    url("../images/beachy.png");
  background-repeat: no-repeat;
  background-position:
    calc(100% + 70px) 160px,
    -82px 430px,
    50% calc(100% + 90px);
  background-size:
    min(38vw, 380px),
    min(34vw, 330px),
    min(42vw, 460px);
  opacity: 0.075;
  filter: blur(1px) saturate(1.3);
}

.main-container {
  position: relative;
  z-index: 1;
}

.weapon-bg {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 47, 73, 0.09), transparent 28rem),
    radial-gradient(circle at 82% 38%, rgba(57, 198, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(8, 11, 18, 0.12), rgba(5, 6, 9, 0.82));
}

@media (max-width: 767px) {
  body::after {
    background-position:
      calc(100% + 62px) 210px,
      -88px 520px,
      50% calc(100% + 80px);
    background-size:
      210px,
      205px,
      260px;
    opacity: 0.09;
  }
}

/* Hero stats removed */
.hero-copy .hero-actions {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hero-showcase {
    margin-top: 1.35rem;
  }
}

/* Showcase animations */
.showcase-item {
  overflow: hidden;
  will-change: transform, box-shadow;
}

.showcase-item::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-75%) rotate(12deg);
  animation: showcaseShine 4.8s ease-in-out infinite;
}

.showcase-item img,
.showcase-item span {
  position: relative;
  z-index: 1;
}

.showcase-main {
  animation: showcaseMainFloat 4.2s ease-in-out infinite;
}

.showcase-top {
  animation: showcaseTopFloat 4.8s ease-in-out infinite;
}

.showcase-bottom {
  animation: showcaseBottomFloat 5.1s ease-in-out infinite;
}

.showcase-item img {
  animation: itemHover 3.4s ease-in-out infinite;
}

.showcase-top img {
  animation-delay: -0.8s;
}

.showcase-bottom img {
  animation-delay: -1.4s;
}

.showcase-main::before {
  animation-delay: -0.8s;
}

.showcase-top::before {
  animation-delay: -1.7s;
}

.showcase-bottom::before {
  animation-delay: -2.4s;
}

@keyframes showcaseShine {
  0%, 48% {
    transform: translateX(-75%) rotate(12deg);
    opacity: 0;
  }
  58% {
    opacity: 0.75;
  }
  78%, 100% {
    transform: translateX(75%) rotate(12deg);
    opacity: 0;
  }
}

@keyframes showcaseMainFloat {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(-2deg) scale(1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 0 rgba(255, 47, 73, 0);
  }
  50% {
    transform: translate(-50%, calc(-50% - 10px)) rotate(1deg) scale(1.025);
    box-shadow: 0 34px 72px rgba(0, 0, 0, 0.48), 0 0 34px rgba(255, 47, 73, 0.18);
  }
}

@keyframes showcaseTopFloat {
  0%, 100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-12px) rotate(8deg);
  }
}

@keyframes showcaseBottomFloat {
  0%, 100% {
    transform: translateY(0) rotate(-7deg);
  }
  50% {
    transform: translateY(10px) rotate(-4deg);
  }
}

@keyframes itemHover {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1.045);
  }
}

@media (max-width: 767px) {
  .showcase-main {
    animation-name: showcaseMainFloatMobile;
  }

  .showcase-top {
    animation-name: showcaseTopFloatMobile;
  }

  .showcase-bottom {
    animation-name: showcaseBottomFloatMobile;
  }
}

@keyframes showcaseMainFloatMobile {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, calc(-50% - 8px)) rotate(1deg) scale(1.02);
  }
}

@keyframes showcaseTopFloatMobile {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(2deg);
  }
}

@keyframes showcaseBottomFloatMobile {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-item,
  .showcase-item::before,
  .showcase-item img {
    animation: none;
  }
}

/* Dynamic game buttons */
.hero-cta,
.roblox-claim-btn,
.gen-btn-primary,
.offer-action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #ff3450 0%, #d1112d 54%, #750b18 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -4px 0 rgba(0, 0, 0, 0.22),
    0 16px 30px rgba(255, 47, 73, 0.24);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
}

.hero-cta::before,
.roblox-claim-btn::before,
.gen-btn-primary::before,
.offer-action::before {
  content: "\f11b";
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #1a0b10;
  background: linear-gradient(135deg, #fff6c7, #ffd166);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.18);
  font-family: "Font Awesome 6 Free";
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
}

.hero-cta::after,
.roblox-claim-btn::after,
.gen-btn-primary::after,
.offer-action::after {
  content: "";
  position: absolute;
  inset: -45% -35%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.3) 50%, transparent 58%);
  transform: translateX(-62%) rotate(8deg);
  opacity: 0;
  animation: buttonPowerSweep 3.1s ease-in-out infinite;
}

.roblox-claim-btn::before {
  content: "\f06b";
}

.gen-btn-primary::before {
  content: "\f135";
}

.offer-action::before {
  content: "\f04b";
  width: 22px;
  height: 22px;
  font-size: 0.72rem;
}

.hero-cta:hover,
.roblox-claim-btn:hover,
.gen-btn-primary:hover,
.offer-action:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(255, 209, 102, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -4px 0 rgba(0, 0, 0, 0.22),
    0 20px 38px rgba(255, 47, 73, 0.3),
    0 0 22px rgba(255, 209, 102, 0.16);
  filter: brightness(1.05) saturate(1.08);
}

.hero-cta:active,
.roblox-claim-btn:active,
.gen-btn-primary:active,
.offer-action:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    inset 0 2px 0 rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(255, 47, 73, 0.2);
}

.hero-cta {
  min-height: 52px;
  padding-inline: 1rem 1.2rem;
  font-size: 1.02rem;
}

.roblox-claim-btn {
  min-height: 46px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
}

.gen-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.offer-action {
  min-width: 86px;
}

@keyframes buttonPowerSweep {
  0%, 42% {
    transform: translateX(-62%) rotate(8deg);
    opacity: 0;
  }
  54% {
    opacity: 0.82;
  }
  74%, 100% {
    transform: translateX(62%) rotate(8deg);
    opacity: 0;
  }
}

@media (max-width: 479px) {
  .hero-cta,
  .roblox-claim-btn,
  .gen-btn-primary {
    gap: 0.46rem;
  }

  .hero-cta::before,
  .roblox-claim-btn::before,
  .gen-btn-primary::before {
    width: 25px;
    height: 25px;
    font-size: 0.78rem;
  }

  .roblox-claim-btn {
    min-height: 42px;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta::after,
  .roblox-claim-btn::after,
  .gen-btn-primary::after,
  .offer-action::after {
    animation: none;
  }
}

/* Green offer start button */
.offer-action {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(135deg, #34f08f 0%, #11b95e 54%, #056b36 100%);
  border-color: rgba(94, 255, 168, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -4px 0 rgba(0, 0, 0, 0.22),
    0 16px 30px rgba(17, 185, 94, 0.26);
}

.offer-action::before {
  color: #052414;
  background: linear-gradient(135deg, #ddffe9, #7dffb4);
}

.offer-action:hover {
  border-color: rgba(125, 255, 180, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -4px 0 rgba(0, 0, 0, 0.22),
    0 20px 38px rgba(17, 185, 94, 0.34),
    0 0 22px rgba(125, 255, 180, 0.18);
}

.offer-action:active {
  box-shadow:
    inset 0 2px 0 rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(17, 185, 94, 0.22);
}
