/* BombSquad Review — Modern Dark Accent Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-light: rgba(13, 148, 136, 0.12);
  --header-bg: #0f172a;
  --header-text: #f1f5f9;
  --footer-bg: #0f172a;
  --footer-text: #94a3b8;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.12);
  --header-h: 76px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  color: var(--header-text);
  height: var(--header-h);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrap img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--header-text);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-main a {
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--header-text);
  opacity: 0.9;
}

.nav-main a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ========== Burger ========== */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
}

.burger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--header-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.burger-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.burger-overlay.visible {
  opacity: 1;
}

.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: var(--header-bg);
  z-index: 99;
  padding: calc(var(--header-h) + 28px) 24px 28px;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.burger-menu.open {
  transform: translateX(0);
}

.burger-menu a {
  display: block;
  padding: 14px 18px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--header-text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.burger-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

/* ========== Layout ========== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 36px;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ========== Hero ========== */
.hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f1f5f9;
  padding: 56px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13, 148, 136, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-content .tagline {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

main .btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

main .btn-secondary:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* ========== Featured / Cards ========== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  box-shadow: var(--shadow);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-image {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== Trailer ========== */
.trailer-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow);
}

.trailer-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #0f172a;
}

.trailer-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========== News list ========== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.news-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.news-item .thumb {
  width: 140px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.news-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.news-item .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.section-cta {
  margin-top: 28px;
}

/* ========== Page hero (inner pages) ========== */
.page-hero {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 640px;
}

/* ========== Content blocks ========== */
.content-block {
  padding: 40px 0;
}

.content-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 36px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block ul {
  margin-bottom: 18px;
  color: var(--text);
}

.content-block ul {
  padding-left: 24px;
}

.content-block img {
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow);
}

/* ========== Reviews ========== */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.review-card .rating {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
}

.review-card .author {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 0 28px;
  margin-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto 44px;
  padding: 0 20px;
}

.footer-grid h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 12px;
}

.footer-grid a {
  font-size: 0.95rem;
  color: var(--footer-text);
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom .copy {
  font-size: 0.9rem;
  color: var(--footer-text);
  opacity: 0.9;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 34px;
  width: auto;
}

.footer-logo .logo-text {
  color: #e2e8f0;
  font-weight: 700;
}

/* ========== Cookie popup ========== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(6px);
}

.popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.popup-overlay.hidden-by-preference {
  display: none !important;
}

.popup-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(24px);
  transition: transform 0.3s ease;
  border: 1px solid var(--border);
}

.popup-overlay.visible .popup-box {
  transform: translateY(0);
}

.popup-box h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.popup-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}

.popup-box .btn {
  width: 100%;
}

/* ========== News page article ========== */
.news-article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.news-article .thumb {
  width: 160px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.news-article h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.news-article .meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.content-block .news-article {
  margin-top: 24px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-main {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .burger-overlay {
    display: block;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item .thumb {
    width: 100%;
    height: 180px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: 380px;
    padding: 40px 16px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-body {
    padding: 20px;
  }

  .trailer-section {
    padding: 20px;
  }

  .page-hero {
    padding: 36px 0 32px;
  }

  .content-block {
    padding: 32px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .news-article {
    grid-template-columns: 1fr;
  }

  .news-article .thumb {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-btns .btn {
    width: 100%;
  }
}
