:root {
  --bg: #0e1514;
  --bg-2: #15201e;
  --ink: #e8f0ee;
  --muted: #8fa39c;
  --line: rgba(232, 240, 238, 0.1);
  --accent: #3dd6c6;
  --accent-deep: #1aa896;
  --accent-glow: rgba(61, 214, 198, 0.28);
  --warm: #e8c47a;
  --font: "Sora", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --wrap: 1080px;
  --top: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(61, 214, 198, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 15%, rgba(232, 196, 122, 0.08), transparent 50%),
    linear-gradient(180deg, #0e1514 0%, #101a18 45%, #0c1211 100%);
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(14, 21, 20, 0.72);
  border-bottom: 1px solid var(--line);
}
.top__row {
  min-height: var(--top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand__mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 4px rgba(61, 214, 198, 0.12);
}
.brand__name {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand__name em {
  font-style: normal;
  color: var(--accent);
}
.top__nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.top__nav a:hover { color: var(--ink); }

.hero--deal {
  position: relative;
  min-height: calc(100svh - var(--top));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.25rem 0 2rem;
  gap: 1rem;
}
.hero__top {
  animation: rise 0.7s ease-out both;
}
.hero__top .brand-hero {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 0.35rem;
}
.hero__kicker {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__posters {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: 1rem;
  display: grid;
  gap: 0.75rem;
  animation: rise 0.9s ease-out 0.08s both;
}
.hero__poster-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}
.hero__poster-link:hover .hero__poster {
  transform: scale(1.01);
}
.hero__poster {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(232, 240, 238, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  background: #0a1210;
  transition: transform 0.25s ease;
}
.hero__cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(61, 214, 198, 0.35);
  background: rgba(61, 214, 198, 0.1);
  animation: rise 1s ease-out 0.15s both;
}
.hero__cta-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 28ch;
}
.btn--pryltorget {
  background: #e65100;
  color: #fff;
  font-size: 1.05rem;
  padding: 1rem 1.6rem;
  box-shadow: 0 12px 40px rgba(230, 81, 0, 0.45);
  animation: cta-pulse 2.4s ease-in-out infinite;
}
.btn--pryltorget:hover {
  background: #ff6d00;
  box-shadow: 0 16px 48px rgba(230, 81, 0, 0.55);
  transform: translateY(-2px);
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(230, 81, 0, 0.4); }
  50% { box-shadow: 0 16px 52px rgba(230, 81, 0, 0.65); }
}

.brand-hero {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #06221e;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 36px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 42px var(--accent-glow); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: rgba(232, 240, 238, 0.28); }

.feed { padding: 4.5rem 0 3rem; }

.spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0 1rem;
  margin-top: -1rem;
}
.spotlight__card {
  display: block;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(21, 32, 30, 0.8);
  transition: border-color 0.15s, transform 0.15s;
}
.spotlight__card:hover {
  border-color: rgba(61, 214, 198, 0.4);
  transform: translateY(-2px);
}
.spotlight__kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.spotlight__card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}
.spotlight__card p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 720px) {
  .spotlight { grid-template-columns: 1fr; }
}
.feed__head {
  margin-bottom: 1.75rem;
}
.feed__head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.feed__head p { color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.15s ease;
}
.filter:hover,
.filter.is-active {
  color: var(--ink);
  border-color: rgba(61, 214, 198, 0.45);
  background: rgba(61, 214, 198, 0.1);
}

.feed__list {
  display: grid;
  gap: 1rem;
}
.feed__loading,
.feed__empty {
  color: var(--muted);
  padding: 2rem 0;
}

.post-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: opacity 0.2s;
}
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row:hover .post-row__title { color: var(--accent); }

.post-row__thumb {
  width: 7.5rem;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(145deg, #1c2c29, #121a18);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.post-row__thumb::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 10px;
  opacity: 0.85;
  background: var(--thumb, linear-gradient(135deg, var(--accent), transparent));
}
.post-row__thumb[data-cover="headphones"] { --thumb: linear-gradient(135deg, #3dd6c6, #145a52); }
.post-row__thumb[data-cover="laptop"] { --thumb: linear-gradient(135deg, #e8c47a, #3d4a42); }
.post-row__thumb[data-cover="smarthome"] { --thumb: linear-gradient(135deg, #7ad1e8, #1d3a44); }
.post-row__thumb[data-cover="gaming"] { --thumb: linear-gradient(135deg, #7ae89a, #1f3d2c); }
.post-row__thumb[data-cover="powerbank"] { --thumb: linear-gradient(135deg, #d6e83d, #3a4420); }
.post-row__thumb[data-cover="monitor"] { --thumb: linear-gradient(135deg, #a8b8e8, #24304a); }

.post-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
}
.post-row__cat { color: var(--accent); }
.post-row__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  transition: color 0.15s;
}
.post-row__excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 62ch;
}

.about {
  padding: 3rem 0 4.5rem;
}
.about__inner {
  max-width: 44rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about__person {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.15rem;
  align-items: start;
}
.about__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(61, 214, 198, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.about h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.about p { color: var(--muted); }
.about__meta {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--accent) !important;
}
.about__disc {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}
@media (max-width: 560px) {
  .about__person {
    grid-template-columns: 72px 1fr;
  }
  .about__photo {
    width: 72px;
    height: 72px;
  }
}

.foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}
.foot__author {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.foot__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Article page */
.article {
  padding: 2.5rem 0 4rem;
}
.article__back {
  display: inline-flex;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.article__back:hover { color: var(--accent); }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.article h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1rem;
}
.article__lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 44ch;
  margin-bottom: 2rem;
}
.article__cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 20px;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #1c2c29, #101816);
  position: relative;
  overflow: hidden;
}
.article__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background: linear-gradient(135deg, rgba(61,214,198,.35), transparent);
}
.article__cover[data-cover="headphones"]::after { background: linear-gradient(135deg, #3dd6c6, #145a52); }
.article__cover[data-cover="laptop"]::after { background: linear-gradient(135deg, #e8c47a, #3d4a42); }
.article__cover[data-cover="smarthome"]::after { background: linear-gradient(135deg, #7ad1e8, #1d3a44); }
.article__cover[data-cover="gaming"]::after { background: linear-gradient(135deg, #7ae89a, #1f3d2c); }
.article__cover[data-cover="powerbank"]::after { background: linear-gradient(135deg, #d6e83d, #3a4420); }
.article__cover[data-cover="monitor"]::after { background: linear-gradient(135deg, #a8b8e8, #24304a); }
.article__body {
  max-width: 42rem;
  display: grid;
  gap: 1.15rem;
}
.article__body p {
  color: #c5d4cf;
  font-size: 1.05rem;
}

.pick {
  margin: 2.25rem 0;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(61, 214, 198, 0.28);
  background: rgba(61, 214, 198, 0.07);
  max-width: 42rem;
}
.pick__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.pick__name {
  font-family: var(--display);
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}
.pick__price {
  color: var(--muted);
  margin-bottom: 1rem;
}
.pick .btn { width: fit-content; }

.note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 42rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: rotate(-4deg) translateY(24px) scale(0.96); }
  to { opacity: 1; transform: rotate(-4deg) none; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (max-width: 760px) {
  .hero--deal {
    min-height: auto;
    padding-top: 0.75rem;
  }
  .hero__cta-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .hero__cta-text {
    max-width: none;
  }
  .btn--pryltorget {
    width: 100%;
    justify-content: center;
  }
  .post-row {
    grid-template-columns: 5.25rem 1fr;
    gap: 0.9rem;
  }
  .post-row__thumb { width: 5.25rem; border-radius: 12px; }
  .top__nav { display: none; }
}
