/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  background: #0a0c12;
  color: #eaeef2;
  line-height: 1.6;
  padding-top: 70px;
}

a {
  color: #00ccaa;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #66ffdd;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 12, 18, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e2430;
  z-index: 1000;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo span {
  color: #00ccaa;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #eaeef2;
  border-radius: 4px;
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav a {
  color: #aab;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a.active,
.nav a:hover {
  color: #fff;
  border-bottom-color: #00ccaa;
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a0c12;
    border-bottom: 1px solid #1e2430;
    padding: 16px 20px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

  .nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: all;
  }

  .nav ul {
    flex-direction: column;
    gap: 14px;
  }

  .nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #1a1f2e;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 60px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero-badge {
  display: inline-block;
  background: #00ccaa22;
  color: #00ccaa;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid #00ccaa44;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 60%, #00ccaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-intro {
  font-size: 1.05rem;
  color: #c0c8d8;
  margin-bottom: 28px;
}

/* Voting Widget */
.voting-widget {
  background: #121824;
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid #1e2838;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  max-width: 480px;
}

.voting-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.voting-label {
  font-weight: 600;
  color: #aab;
  font-size: 0.95rem;
}

.voting-average {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}

.voting-max {
  font-size: 1.2rem;
  color: #667;
}

.star-rating {
  font-size: 2.4rem;
  letter-spacing: 4px;
  cursor: pointer;
  color: #ffcc44;
  margin: 6px 0 12px;
}

.star-rating span {
  transition: 0.1s;
  display: inline-block;
}

.star-rating span:hover {
  transform: scale(1.15);
}

.voting-stats {
  font-size: 0.9rem;
  color: #8899bb;
  margin-bottom: 14px;
}

.voting-breakdown {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #667788;
}

.btn-vote {
  background: #00ccaa;
  color: #0a0c12;
  border: none;
  padding: 10px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.25s;
}

.btn-vote:hover:not(:disabled) {
  background: #66ffdd;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #00ccaa44;
}

.btn-vote:disabled {
  opacity: 0.5;
  cursor: default;
}

.hero-image {
  text-align: center;
}

.hero-img {
  border-radius: 20px;
  border: 1px solid #1e2838;
  background: #121824;
  width: 100%;
  aspect-ratio: 600/400;
  object-fit: cover;
}

.img-caption {
  font-size: 0.8rem;
  color: #667;
  margin-top: 8px;
  text-align: center;
}

/* ===== COMPARISON TABLE ===== */
.comparison {
  padding: 50px 0 40px;
  background: #0d111a;
  border-top: 1px solid #1a1f2e;
  border-bottom: 1px solid #1a1f2e;
}

.comparison h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.section-sub {
  color: #8899bb;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 30px;
  border-radius: 16px;
  border: 1px solid #1e2838;
  background: #0a0c12;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #1a1f2e;
  vertical-align: top;
}

.compare-table th {
  background: #121824;
  color: #00ccaa;
  font-weight: 600;
  border-bottom: 2px solid #00ccaa;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  font-weight: 600;
  color: #c0d0e0;
}

.compare-table td:not(:first-child) {
  color: #c8d0dc;
}

.compare-img {
  border-radius: 16px;
  border: 1px solid #1e2838;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  background: #121824;
}

/* ===== RANKINGS ===== */
.rankings {
  padding: 50px 0 40px;
}

.rankings h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 24px;
}

.ranking-list {
  background: #121824;
  border-radius: 20px;
  padding: 24px 26px;
  border: 1px solid #1e2838;
}

.ranking-list h3 {
  color: #00ccaa;
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranking-list ol {
  padding-left: 20px;
  list-style-position: inside;
}

.ranking-list li {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #c8d0dc;
  border-bottom: 1px solid #1a1f2e;
  padding-bottom: 12px;
}

.ranking-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ranking-list li strong {
  color: #fff;
}

/* ===== EXPERT REVIEW ===== */
.expert-review {
  padding: 50px 0 40px;
  background: #0d111a;
  border-top: 1px solid #1a1f2e;
  border-bottom: 1px solid #1a1f2e;
}

.expert-review h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.review-text p {
  margin-bottom: 18px;
  color: #c8d0dc;
  font-size: 1.02rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0 24px;
}

.pros h4,
.cons h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
}

.pros ul li,
.cons ul li {
  padding: 4px 0 4px 28px;
  position: relative;
  color: #c8d0dc;
}

.pros ul li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

.cons ul li::before {
  content: "❌";
  position: absolute;
  left: 0;
}

.verdict {
  background: #121824;
  padding: 20px 24px;
  border-radius: 16px;
  border-left: 4px solid #00ccaa;
}

.verdict h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.verdict-score {
  color: #00ccaa;
  font-weight: 700;
  font-size: 1.3rem;
}

.review-badge {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.badge-img {
  max-width: 280px;
  border-radius: 20px;
  border: 1px solid #1e2838;
}

/* ===== COMMUNITY OPINIONS ===== */
.community {
  padding: 50px 0 40px;
}

.community h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.opinion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.opinion-card {
  background: #121824;
  border-radius: 20px;
  padding: 20px 24px;
  border: 1px solid #1e2838;
  transition: 0.2s;
}

.opinion-card:hover {
  border-color: #00ccaa55;
}

.opinion-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.user {
  font-weight: 600;
  color: #fff;
}

.rating {
  color: #ffcc44;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.playtime {
  color: #667;
  font-size: 0.85rem;
}

.opinion-card p {
  color: #c0c8d8;
  font-size: 0.96rem;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: #06080e;
  border-top: 1px solid #1a1f2e;
  padding: 28px 0;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: #667;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #00ccaa;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .badge-img {
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .voting-widget {
    padding: 18px 16px;
  }
  .voting-average {
    font-size: 1.8rem;
  }
  .star-rating {
    font-size: 1.8rem;
  }
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
