@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&display=swap");

:root {
  --text: rgba(255, 255, 255, 0.92);
  --border: rgba(255, 255, 255, 0.16);
  --accent: #ff2bd6;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0b0b0c;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/beauty2.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
  z-index: -1;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 16px;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(255, 43, 214, 0.18);
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 43, 214, 0.9), transparent);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.brand:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 150ms ease;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(255, 43, 214, 0.16);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 43, 214, 0.92);
  opacity: 0;
  transform: translateY(2px);
  box-shadow: 0 0 16px rgba(255, 43, 214, 0.4);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav a:hover {
  color: rgba(255, 255, 255, 0.98);
}

.nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav a[aria-current="page"] {
  color: rgba(255, 255, 255, 0.98);
}

.nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateY(0);
}

.main {
  flex: 1;
  display: flex;
}

.stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 0;
}

.sale {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 43, 214, 0.88) 55%, rgba(255, 43, 214, 0.55));
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(255, 43, 214, 0.6),
    0 0 44px rgba(255, 43, 214, 0.35);
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
  animation: saleFloat 2.2s ease-in-out infinite;
}

.sale::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: conic-gradient(from 180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  opacity: 0.65;
  filter: blur(0.3px);
  animation: saleSpin 1.8s linear infinite;
}

.sale::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  opacity: 0.7;
}

.sale__text {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.98);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 22px rgba(255, 43, 214, 0.7),
    0 10px 26px rgba(0, 0, 0, 0.55);
  animation: salePulse 1.3s ease-in-out infinite;
}

@keyframes saleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-12deg) scale(1);
  }
  50% {
    transform: translateY(-8px) rotate(-12deg) scale(1.03);
  }
}

@keyframes saleSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes salePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

@media (max-width: 420px) {
  .sale {
    top: 14px;
    left: 14px;
    width: 76px;
    height: 76px;
  }

  .sale__text {
    font-size: 15px;
  }
}

.promo {
  color: rgba(255, 255, 255, 0.98);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(18px, 4vw, 34px);
  line-height: 1.1;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.85),
    0 0 26px rgba(255, 255, 255, 0.55),
    0 0 22px rgba(255, 43, 214, 0.75),
    0 0 44px rgba(255, 43, 214, 0.55),
    0 10px 28px rgba(0, 0, 0, 0.55);
  animation: promoBlink 1.05s steps(2, end) infinite;
}

@keyframes promoBlink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0.18;
  }
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
