
html { width: 100%; height: 100%; overflow-x: hidden; }
body { width: 100%; margin: 0; padding: 0; overflow-x: hidden; }

:root {
  --blockman-purple: #8A2BE2;
  --purple-highlight: #8A2BE2;
  --pure-white: #ffffff;
  --pure-black: #000000;
  --light-grey: #f5f5f5;
  --border-grey: #e0e0e0;
  --max-width: 1280px;
  --transition-speed: 0.15s;
  --boys-primary: #1a1a2e;
  --boys-secondary: #16213e;
  --boys-accent: #e94560;
}

* { box-sizing: border-box; }


#genderSelectionModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

#genderSelectionModal.active {
  opacity: 1;
  pointer-events: auto;
}

.gender-selection-modal {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.gender-modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  border: 1px solid rgba(233, 69, 96, 0.3);
}

.gender-modal-header {
  margin-bottom: 40px;
}

.gender-modal-header h2 {
  background: linear-gradient(135deg, #ff6b9d, #e94560, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.gender-modal-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.gender-selection-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gender-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(233, 69, 96, 0.3);
  border-radius: 12px;
  padding: 24px 16px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.gender-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.gender-btn:hover {
  border-color: rgba(233, 69, 96, 0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.gender-btn:hover::before {
  opacity: 1;
}

.gender-btn:active {
  transform: translateY(-2px);
}

.btn-icon {
  width: 60px;
  height: 60px;
  color: #e94560;
  transition: color 0.3s ease, transform 0.3s ease;
}

.gender-btn:hover .btn-icon {
  color: #fbbf24;
  transform: scale(1.1);
}

.character-avatar {
  position: relative;
  width: 80px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.avatar-img {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  transition: transform 0.3s ease;
}

.gender-btn:hover .avatar-img {
  transform: scale(1.1);
}

.btn-text {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: white;
}

.btn-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

@media (max-width: 480px) {
  .gender-modal-content {
    padding: 30px 20px;
  }

  .gender-selection-buttons {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gender-btn {
    padding: 20px 12px;
  }

  .btn-icon {
    width: 50px;
    height: 50px;
  }

  .btn-text {
    font-size: 0.85rem;
  }

  .btn-subtitle {
    font-size: 0.7rem;
  }
}


.nostalgic-gift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 0;
  border: none !important;
  border-radius: 12px;
  background: transparent !important;
  margin-bottom: 20px;
  min-height: auto;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  align-items: center;
}

.nostalgic-gift-card {
  width: 120px;
  height: 170px;
  position: relative;
  border: none;
  border-radius: 6px !important;
  background: transparent !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease !important;
  will-change: transform;
}



.nostalgic-gift-card:nth-child(1) {
  
}


.nostalgic-gift-card:nth-child(2) {
  
}


.nostalgic-gift-card:nth-child(3) {
  
}


.nostalgic-gift-card:nth-child(4) {
  
}


.nostalgic-gift-card:nth-child(5) {
  grid-column: 1 / -1;
  justify-self: center;
}

.nostalgic-gift-card:hover {
  transform: translateY(-6px) !important;
}

.nostalgic-gift-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nostalgic-gift-card.selected {
  transform: scale(1.02) !important;
}


.nostalgia-rewards-section {
  margin: 40px auto;
  max-width: 100%;
  padding: 30px 20px;
  background: transparent;
}

.nostalgia-rewards-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.nostalgia-rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.reward-card {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reward-card img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}

.reward-card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.08);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
}

.reward-card.selected {
  border-color: #e94560;
  border-width: 3px;
  background: rgba(233, 69, 96, 0.15);
  box-shadow: 0 0 0 1px rgba(233, 69, 96, 0.5), 0 8px 20px rgba(233, 69, 96, 0.25);
  transform: translateY(-4px) scale(1.02);
}


.reward-card.claimed {
  border-color: rgba(100, 100, 100, 0.4);
  background: rgba(100, 100, 100, 0.08);
  cursor: not-allowed;
  opacity: 0.75;
}

.reward-card.claimed:hover {
  border-color: rgba(100, 100, 100, 0.4);
  background: rgba(100, 100, 100, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: none;
}

.reward-card.claimed::after {
  content: 'CLAIMED';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 2px;
  font-family: 'Press Start 2P', cursive;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.7), 
               2px 2px 0 rgba(0, 0, 0, 0.6);
  z-index: 10;
  image-rendering: pixelated;
}


.reward-checkmark {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkmark-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
}

@keyframes checkmark-pop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}


.reward-claim-section {
  margin-top: 25px;
  text-align: center;
}

.reward-claim-btn {
  background: #e94560;
  color: white;
  padding: 14px 35px;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
  letter-spacing: 1.5px;
}

.reward-claim-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.5);
  background: #ec4899;
}

.reward-claim-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reward-claim-btn:active:not(:disabled) {
  transform: translateY(-1px);
}

.reward-claim-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-style: italic;
}

@media (max-width: 768px) {
  .nostalgia-rewards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 10px;
  }

  .nostalgia-rewards-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .nostalgia-rewards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .nostalgic-gift-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .nostalgic-gift-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    max-width: 100%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-app-region: no-drag;
}


body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}


input,
textarea,
select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://store.blockmango.com/6.jpg') center/cover no-repeat fixed;
  color: var(--pure-black);
  line-height: 1.4;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px;
}


header {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-grey);
  margin-bottom: 20px;
}

.header-left {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.konami-logo {
  height: 30px;
  width: auto;
  display: block;
  margin-left: 8px;
  flex-shrink: 0;
}

.logo-pill {
  display: none;
}

.event-badge {
  display: none;
}

.timer {
  display: block;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--light-grey);
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  border: 1px solid var(--border-grey);
  min-width: 170px;
  text-align: center;
  margin-right: 8px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  header {
    padding: 12px 16px;
    gap: 8px;
  }

  .timer {
    display: none;
    min-width: 140px;
    padding: 4px 12px;
    font-size: 0.85rem;
    margin-right: 4px;
  }

  .konami-logo {
    height: 26px;
    margin-left: 4px;
  }
}

[aria-label*="Language"],
[aria-label*="language"],
.language-select {
  display: none !important;
}

.dark-mode-toggle {
  display: none !important;
  background: transparent;
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-speed);
}

.dark-mode-toggle:hover {
  background: var(--light-grey);
}


.instruction-pink {
  color: var(--purple-highlight);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin: 28px 0 18px;
  line-height: 1.4;
  font-family: 'eFootball Sans', sans-serif;
}


.campaign-banner {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  font-family: 'eFootball Sans', sans-serif;
  color: var(--pure-white);
  line-height: 1.6;
}

.campaign-heading {
  font-size: 1rem;
  color: var(--pure-white);
  font-weight: normal;
  margin-top: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.campaign-heading::first-letter {
  color: var(--blockman-purple);
}

.campaign-period {
  font-size: 0.95rem;
  color: var(--pure-black);
  margin-bottom: 16px;
  margin-left: 16px;
  font-weight: normal;
}

.campaign-text {
  font-size: 0.9rem;
  color: var(--pure-white);
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.campaign-note {
  font-size: 0.9rem;
  color: var(--pure-white);
  margin-bottom: 16px;
  margin-left: 16px;
  font-weight: normal;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.campaign-terms {
  background: #ffffff !important;
  padding: 16px;
  border-radius: 6px;
  margin: 16px 0;
  border: 1px solid #cccccc;
  backdrop-filter: none !important;
}

.campaign-terms p {
  font-size: 0.85rem;
  color: #000000 !important;
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: none !important;
}

.campaign-terms p:last-child {
  margin-bottom: 0;
}


.player-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 150px;
  margin: 0 auto 8px;
}

.player-card {
  aspect-ratio: 192/271;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(138, 43, 226, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.player-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(138, 43, 226, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: var(--blockman-purple);
}

.player-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.player-card.selected {
  box-shadow: 0 20px 60px rgba(138, 43, 226, 0.35), 0 0 30px var(--purple-highlight), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 2px solid var(--purple-highlight);
  background: linear-gradient(135deg, #fffbfc 0%, #fff5f9 100%);
  transform: translateY(-12px);
  transition: transform 0.4s ease-out;
}

.player-card {
  transition: transform 0.4s ease-out;
}

.player-name-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: var(--pure-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 6px 6px;
  min-height: 48px;
  text-transform: uppercase;
  font-family: 'eFootball Sans', sans-serif;
  pointer-events: none;
  border-top: 2px solid var(--blockman-purple);
  backdrop-filter: blur(2px);
}

.player-name-bar .player-name {
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  letter-spacing: 0.3px;
}

.player-name-bar .player-country {
  font-size: 0.65rem;
  font-weight: 500;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: 'eFootball Sans', sans-serif;
  color: rgba(255, 255, 255, 0.9);
}


.exclusive-players-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 20px 0;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.player-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.exclusive-player-card {
  width: 100%;
  aspect-ratio: 1/1.4;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.4s ease-out;
  border: none;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.exclusive-player-card.selected {
  box-shadow: 0 0 15px var(--purple-highlight);
  border-radius: 6px;
  transform: translateY(-12px);
}

.exclusive-player-card.selected::before {
  display: none;
}

.player-price-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  padding: 4px 0;
  border-radius: 0;
  border: none;
  min-width: 100%;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.price-coin-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 4px #ffff00) drop-shadow(0 0 8px #ffcc00);
  animation: coinGlow 1.5s ease-in-out infinite;
}

@keyframes coinGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 4px #ffff00) drop-shadow(0 0 8px #ffcc00);
    opacity: 1;
  }

  50% {
    filter: drop-shadow(0 0 1px #ffff00) drop-shadow(0 0 3px #ffcc00);
    opacity: 0.6;
  }
}

.player-price-info span {
  color: var(--blockman-purple);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'eFootball Sans', sans-serif;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.player-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

@media (max-width: 768px) {
  .exclusive-players-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 260px;
  }

  .player-item {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .exclusive-players-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 280px;
  }

  .exclusive-player-card {
    border: none;
  }
}

.hint {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 28px;
}


.partners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-height: 80px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.partner-logo:hover {
  border-color: var(--blockman-purple);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.5);
  transform: translateY(-2px);
  background: rgba(138, 43, 226, 0.3);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

#partners-section {
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.15);
  margin: 16px auto;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--pure-white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}


.section-header {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 5px solid var(--blockman-purple);
  font-family: 'eFootball Stencil', 'eFootball Sans', sans-serif;
  color: var(--pure-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}


.coin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .coin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .coin-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.coin-card {
  border: 3px solid var(--border-grey);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  transition: all 0.2s ease;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(138, 43, 226, 0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.coin-card:hover {
  box-shadow: 0 6px 12px rgba(138, 43, 226, 0.15);
  border-color: var(--purple-highlight);
}

.coin-card:hover::before {
  opacity: 1;
}

.coin-card.active {
  border: 3px solid var(--purple-highlight);
  box-shadow: 0 0 20px var(--purple-highlight), inset 0 0 12px rgba(138, 43, 226, 0.15);
  background: linear-gradient(135deg, #fff5fa 0%, #ffebf5 100%);
}

.coin-card.active::after {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: var(--purple-highlight);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  font-family: 'eFootball Sans', sans-serif;
}

.coin-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 6px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.2s ease;
  pointer-events: none;
}

.coin-card:hover .coin-img {
  filter: drop-shadow(0 3px 6px rgba(138, 43, 226, 0.2));
}

.coin-name {
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 3px;
  font-family: 'eFootball Sans', sans-serif;
  color: var(--blockman-purple);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  pointer-events: none;
  line-height: 1.1;
}

.coin-price {
  background: var(--blockman-purple);
  color: white;
  font-weight: bold;
  font-size: 0.7rem;
  font-family: 'eFootball Sans', sans-serif;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 2px;
  min-width: auto;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}


.btn-konami-red {
  background: #8A2BE2;
  color: white;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'eFootball Sans', sans-serif;
  width: fit-content;
  white-space: nowrap;
}

.btn-konami-red:not(.disabled) {
  background: #8A2BE2;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.btn-konami-red:not(.disabled):hover {
  background: #6a0fab;
  box-shadow: 0 6px 16px rgba(138, 43, 226, 0.6);
  transform: translateY(-2px);
}

.btn-konami-red.disabled {
  opacity: 0.3;
  pointer-events: none;
  background: #5a5a7a;
  cursor: not-allowed;
  box-shadow: none;
}

.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 20px 0 10px;
}


.spinner-img {
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.btn-loading {
  pointer-events: none;
  opacity: 0.85;
  position: relative;
  animation: pulse 1.5s ease-in-out infinite;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-modal.loading {
  pointer-events: none;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal.loading .btn-text {
  display: none !important;
}

.btn-modal .spinner {
  display: none !important;
}

.btn-modal.loading .spinner {
  display: inline-block !important;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #1a1a1a;
  width: 100%;
  max-width: 480px;
  min-width: 280px;
  border: 2px solid #000000;
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
  position: relative;
  overflow: visible;
  background-image: url('https://staticgw.sandboxgear.cn/static/images/header/signin_background_right.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
  background-repeat: no-repeat;
  background-position: left center;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content.konami-login-modal {
  background: #1a1a1a;
  color: #333;
  border-color: #000000;
  background-image: url('https://staticgw.sandboxgear.cn/static/images/header/signin_background_right.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.konami-login-modal .modal-title {
  color: white;
}

.konami-login-modal .form-label {
  color: white;
}

.konami-login-modal .form-input {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  border-color: #e5e7eb;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.konami-login-modal .form-input::placeholder {
  color: #a0a0a0;
}

.konami-login-modal .form-input:focus {
  background: white;
  border-color: #22c55e;
  color: #1a1a1a;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.konami-login-modal .login-step p {
  color: #e0e0e0;
}

.konami-login-modal .error-msg {
  color: #d32f2f;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  font-family: 'eFootball Sans', sans-serif;
  color: var(--blockman-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--transition-speed);
  background: #f8f9fa;
  box-sizing: border-box;
  display: block;
}

#verificationCode {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.2em;
}

.form-input:focus {
  outline: none;
  border-color: var(--blockman-purple);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.2);
  background: white;
}

.form-input.error {
  border-color: #d32f2f;
  background: #ffebee;
}

.form-input:disabled {
  background: #e0e0e0;
  cursor: not-allowed;
  opacity: 0.6;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper .form-input {
  padding-right: 40px;
}

.input-status {
  position: absolute;
  right: 12px;
  font-size: 18px;
  font-weight: bold;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.input-status.valid {
  color: #22c55e;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse-glow 2s ease-in-out infinite;
}

.input-status.invalid {
  color: #ef4444;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  animation: shake 0.4s ease-in-out;
}

@keyframes pulse-glow {

  0%,
  100% {
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.5), 0 0 0px rgba(34, 197, 94, 0);
  }

  50% {
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.8), 0 0 20px rgba(34, 197, 94, 0.4);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.form-input.input-valid {
  border-color: #22c55e !important;
  background: #f0fdf4 !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1), inset 0 1px 2px rgba(34, 197, 94, 0.1) !important;
}

.form-input.input-valid:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.3), inset 0 1px 2px rgba(34, 197, 94, 0.1) !important;
}

.form-input.input-invalid {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1), inset 0 1px 2px rgba(239, 68, 68, 0.1) !important;
}

.form-input.input-invalid:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3), inset 0 1px 2px rgba(239, 68, 68, 0.1) !important;
}

.device-alert {
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-modal {
  background: #22c55e;
  color: white;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-modal:not(:disabled):hover {
  background: #16a34a;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
}

.btn-modal:not(:disabled):active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-modal:disabled {
  background: #9ca3af;
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


.konami-login-modal {
  padding: 0;
  overflow: hidden;
}

.konami-modal-header {
  background: white;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.konami-modal-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.login-step {
  padding: 28px 20px;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.5s ease-in-out;
}

.login-step:not(.active) {
  display: none;
  opacity: 0;
  transform: translateX(100%);
}

.login-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.login-step.active .modal-title {
  display: block;
}

.login-step:not(.active) .modal-title {
  display: none;
}

.konami-email-display {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #333 !important;
  cursor: not-allowed !important;
}

.konami-email-display:focus {
  border-color: #ccc !important;
  box-shadow: none !important;
}

.konami-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-speed);
  border: none;
  background: none;
  padding: 0;
}

.konami-link:hover {
  color: #004699;
  text-decoration: underline;
}

.konami-link-red {
  color: var(--blockman-purple);
}

.konami-link-red:hover {
  color: #6a0dad;
  text-decoration: underline;
}



.spinner-img {
  display: inline-block;
  animation: spin 1s linear infinite;
  font-weight: bold;
}

.error-msg {
  color: #d32f2f;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  display: none;
  padding: 12px;
  background: #ffebee;
  border-left: 4px solid #d32f2f;
  border-radius: 4px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-msg.show {
  display: block;
}

.success-msg {
  color: #4caf50;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  display: none;
  padding: 12px;
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  border-radius: 4px;
  animation: slideDown 0.3s ease-out;
}

.success-msg.show {
  display: block;
}


.overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
}

.overlay-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.overlay-card {
  background: white;
  border: 2px solid var(--blockman-purple);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.congrats-name {
  color: var(--blockman-purple);
  font-weight: 800;
  font-size: 1.6rem;
  margin: 15px 0 8px;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blockman-purple);
  outline-offset: 2px;
}


.hidden {
  display: none !important;
}


.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}


@media (max-width: 768px) {
  .instruction-pink {
    font-size: 1rem;
  }

  .player-grid {
    gap: 10px;
    max-width: 100%;
  }

  .modal-content {
    padding: 20px 16px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-left {
    flex-direction: column;
    gap: 8px;
  }

  .timer {
    display: none;
    width: 100%;
    text-align: center;
  }
}

@keyframes progress {
  0% {
    width: 0%;
  }

  50% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}

.digit-input {
  width: 40px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.digit-input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.digit-input::-webkit-outer-spin-button,
.digit-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.digit-input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}



.products-wrapper {
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: var(--max-width);
  overflow: hidden;
  padding: 24px;
}

.products-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pure-white);
  margin: 0 0 20px 0;
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--blockman-purple);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pure-white);
  transition: all var(--transition-speed) ease;
  backdrop-filter: blur(5px);
}

.tab-btn:hover {
  border-color: var(--blockman-purple);
  background: rgba(138, 43, 226, 0.3);
}

.tab-btn.active {
  background: rgba(138, 43, 226, 0.8);
  color: var(--pure-white);
  border-color: var(--blockman-purple);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .product-tabs {
    gap: 10px;
  }

  .tab-btn {
    padding: 9px 16px;
    font-size: 0.9rem;
  }
}

.collapsible-section {
  margin: 12px auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://via.placeholder.com/1200x400/e8d5f2/8A2BE2?text=Products') center/cover;
  border-radius: 6px;
  border: 1px solid var(--border-grey);
  max-width: var(--max-width);
  overflow: hidden;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  width: 100%;
}

.image-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  text-align: center;
  backdrop-filter: blur(8px);
  pointer-events: auto;
  position: relative;
}

.image-card:hover {
  border-color: var(--blockman-purple);
  background: rgba(138, 43, 226, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

.product-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: transparent;
  color: #e74c3c;
  padding: 0;
  border-radius: 0;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  z-index: 15;
  box-shadow: none;
  text-transform: uppercase;
  line-height: 1;
}

.image-card.selected {
  border-color: var(--blockman-purple);
  background: rgba(138, 43, 226, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(138, 43, 226, 0.5), 0 0 12px var(--blockman-purple);
  position: relative;
}

.image-card.selected::before {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: var(--blockman-purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(138, 43, 226, 0.6);
}

.image-card img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  pointer-events: auto;
}

.image-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pure-white);
  margin: 0;
  word-break: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.image-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFD700;
  margin: 4px 0 0 0;
  word-break: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
  .products-wrapper {
    padding: 16px;
  }

  .products-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .product-tabs {
    gap: 8px;
    margin-bottom: 16px;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .section-toggle {
    padding: 14px;
    font-size: 1rem;
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .image-card {
    padding: 8px;
    gap: 6px;
  }

  .image-card img {
    max-height: 80px;
  }

  .image-label {
    font-size: 0.7rem;
  }

  .image-price {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



.site-footer {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 24px 16px;
  text-align: center;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pure-white);
  margin: 0 0 12px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-links {
  font-size: 0.85rem;
  margin: 0;
}

.footer-links a {
  color: #FFD700;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--blockman-purple);
  text-decoration: underline;
}


.trusted-partners-section {
  margin-top: 4px;
  padding: 0;
  background: transparent;
  border: none;
  text-align: center;
  display: block;
  width: auto;
}

.partners-heading {
  display: none;
}

.partners-subtitle {
  font-size: 0.7rem;
  color: white;
  margin: 0 0 2px 0;
  padding: 0;
  font-weight: 500;
}

.partners-container-small {
  display: flex;
  gap: 6px;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.partner-logo-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.partner-logo-small:hover {
  transform: scale(1.08);
}

.partner-logo-small img {
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
  display: block;
}



.nostalgic-gifts-section {
  margin: 35px auto;
  max-width: 700px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(240, 245, 250, 1) 0%, rgba(230, 240, 250, 1) 100%);
  border: 2px solid rgba(100, 150, 200, 0.3);
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@keyframes sectionPulse {

  0%,
  100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }
}

.nostalgic-gifts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
  animation: none;
}

.nostalgic-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  z-index: 1;
}

.nostalgic-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 2rem;
  color: #2c3e50;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  animation: none;
}

.nostalgic-title::after {
  content: '';
  display: none;
}

@keyframes titleGlowPulse {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

@keyframes titleFlicker {

  0%,
  100% {
    opacity: 1;
  }
}

.nostalgic-subtitle {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.65rem;
  color: #6c8aad;
  letter-spacing: 1px;
  margin: 10px 0 20px;
  text-transform: uppercase;
  text-shadow: none;
  animation: none;
  position: relative;
}

.nostalgic-subtitle::before {
  content: '';
  display: none;
}

.nostalgic-subtitle::after {
  content: '';
  display: none;
}

@keyframes prefixPulse {
  0% {
    opacity: 1;
  }
}

@keyframes suffixPulse {
  0% {
    opacity: 1;
  }
}

@keyframes subtitleGlow {
  0% {
    opacity: 1;
  }
}

.nostalgic-gift-card {
  cursor: pointer;
  position: relative;
  width: 120px;
  height: 170px;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes cardGlowPulse {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

.nostalgic-gift-card::before {
  display: none;
}

@keyframes shimmerWave {
  0% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(200%);
  }
}

.nostalgic-gift-card::after {
  display: none;
}

@keyframes borderFlicker {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

.nostalgic-gift-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.2s ease;
  filter: none;
  position: relative;
  z-index: 2;
}

.nostalgic-gift-card:hover {
  transform: translateY(-6px);
}

@keyframes cardHoverPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

.nostalgic-gift-card:hover::before {
  animation: none;
}

@keyframes shimmerWaveHover {
  0% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(200%);
  }
}

.nostalgic-gift-card:hover img {
  transform: scale(1.15) rotateZ(-3deg);
  filter: drop-shadow(0 8px 16px rgba(0, 255, 255, 0.4)) brightness(1.2);
}

.gift-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background: #FFD700;
  border: 2px solid #8A2BE2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #8A2BE2;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(138, 43, 226, 0.4);
  border-radius: 50%;
}

.gift-check::before {
  content: '✓';
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.nostalgic-gift-card.selected {
  transform: scale(1.02);
  animation: none;
}

@keyframes selectedGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.8);
  }

  100% {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.8);
  }
}

.nostalgic-gift-card.selected .gift-check {
  opacity: 1;
  transform: scale(1);
  animation: checkBounce 0.5s ease 0.3s backwards;
}

@keyframes checkBounce {
  0% {
    transform: scale(0) rotate(-180deg);
  }

  50% {
    transform: scale(1.2) rotate(10deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

.nostalgic-action {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: 25px;
}

.nostalgic-spin-btn {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.55rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #8A2BE2, #FF6B9D);
  color: white;
  border: 2px solid #FFD700;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
  position: relative;
  overflow: hidden;
  font-weight: 700;
  margin-bottom: 12px;
}

.nostalgic-spin-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(138, 43, 226, 0.9), 0 0 15px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #FF6B9D, #8A2BE2);
}

.nostalgic-spin-btn:active:not(:disabled) {
  transform: scale(0.98);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

.nostalgic-spin-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: scale(1);
}

.nostalgic-spin-btn.spinning {
  animation: spinRotate 0.8s linear infinite;
  cursor: not-allowed;
  pointer-events: none;
}

@keyframes spinRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.nostalgic-spin-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes highlightPulse {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 1), inset 0 0 20px rgba(255, 215, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 60px rgba(255, 215, 0, 1), inset 0 0 30px rgba(255, 215, 0, 0.7);
  }
}

.nostalgic-gift-card.highlighted {
  animation: highlightPulse 0.3s ease;
}

.nostalgic-claim-btn {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: 2px solid #2980b9;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
  position: relative;
  overflow: hidden;
  font-weight: 600;
}

.nostalgic-claim-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  animation: none;
  pointer-events: none;
}

@keyframes stripeMoveDeluxe {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(0);
  }
}

.nostalgic-claim-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  animation: none;
}

@keyframes buttonGlint {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }
}

.nostalgic-claim-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.3);
  background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

.nostalgic-claim-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2);
}

.nostalgic-claim-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


.green-claim-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  border-color: #16a34a !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.green-claim-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}

.nostalgic-counter {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.6rem;
  color: #6c8aad;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: none;
  animation: none;
}

@keyframes counterFlicker {
  0% {
    opacity: 1;
  }
}

.nostalgic-counter span {
  color: #3498db;
  text-shadow: none;
  animation: none;
}

@keyframes counterGlow {

  0%,
  100% {
    text-shadow: none;
  }

  50% {
    text-shadow: none;
  }
}

0 0 15px rgba(255, 0, 110, 0.3);
}

.nostalgic-claim-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nostalgic-counter {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.65rem;
  color: #FFD700;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
  animation: counterFlash 1s ease-in-out infinite;
}

@keyframes counterFlash {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@media (max-width: 480px) {
  .nostalgic-gifts-section {
    padding: 25px 15px;
    margin: 25px auto;
    border-width: 2px;
  }

  .nostalgic-title {
    font-size: 1.4rem;
    letter-spacing: 1.5px;
  }

  .nostalgic-subtitle {
    font-size: 0.55rem;
  }

  .nostalgic-gift-grid {
    gap: 10px;
  }

  .nostalgic-claim-btn {
    padding: 11px 22px;
    font-size: 0.6rem;
    letter-spacing: 1px;
  }
}


.nostalgia-section,
.nostalgia-grid,
.nostalgia-image-card,
.nostalgia-frame,
.nostalgia-checkmark,
.arcade-nostalgia-section,
.arcade-nostalgia-container,
.arcade-nostalgia-header,
.arcade-title-frame,
.arcade-title-underline,
.arcade-nostalgia-title,
.arcade-description,
.arcade-desc-intro,
.arcade-desc-main,
.arcade-features-grid,
.arcade-feature,
.arcade-feature-label,
.arcade-feature-text,
.arcade-controls,
.arcade-counter-box,
.arcade-counter-label,
.arcade-counter-value,
.arcade-counter-progress,
.arcade-progress-bar,
.arcade-shuffle-btn,
.shuffle-text,
.shuffle-action,
.arcade-combo-box,
.arcade-combo-label,
.arcade-combo-value,
.arcade-nostalgia-grid,
.arcade-nostalgia-card,
.arcade-card-inner,
.arcade-card-front,
.arcade-card-back,
.arcade-card-frame,
.arcade-card-label,
.arcade-back-text,
.arcade-selection-badge,
.arcade-footer-info,
.arcade-footer-text {
  display: none !important;
}

.arcade-title-underline {
  height: 4px;
  background: linear-gradient(90deg,
      var(--arcade-gold) 0%,
      var(--arcade-cyan) 25%,
      var(--arcade-red) 50%,
      var(--arcade-lime) 75%,
      var(--arcade-gold) 100%);
  margin-top: 15px;
  position: relative;
  z-index: 2;
  animation: arcadeLineScroll 3s linear infinite;
}

@keyframes arcadeLineScroll {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.arcade-description {
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.4);
  padding: 25px;
  border: 2px solid var(--arcade-cyan);
  position: relative;
}

.arcade-description::before {
  content: 'DESC';
  position: absolute;
  top: -18px;
  left: 20px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7rem;
  color: var(--arcade-cyan);
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
  padding: 2px 8px;
  letter-spacing: 1px;
}

.arcade-desc-intro {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.65rem;
  color: var(--arcade-lime);
  letter-spacing: 1px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.arcade-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .arcade-features-grid {
    grid-template-columns: 1fr;
  }
}

.arcade-feature {
  background: linear-gradient(135deg, rgba(255, 1, 110, 0.15) 0%, rgba(255, 140, 0, 0.1) 100%);
  border: 2px solid var(--arcade-hot-pink);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.arcade-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  animation: arcadeFeatureShine 2s infinite;
}

@keyframes arcadeFeatureShine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.arcade-feature-label {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.5rem;
  color: var(--arcade-gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: bold;
}

.arcade-feature-text {
  font-size: 0.65rem;
  color: var(--arcade-cyan);
  line-height: 1.4;
}

.arcade-desc-main {
  font-size: 0.75rem;
  color: #b0b0b0;
  line-height: 1.8;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.5px;
}

.arcade-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
}

@media (max-width: 768px) {
  .arcade-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.arcade-counter-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 140, 0, 0.1) 100%);
  border: 3px solid var(--arcade-gold);
  padding: 15px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.2);
}

.arcade-counter-box::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px dotted rgba(255, 215, 0, 0.5);
  pointer-events: none;
}

.arcade-counter-label {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.5rem;
  color: var(--arcade-gold);
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.arcade-counter-value {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  color: var(--arcade-lime);
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
}

.arcade-counter-progress {
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--arcade-lime);
  position: relative;
  overflow: hidden;
}

.arcade-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--arcade-lime), var(--arcade-cyan));
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.3);
}

.arcade-shuffle-btn {
  background: linear-gradient(135deg, var(--arcade-red) 0%, var(--arcade-hot-pink) 100%);
  color: var(--arcade-white);
  border: 4px solid var(--arcade-red);
  padding: 15px 25px;
  border-bottom: 6px solid var(--arcade-red);
  border-right: 6px solid var(--arcade-red);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.65rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-transform: uppercase;
  box-shadow: 0 8px 0 rgba(255, 1, 110, 0.4);
  position: relative;
  overflow: hidden;
}

.arcade-shuffle-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.1) 10px,
      rgba(255, 255, 255, 0.1) 20px);
  animation: arcadeButtonStripe 0.5s linear infinite;
  pointer-events: none;
}

@keyframes arcadeButtonStripe {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(20px);
  }
}

.arcade-shuffle-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 0 rgba(255, 1, 110, 0.4),
    inset -1px -1px 0 rgba(0, 0, 0, 0.2);
}

.arcade-shuffle-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(255, 1, 110, 0.4);
}

.shuffle-text {
  display: block;
}

.shuffle-action {
  font-size: 0.5rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

.arcade-combo-box {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.15) 0%, rgba(0, 255, 255, 0.1) 100%);
  border: 3px solid var(--arcade-lime);
  padding: 15px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.2);
}

.arcade-combo-box::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px dotted rgba(0, 255, 65, 0.5);
  pointer-events: none;
}

.arcade-combo-label {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.5rem;
  color: var(--arcade-lime);
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.arcade-combo-value {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  color: var(--arcade-cyan);
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
  animation: arcadeComboFlash 1s ease-in-out infinite;
}

@keyframes arcadeComboFlash {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.arcade-nostalgia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .arcade-nostalgia-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .arcade-nostalgia-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.arcade-nostalgia-card {
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
  perspective: 1000px;
  transition: all 0.15s ease;
}

.arcade-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-style: preserve-3d;
}

.arcade-nostalgia-card.flipping .arcade-card-inner {
  animation: arcade3DFlip 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes arcade3DFlip {
  0% {
    transform: rotateY(0) rotateX(0);
  }

  25% {
    transform: rotateY(90deg) rotateX(15deg);
  }

  50% {
    transform: rotateY(180deg) rotateX(0);
  }

  75% {
    transform: rotateY(90deg) rotateX(-15deg);
  }

  100% {
    transform: rotateY(0) rotateX(0);
  }
}

.arcade-card-front,
.arcade-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arcade-card-front {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(0, 255, 65, 0.1) 100%);
  border: 3px solid var(--arcade-gold);
  border-bottom: 6px solid var(--arcade-gold);
  border-right: 6px solid var(--arcade-gold);
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.arcade-card-front::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 2px dashed rgba(0, 255, 255, 0.4);
  pointer-events: none;
}

.arcade-card-back {
  background: linear-gradient(135deg, rgba(255, 1, 110, 0.2) 0%, rgba(255, 140, 0, 0.15) 100%);
  border: 3px solid var(--arcade-red);
  border-bottom: 6px solid var(--arcade-red);
  border-right: 6px solid var(--arcade-red);
}

.arcade-card-front img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  filter: contrast(1.1) brightness(1);
}

.arcade-nostalgia-card:hover .arcade-card-front img {
  transform: scale(1.08) rotate(2deg);
  filter: contrast(1.2) brightness(1.05);
}

.arcade-card-label {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.45rem;
  color: var(--arcade-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
}

.arcade-back-text {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  color: var(--arcade-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
  animation: arcadeBackTextBounce 0.8s ease-in-out infinite;
}

@keyframes arcadeBackTextBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.arcade-card-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.2);
}

.arcade-nostalgia-card:hover .arcade-card-frame {
  box-shadow:
    inset 0 0 0 1px rgba(255, 215, 0, 0.4),
    inset -2px -2px 0 rgba(0, 0, 0, 0.3),
    inset 2px 2px 0 rgba(255, 255, 255, 0.1);
}

.arcade-selection-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--arcade-lime), var(--arcade-cyan));
  border: 3px solid var(--arcade-white);
  border-bottom: 4px solid rgba(0, 0, 0, 0.4);
  border-right: 4px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0) rotate(-45deg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--arcade-black);
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.arcade-selection-badge::before {
  content: 'OK';
  font-size: 0.5rem;
  letter-spacing: 1px;
}

.arcade-nostalgia-card.selected .arcade-selection-badge {
  opacity: 1;
  transform: scale(1) rotate(0);
  animation: arcadeBadgePulse 0.5s ease-out;
}

@keyframes arcadeBadgePulse {
  0% {
    transform: scale(0.5) rotate(-45deg);
    box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.3);
  }

  50% {
    transform: scale(1.2) rotate(5deg);
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.5);
  }

  100% {
    transform: scale(1) rotate(0);
    box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.3);
  }
}

.arcade-nostalgia-card.selected {
  transform: scale(0.98);
  animation: arcadeCardSelect 0.3s ease;
}

@keyframes arcadeCardSelect {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(0.98);
  }
}

.arcade-nostalgia-card.selected .arcade-card-front {
  border-color: var(--arcade-lime);
  border-bottom-color: var(--arcade-lime);
  border-right-color: var(--arcade-lime);
  box-shadow:
    inset -2px -2px 0 rgba(0, 0, 0, 0.3),
    inset 2px 2px 0 rgba(255, 255, 255, 0.1);
}

.arcade-footer-info {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px dashed var(--arcade-orange);
  position: relative;
}

.arcade-footer-info::before {
  content: 'STATUS';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.6rem;
  color: var(--arcade-orange);
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
  padding: 2px 8px;
  letter-spacing: 1px;
}

.arcade-footer-text {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.6rem;
  color: var(--arcade-orange);
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(255, 140, 0, 0.4);
}

@media (max-width: 768px) {
  .arcade-nostalgia-section {
    padding: 30px 15px;
    border-width: 3px;
  }

  .arcade-title-frame {
    padding: 15px;
    margin-bottom: 20px;
  }

  .arcade-nostalgia-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .arcade-description {
    padding: 15px;
    margin-bottom: 20px;
  }

  .arcade-desc-intro {
    font-size: 0.55rem;
  }

  .arcade-desc-main {
    font-size: 0.65rem;
  }

  .arcade-controls {
    gap: 10px;
  }

  .arcade-counter-box,
  .arcade-combo-box {
    padding: 10px;
  }

  .arcade-counter-label,
  .arcade-combo-label {
    font-size: 0.45rem;
  }

  .arcade-counter-value {
    font-size: 0.9rem;
  }

  .arcade-shuffle-btn {
    padding: 12px 15px;
    font-size: 0.55rem;
  }
}

@media (max-width: 480px) {
  .arcade-nostalgia-section {
    padding: 20px 10px;
    margin-bottom: 40px;
  }

  .arcade-title-frame {
    padding: 12px;
  }

  .arcade-nostalgia-title {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .arcade-description {
    padding: 12px;
  }

  .arcade-desc-intro {
    font-size: 0.5rem;
  }

  .arcade-desc-main {
    font-size: 0.6rem;
  }

  .arcade-features-grid {
    gap: 10px;
  }

  .arcade-feature {
    padding: 8px;
    border-width: 2px;
  }

  .arcade-feature-label {
    font-size: 0.4rem;
  }

  .arcade-feature-text {
    font-size: 0.55rem;
  }

  .arcade-nostalgia-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .arcade-card-label {
    font-size: 0.4rem;
  }

  .arcade-back-text {
    font-size: 0.65rem;
  }

  .arcade-selection-badge {
    width: 32px;
    height: 32px;
  }

  .arcade-footer-text {
    font-size: 0.5rem;
  }
}


.nostalgia-section,
.nostalgia-grid,
.nostalgia-image-card,
.nostalgia-frame,
.nostalgia-checkmark {
  display: none !important;
}

@media (max-width: 480px) {
  .partners-container-small {
    gap: 4px;
  }

  .partner-logo-small {
    padding: 5px;
  }

  .partners-subtitle {
    font-size: 0.65rem;
  }

  .partner-logo-small img {
    max-height: 28px;
  }
}



.vip-event-section {
  width: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  padding: 40px 20px;
  margin: 0 0 40px 0;
  border-top: 4px solid #ffd700;
  border-bottom: 4px solid #ffd700;
  position: relative;
  overflow: hidden;
}

.vip-event-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.vip-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vip-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a2e;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  }

  50% {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.8);
  }
}

.vip-title {
  font-family: 'Press Start 2P', Arial, sans-serif;
  font-size: 48px;
  color: #ffd700;
  margin: 20px 0;
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.3);
  letter-spacing: 3px;
  font-weight: 900;
  line-height: 1.2;
  animation: title-glow 1.5s ease-in-out infinite;
}

@keyframes title-glow {

  0%,
  100% {
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5),
      0 0 40px rgba(255, 215, 0, 0.3);
  }

  50% {
    text-shadow: 0 4px 30px rgba(255, 215, 0, 0.8),
      0 0 60px rgba(255, 215, 0, 0.5);
  }
}

.vip-warning-box {
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
  backdrop-filter: blur(10px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.warning-icon {
  font-size: 40px;
  margin-bottom: 12px;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.warning-text {
  color: #ffd700;
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0;
  letter-spacing: 1px;
}

.warning-subtext {
  color: #b3b3b3;
  font-size: 14px;
  margin: 8px 0 0 0;
}


@media (max-width: 768px) {
  .vip-title {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .vip-badge {
    font-size: 12px;
    padding: 10px 20px;
  }

  .warning-text {
    font-size: 16px;
  }

  .warning-subtext {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .vip-event-section {
    padding: 24px 16px;
    margin: 0 0 24px 0;
  }

  .vip-title {
    font-size: 24px;
    letter-spacing: 0.5px;
  }

  .vip-badge {
    font-size: 11px;
    padding: 8px 16px;
    margin-bottom: 16px;
  }

  .warning-icon {
    font-size: 32px;
  }

  .warning-text {
    font-size: 14px;
  }

  .vip-warning-box {
    padding: 16px;
  }
}



.spin-section-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  padding: 0;
}

.spin-section-title {
  font-family: 'Press Start 2P', Arial, sans-serif;
  font-size: 24px;
  color: #e74c3c;
  text-align: center;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
  letter-spacing: 2px;
  animation: spin-title-pulse 2s ease-in-out infinite;
}

@keyframes spin-title-pulse {

  0%,
  100% {
    text-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
  }

  50% {
    text-shadow: 0 2px 20px rgba(231, 76, 60, 0.6);
  }
}

.spin-section {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: linear-gradient(135deg, #f0f5fa 0%, #e6f0fa 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
  text-align: center;
}

.spin-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 30px;
}

.spin-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      #e74c3c 0deg 40deg,
      #3498db 40deg 80deg,
      #2ecc71 80deg 120deg,
      #f39c12 120deg 160deg,
      #9b59b6 160deg 200deg,
      #1abc9c 200deg 240deg,
      #34495e 240deg 280deg,
      #e67e22 280deg 320deg,
      #c0392b 320deg 360deg);
  border: 4px solid #2c3e50;
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3), inset 0 0 0 8px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.spin-wheel::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #fff 0%, #e9ecef 100%);
  border-radius: 50%;
  border: 3px solid #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.spin-slice {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 50%, 50% 0%, 100% 100%);
}

.slice-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.spin-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid #e74c3c;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.spin-controls {
  margin: 20px 0;
}

.spin-info {
  font-size: 14px;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.spin-info span {
  color: #e74c3c;
  font-weight: 700;
}

.spin-button {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  transition: all 0.3s ease;
  font-family: 'Press Start 2P', Arial, sans-serif;
  letter-spacing: 1px;
}

.spin-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.6);
  background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.spin-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

.spin-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spin-button-text {
  position: relative;
  z-index: 2;
}

.spin-button-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.spin-used {
  color: #2ecc71;
  font-size: 16px;
  font-weight: 700;
}

.spin-result {
  margin: 20px 0;
  min-height: 100px;
}

.spin-result-display {
  background: #fff;
  border: 2px solid #3498db;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.result-gift {
  margin-bottom: 15px;
}

.gift-emoji {
  font-size: 48px;
  margin-bottom: 10px;
}

.gift-name {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.gift-rarity {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.gift-rarity.legendary {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

.gift-rarity.epic {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

.gift-rarity.rare {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.gift-rarity.uncommon {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: white;
}

.gift-rarity.common {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  color: white;
}

.result-message {
  color: #2c3e50;
  font-size: 14px;
  margin: 0;
}

.spin-history {
  background: #fff;
  border-left: 4px solid #3498db;
  padding: 15px;
  border-radius: 4px;
  margin-top: 15px;
}

.spin-history h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 14px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6c8aad;
  font-size: 13px;
}

.history-date {
  color: #95a5a6;
  font-size: 11px;
}



.referral-section {
  width: 100%;
  max-width: 600px;
  margin: 30px auto 20px;
  padding: 0;
}

.referral-container {
  background: linear-gradient(135deg, #f0f5fa 0%, #e6f0fa 100%);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
}

.referral-title {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.referral-code-box {
  background: white;
  border: 2px solid #3498db;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.referral-label {
  font-size: 12px;
  color: #6c8aad;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.referral-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.referral-code code {
  background: #f0f5fa;
  padding: 12px 16px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #e74c3c;
  flex: 1;
  text-align: center;
}

.copy-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-item {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #6c8aad;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #e74c3c;
}

.referral-badge {
  background: #d5f4e6;
  border: 1px solid #27ae60;
  color: #27ae60;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
}

.referral-info {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #f39c12;
}

.referral-info p {
  color: #2c3e50;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.referral-info ul {
  list-style: none;
  padding: 0;
}

.referral-info li {
  color: #6c8aad;
  font-size: 12px;
  padding: 4px 0;
  margin-left: 0;
}

.referral-info li:before {
  content: '✓ ';
  color: #2ecc71;
  font-weight: 700;
  margin-right: 6px;
}


@media (max-width: 768px) {
  .spin-wheel {
    width: 100%;
    height: 100%;
  }

  .spin-button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .gift-emoji {
    font-size: 36px;
  }

  .gift-name {
    font-size: 16px;
  }

  .referral-code {
    flex-direction: column;
  }

  .copy-btn {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .spin-section {
    padding: 15px;
    margin: 15px auto;
  }

  .spin-container {
    width: 220px;
    height: 220px;
    margin-bottom: 20px;
  }

  .spin-button {
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .gift-emoji {
    font-size: 32px;
  }

  .gift-name {
    font-size: 14px;
  }

  .referral-container {
    padding: 16px;
  }

  .referral-title {
    font-size: 16px;
  }

  .referral-code code {
    font-size: 14px;
  }

  .stat-value {
    font-size: 20px;
  }

  .slice-content {
    font-size: 18px;
  }
}




.spin-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: rgba(138, 43, 226, 0.12);
  border: 1px solid rgba(138, 43, 226, 0.35);
  border-radius: 10px;
  padding: 10px 18px;
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 600;
}

.spin-tier-label {
  color: #e3e3e3;
}

.spin-tier-label strong {
  color: #FFD700;
}

.spin-avail-badge {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
}

.bonus-tag {
  background: rgba(0, 255, 200, 0.15);
  color: #00FFCC;
  border: 1px solid rgba(0, 255, 200, 0.4);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
}


.tier-section {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.tier-section:hover {
  border-color: rgba(138, 43, 226, 0.4);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.1);
}

.tier-locked-section {
  opacity: 0.65;
  
}

.tier-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 16px;
  transition: opacity 0.4s ease;
}

.tier-lock-overlay.hidden {
  display: none;
}

.tier-lock-overlay:not(.hidden) {
  pointer-events: all;
}

.lock-icon {
  font-size: 40px;
  margin-bottom: 8px;
  animation: lock-pulse 2s ease-in-out infinite;
}

@keyframes lock-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.tier-lock-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tier-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.tier-1-badge {
  background: linear-gradient(135deg, #00b09b, #96c93d);
  color: #000;
}

.tier-2-badge {
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: #fff;
}

.tier-3-badge {
  background: linear-gradient(135deg, #8A2BE2, #FF6B9D);
  color: #fff;
}

.tier-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

.tier-tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

.tier-action {
  text-align: center;
  margin-top: 20px;
}

.tier-spin-btn {
  font-size: 12px !important;
  padding: 9px 22px !important;
  letter-spacing: 0.8px !important;
}

.berserk-spin-btn {
  background: linear-gradient(135deg, #FF416C, #FF4B2B) !important;
  box-shadow: 0 0 20px rgba(255, 65, 108, 0.4) !important;
}

.berserk-spin-btn:hover:not(:disabled) {
  box-shadow: 0 0 35px rgba(255, 65, 108, 0.7) !important;
}

.product-spin-btn {
  background: linear-gradient(135deg, #8A2BE2, #FF6B9D) !important;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.4) !important;
}


.spin-card.spin-highlight {
  border-color: #FFD700 !important;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), inset 0 0 15px rgba(255, 215, 0, 0.3) !important;
  transform: scale(1.07) !important;
  transition: none !important;
}

.spin-card.spin-winner {
  border: 3px solid #FFD700 !important;
  box-shadow: 0 0 40px rgba(255, 215, 0, 1), inset 0 0 20px rgba(255, 215, 0, 0.5) !important;
  transform: scale(1.08) !important;
  animation: winner-glow 1s ease-in-out infinite !important;
}

@keyframes winner-glow {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 1), inset 0 0 20px rgba(255, 215, 0, .5);
  }

  50% {
    box-shadow: 0 0 60px rgba(255, 215, 0, 1), inset 0 0 30px rgba(255, 215, 0, .7);
  }
}


.berserk-grid {
  display: flex;
  justify-content: center;
}

.berserk-card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 10, 10, .9), rgba(60, 10, 30, .9));
  border: 2px solid rgba(255, 65, 108, .5);
  border-radius: 16px;
  padding: 24px 32px;
  text-align: center;
  max-width: 280px;
  width: 100%;
  transition: all .3s ease;
  cursor: default;
}

.berserk-card:hover {
  border-color: rgba(255, 65, 108, .9);
  box-shadow: 0 0 30px rgba(255, 65, 108, .4);
  transform: translateY(-4px);
}

.berserk-price-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  font-weight: 900;
  font-size: 18px;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, .4);
}

.berserk-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 65, 108, .4);
}

.berserk-name {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 12px 0 4px;
}

.berserk-subtitle {
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  margin: 0;
}


.products-spin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.product-spin-card {
  position: relative;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  transition: all .25s ease;
  cursor: default;
}

.product-spin-card:hover {
  border-color: rgba(138, 43, 226, .5);
  box-shadow: 0 0 15px rgba(138, 43, 226, .2);
  transform: translateY(-2px);
}

.product-spin-card img {
  width: 100%;
  max-width: 80px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 6px;
}

.product-spin-card .image-label {
  font-size: 11px;
  color: #ccc;
  margin: 2px 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-spin-card .image-price {
  font-size: 12px;
  color: #FFD700;
  font-weight: 700;
  margin: 2px 0 0;
}

.product-spin-card .image-points {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin: 1px 0 0;
}

.product-spin-card .product-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .products-spin-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 680px) {
  .products-spin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .products-spin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.cart-section {
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 215, 0, .3);
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
}

.cart-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFD700;
  margin: 0 0 16px;
  letter-spacing: .5px;
}

.cart-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
  text-align: center;
  padding: 10px;
  margin: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 10px 14px;
  animation: cart-slide-in .3s ease;
}

@keyframes cart-slide-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}





.gender-selection-modal {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.95) !important;
  z-index: 99999 !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(4px) !important;
  animation: fadeInBackdrop 0.3s ease-out !important;
}

.gender-selection-modal.active {
  display: flex !important;
}

@keyframes fadeInBackdrop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gender-modal-content {
  background: linear-gradient(135deg, #0f0722 0%, #1e0d3c 40%, #0d1f3c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  padding: 50px 40px !important;
  text-align: center !important;
  max-width: 500px !important;
  width: 90% !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative !important;
  z-index: 100000 !important;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gender-modal-content h2 {
  font-family: 'eFootball Stencil', sans-serif !important;
  font-size: 2.5rem !important;
  color: #fff !important;
  margin-bottom: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.gender-modal-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.gender-selection-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.gender-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 150px;
  font-family: inherit;
  outline: none;
}

.gender-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.gender-btn:active {
  transform: translateY(-1px);
}

.gender-btn.male-btn {
  border-color: rgba(100, 200, 255, 0.4);
}

.gender-btn.male-btn:hover {
  border-color: rgba(100, 200, 255, 0.6);
  background: rgba(100, 200, 255, 0.1);
}

.gender-btn.female-btn {
  border-color: rgba(236, 72, 153, 0.4);
}

.gender-btn.female-btn:hover {
  border-color: rgba(236, 72, 153, 0.6);
  background: rgba(236, 72, 153, 0.1);
}

.btn-icon {
  font-size: 2.5rem;
  display: inline-block;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  color: currentColor;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.btn-text {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .gender-modal-content {
    padding: 35px 25px;
  }

  .gender-modal-content h2 {
    font-size: 1.8rem;
  }

  .gender-selection-buttons {
    gap: 15px;
  }

  .gender-btn {
    padding: 25px 30px;
    min-width: 120px;
  }

  .btn-icon {
    font-size: 2rem;
  }

  .btn-text {
    font-size: 0.95rem;
  }
}

.cart-item-price {
  font-size: 13px;
  color: #FFD700;
  font-weight: 600;
}

.cart-tier-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
  width: fit-content;
}

.cart-tier-badge.tier-1 {
  background: rgba(0, 176, 155, .2);
  color: #00b09b;
  border: 1px solid rgba(0, 176, 155, .4);
}

.cart-tier-badge.tier-2 {
  background: rgba(255, 65, 108, .2);
  color: #FF416C;
  border: 1px solid rgba(255, 65, 108, .4);
}

.cart-tier-badge.tier-3 {
  background: rgba(138, 43, 226, .2);
  color: #a855f7;
  border: 1px solid rgba(138, 43, 226, .4);
}

.remove-gift-btn {
  background: rgba(255, 50, 50, .15);
  border: 1px solid rgba(255, 50, 50, .3);
  color: #ff6060;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
}

.remove-gift-btn:hover {
  background: rgba(255, 50, 50, .3);
  border-color: rgba(255, 50, 50, .8);
  transform: scale(1.1);
}

.claim-action {
  margin-top: 8px;
}

.claim-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  text-align: center;
  margin: 8px 0 0;
}


.referral-section-wrap {
  padding: 0 16px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.referral-outer {
  background: linear-gradient(135deg, rgba(20, 10, 40, .9), rgba(10, 20, 40, .9));
  border: 1px solid rgba(138, 43, 226, .35);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 40px rgba(138, 43, 226, .1);
}

.referral-main-title {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 1px;
}

.referral-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.referral-link-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin: 10px 0 6px;
}

.referral-link-input {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(138, 43, 226, .4);
  border-radius: 8px;
  color: #ccc;
  font-size: 12px;
  padding: 10px 12px;
  font-family: monospace;
  cursor: text;
  outline: none;
}

.copy-ref-btn {
  background: linear-gradient(135deg, #8A2BE2, #6a0dad);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.copy-ref-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(138, 43, 226, .5);
}

.referral-code-small {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin: 0;
}

.referral-stats-row {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.ref-stat {
  flex: 1;
  min-width: 90px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.ref-stat-val {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 4px;
}

.ref-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.referral-progress {
  margin: 0 0 16px;
}

.progress-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  margin: 0 0 6px;
  font-weight: 600;
}

.progress-label strong {
  color: #00FFCC;
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, .08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00b09b, #96c93d);
  border-radius: 4px;
  transition: width .6s ease;
}

.referral-share-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}

.share-btn {
  flex: 1;
  min-width: 100px;
  border: none;
  border-radius: 8px;
  padding: 9px 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  color: #fff;
}

.share-wa {
  background: #25D366;
}

.share-tg {
  background: #0088cc;
}

.share-tw {
  background: #1DA1F2;
}

.share-fb {
  background: #4267B2;
}

.share-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.referral-rules {
  background: rgba(255, 255, 255, .04);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

.referral-rules p {
  margin: 0;
}

.referral-rules strong {
  color: #FFD700;
}


.spin-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 30, .95);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(138, 43, 226, .5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .4);
  z-index: 10000;
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.spin-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#adminResetBtn {
  display: none !important;
}


.tier-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  transition: box-shadow 0.2s;
}

.tier-accordion:has(.tier-accordion-body:not(.collapsed)) {
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.2);
}


.tier-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
  gap: 12px;
}

.tier-accordion-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.tier-header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tier-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}


.tier-chevron {
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease;
}

.tier-accordion-body:not(.collapsed)~* .tier-chevron,
.tier-accordion-header.open .tier-chevron {
  transform: rotate(180deg);
}


.tier-status-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.tier-status-chip.locked {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
}

.tier-status-chip.done {
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.3);
}


.tier-lock-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 100, 100, 0.07);
  border-top: 1px solid rgba(255, 100, 100, 0.12);
  border-bottom: 1px solid rgba(255, 100, 100, 0.12);
  color: rgba(255, 180, 180, 0.8);
  font-size: 12px;
}

.tier-lock-banner.hidden {
  display: none;
}

.tier-lock-banner svg {
  flex-shrink: 0;
  opacity: 0.7;
}


.tier-unlock-test-btn {
  margin-left: auto;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px dashed rgba(255, 200, 0, 0.5);
  background: rgba(255, 200, 0, 0.08);
  color: #FFD700;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}

.tier-unlock-test-btn:hover {
  background: rgba(255, 200, 0, 0.18);
}


.tier-accordion-body {
  padding: 16px 18px 20px;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
  max-height: 2000px;
  opacity: 1;
}

.tier-accordion-body.collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}


.berserk-selectable {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.berserk-selectable:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 65, 108, 0.3);
}

.berserk-selectable.selected {
  border: 2px solid #FFD700 !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.berserk-select-indicator {
  display: none;
  align-items: center;
  gap: 4px;
  justify-content: center;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.12);
  border-radius: 6px;
  padding: 4px 0;
}

.berserk-selectable.selected .berserk-select-indicator {
  display: flex;
}

.tier-select-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-bottom: 12px;
}


.tier-tab-nav {
  display: flex;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.tier-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.tier-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.tier-tab.active {
  background: rgba(255, 215, 0, 0.08);
  color: #FFD700;
  box-shadow: inset 0 -3px 0 #FFD700;
}

.tier-tab-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.6;
}

.tier-tab.active .tier-tab-num {
  opacity: 1;
}

.tier-tab-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-tab-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.tier-tab-status.locked {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

.tier-tab-status.done {
  background: rgba(255, 215, 0, 0.12);
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.25);
}

.tier-tab-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  align-self: stretch;
}


.dev-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 200, 0, 0.05);
  border: 1px dashed rgba(255, 200, 0, 0.25);
  border-radius: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dev-toolbar-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 200, 0, 0.6);
  margin-right: 4px;
}

.dev-btn {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255, 200, 0, 0.4);
  background: rgba(255, 200, 0, 0.08);
  color: #FFD700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.dev-btn:hover {
  background: rgba(255, 200, 0, 0.18);
}

.dev-btn-danger {
  border-color: rgba(255, 80, 80, 0.4);
  background: rgba(255, 80, 80, 0.07);
  color: #ff8080;
}

.dev-btn-danger:hover {
  background: rgba(255, 80, 80, 0.18);
}


.tier-tab-nav {
  display: flex;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.tier-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.tier-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.tier-tab.active {
  background: rgba(255, 215, 0, 0.08);
  color: #FFD700;
  box-shadow: inset 0 -3px 0 #FFD700;
}

.tier-tab-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.6;
}

.tier-tab.active .tier-tab-num {
  opacity: 1;
}

.tier-tab-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-tab-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.tier-tab-status.locked {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.1);
}

.tier-tab-status.done {
  background: rgba(255, 215, 0, 0.12);
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.25);
}

.tier-tab-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  align-self: stretch;
}


.dev-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 200, 0, 0.05);
  border: 1px dashed rgba(255, 200, 0, 0.25);
  border-radius: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dev-toolbar-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 200, 0, 0.6);
  margin-right: 4px;
}

.dev-btn {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255, 200, 0, 0.4);
  background: rgba(255, 200, 0, 0.08);
  color: #FFD700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.dev-btn:hover {
  background: rgba(255, 200, 0, 0.18);
}

.dev-btn-danger {
  border-color: rgba(255, 80, 80, 0.4);
  background: rgba(255, 80, 80, 0.07);
  color: #ff8080;
}

.dev-btn-danger:hover {
  background: rgba(255, 80, 80, 0.18);
}