
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #101114;
  --panel: #191a20;
  --panel-hover: #22232b;
  --red: #ff2948;
  --red-hover: #e91c3b;
  --text: #f5f5f7;
  --muted: #999ba8;
  --border: rgba(255,255,255,.09);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0%, #29121a 0%, transparent 48%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 21, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1440px;
  min-height: 72px;
  margin: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -1.4px;
}

.logo span {
  color: var(--red);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d5d5dc;
  font-size: 13px;
}

.header-nav a {
  transition: color .2s;
}

.header-nav a:hover {
  color: var(--red);
}

.balance {
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 10px;
  font-weight: 700;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 60px;
}

.hero {
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(9,9,13,.9), rgba(9,9,13,.3)),
    linear-gradient(0deg, rgba(9,9,13,.6), transparent),
    url('/images/dayz-banner.jpg') center 40% / cover no-repeat,
    #24212a;
}

.hero-content {
  max-width: 570px;
}

.hero-tag {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255,41,72,.4);
  border-radius: 7px;
  background: rgba(255,41,72,.12);
  color: #ff7185;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 800;
}

.hero p {
  max-width: 450px;
  color: #c2c2cc;
  line-height: 1.7;
  font-size: 14px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.btn:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,41,72,.2);
}

.btn-secondary {
  background: var(--panel);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--panel-hover);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.7px;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.search-box {
  flex: 1;
  min-width: 120px;
}

.search-box input,
.shop-toolbar select {
  width: 100%;
  height: 45px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--panel);
  color: var(--text);
}

.search-box input:focus,
.shop-toolbar select:focus {
  border-color: var(--red);
}

.search-box input::placeholder {
  color: #777986;
}

.shop-toolbar select {
  width: auto;
  min-width: 165px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
}

.category-btn {
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  color: #c6c6cf;
  font-size: 12px;
  transition: .2s;
}

.category-btn:hover,
.category-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1c1d23, #15161a);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,41,72,.45);
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #24252b;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .3s;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.product-info {
  padding: 15px;
}

.product-category {
  color: var(--muted);
  font-size: 11px;
}

.product-title {
  min-height: 38px;
  margin: 8px 0 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.product-price small {
  color: var(--muted);
  font-size: 11px;
}

.buy-btn {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: white;
  font-size: 21px;
  transition: .2s;
}

.buy-btn:hover {
  background: var(--red-hover);
  transform: scale(1.05);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.promo-panel {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(255,41,72,.22);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(255,41,72,.1), #191a20 65%);
}

.promo-panel h3 {
  margin: 0 0 8px;
}

.promo-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  max-width: calc(100% - 44px);
  padding: 15px 19px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #24252b;
  color: white;
  box-shadow: 0 12px 35px #0006;
  animation: toast-in .2s ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 950px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-nav {
    gap: 14px;
  }

  .hero {
    min-height: 320px;
  }
}

@media (max-width: 650px) {
  .header-inner {
    min-height: 60px;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
  }

  .container {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .hero {
    min-height: 330px;
    padding: 25px 20px;
    background-position: center;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-toolbar select {
    width: 100%;
  }

  .categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 7px;
  }

  .category-btn {
    flex-shrink: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-info {
    padding: 11px;
  }

  .product-title {
    font-size: 12px;
  }

  .product-price {
    font-size: 15px;
  }

  .product-bottom {
    align-items: center;
  }

  .buy-btn {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
