/**
 * Store Interface CSS
 * Cyberpunk-themed monetization UI
 */

.store-screen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #00ff00;
  font-family: "Courier New", monospace;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.store-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #0a0a0a;
  border-bottom: 2px solid #00ff00;
  box-shadow: 0 2px 10px rgba(0, 255, 0, 0.2);
  flex-shrink: 0;
}

.store-screen-header .header-left {
  font-size: 1.2rem;
  font-weight: bold;
  color: #00ff00;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.store-screen-header .header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #00ff00;
}

.store-container {
  padding: 20px;
  background: #080808;
  flex: 1;
  overflow-y: auto;
  color: #00ff00;
  font-family: "Courier New", monospace;
}

/* Navigation Tabs */
.store-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.store-tab {
  background: transparent;
  color: #555;
  border: none;
  padding: 10px 20px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  position: relative;
}

.store-tab:hover {
  color: #888;
}

.store-tab.active {
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
}

/* BUNDLES */
.bundle-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
  flex-wrap: wrap;
}

.bundle-card {
  min-width: 200px;
  max-width: 250px;
  background: #111;
  border: 1px solid #333;
  padding: 20px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
}

.bundle-card:hover {
  border-color: #39ff14;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  transform: translateY(-2px);
}

.bundle-card.glow {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  background: linear-gradient(45deg, #1a1a00, #000);
}

.bundle-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.5));
}

.bundle-name {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: bold;
}

.bundle-credits {
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  margin: 15px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.bundle-bonus {
  color: #0f0;
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.bundle-desc {
  color: #555;
  font-size: 0.75rem;
  margin-bottom: 15px;
  font-style: italic;
  min-height: 30px;
}

.buy-btn {
  width: 100%;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #39ff14;
  color: #39ff14;
  padding: 12px;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.buy-btn:hover {
  background: rgba(57, 255, 20, 0.2);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
  transform: scale(1.05);
}

/* SUBSCRIPTIONS */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.sub-card {
  border: 2px solid #333;
  background: #0a0a0a;
  padding: 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.sub-card:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
}

.sub-card.popular {
  border-color: #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.sub-card.current {
  border-color: #0f0;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
  background: rgba(0, 20, 0, 0.3);
}

.sub-name {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 0 10px currentColor;
}

.sub-price {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: bold;
}

.sub-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  font-size: 0.9rem;
  color: #aaa;
  flex-grow: 1;
}

.sub-perks li {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #222;
  line-height: 1.5;
}

.sub-perks .highlight {
  color: #fff;
  font-weight: bold;
}

.sub-btn {
  border: none;
  padding: 12px 20px;
  font-weight: bold;
  cursor: pointer;
  margin-top: auto;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.sub-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.sub-btn.current-btn {
  background: #f00 !important;
  color: #fff !important;
}

.sub-btn.current-btn:hover {
  background: #ff3333 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* TAGS */
.tag-best,
.tag-pop,
.tag-current {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #000;
  font-size: 0.7rem;
  padding: 4px 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Courier New", monospace;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  z-index: 10;
}

.tag-pop {
  background: #ffd700;
}

.tag-current {
  background: #0f0;
  color: #000;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .bundle-grid {
    flex-direction: column;
  }

  .bundle-card {
    max-width: 100%;
  }

  .sub-grid {
    grid-template-columns: 1fr;
  }
}
