html {
  scroll-behavior: smooth;
  background: rgb(20, 24, 28);
  font-family: "DM Sans", sans-serif;
}


.wrapper {
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.container {
  max-width: 1470px;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

/* Header styles */
header {
  padding: 12px 0;
  background: rgb(16, 21, 24);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgb(0, 170, 118);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  justify-content: space-between;
}

.left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.logo-mark {
  color: #7b61ff;
  font-weight: 800;
  margin-right: 8px;
  font-size: 20px;
}

.logo-text {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.nav {
  margin-left: 16px;
  flex: 0 0 auto;
}

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.nav a:hover {
  color: rgb(0, 170, 118);

}

.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgb(35, 42, 49);
  padding: 6px;
  border-radius: 32px;
}

.search input {
  background: transparent;
  border: 0;
  font-size: 16px;
  color: rgb(240, 243, 245);
  width: 420px;
  min-width: 120px;
  padding: 6px 8px;
  outline: none;
}

.search button {
  background: rgb(0, 170, 118);
  border: 0;
  border-radius: 100px;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  width: 100%;
  max-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 12px;
}

.icon {
  background: transparent;
  border: 0;
  color: #e6edf3;
  font-size: 18px;
  cursor: pointer;
}

.mail-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  padding: 10px 15px;
  border: 1px solid rgb(159, 215, 255);
  font-size: 14px;
  color: rgb(159, 215, 255);
}


.signin {
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 100px;
  background: transparent;
  font-size: 14px;
  border: 1px solid white;
  font-weight: 600;
}

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 18px;
  background: #fff;
  margin: 3px 0;
  border-radius: 2px;
  transition: all .25s;
}

.mobile-menu {
  display: none;
  background: rgba(15, 18, 21, 0.98);
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.mobile-search input {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #fff;
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  color: #e6edf3;
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
}

.main-c {
  max-width: 800px;
  margin: 20px auto;
}


.main-c h1 {
  font-size: 32px;
  font-weight: 700;
  color: rgb(227, 227, 227);
  line-height: 1.3;
  margin-bottom: 25px;
}

.main-c h2 {
  font-size: 28px;
  font-weight: 600;
  color: rgb(227, 227, 227);
  line-height: 1.3;
  margin-bottom: 20px;
}

.main-c h3 {
  font-size: 22px;
  font-weight: 500;
  color: rgb(227, 227, 227);
  line-height: 1.3;
  margin-bottom: 20px;
}

.main-c img {
  width: 100%;
  margin-bottom: 20px;
}

.main-c p {
  font-size: 20px;
  margin-bottom: 25px;
  line-height: 1.5;
  color: rgb(227, 227, 227);
}

.auth {
  font-size: 16px;
  font-weight: 500;
  color: rgb(227, 227, 227);
}

.upd {
  font-size: 14px;
  color: rgb(227, 227, 227);

}

.posted {
  display: flex;
  flex-direction: column;
  gap: 8px;

  margin: 25px 0;
  margin-top: 0;
  padding: 20px 0;
  border-top: 1px solid rgb(54, 63, 68);
  border-bottom: 1px solid rgb(54, 63, 68);
}

/* Responsive */
@media (max-width: 900px) {
  .mail-btn span {
    font-size: 14px;
  }

  .nav {
    display: none;
  }

  .search {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: 8px;
  }

  .logo-text {
    display: none;
  }

  .actions .signin {
    display: none;
  }

  .actions .icon {
    font-size: 20px;
  }

  .mobile-menu {
    display: none;
    /* toggled via .open */
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  }

  .mobile-menu.open {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 56px;
    gap: 8px;
    padding: 0 8px;
  }

  .logo-mark {
    font-size: 18px;
  }

  .mobile-search input {
    font-size: 14px;
  }

  .mobile-menu {
    top: 56px;
    left: 8px;
    right: 8px;
  }
}

/* Pre-order section */
.preorder-section {
padding: 15px 0;
}

.preorder-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.preorder-media {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: flex-start;
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  object-position: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.card-img.small {
  transform: none;
  opacity: 1;
  margin-left: 0;
}

.card-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 0;
}

.preorder-content {
  flex: 1;
  min-width: 0;

}

.preorder-content h3 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: #fff;
}

.preorder-steps {
  margin: 0 0 18px 0;
  padding-left: 22px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.6;
}

.preorder-steps li {
  margin: 10px 0;
}

.btn-cta {
  display: block;
  background: #ffd400;
  color: #111;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 30px;
  text-align: center;
  width: 100%;
  max-width: 350px;
  margin: 20px auto;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all .3s;
  margin-top: 0;
}

.btn-cta:hover{
  transform: scale(1.05);
}

.prod-link{
  color: #ff3b30;
  font-weight: 600;
  text-decoration: underline;
}



@media (max-width: 600px) {
  .preorder-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .preorder-media {
    justify-content: center;
    gap: 10px;
    width: 100%;
    flex-direction: row;
    flex: auto;
  }
.preorder-content{
  width: 100%;
}


  .preorder-steps {
    padding-left: 18px;
  }

}

/* ...existing code... */

.product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(0, 170, 118, 0.9);
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  margin: 20px 0;
  align-items: center;
}

/* media / image */
.product-media {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  margin-bottom: 0;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* center info */
.product-info {
  flex: 1;
  min-width: 0;
}

.product-info h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: rgb(227, 227, 227);
  font-weight: 700;
}

.product-prices {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-now .price-label {
  display: block;
  font-size: 12px;
  color: #9fbab0;
}

.price-now .price-amount {
  display: block;
  font-size: 20px;
  color: rgb(0, 214, 155);
  font-weight: 800;
}

.price-soon .soon-label {
  display: block;
  font-size: 12px;
  color: #f0c87b;
}

.price-soon .soon-amount {
  display: block;
  font-size: 16px;
  color: #ff3b30;
  font-weight: 700;
}

/* special offer */
.special-offer {
  margin: 0 !important;
  color: rgb(227, 227, 227);
  font-size: 15px;
}

.special-offer strong {
  color: #ff3b30;
}

/* CTA */
.product-cta {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  padding: 12px 18px;
  background: #ffd400;
  /* яркий желтый как на картинке */
  color: #111;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

/* Responsive */
@media (max-width: 900px) {
  .product-card {
    gap: 12px;
    padding: 12px;
  }

  .product-media {
    flex: 0 0 100px;
  }

  .product-cta {
    flex: 0 0 140px;
  }
}

/* Mobile: stack */
@media (max-width: 600px) {
  .product-card {
    flex-direction: column;
    align-items: stretch;
  }

  .product-media {
    margin: 0 auto 10px;
    flex: 0 0 auto;
  }

  .product-info {
    text-align: center;
    margin-bottom: 12px;
  }

  .product-prices {
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .product-cta {
    flex: 0 0 auto;
  }

  .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
  }

  .product-media img {
    width: 100%;
    max-width: none;
  }
}