/* SHOP BANNER */
.shop-banner {
  position: relative;
  background-size: cover;
  background-position: center 15%;
  padding: 4rem 2rem 3rem;
  margin-top: 64px;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.shop-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.5) 60%, rgba(10,10,10,0.3) 100%);
}

.shop-banner-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.shop-banner-left { max-width: 500px; }

.shop-game-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 3px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  margin-bottom: 0.4rem;
}

.shop-official-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.shop-banner-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.shop-banner-right { flex-shrink: 0; }

.shop-player-box {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  backdrop-filter: blur(8px);
  min-width: 300px;
}

.shop-player-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.shop-player-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.shop-player-input-wrap input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
}

.shop-player-input-wrap input:focus { border-color: var(--gold); }

.shop-player-input-wrap button {
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  white-space: nowrap;
}

.shop-player-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* TABS */
.shop-tabs {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 50;
}

.shop-tabs-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0;
}

.shop-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-family: inherit;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.shop-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* MARKETING BAR */
.marketing-bar {
  background: rgba(245,166,35,0.06);
  border-bottom: 1px solid rgba(245,166,35,0.15);
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.marketing-bar-inner {
  max-width: 1000px;
  flex: 1;
  position: relative;
  height: 24px;
  overflow: hidden;
}

.marketing-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  pointer-events: none;
}

.marketing-item.active {
  opacity: 1;
  transform: translateY(0);
}

.marketing-item svg { display: none; }

.marketing-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.mkt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}

.mkt-dot.active { background: var(--gold); }

/* MAIN LAYOUT */
.shop-main-wrapper {
  padding: 2rem 0 3rem;
}

.shop-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.shop-products { width: 100%; }

/* FILTER */
.shop-filter {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem;
  position: sticky;
  top: 120px;
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.filter-title svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-section { margin-bottom: 1.2rem; }

.filter-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-chip {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active { background: rgba(245,166,35,0.15); border-color: var(--gold); color: var(--gold); }

.filter-range {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.filter-range input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  color: var(--text);
  font-size: 0.78rem;
  outline: none;
  font-family: inherit;
  width: 0;
}

.filter-range span { color: var(--text-muted); font-size: 0.8rem; }

.filter-apply-btn {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* PRODUCTS */
.shop-products { flex: 1; min-width: 0; }

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.products-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.products-count span { color: var(--gold); font-weight: 700; }

.products-sort select {
  background: rgba(17,17,17,0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* PRODUCT CARD */
.product-card {
  background: rgba(17,17,17,0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.15);
}

.product-popular { border-color: var(--gold); background: linear-gradient(160deg, #1a1200 0%, var(--bg2) 60%); }
.product-best { border-color: var(--gold); background: linear-gradient(160deg, #1a1200 0%, var(--bg2) 60%); }

.product-badge {
  position: absolute;
  top: -1px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 0 0 4px 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

.badge-red { background: var(--gold); color: #0a0a0a; }
.badge-green { background: var(--gold); color: #0a0a0a; }

.product-card-top {
  position: relative;
  height: 140px;
  background-size: cover;
  background-position: center;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.75) 100%);
}

.product-card-img { display: none; }

.product-card-body {
  padding: 1rem;
  text-align: center;
}

.product-duration {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.product-price sup { font-size: 0.9rem; vertical-align: super; }
.product-price.gold { color: var(--gold); }
.product-price.green { color: var(--gold); }

.product-per-day {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.product-buy-btn {
  width: 100%;
  padding: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-green {
  background: var(--gold);
  color: #0a0a0a;
  border: none;
}

.btn-green:hover { background: var(--primary-dark); }

/* FEATURES BAR */
.shop-features-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.shop-features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.shop-feat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.8rem 0.5rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.shop-feat-item svg { display: none; }

/* BUY MODAL */
.buy-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.buy-modal.active {
  opacity: 1;
  pointer-events: all;
}

.buy-modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.buy-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.buy-modal-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.buy-modal-item span:first-child { color: var(--text-muted); }

.buy-modal-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 1rem 0;
  padding: 0.6rem;
  background: rgba(245,166,35,0.08);
  border-radius: 6px;
  border: 1px solid rgba(245,166,35,0.2);
  text-align: center;
}

.buy-modal-btns {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.buy-modal-btns .btn { flex: 1; padding: 0.7rem; text-align: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .shop-banner-right { display: none; }
  .shop-main { flex-direction: column; }
  .shop-filter { width: 100%; position: static; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-features-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 500px) {
  .products-grid { grid-template-columns: 1fr; }
  .shop-features-inner { grid-template-columns: repeat(2, 1fr); }
}

/* EMPTY PROMO */
.empty-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
  text-align: center;
}

.empty-promo svg {
  width: 48px;
  height: 48px;
  stroke: #333;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}

.empty-promo p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.empty-promo span { font-size: 0.85rem; }

/* STOCK */
.product-stock {
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}

.stock-ok    { background: rgba(245,166,35,0.12); color: var(--gold); }
.stock-empty { background: rgba(255,77,77,0.12);  color: #ff4d4d; }

.btn-contact {
  background: transparent;
  border: 1px solid #29a8ea;
  color: #29a8ea;
  transition: all 0.2s;
}

.btn-contact:hover {
  background: #29a8ea;
  color: #fff;
}

/* PRODUCT FEATURES LIST */
.product-features {
  list-style: none;
  text-align: left;
  margin: 0.6rem 0 0.8rem;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 0.6rem;
}

.product-features li {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
