﻿:root {
  --primary: #ff3b3b;
  --primary-dark: #b91c1c;
  --bg: #160b0b;
  --panel: #271515;
  --panel-alt: #341b19;
  --border: #642525;
  --text: #f5ecec;
  --gray: #a88888;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 59, 59, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 59, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backgroundDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(255, 59, 59, 0.25); }
  50% { box-shadow: 0 8px 28px rgba(255, 59, 59, 0.42); }
}

body {
  animation: backgroundDrift 28s linear infinite;
}

.fade-in-up {
  animation: fadeInUp 0.5s ease both;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.scroll-reveal.is-visible {
  animation: fadeInUp 0.55s ease both;
}

/* Header */
.header {
  background: rgba(25, 13, 13, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.logo:hover,
.logo:focus-visible {
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(255, 59, 59, 0.42);
}

.top-nav a {
  font-weight: 500;
}

.logo span {
  color: var(--primary);
}

.top-nav {
  display: flex;
  gap: 24px;
}

.top-nav a {
  position: relative;
  color: var(--gray);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.top-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s;
}

.top-nav a:hover {
  color: var(--primary);
}

.top-nav a:hover::after {
  width: 100%;
}

/* Notice banner */
.notice {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(120deg, rgba(54, 15, 15, 0.95), rgba(25, 12, 12, 0.95));
  border: 1px solid rgba(255, 59, 59, 0.4);
  border-radius: 18px;
  padding: 20px 24px;
  margin-top: 28px;
  box-shadow: var(--shadow);
}

.notice__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.notice__body {
  flex: 1;
  min-width: 0;
}

.notice__title {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
}


.notice__body p {
  color: #dcbcbc;
  font-size: 0.92rem;
  margin-bottom: 4px;
  line-height: 1.55;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
}

/* CTA */
.cta-row {
  text-align: center;
  margin: 24px auto;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 59, 59, 0.25);
  transition: background 0.2s, transform 0.2s;
  animation: ctaPulse 3.8s ease-in-out infinite;
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  animation-play-state: paused;
}

/* Payments */
.payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 40px;
}

.pay-badge {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--gray);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pay-badge:hover {
  color: var(--text);
  border-color: rgba(255, 59, 59, 0.55);
  transform: translateY(-2px);
}

/* Category sections */
.category-section {
  margin-bottom: 44px;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.category-title .icon {
  font-size: 1.3rem;
}

.category-description {
  color: #dcbcbc;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin: -6px auto 18px;
  max-width: 900px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.empty-category {
  grid-column: 1 / -1;
  color: var(--gray);
  font-size: 0.9rem;
  padding: 20px 0;
}

.product-card__image {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  background: #120909;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover .product-card__image {
  transform: translateY(-2px) scale(1.018);
  box-shadow: 0 8px 20px rgba(255, 59, 59, 0.18);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.045);
}

.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.product-card__badge {
  align-self: flex-start;
  font-size: 0.7rem;
  color: #f0a;
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid var(--primary);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-card__price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__crypto {
  font-size: 0.8rem;
  color: var(--gray);
}

.order-btn {
  display: inline-block;
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s;
}

.order-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Footer */
.footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  color: var(--gray);
  padding: 24px 0;
  font-size: 0.85rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.footer__inner p {
  max-width: 760px;
}

.admin-link {
  color: rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 4px;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
  opacity: 0.55;
}

.admin-link:hover,
.admin-link:focus-visible {
  color: var(--primary);
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }

  .header__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 12px 0 10px;
    gap: 8px;
  }

  .logo {
    width: 100%;
    text-align: center;
    font-size: 1.08rem;
    letter-spacing: 0.12em;
  }

  .top-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .top-nav a {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 0 10px;
    margin-top: 18px;
    margin-left: 11px;
    margin-right: 11px;
    padding: 15px 16px 16px;
    border-radius: 16px;
  }

  .notice__icon {
    font-size: 1.35rem;
    align-self: start;
    margin-top: 2px;
  }

  .notice__title {
    font-size: 0.98rem;
    margin-bottom: 6px;
    text-align: left;
  }

  .notice__body p {
    font-size: 0.76rem;
    line-height: 1.42;
    margin-bottom: 3px;
    text-align: left;
  }

  .notice__lead {
    margin-bottom: 8px !important;
  }

  .admin-link {
    opacity: 0.2;
    align-self: flex-end;
  }

  .cta-row {
    margin: 18px auto 14px;
  }

  .cta-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .payments {
    gap: 8px;
    margin: 16px auto 28px;
  }

  .pay-badge {
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .category-section {
    margin-bottom: 28px;
  }

  .category-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .category-description {
    font-size: 0.78rem;
    line-height: 1.45;
    margin: -4px auto 12px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card {
    padding: 12px;
  }

  .product-card__image {
    border-radius: 8px;
  }

  .product-card__badge {
    font-size: 0.62rem;
  }

  .product-card__title {
    font-size: 0.96rem;
  }

  .product-card__price {
    font-size: 1.2rem;
  }

  .product-card__footer {
    gap: 8px;
    align-items: center;
  }

  .product-card__crypto {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .order-btn {
    padding: 8px 12px;
    min-width: 78px;
    text-align: center;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer__inner p {
    max-width: 330px;
  }
}

