:root {
  --black-olive: #202513;
  --citrine: #c8c21c;
  --selective-yellow: #ffb109;
  --white: #ffffff;
  --background-color: #f9f9f7;
  --light-gray-text: #b0afa8;
  --border-color: #e1dfd4;
  --input-bg: #f2f1ea;
  --group-bg: #fffdf5;
  --acid-green:#aaff00;
  --brown:#901616;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'RammettoOne';
    src: url('fonts/Rammetto_One/RammettoOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


.font-200 {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
}

.font-400 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.font-700 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}


html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-primary);
  color: var(--black-olive);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
}

.card {
border: 0.3rem solid #7000ff;
  background-color: var(--acid-green);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0.4rem 0.4rem 0.1rem 0rem var(--brown);
}

.card__header {
  position: relative;
  padding: 1rem 1rem 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__logo {
  max-width: 18.25rem;
  width: 100%;
  height: auto;
  display: block;
}

.card__super-title {
  position: absolute;
  top: 0.8rem;
  right: 1.5rem;
  font-size: 1.1rem;
  color: var(--light-gray-text);
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.item-group,
.item-pcsoup {
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border-color);
}

.item-group:last-child,
.item-pcsoup:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.link-item__info {
  margin: 0;
  text-align: left;
}

.link-item__title {
  font-size: 1.1rem;
  margin: 0 0 0.2rem 0;
  color: var(--black-olive);
}

.section-title {
  font-size: 1.15rem;
  line-height:1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.group-title {
  font-size: 1.25rem;
}

.product-title {
  font-size: 1.02rem;
}

.link-item__description {
  font-size: 1rem;
  margin: 0;
  color: var(--black-olive);
}

.link-item__button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--black-olive);
  background-color: var(--selective-yellow);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(32, 37, 19, 0.08);
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.link-item__button:hover,
.link-item__button:focus {
  background-color: var(--citrine);
  color: var(--black-olive);
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(32, 37, 19, 0.18);
  outline: none;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.85rem;
  margin-bottom: 0.5rem;
}

.contact-box {
  flex: 1 1 5px;
}

.contact-box__label {
  display: block;
  font-size: 0.9rem;
  margin: 0 0 0.4rem 0;
  color: var(--black-olive);
}

.contact-box__value {
  width: 100%;
}

.contact-box__input {
  font-size: 0.9rem;
  color: var(--black-olive);
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  text-align: left;
  outline-color: var(--citrine);
}

.contact-box__link {
  display: block;
  font-size: 0.9rem;
  color: var(--black-olive);
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  text-decoration: none;
  word-break: break-all;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-box__link:hover,
.contact-box__link:focus {
  border-color: var(--citrine);
  background-color: #faf8e8;
  box-shadow: 0 4px 10px rgba(32, 37, 19, 0.16);
  outline: none;
}

.info-link {
  margin-top: 0.55rem;
  text-align: center;
}

.info-link a {
  font-size: 0.9rem;
  color: #7cb30f;
  text-decoration: none;
  transition: color 0.18s ease, text-decoration 0.18s ease;
}

.info-link a:hover {
  color: var(--black-olive);
  text-decoration: underline;
}

.ready-product-list .item-pcsoup {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.ready-product-list .product-title {
  font-size: 1.02rem;
}

.ready-product-list .link-item__description {
  font-size: 0.9rem;
}

.price-old {
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 8px;
  display: inline-block;
  font-size: 0.9rem;
}

.price-current {
  display: inline-block;
  font-size: 0.95rem;
}

.preorder-section-header .section-title {
  font-size: 1.4rem;
}

.preorder-group {
  background-color: var(--group-bg);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}

.preorder-group__head {
  margin-bottom: 0.35rem;
}

.preorder-group__images {
  display: flex;
  flex-direction:column;
  flex-wrap:wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.preorder-group__image-slot {
  flex: 1 1 0;
  max-width: 50%;
}

.preorder-group__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  object-fit: cover;
  display: block;
  background-color: #f5f4ec;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.preorder-group__image:hover {
  box-shadow: 0 8px 18px rgba(32, 37, 19, 0.18);
  border-color: var(--citrine);
}

.preorder-group__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: #f5f4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--light-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preorder-group__products {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

.preorder-product {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border-color);
}

.preorder-product:first-child {
  border-top-style: solid;
}

.preorder-product__info {
  flex: 1 1 auto;
}

.preorder-product__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.preorder-product__price {
  text-align: right;
}

.preorder-product__price span {
  display: inline-block;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .card__body {
    padding: 1.1rem 1.1rem 1.25rem;
  }

  .card__header {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .card__super-title {
    font-size: 0.9rem;
    right: 1rem;
  }

  .link-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-item__info {
    margin-bottom: 0.5rem;
  }

  .link-item__button {
    align-self: stretch;
  }

  .preorder-group {
    padding: 0.9rem 0.85rem 1rem;
  }

  .preorder-group__images {
    flex-wrap: wrap;
  }

  .preorder-group__image-slot {
    max-width: 100%;
  }

  .preorder-product {
    flex-direction: column;
    align-items: flex-start;
  }

  .preorder-product__footer {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.25rem;
  }

  .preorder-product__price {
    text-align: left;
  }
}



  .bot-link {text-decoration: underline dotted;text-underline-offset: 5px; font-size:1.4rem; line-height:1.1;}


@media (min-width: 576px) {
  .bot-link {text-decoration: underline dotted;text-underline-offset: 5px; font-size:1.6rem; line-height:1.1;}
  .section-title {
  font-size: 1.3rem;
  line-height:1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
}


@media (min-width: 768px) {
  .preorder-group__images {
  display: flex;
  flex-direction:row;
  gap: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

  .bot-link {text-decoration: underline dotted;text-underline-offset: 5px; font-size:1.8rem; line-height:1.1;}
    .section-title {
  font-size: 1.45rem;
  line-height:1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
}


@media (min-width: 992px) {
  .bot-link {text-decoration: underline dotted;text-underline-offset: 5px; font-size:2rem; line-height:1.1;}
}


@media (min-width: 1200px) {
.bot-link {text-decoration: underline dotted;text-underline-offset: 5px; font-size:2.2rem; line-height:1.1;}
}


@media (min-width: 1400px) {

}



.color-red {color:red; font-size:1.5rem;line-height:1;}
.rules-info {text-decoration: underline dotted;
  text-underline-offset: 4px;
  color: #a25757;} 
  
  
  .rules-title {text-decoration: underline dotted;text-underline-offset: 4px;}
  .pt-1 {padding-top:0.5rem;}
  .pt-2 {padding-top:1rem;}
  
  .uline {text-decoration: underline dotted;text-underline-offset: 4px;}
  

  .center-text {text-align:center; padding:0 1rem;}
  
  .bot-link {word-break: break-all;}
  
body {
  background: url(images/main-bg.webp) center top / cover no-repeat;
  background-attachment: fixed;
}

/* --- Кнопки API --- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.85rem;
  margin-bottom: 0.5rem;
}

.contact-grid .link-item {
  display: flex;
  flex: 1;
}

.contact-grid .link-item__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 2rem;
  font-family: 'RammettoOne', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #ffffff;
  background-color: #7000ff;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, transform 0.18s ease;
  box-shadow: none;
}

.contact-grid .link-item__button:hover,
.contact-grid .link-item__button:focus {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (min-width: 600px) {
  .contact-grid {
    flex-direction: row;
  }

  .contact-grid .link-item__button {
    font-size: 1.6rem;
    padding: 1.4rem 2.5rem;
  }
}

.card__super-title {
  font-family: 'RammettoOne', sans-serif;
  font-weight: 400;
  color: #ff0d9a;
  text-align: center;
  position: static;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0.5rem 0 0;
  text-shadow:
    .2rem 0 0 #fff, -.2rem 0 0 #fff, 0 .2rem 0 #fff, 0 -.2rem 0 #fff,
    .2rem .2rem 0 #fff, -.2rem .2rem 0 #fff, .2rem -.2rem 0 #fff, -.2rem -.2rem 0 #fff,
    .1rem 0 0 #fff, -.1rem 0 0 #fff, 0 .1rem 0 #fff, 0 -.1rem 0 #fff,
    .1rem .1rem 0 #fff, -.1rem .1rem 0 #fff, .1rem -.1rem 0 #fff, -.1rem -.1rem 0 #fff;
}


.card__header {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
}


.onion-link {
  color: #ff0d9a;
      text-shadow: .2rem 0 0 #fff, -.2rem 0 0 #fff, 0 .2rem 0 #fff, 0 -.2rem 0 #fff, .2rem .2rem 0 #fff, -.2rem .2rem 0 #fff, .2rem -.2rem 0 #fff, -.2rem -.2rem 0 #fff, .1rem 0 0 #fff, -.1rem 0 0 #fff, 0 .1rem 0 #fff, 0 -.1rem 0 #fff, .1rem .1rem 0 #fff, -.1rem .1rem 0 #fff, .1rem -.1rem 0 #fff, -.1rem -.1rem 0 #fff;
}
.onion-link:hover {
  color: #c4007a;
}


.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.85rem;
  margin-bottom: 0.5rem;
}

.contact-grid .link-item {
  display: flex;
  flex: 1;
}

.contact-grid .link-item__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 2rem;
  font-family: 'RammettoOne', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #ffffff;
  background-color: #7000ff;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, transform 0.18s ease;
  box-shadow: none;
}

.contact-grid .link-item__button:hover,
.contact-grid .link-item__button:focus {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (min-width: 600px) {
  .contact-grid {
    flex-direction: row;
  }

  .contact-grid .link-item__button {
    font-size: 1.6rem;
    padding: 1.4rem 2.5rem;
  }

  .card__super-title {
    font-size: 2rem;
  }
}