/* ============================================
   Kingdom to Empire — Medieval Dark Theme
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MyriadPro-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MyriadPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Variables --- */
:root {
  --bg-dark: #0d0b07;
  --bg-section: #1a1510;
  --bg-section-alt: #130f0a;
  --bg-card: #231d14;
  --bg-card-hover: #2e261a;
  --gold: #c8a84e;
  --gold-light: #e8d48a;
  --gold-dark: #8b6914;
  --text: #d4c8b0;
  --text-light: #f0e8d8;
  --text-muted: #8a7e6a;
  --accent: #a0522d;
  --border: #3a3020;
  --shadow: rgba(0, 0, 0, 0.6);
  --max-width: 1200px;
  --nav-height: 70px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'MyriadPro', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: var(--gold-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(13,11,7,0.97) 0%, rgba(13,11,7,0.92) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  height: var(--nav-height);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: 'Cormorant SC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__logo-img {
  height: 45px;
  width: auto;
}

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

.nav__links a {
  font-family: 'Cormorant SC', serif;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.nav__links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav__lang {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px;
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
}
.lang-btn.active {
  opacity: 1;
  border-color: var(--gold);
}
.lang-btn:hover {
  opacity: 0.8;
}
.lang-btn img {
  width: 28px;
  height: auto;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/bg/hero_1.jpg') center/cover no-repeat;
}

.hero__video {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - var(--nav-height));
  object-fit: contain;
  z-index: 1;
  background: transparent;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero__slideshow img.active {
  opacity: 1;
}

/* Video is primary, slideshow is fallback behind it */
.hero__video + .hero__slideshow ~ .hero__overlay {
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 75%, rgba(13,11,7,0.8) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 60px;
}

.hero__crown {
  width: 80px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 4px 20px rgba(200, 168, 78, 0.4));
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.1;
}

.hero__title-from {
  font-style: italic;
  font-weight: 400;
  color: rgba(237, 224, 200, 0.52);
}

.hero__title-to {
  font-weight: 700;
  background: linear-gradient(175deg, #fff 0%, #ede0c8 45%, #b0986c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero__badge {
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1510;
  border: none;
  padding: 7px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}

.hero__slogan {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: rgba(237, 224, 200, 0.75);
  margin-bottom: 16px;
}

.hero__subtitle {
  font-family: 'Cormorant SC', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(237, 224, 200, 0.6);
  margin-bottom: 20px;
}

.hero__tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__sound-btn {
  position: absolute;
  bottom: 90px;
  right: 30px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s;
}
.hero__sound-btn:hover {
  background: rgba(200, 168, 78, 0.2);
  border-color: var(--gold);
}

.hero__ornament {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 2;
  opacity: 0.6;
}
.hero__ornament img {
  height: 30px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1a1510;
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 6px 30px rgba(200, 168, 78, 0.5);
  transform: translateY(-2px);
  color: #1a1510;
}
.btn--secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn--secondary:hover {
  background: rgba(200, 168, 78, 0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.btn--large {
  padding: 18px 48px;
  font-size: 1.15rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}
.section--features {
  background: var(--bg-section);
}
.section--story {
  background: var(--bg-section-alt);
}
.section--buildings {
  background: var(--bg-section);
}
.section--characters {
  background: var(--bg-section-alt);
}
.section--media {
  background: var(--bg-section);
}
.section--download {
  background: var(--bg-section-alt);
  text-align: center;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.section__header .line-l,
.section__header .line-r {
  height: 12px;
  width: auto;
  opacity: 0.5;
}

.section__title {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
  white-space: nowrap;
}

/* ============================================
   STORY
   ============================================ */
.story__layout {
  display: flex;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.story__scroll {
  flex: 1;
  background:
    linear-gradient(135deg, rgba(62,50,32,0.6) 0%, rgba(45,36,22,0.8) 100%);
  border: 1px solid rgba(139,105,20,0.3);
  border-radius: 12px;
  padding: 48px 48px;
  position: relative;
  box-shadow:
    inset 0 0 60px rgba(0,0,0,0.3),
    0 8px 40px rgba(0,0,0,0.4);
}

.story__scroll::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold-dark);
  opacity: 0.3;
  line-height: 1;
}

.story__text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 2;
  color: var(--text-light);
  text-align: justify;
}

.story__text em {
  color: var(--gold-light);
  font-weight: 700;
}

.story__peasant-quote-box {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(139,105,20,0.2);
}

.story__peasant-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gold-light);
}

.story__cta {
  font-family: 'Cormorant SC', serif;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 20px;
}

.story__peasant {
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  text-align: center;
}
.story__peasant-img {
  width: 260px;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
  .story__layout {
    flex-direction: column-reverse;
    align-items: center;
  }
  .story__scroll {
    padding: 32px 24px;
  }
  .story__peasant {
    position: static;
  }
  .story__peasant-img {
    width: 180px;
  }
}

/* ============================================
   FEATURES
   ============================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 30px rgba(200, 168, 78, 0.1);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(200, 168, 78, 0.3));
}

.feature-card__title {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   BUILDINGS GRID
   ============================================ */
.buildings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.building-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.building-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dark);
  box-shadow: 0 8px 30px rgba(200, 168, 78, 0.1);
}

.building-card__img {
  height: 140px;
  width: auto;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.building-card__title {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 700;
}

.building-card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .buildings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .buildings-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   GALLERY SLIDER (Characters)
   ============================================ */
.gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.gallery-card {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease;
}
.gallery-card.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-card__img {
  max-height: 400px;
  margin: 0 auto 24px;
  border-radius: 8px;
  border: 2px solid var(--border);
  box-shadow: 0 8px 40px var(--shadow);
}

.gallery-card__title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 700;
}

.gallery-card__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

.slider-arrow {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.slider-arrow:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-dark);
}
.slider-arrow img {
  width: 20px;
  height: auto;
}

/* ============================================
   SCREENSHOTS & VIDEOS
   ============================================ */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.screenshot-item {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
  aspect-ratio: 16/9;
}
.screenshot-item:hover {
  transform: scale(1.03);
  border-color: var(--gold-dark);
}
.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-item {
  text-align: center;
}
.video-item video {
  width: 100%;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #000;
}
.video-item__label {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   DOWNLOAD
   ============================================ */
.download__subtitle {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 40px;
}

.download__content {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: start;
  flex-wrap: wrap;
}

.download__actions {
  text-align: center;
}

.download__steam {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.download__requirements {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 32px;
}
.download__requirements h3 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.download__requirements ul {
  list-style: none;
}
.download__requirements li {
  padding: 4px 0;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.download__requirements li:last-child {
  border-bottom: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  text-align: center;
}

.footer__top {
  margin-bottom: 24px;
}
.footer__crown {
  width: 50px;
  margin: 0 auto 12px;
  opacity: 0.6;
}
.footer__logo {
  height: 36px;
  margin: 0 auto;
}

.footer__description {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer__social h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer__social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(200, 168, 78, 0.1);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox, .yt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.active, .yt-lightbox.active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}
.lightbox__close:hover {
  color: var(--gold);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.yt-lightbox__content {
  width: 80vw;
  max-width: 960px;
  aspect-ratio: 16/9;
}
.yt-lightbox__content iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screenshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__logo {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13, 11, 7, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open {
    display: flex;
  }
  .nav__links li {
    width: 100%;
    text-align: center;
  }
  .nav__links a {
    display: block;
    padding: 14px;
    font-size: 1.1rem;
  }

  /* Hero — pe mobil video sus, conținut dedesubt */
  .hero {
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-end;
  }
  .hero__video {
    object-fit: cover;
    object-position: center bottom;
  }
  .hero__content {
    padding: 80px 20px 30px;
    background: linear-gradient(0deg, rgba(13,11,7,0.95) 0%, rgba(13,11,7,0.85) 70%, transparent 100%);
    max-width: 100%;
    width: 100%;
  }
  .hero__crown {
    display: none;
  }
  .hero__title {
    margin-bottom: 10px;
  }
  .hero__slogan {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .hero__tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .hero__badges {
    gap: 8px;
  }
  .hero__badge {
    font-size: 0.7rem;
    padding: 5px 14px;
    letter-spacing: 1px;
  }
  .hero__ornament {
    display: none;
  }
  .hero__sound-btn {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  .hero__sound-btn svg {
    width: 22px;
    height: 22px;
  }

  /* Section titles — fără nowrap pe mobil */
  .section__title {
    white-space: normal;
    letter-spacing: 2px;
  }

  /* Story */
  .story__layout {
    flex-direction: column-reverse;
    align-items: center;
  }
  .story__scroll {
    padding: 28px 20px;
  }
  .story__scroll::before {
    font-size: 3rem;
    top: 8px;
    left: 12px;
  }
  .story__text {
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
  }
  .story__peasant {
    position: static;
  }
  .story__peasant-img {
    width: 160px;
  }
  .story__peasant-quote {
    font-size: 0.95rem;
  }
  .story__cta {
    font-size: 0.9rem;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .feature-card__icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  /* Screenshots & Videos */
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Download */
  .download__subtitle {
    font-size: 1rem;
  }
  .download__content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .download__requirements {
    padding: 20px;
  }
  .btn--large {
    padding: 14px 36px;
    font-size: 1rem;
  }

  /* Section spacing */
  .section {
    padding: 50px 0;
  }
  .section__header {
    margin-bottom: 30px;
  }
  .section__header .line-l,
  .section__header .line-r {
    display: none;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  .footer__description {
    font-size: 0.85rem;
    padding: 0 16px;
  }

  /* Lightbox */
  .lightbox__close {
    top: 10px;
    right: 16px;
    font-size: 2.5rem;
  }
  .yt-lightbox__content {
    width: 95vw;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  .hero__slogan {
    font-size: 0.95rem;
  }
  .hero__tagline {
    font-size: 0.9rem;
  }
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero__buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nav__logo {
    font-size: 0.85rem;
  }
  .lang-btn img {
    width: 22px;
  }
}
