/* =========================
   GLOBAL
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0a0a;

  color: white;

  overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  height: 85px;

  padding: 0 8%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  background: rgba(10, 10, 10, 0.95);

  backdrop-filter: blur(15px);

  z-index: 999;
}

.logo {
  font-size: 32px;

  font-weight: 800;

  color: #ff5a0a;
}

.navbar nav {
  display: flex;

  gap: 35px;
}

.navbar nav a {
  text-decoration: none;

  color: white;

  font-weight: 500;

  transition: all 0.3s ease;
}

.navbar nav a:hover,
.navbar nav .active {
  color: #ff5a0a;
}

/* =========================
   HERO
========================= */

.article-hero {
  position: relative;

  width: 100%;

  height: 95vh;

  margin-top: 85px;

  overflow: hidden;
}

.article-hero img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.8s ease;
}

.article-hero:hover img {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 80px 8%;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.15));
}

.hero-overlay span {
  display: inline-block;

  width: fit-content;

  padding: 10px 20px;

  border-radius: 50px;

  background: #ff5a0a;

  font-size: 13px;

  font-weight: 700;

  margin-bottom: 25px;
}

.hero-overlay h1 {
  max-width: 900px;

  font-size: 68px;

  line-height: 1.1;

  margin-bottom: 20px;
}

.hero-overlay p {
  max-width: 700px;

  color: #cbd5e1;

  font-size: 18px;

  line-height: 1.8;

  margin-bottom: 20px;
}

.hero-meta {
  color: #94a3b8;

  font-size: 14px;
}

/* =========================
   REVIEW SCORE
========================= */

.review-score {
  padding: 100px 8%;

  display: grid;

  grid-template-columns: 350px 1fr;

  gap: 35px;
}

.score-card {
  background: #111827;

  border-radius: 30px;

  padding: 50px;

  text-align: center;

  transition: 0.4s ease;
}

.score-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 0 30px rgba(255, 90, 10, 0.25);
}

.score-card h2 {
  font-size: 90px;

  color: #ff5a0a;

  line-height: 1;
}

.score-card p {
  color: #94a3b8;

  margin: 15px 0;
}

.stars {
  color: gold;

  font-size: 28px;

  letter-spacing: 3px;
}

.spec-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

.spec-item {
  background: #111827;

  padding: 30px;

  border-radius: 25px;

  transition: all 0.4s ease;
}

.spec-item:hover {
  transform: translateY(-8px);

  border: 1px solid #ff5a0a;

  box-shadow: 0 0 25px rgba(255, 90, 10, 0.2);
}

.spec-item h4 {
  color: #94a3b8;

  margin-bottom: 10px;

  font-size: 14px;

  text-transform: uppercase;
}

.spec-item p {
  font-size: 24px;

  font-weight: 700;
}

/* =========================
   ARTICLE CONTAINER
========================= */

.article-container {
  max-width: 1100px;

  margin: auto;

  padding: 0 8% 120px;
}

.article-content {
  width: 100%;
}

/* =========================
   ARTICLE HEADINGS
========================= */

.article-content h2 {
  font-size: 42px;

  color: #ff5a0a;

  margin-top: 70px;

  margin-bottom: 25px;

  position: relative;
}

.article-content h2::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -10px;

  width: 70px;

  height: 4px;

  border-radius: 20px;

  background: #ff5a0a;
}

/* =========================
   ARTICLE PARAGRAPHS
========================= */

.article-content p {
  color: #d1d5db;

  font-size: 18px;

  line-height: 2;

  margin-bottom: 25px;
}

/* =========================
   ARTICLE IMAGES
========================= */

.article-content img {
  width: 100%;

  border-radius: 30px;

  margin: 50px 0;

  transition: all 0.6s ease;

  cursor: pointer;
}

.article-content img:hover {
  transform: scale(1.02);

  box-shadow: 0 0 35px rgba(255, 90, 10, 0.25);
}

/* =========================
   ARTICLE LISTS
========================= */

.article-content ul {
  margin-top: 25px;

  margin-bottom: 40px;

  padding-left: 25px;
}

.article-content li {
  color: #d1d5db;

  margin-bottom: 15px;

  line-height: 1.8;

  font-size: 17px;
}

/* =========================
   PROS
========================= */

.article-content ul:first-of-type {
  background: rgba(34, 197, 94, 0.08);

  border: 1px solid rgba(34, 197, 94, 0.2);

  padding: 30px 40px;

  border-radius: 25px;
}

/* =========================
   CONS
========================= */

.article-content ul:last-of-type {
  background: rgba(239, 68, 68, 0.08);

  border: 1px solid rgba(239, 68, 68, 0.2);

  padding: 30px 40px;

  border-radius: 25px;
}

/* =========================
   BLOCKQUOTE
========================= */

.article-content blockquote {
  margin: 50px 0;

  padding: 40px;

  border-left: 5px solid #ff5a0a;

  background: #111827;

  border-radius: 20px;

  color: white;

  font-size: 24px;

  font-weight: 600;

  line-height: 1.7;
}

/* =========================
   HIGHLIGHT TEXT
========================= */

.article-content strong {
  color: #ff5a0a;
}

/* =========================
   ARTICLE FADE EFFECT
========================= */

.article-content {
  animation: articleFade 1s ease;
}

@keyframes articleFade {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =========================
   SCORE BREAKDOWN
========================= */

.breakdown {
  padding: 100px 8%;

  background: #0f172a;
}

.breakdown h2 {
  text-align: center;

  font-size: 42px;

  margin-bottom: 60px;
}

.breakdown-grid {
  max-width: 1000px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

.breakdown-grid div {
  background: #111827;

  padding: 30px;

  border-radius: 25px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 18px;

  font-weight: 600;

  transition: all 0.4s ease;
}

.breakdown-grid div:hover {
  transform: translateY(-8px);

  border: 1px solid #ff5a0a;

  box-shadow: 0 0 25px rgba(255, 90, 10, 0.2);
}

.breakdown-grid span {
  color: #ff5a0a;

  font-size: 22px;

  font-weight: 700;
}

/* =========================
   RELATED REVIEWS
========================= */

.related-reviews {
  padding: 100px 8%;
}

.section-title {
  text-align: center;

  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
}

.related-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.related-grid a {
  text-decoration: none;

  color: white;

  background: #111827;

  padding: 40px;

  border-radius: 25px;

  transition: all 0.4s ease;

  font-size: 18px;

  font-weight: 600;
}

.related-grid a:hover {
  transform: translateY(-10px) scale(1.02);

  color: #ff5a0a;

  border: 1px solid #ff5a0a;

  box-shadow: 0 0 25px rgba(255, 90, 10, 0.25);
}

/* =========================
   FOOTER
========================= */

footer {
  background: #050505;

  padding: 80px 8%;

  text-align: center;
}

footer h2 {
  color: #ff5a0a;

  font-size: 34px;

  margin-bottom: 15px;
}

footer p {
  color: #94a3b8;

  margin-bottom: 20px;
}

.footer-bottom {
  color: #64748b;

  font-size: 14px;
}

/* =========================
   BACK TO TOP
========================= */

.back-to-top {
  position: fixed;

  bottom: 30px;

  right: 30px;

  width: 55px;

  height: 55px;

  border: none;

  border-radius: 50%;

  background: #ff5a0a;

  color: white;

  font-size: 22px;

  cursor: pointer;

  opacity: 0;

  visibility: hidden;

  transition: all 0.4s ease;

  z-index: 999;
}

.back-to-top.show {
  opacity: 1;

  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);

  box-shadow: 0 0 20px rgba(255, 90, 10, 0.4);
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #ff5a0a;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff7a3d;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .review-score {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .breakdown-grid {
    grid-template-columns: 1fr;
  }

  .hero-overlay h1 {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .navbar nav {
    display: none;
  }

  .hero-overlay h1 {
    font-size: 38px;
  }

  .hero-overlay p {
    font-size: 16px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .article-content h2 {
    font-size: 32px;
  }

  .article-content p {
    font-size: 16px;
  }

  .score-card h2 {
    font-size: 70px;
  }
}
