:root {
  --text-main: #ffecc7;
  --text-soft: rgba(255, 229, 184, 0.92);
  --gold: #ffb841;
  --gold-strong: #ff9f1f;
  --border-glow: rgba(255, 147, 24, 0.92);
  --card-bg: rgba(50, 10, 2, 0.44);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text-main);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: #1b1b1b url("assets/images/background.png") center center / cover no-repeat fixed;
}

.page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: relative;
  min-height: 240px;
  padding: 20px 26px 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.topbar::before {
  content: none;
}

.topbar nav {
  position: relative;
  z-index: 2;
}

.topbar ul {
  list-style: none;
  display: flex;
  gap: 68px;
  margin: 0;
  padding: 0;
}

.topbar a {
  color: #fff8ea;
  text-decoration: none;
  font-size: 35px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.topbar a.active,
.topbar a:hover {
  opacity: 0.86;
}

.logo {
  position: absolute;
  left: 50%;
  top: 137px;
  transform: translate(-50%, -50%);
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 4;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 20px 40px;
}

h1 {
  margin: 0;
  position: relative;
  top: -0.3cm;
  font-size: clamp(47px, 6.5vw, 68px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.offer-card {
  margin-top: calc(34px + 1cm);
  width: min(82vw, 479px);
  border-radius: 15px;
  border: 3px solid var(--border-glow);
  background: var(--card-bg);
  backdrop-filter: blur(1px);
  box-shadow:
    0 0 28px rgba(255, 130, 15, 0.24),
    inset 0 0 24px rgba(255, 123, 0, 0.22);
  text-align: center;
  padding: 15px clamp(10px, 2.5vw, 22px) 19px;
}

.offer-title {
  margin: 0;
  color: var(--gold);
  font-size: clamp(28px, 3.2vw, 39px);
  font-weight: 800;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.price {
  margin: 12px 0 8px;
  line-height: 1;
  color: #ffcb5a;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.currency {
  font-size: clamp(34px, 4.4vw, 58px);
  vertical-align: super;
}

.value {
  font-size: clamp(87px, 10.1vw, 141px);
  font-weight: 800;
}

.offer-copy {
  margin: 0;
  font-size: clamp(18px, 2vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-soft);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.device-icon {
  margin: 20px auto 17px;
  width: min(32vw, 195px);
}

.device-icon svg {
  width: 100%;
  height: auto;
}

.device-icon svg * {
  fill: none;
  stroke: #ffad2e;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 129, 0, 0.8));
}

.buy-btn {
  display: inline-block;
  min-width: min(56vw, 265px);
  padding: 8px 15px 10px;
  border-radius: 10px;
  border: 2px solid rgba(255, 178, 84, 0.75);
  background: linear-gradient(180deg, #ff571f 0%, #dd2700 90%);
  color: #fff0ce;
  text-decoration: none;
  font-size: clamp(25px, 3.1vw, 41px);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 2px 7px rgba(255, 186, 91, 0.5),
    0 0 22px rgba(255, 109, 20, 0.35);
}

.buy-btn:hover {
  background: linear-gradient(180deg, #ff6a2f 0%, #f2380f 90%);
}

.site-footer {
  margin-top: auto;
  padding: 78px 20px 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.social-link {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: rgba(53, 21, 20, 0.56);
  backdrop-filter: blur(2px);
  color: #f2f2f2;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.social-link svg,
.social-link img {
  width: 42px;
  height: 42px;
}

.social-link img {
  display: block;
  object-fit: contain;
}

.social-link.discord {
  border: 2px solid rgba(88, 101, 242, 0.95);
  box-shadow:
    0 0 18px rgba(88, 101, 242, 0.55),
    inset 0 0 12px rgba(88, 101, 242, 0.2);
}

.social-link.mail {
  border: 2px solid rgba(255, 53, 36, 0.95);
  box-shadow:
    0 0 18px rgba(255, 70, 39, 0.45),
    inset 0 0 12px rgba(255, 90, 60, 0.2);
}

.social-link.mail rect,
.social-link.mail path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-copy {
  margin: 0;
  color: rgba(245, 233, 231, 0.88);
  font-size: clamp(11px, 1.2vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.26);
}

.footer-legal {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(248, 238, 235, 0.9);
  font-size: clamp(9px, 1.02vw, 18px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  opacity: 0.86;
}

@media (max-width: 980px) {
  .topbar {
    min-height: 184px;
    padding-top: 14px;
  }

  .topbar ul {
    gap: 26px;
  }

  .topbar a {
    font-size: 22px;
  }

  .logo {
    top: 65px;
    width: 130px;
  }

  .offer-card {
    margin-top: 18px;
    border-width: 2px;
    border-radius: 18px;
  }

  .site-footer {
    padding: 44px 16px 42px;
  }

  .footer-social {
    gap: 14px;
    margin-bottom: 12px;
  }

  .social-link {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .social-link svg,
  .social-link img {
    width: 30px;
    height: 30px;
  }

  .footer-copy {
    font-size: clamp(8px, 2.9vw, 12px);
  }

  .footer-legal {
    margin-top: 16px;
    gap: 8px;
    font-size: clamp(7px, 2.2vw, 10px);
  }
}
