:root {
  --bg: #070a11;
  --bg-deep: #03050a;
  --surface: #111827;
  --surface-2: #151d31;
  --text: #edf4ff;
  --muted: #9da8ba;
  --neon: #22f7ff;
  --neon-2: #ff3d9a;
  --gold: #ffcb45;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-navbar {
  background: rgba(7, 10, 17, 0.72);
  border-bottom: 1px solid transparent;
  padding: 1rem 0;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-navbar.scrolled {
  background: rgba(7, 10, 17, 0.96);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
  padding: 0.7rem 0;
}

.navbar-brand,
.footer-brand {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
}

.navbar-brand:hover,
.footer-brand:hover {
  color: var(--neon);
}

.brand-mark {
  color: var(--neon);
  text-shadow: 0 0 18px rgba(34, 247, 255, 0.65);
}

.navbar-toggler {
  border-color: rgba(34, 247, 255, 0.35);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(34, 247, 255, 0.18);
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1);
}

.navbar-nav .nav-link {
  color: rgba(237, 244, 255, 0.78);
  font-weight: 600;
  margin-left: 0.6rem;
  position: relative;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.hero-section {
  min-height: 92vh;
  padding: 9rem 0 5rem;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.96) 0%, rgba(3, 5, 10, 0.76) 55%, rgba(3, 5, 10, 0.42) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-section h1,
.page-header h1 {
  max-width: 830px;
  margin: 0 0 1.25rem;
  color: var(--text);
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 900;
}

.hero-copy,
.page-header p,
.section-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.section-pad {
  padding: 6rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(21, 29, 49, 0.48), rgba(7, 10, 17, 0.88));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 14px rgba(34, 247, 255, 0.75);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading h2,
.section-pad h2 {
  color: var(--text);
  font-size: 2.55rem;
  line-height: 1.15;
  font-weight: 850;
}

.feature-image {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gaming-card {
  background: linear-gradient(180deg, rgba(21, 29, 49, 0.96), rgba(12, 17, 30, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gaming-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 247, 255, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 24px rgba(34, 247, 255, 0.08);
}

.category-card {
  padding: 1.5rem;
}

.card-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  color: var(--bg-deep);
  background: var(--neon);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(34, 247, 255, 0.36);
}

.gaming-card h2,
.gaming-card h3 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
}

.category-card h3 {
  font-size: 1.2rem;
}

.gaming-card p {
  color: var(--muted);
  line-height: 1.7;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.btn-neon {
  color: #041014;
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 18px rgba(34, 247, 255, 0.34);
}

.btn-neon:hover,
.btn-neon:focus {
  color: #041014;
  background: #7cfaff;
  border-color: #7cfaff;
  box-shadow: 0 0 28px rgba(34, 247, 255, 0.54);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--text);
  border-color: var(--neon);
  background: rgba(34, 247, 255, 0.1);
}

.check-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.check-list div {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list strong {
  display: block;
  color: var(--neon);
  margin-bottom: 0.35rem;
}

.check-list span {
  display: block;
  color: var(--muted);
}

.stats-section {
  background:
    linear-gradient(90deg, rgba(34, 247, 255, 0.09), rgba(255, 61, 154, 0.08)),
    var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-card {
  min-height: 150px;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.counter {
  display: block;
  color: var(--neon);
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(34, 247, 255, 0.45);
}

.stat-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.testimonial-shell {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  min-height: 290px;
  padding: 3rem 5rem;
  background: linear-gradient(180deg, rgba(21, 29, 49, 0.98), rgba(8, 12, 23, 0.98));
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.testimonial-card p {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.7;
}

.testimonial-card h3 {
  margin-top: 1.5rem;
  color: var(--neon);
  font-size: 1.2rem;
  font-weight: 900;
}

.testimonial-card span {
  color: var(--muted);
}

.page-header {
  padding: 10rem 0 5.5rem;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.94), rgba(3, 5, 10, 0.72)),
    url("../img/hero.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.compact-header {
  padding-bottom: 4rem;
}

.article-card img,
.guide-card img,
.review-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card-body-content {
  padding: 1.4rem;
}

.card-body-content h2 {
  margin: 0.85rem 0;
  font-size: 1.24rem;
}

.pill,
.difficulty {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill {
  color: var(--bg-deep);
  background: var(--neon);
}

.difficulty.beginner {
  color: #06120a;
  background: #55f28f;
}

.difficulty.intermediate {
  color: #160d00;
  background: var(--gold);
}

.difficulty.advanced {
  color: #18030c;
  background: #ff6aa9;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 1.15rem;
}

.review-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.review-topline strong {
  color: var(--gold);
  white-space: nowrap;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.4rem;
}

.contact-card h2 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.25rem;
}

.contact-form {
  padding: 2rem;
}

.form-label {
  color: var(--text);
  font-weight: 700;
}

.form-control {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.form-control:focus {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--neon);
  box-shadow: 0 0 0 0.2rem rgba(34, 247, 255, 0.15);
}

.form-control.is-invalid {
  border-color: #ff6a8e;
}

.invalid-feedback {
  color: #ff99ad;
}

.form-feedback {
  display: none;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.form-feedback.success {
  display: block;
  color: #06120a;
  background: #55f28f;
}

.form-feedback.error {
  display: block;
  color: #18030c;
  background: #ff99ad;
}

.legal-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(21, 29, 49, 0.96), rgba(12, 17, 30, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-panel h2 {
  margin: 2rem 0 0.75rem;
  color: var(--neon);
  font-size: 1.35rem;
  font-weight: 900;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p {
  color: var(--muted);
  line-height: 1.85;
}

.site-footer {
  padding: 4.5rem 0 2rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 420px;
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
}

.site-footer a:not(.footer-brand) {
  display: block;
  width: fit-content;
  margin-bottom: 0.65rem;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:not(.footer-brand):hover {
  color: var(--neon);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem;
  background: rgba(12, 17, 30, 0.98);
  border: 1px solid rgba(34, 247, 255, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner strong {
  color: var(--text);
}

.cookie-banner p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.65rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(7, 10, 17, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
  }

  .hero-section h1,
  .page-header h1 {
    font-size: 3rem;
  }

  .section-heading h2,
  .section-pad h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero-section h1,
  .page-header h1 {
    font-size: 2.35rem;
  }

  .hero-copy,
  .page-header p,
  .section-copy {
    font-size: 1rem;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .page-header {
    padding: 8rem 0 4rem;
  }

  .feature-image {
    min-height: 260px;
  }

  .testimonial-card {
    min-height: 330px;
    padding: 2rem 3rem;
  }

  .testimonial-card p {
    font-size: 1.05rem;
  }

  .footer-bottom,
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1,
  .page-header h1 {
    font-size: 2rem;
  }

  .section-heading h2,
  .section-pad h2 {
    font-size: 1.75rem;
  }

  .contact-form,
  .legal-panel {
    padding: 1.25rem;
  }

  .counter {
    font-size: 2.25rem;
  }

  .stat-card {
    min-height: 130px;
  }
}
