@font-face {
  font-family: Lato-regular;
  src: url("../assets/fonts/Lato-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: Lato-light;
  src: url("../assets/fonts/Lato-Light.ttf") format("truetype");
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4891ff;
  --accent-red: #ff4d4d;
  --light-color: #f4f4f6;
  --dark-color: #111;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --max-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Lato-regular, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: linear-gradient(rgba(6, 10, 20, 0.72), rgba(6, 10, 20, 0.72)),
    url("../assets/images/death-stranding-main-poster.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light-color);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 20, 0.82);
  pointer-events: none;
  z-index: 0;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

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

a {
  text-decoration: none;
  color: var(--light-color);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
}

.section-copy {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-family: Lato-light, sans-serif;
}

.btn,
.hero-btn,
.pricing-card__btn,
.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn:hover,
.hero-btn:hover,
.pricing-card__btn:hover,
.footer__btn:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.btn-primary,
.hero-btn.btn-primary,
.pricing-card__btn,
.footer__btn {
  background: var(--primary-color);
  color: #fff;
}

.btn-ghost,
.hero-btn {
  background: var(--light-color);
  color: #222;
}

.navbar {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1002;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.is-scrolled {
  background: rgba(8, 12, 24, 0.88);
}

.navbar__container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1003;
}

.navbar__container--logo {
  display: block;
  position: relative;
  z-index: 1004;
  flex-shrink: 0;
}

.navbar__container--logo img {
  width: 132px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--glass);
  color: #fff;
  cursor: pointer;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar ul li a {
  padding: 10px 14px;
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.navbar ul li a:hover,
.navbar ul li a.is-active {
  color: var(--primary-color);
}

.navbar ul li a.btn {
  margin-left: 8px;
  background: var(--light-color);
  color: var(--dark-color);
  border-radius: 13px;
  padding: 10px 18px;
}

.navbar ul li a.btn:hover {
  color: var(--primary-color);
}

.hero {
  position: relative;
  z-index: 2;
  padding: 48px 0 72px;
}

.hero__container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 48px;
  background-image: linear-gradient(rgba(6, 10, 20, 0.55), rgba(6, 10, 20, 0.42)),
    url("../assets/images/death-stranding-solo-baby.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.hero__container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(6, 10, 20, 0.72) 0%,
      rgba(6, 10, 20, 0.28) 70%);
}

.hero-content {
  width: min(640px, 100%);
  position: relative;
  z-index: 2;
  text-align: left;
  margin: 0;
  align-self: flex-start;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.hero-heading,
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 52ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Lato-light, sans-serif;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  position: relative;
  z-index: 2;
  padding: 56px 0 24px;
}

.page-hero__inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 40px;
  border-radius: 16px;
  background: linear-gradient(rgba(6, 10, 20, 0.55), rgba(6, 10, 20, 0.55)),
    url("../assets/images/death-stranding-Lea.jpg") center / cover no-repeat;
}

.page-hero.page-hero--poster .page-hero__inner {
  background-image: linear-gradient(rgba(6, 10, 20, 0.6), rgba(6, 10, 20, 0.6)),
    url("../assets/images/death-stranding-main-poster.jpg");
}

.page-hero.page-hero--lea .page-hero__inner {
  background-image: linear-gradient(rgba(6, 10, 20, 0.58), rgba(6, 10, 20, 0.58)),
    url("../assets/images/Lea.jpg");
}

.page-hero p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.88);
}

.video {
  background: rgba(0, 0, 0, 0.55);
}

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

.video-heading {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 32px;
  text-align: center;
}

.video-content a {
  position: relative;
  display: block;
}

.video-preview {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  filter: brightness(0.7);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.video-content a::before,
.video-content a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-content a::before {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 3;
}

.video-content a::after {
  width: 36px;
  height: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon points='5,3 19,12 5,21' fill='%23ffffff'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 4;
}

.video-content a:hover .video-preview {
  transform: scale(1.02);
  filter: brightness(0.9);
}

.testimonials {
  background: rgba(17, 17, 17, 0.48);
}

.testimonials-grid,
.feature-grid,
.character-grid,
.news-grid,
.editions-grid,
.pricing-grid,
.stat-grid {
  display: grid;
  gap: 24px;
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.testimonials__card,
.pricing-card,
.character-card,
.news-card,
.stat-card,
.form-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  padding: 24px;
}

.testimonials__card:hover,
.pricing-card:hover,
.character-card:hover,
.news-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.testimonials__card p:last-child {
  margin-top: 20px;
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card i {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.character-grid {
  grid-template-columns: repeat(3, 1fr);
}

.character-card {
  padding: 0;
  overflow: hidden;
}

.character-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.character-card .card-body {
  padding: 20px;
}

.character-card h3 {
  margin-bottom: 6px;
}

.character-card span {
  color: var(--primary-color);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing {
  padding-bottom: 80px;
}

.pricing-grid,
.editions-grid {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-card-price {
  margin: 16px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.price {
  font-size: 2.2rem;
}

.pricing ul,
.editions-grid ul {
  margin: 20px 0 28px;
}

.pricing ul li,
.editions-grid ul li {
  margin-bottom: 12px;
}

.pricing ul li i,
.editions-grid ul li i {
  margin-right: 8px;
  color: var(--primary-color);
}

.expensive {
  background: rgba(0, 0, 0, 0.55);
}

.pricing-footer,
.legal-note {
  margin-top: 28px;
  opacity: 0.55;
  font-size: 0.9rem;
}

.faq {
  background: rgba(0, 0, 0, 0.55);
}

.faq-menu {
  max-width: 460px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: var(--dark-color);
  padding: 8px;
  border-radius: 10px;
}

.faq-menu li,
.faq-menu button {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.faq-menu li.active,
.faq-menu button.active {
  background: var(--primary-color);
}

.faq-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-group-header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-group-header h4 {
  font-size: 1.05rem;
}

.faq-group-body {
  display: none;
  padding-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.faq-group-body.open,
.faq-group.is-open .faq-group-body {
  display: block;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.news-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card time {
  font-size: 0.82rem;
  color: var(--primary-color);
}

.news-card .read-more {
  margin-top: auto;
  color: var(--primary-color);
  font-weight: 700;
}

.article {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto 80px;
  position: relative;
  z-index: 2;
}

.article img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin: 8px 0 24px;
}

.article p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.88);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

.form-card {
  width: min(520px, 100%);
  margin: 0 auto 80px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  font-weight: 600;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.form-note a {
  color: var(--primary-color);
}

.footer {
  padding: 48px 0 24px;
  background: rgba(0, 0, 0, 0.78);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer h4 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.footer ul li {
  line-height: 2.2;
}

.footer a {
  color: #ccc;
}

.footer a:hover {
  color: #fff;
}

.footer input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 16px 0;
}

.footer__btn {
  width: 100%;
}

.footer__copyright {
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  border-top: 1px solid #222;
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1400;
  background: #16345f;
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 20px;
}

.trailer-modal.is-open {
  display: grid;
}

.trailer-modal__dialog {
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: visible;
  position: relative;
}

.trailer-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 1100px) {

  .testimonials-grid,
  .feature-grid,
  .character-grid,
  .news-grid,
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    background: rgba(8, 12, 24, 0.96);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: none;
  }

  .main-menu.is-open {
    display: block;
  }

  .main-menu ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .navbar ul li a.btn {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .hero__container,
  .page-hero__inner {
    padding: 28px 20px;
    min-height: 520px;
    background-position: center;
  }

  .hero__container {
    min-height: min(72vh, 680px);
    align-items: flex-end;
    background-image: linear-gradient(
        to top,
        rgba(6, 10, 20, 0.88) 0%,
        rgba(6, 10, 20, 0.45) 42%,
        rgba(6, 10, 20, 0.18) 100%
      ),
      url("../assets/images/death-stranding-Lea.jpg");
  }

  .hero__container::before {
    background: none;
  }

  .hero-content {
    align-self: flex-end;
  }

  .hero-buttons .hero-btn {
    flex: 1 1 140px;
  }

  .testimonials-grid,
  .feature-grid,
  .character-grid,
  .news-grid,
  .pricing-grid,
  .editions-grid,
  .stat-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split img,
  .character-card img {
    height: 240px;
  }

  .faq-menu {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .navbar__container--logo img {
    width: 108px;
  }

  .hero-heading {
    font-size: 1.7rem;
  }

  .section {
    padding: 48px 0;
  }
}

.pt-2 {
  margin-top: 20px;
}