/* ==============================
   HERO SECTION (theme-compatible)
   ============================== */

/* ===== HERO SLIDER LAYOUT ===== */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 520px;
  margin: 110px auto 0;
  border-radius: 12px;
  border: 4px solid var(--border);
  box-shadow: 0 0 20px rgba(0,0,0,.4);
  overflow: hidden;
  color: var(--text);
  background: var(--bg);
}

.hero-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform .6s ease-in-out;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay,
.hero-slide .hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 0;
}
/* Світла тема */
html.theme-light .hero-slide {
  background-image: var(--hero-bg-light, var(--hero-bg-dark));
}

/* Темна тема */
html.theme-dark .hero-slide {
  background-image: var(--hero-bg-dark, var(--hero-bg-light));
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
}

/* Typography (залишаю ваш стиль) */
.hero-title {
  font-family: 'SplendorC', serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 32px;
  max-width: 600px;
  color: var(--text-muted);
}

/* Button */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 32px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
  width:fit-content;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Tabs act like pager */
.hero-tabs {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}
.theme-light .hero-tabs { background: rgba(255,255,255,.25); }

.hero-tabs .tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 14px/1 'Montserrat', sans-serif;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.hero-tabs .tab:hover { background: rgba(255,255,255,.12); }

.hero-tabs .tab.active {
  background: var(--tab-accent);
  color: var(--text);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
	.hero-slider {
		max-width:90%;
		margin: 80px auto;
	}
	.hero-slide {
		background-position: right;
	}
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-tabs {
    gap: 12px;
  }
.hero-inner { padding: 32px; }
  .hero-tabs .tab { padding: 10px 18px; font-size: 12px; }
}


/* ===== THEMES ===== */
:root {
  --hero-overlay: rgba(0, 0, 0, 0.3);
  --accent-hover: #ff9b2a;
  --tab-accent:#515525;
  --tab-shadow:rgb(255 255 255 / 25%);
}


html.theme-light {
  --hero-overlay: rgba(255, 255, 255, 0.15);
  --accent-hover: #f47500;
  --tab-accent:#ADB838;
  --tab-shadow:rgba(4, 7, 28, .25);
}
/* ==== ПРО НАС ==== */
.about-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 12px;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 2px solid rgba(255, 255, 255, 0.15); /* мʼякий напівпрозорий бордер */
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);  /* тінь як у Figma */
  max-width: 1280px;
  margin: 80px auto;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

/* === Light / Dark варіанти === */
body.theme-light .about-section {
  background: rgba(189, 101, 3, 0.02);
  border: 2px solid rgba(0, 0, 0, 0.05);
  color: #0c0c0c;
}

body.theme-dark .about-section {
  background: rgba(5, 5, 5, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
}


.about-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:1160px;
  padding:0px 60px;
}

.about-title {
  display: inline-block;
  background: #f9a332;
  color: var(--text);
  font: 500 italic 64px / 81px 'SplendorC', cursive;
  padding: 8px 20px;
  border-radius: 6px;
  margin: 20px 0px 20px 0px;
}

.about-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 22px;
  color: var(--text);
  padding: 0px 60px 20px 60px;
}

/* ==== ІКОНИ ==== */
.about-socials a {
  color: var(--text);
  font-size: 40px;
  margin-left: 16px;
  transition: color 0.3s ease;
  text-decoration:none;
}

.about-socials a:hover {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
	.about-section {
		max-width:90%;
		margin: 60px auto;
	}
  .about-header{ 
	  padding:0 32px; 
	  width: max-content;
	  margin: 0px auto;
	}
  .about-text{ padding:0 32px 24px 32px;     font-size: 16px;
    line-height: 1.6; }
  .about-title{ font-size:40px; }
  .about-socials a{ font-size:30px; width:40px; height:40px; }
}

/* ===== Univers ===== */
.universe-section {
 max-width: 1440px;
 display: flex;
 flex-wrap: wrap;
 margin: 80px auto 0;
 align-items:center;
}
.universe-port{
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0px auto ;
  max-width: 1280px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
	 box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.universe-slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.universe-card {
  box-sizing: border-box;         /* <— важливо */
  flex: 0 0 1280px;               /* фіксований крок каруселі */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  gap: 2px;
  height: 647px;
  flex-shrink: 0;
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.universe-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  width: 570px;
}

.universe-title {
  background: #f9a332;
  border-radius: 6px;
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 101px;
}

.universe-title h1 {
  font-family: 'SplendorC', cursive;
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  line-height: 81px;
  color: var(--text);
}

.universe-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  color: var(--text);
  max-width: 570px;
}

.universe-image {
  box-sizing: border-box;
  width: 648px;
  height: 647px;
  background-size: cover;
  background-position: center;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.universe-arrows {
	display: flex; 
	justify-content: space-between; 
	pointer-events: none;
}

.universe-arrows button {
  pointer-events: all;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.universe-arrows button:hover {
  background: rgba(254,135,2,0.3);
}

.universe-arrows i {
  color: var(--text);
  font-size: 22px;
}
@media (max-width: 992px) {
	.universe-section {
		max-width:90%;
		flex-wrap: nowrap;
		margin: 60px auto 0;
	}
	.universe-card {
	   padding: 0 32px;
	   flex-direction: column;
		height: auto;
		align-items: flex-start;
		max-width: 400px;
		justify-content: space-evenly;
		padding-bottom: 10px;
		
	}
	.universe-text {
    gap: 20px;
    padding: 20px 0;
    width: fit-content;
    align-items: center;
}
	.universe-title {
    height: 60px;
}
	.universe-title h1{
		font-size: 40px;
	}
	.universe-text p {
		font-size: 16px;
        line-height: 1.6;
	}
	
	.universe-image {
		clip-path: unset;
		border-radius:12px;
		width: 100%;
		height: 330px;
		
	}
  .universe-arrows button{
    position:absolute;
    width:44px; height:44px;      /* повертаємо видимість */
    border-radius:10px;
    background:rgba(0,0,0,.25);
    pointer-events:all;
    transition:.25s ease;
	  z-index:99;
	  background: rgb(255 255 255 / 0%);
	  backdrop-filter: none;
  }
  .universe-prev{ left:8px; }
  .universe-next{ right:8px; }
  .universe-arrows button:hover{
    background: rgb(255 255 255 / 0%);
  }

}

/* ===== Heroes ===== */
.heroes-section{
  position: relative;
  max-width: 1440px;
  margin: 80px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;                  /* слайди не вилазять */
}

.heroes-port{
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 1280px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.heroes-slider{
  display:flex;
  transition: transform .6s ease-in-out;
}

.heroes-card{
  box-sizing: border-box;
  flex: 0 0 1280px;                 /* фіксований крок */
  height: auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 60px;
  gap:2px;
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

.heroes-text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:40px 0;
  width:570px;
}

.heroes-title{
  background:#f9a332;
  border-radius:6px;
  padding:10px 16px;
  display:flex;justify-content:center;align-items:center;
  height:101px;
}
.heroes-title h1{
  font-family:'SplendorC', cursive;
  font-style: italic; font-weight:500;
  font-size:64px; line-height:81px;
  color: var(--text);
}

.heroes-text p{
  font-family:'Montserrat',sans-serif;
  font-size:18px; line-height:22px; font-weight:500;
  color: var(--text); max-width:570px;
}

.heroes-image{
  position:relative;
  width:648px; height:-webkit-fill-available;
  background-size:cover; background-position:center;
 clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  border:4px solid var(--border-color);
  box-sizing:border-box;
}
body.theme-dark  { --border-color:#F0F0F0; }
body.theme-light { --border-color:#2D2D2D; }

/* Стрілки — за межі бордера, по центру */
.heroes-arrows{
  position:absolute;
  top:50%; left:50%;
  width:100%; max-width:1280px;
  transform:translate(-50%, -50%);
  pointer-events:none; z-index:100;
}
.heroes-arrows .heroes-prev,
.heroes-arrows .heroes-next{
  position:absolute; top:50%;
  transform:translateY(-50%);
  pointer-events:all;
  width:56px; height:56px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0);
  cursor:pointer;
	border:none;
}
 .heroes-prev{ left:-70px; }
 .heroes-next{ right:-70px; }
.heroes-arrows button:hover{ background:rgba(254,135,2,.3); }
.heroes-arrows i{ color:var(--text); font-size:22px; }

@media (max-width: 992px) {
	.heroes-section {
		max-width:90%;
		flex-wrap: nowrap;
		margin:60px auto;
	}
	.heroes-card {
	   padding: 0 32px;
	   flex-direction: column;
		height: auto;
		align-items: flex-start;
		max-width: 400px;
		justify-content: space-evenly;
		padding-bottom: 10px;
		
	}
	.heroes-text {
    gap: 20px;
    padding: 20px 0;
    width: fit-content;
    align-items: center;
}
	.heroes-title {
    height: 60px;
}
	.heroes-title h1{
		font-size: 40px;
	}
	.heroes-text p {
		font-size: 16px;
        line-height: 1.6;
	}
	
	.heroes-image {
		clip-path: unset;
		border-radius:12px;
		width: 100%;
		height: 330px;
		
	}
	.heroes-arrows{
		width:fit-content;
	}
  .heroes-arrows button{
    position:absolute;
    width:44px; height:44px;      /* повертаємо видимість */
    border-radius:10px;
    background:rgba(0,0,0,.25);
    pointer-events:all;
    transition:.25s ease;
	z-index:99;
	background: rgb(255 255 255 / 0%);
	backdrop-filter: none;
  }
  .heroes-prev{ right:155px; left: unset;}
  .heroes-next{ left:155px;}
  .heroes-arrows button:hover{
    background: rgb(255 255 255 / 0%);
  }

}
/* ===== Video Section ===== */
.video-section{
  position: relative;
  max-width: 1440px;
  height: 776px;           /* з фігми */
  margin: 80px auto 0;
  display:flex; align-items:center; justify-content:center;
  overflow: visible;
}

/* порт і рамка як у фігмі */
.video-port{
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  width: 1280px; height: 720px;
  border: 4px solid var(--text);
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0,0,0,.15);
  background: rgba(5,5,5,.02);
}

/* світла/темна рамка */
body.theme-dark  { --video-border: #F0F0F0; }
body.theme-light { --video-border: #0C0C0C; }

.video-track{
  display:flex;
  height: 100%;
  transition: transform .6s ease-in-out;
}

.video-slide{
  flex: 0 0 1280px;
  height: 720px;
  display:flex; align-items:center; justify-content:center;
}

.video-frame{
  width:100%; height:100%;
  position:relative;
}
.video-frame iframe,
.video-frame video{
  width:100%; height:100%;
  border:0; border-radius: 8px;    /* легке скруглення всередині */
}

/* стрілки (поза рамкою, по центру) */
.video-arrows{
  position:absolute;
  top:50%; left:50%;
  width:100%; max-width:1280px;
  transform: translate(-50%, -50%);
  pointer-events:none; z-index:100;
}
.video-arrows .video-prev,
.video-arrows .video-next{
  position:absolute; top:50%;
  transform: translateY(-50%);
  pointer-events:all;
  width:56px; height:56px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0);
  border: none;
  cursor:pointer; transition:.3s;
}
.video-arrows .video-prev{ left:-70px; }
.video-arrows .video-next{ right:-70px; }
.video-arrows button:hover{
  background: rgba(254,135,2,.3);
}
.video-arrows i{ color: var(--text); font-size: 22px; }

/* крапки */
.video-dots{
  position:absolute;
  bottom: 16px;
  left:50%; transform: translateX(-50%);
  display:flex; align-items:center; gap:4px;
  height:0px; z-index:90;
}
.video-dots button{
  width:32px; height:32px; padding:30px 10px 10px 10px;;
  background: transparent; border:0; cursor:pointer;
}
.video-dots button::before{
  content:""; display:block;
  width:12px; height:12px; border-radius:100px;
  background: var(--dot-inactive, #4F4F4F);
  transition:.2s;
}
.video-dots button[aria-selected="true"]::before{
  background: var(--dot-active, #F0F0F0);
}
/* теми для крапок */
html.theme-dark  { --dot-active:#F0F0F0; --dot-inactive:#4F4F4F; }
html.theme-light { --dot-active:#0C0C0C; --dot-inactive:#4F4F4F; }

@media (max-width: 992px) {
  .video-section{
	  margin: 60px auto 0;
      width: 90%;
	  height: 745px;
	  align-items: flex-start;
	   height: 340px;
	  
	}
	.video-port {
		height: 300px;
	}
.video-slide {
	flex: 0 0 400px;
	height:auto;
	}
  .video-arrows .video-prev,
  .video-arrows .video-next{
    width: 44px; height: 44px;

  }
  .video-arrows .video-prev{ left: 8px; }
  .video-arrows .video-next{ right: 8px; }
  .video-arrows i{ font-size: 18px; }
	.video-arrows button:hover{
  background: rgba(255,255,255,0);
}

  .video-dots{
    bottom: 10px;
    gap: 2px;
  }
  .video-dots button{
    width: 28px; height: 28px; padding: 24px 8px 8px;
  }
  .video-dots button::before{
    width: 10px; height: 10px;
  }
}

/* ===== Comics ===== */
.comics-section{
  max-width: 1280px;
  margin: 80px auto 0;
  box-sizing: border-box;
  border-radius: 12px; 
}

.comics-card{
  display: flex;
  flex-direction: row;
  align-items: center;
 justify-content:space-between;
  padding-left: 60px;
  max-width: 1280px;
  height: 700px;
  margin: 0 auto;

  background: var(--card);                     /* glass */
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0,0,0,.15);
  /* дуже легкий «контур» картки — як в інших секціях */
  border: 2px solid rgba(255,255,255,.12);
}
body.theme-light .comics-card{
  border-color: rgba(0,0,0,.12);
}

/* --- текстовий блок --- */
.comics-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.comics-title{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 22px;
  gap: 10px;
  height: 101px;
  background: #f9a332;
  border-radius: 6px;
}
.comics-title h1{
  font-family: 'SplendorC', cursive;
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  line-height: 81px;
  margin: 0;
  color: var(--text);
}
/* колір тексту на помаранчевій плашці: різний у темі/світлі */
body.theme-dark  { --title-on-primary: #F0F0F0; }
body.theme-light { --title-on-primary: #0C0C0C; }

.comics-body{
  width: 560px;
  color: var(--text);
  font: 500 18px/22px 'Montserrat', sans-serif;
}

/* --- картинка --- */
.comics-image{
  box-sizing: border-box;
  width: 640px;
  height: 700px;
  background-size: cover;
  background-position: center;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  border-radius: 0 12px 12px 0;
         
}
body.theme-dark  { --img-border: #F0F0F0; }
body.theme-light { --img-border: #2D2D2D; }

@media (max-width: 992px){
	.comics-section {
    max-width: 90%;
    margin: 60px auto 0;
}
  .comics-card{
    flex-direction: column;
	height:auto;
	padding: 20px 32px;
  }
  .comics-text{
    gap: 20px;
    align-items: center;
  }
  .comics-body{ width: 100%; font-size: 16px;
        line-height: 1.6; }
  .comics-title{ height: 60px; }
  .comics-title h1{ font-size: 40px; line-height: 60px; }

  .comics-image{
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;          /* приємна висота на планшеті */
    clip-path: none;
    border-radius: 12px;
  }
}
/* ===== GAME ===== */
.game-section{ max-width:1280px; margin:80px auto 0; box-sizing:border-box;overflow:hidden}
.game-card{
  display:flex; flex-direction:column; align-items:flex-start; gap:40px;
  padding:40px 60px; margin:0 auto; border-radius:12px;
  background:var(--card);
  border:2px solid rgba(255,255,255,.12);
  box-shadow:0 4px 25px rgba(0,0,0,.15);
}
body.theme-light .game-card{ border-color:rgba(0,0,0,.12); }

/* Title */
.game-title{ display:flex; align-items:center; justify-content:center; padding:10px 16px; height:101px; background:#f9a332; border-radius:6px; }
.game-title h1{ margin:0; font:500 italic 64px/81px 'SplendorC', cursive; color:var(--text); }
body.theme-light{ --title-on-primary:#0C0C0C; }

/* Top block */
.game-full{ display:flex; justify-content:space-between; gap:128px; width:100%; }
.game-gallery{ width:570px; position:relative; display:flex; flex-direction:column; gap:20px; isolation:isolate; }
.game-gallery-viewport{ position:relative; width:350px; height:350px; overflow:hidden; border-radius: 12px;
    border: 4px solid var(--text); margin: 0 auto;}
.game-gallery-track{ display:flex; transition:transform .45s ease; height:100%; }
.game-slide{
  flex:0 0 350px; height:350px; background-size:cover; background-position:center;
}
body.theme-light{ --img-border:#0C0C0C; }

.game-arrow{
  position:absolute; top:50%; transform:translateY(-100%);
  width:56px; height:56px; border:0; border-radius:12px; cursor:pointer;
  background:rgba(255,255,255,.05); backdrop-filter:blur(8px); display:flex; align-items:center; justify-content:center;
}
.game-arrow.prev{ left:0; }
.game-arrow.next{ right:0; }
.game-arrow i{ color:var(--text); font-size:22px; }
.game-arrow:hover{ background:rgba(254,135,2,.3); }

.game-thumbs{ display:flex; gap:18px; width:570px; height:62px; justify-content: center; }
.game-thumb{
  width:56px; height:62px; border-radius:4px; background-size:cover; background-position:center;
  border:2px solid transparent; opacity:.75; transition:.2s;
}
.game-thumb:hover{ opacity:1; }
.game-thumb.is-active{ border-color:#FE8702; opacity:1; }

.game-maininfo{ width:462px; }
.game-intro{ margin:0; color:var(--text); font:500 24px/29px 'Montserrat',sans-serif; }

/* Tabs + panels */
.game-info{ width:100%; display:flex; flex-direction:column; gap:20px; }
.game-tabs{ 
	display:flex; 
	gap:20px; 
	align-items:center; 
	background:rgba(5,5,5,.02); 
	border-radius:6px; padding:8px;     
	box-shadow: inset 0 4px 4px var(--tab-shadow);
    width: fit-content;
}
body.theme-light .game-tabs{ background:rgba(189,101,3,.02); }

.game-tab{
  padding:10px 32px; border-radius:4px; border:none; cursor:pointer;
  text-transform:uppercase; font:600 14px/17px 'Montserrat',sans-serif; color:var(--text); background:transparent;
}

body.theme-light .game-tab.filled{ background:#ADB838; }

.game-tab.is-active{ background-color: var(--tab-accent); }

.game-panels{ width:100%; }
.game-panel{ display:none; }
.game-panel.is-active{ display:block; }

/* Specs two columns like Figma */
/* ===== Вирівнювання через Flex ===== */
.game-specs {
  display: flex;
  flex-direction: column;
  gap: 12px; /* відстань між рядками */
}

.game-specs-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}

/* ліва колонка (мітка) */
.spec-label {
  flex: 0 0 180px; /* фіксована ширина для вирівнювання */
  color: #C4C4C4;
  font: 500 18px/22px 'Montserrat', sans-serif;
}

/* права колонка (значення) */
.spec-value {
  flex: 1 1 auto;
  color: var(--text);
  font: 500 18px/22px 'Montserrat', sans-serif;
  word-break: break-word;
}


/* .game-specs{ display:flex; gap:103px; }
.game-specs-left{ width:162px; display:flex; flex-direction:column; gap:12px; }
.game-specs-right{ flex:1; display:flex; flex-direction:column; gap:12px; } */

.spec-label{ color:#C4C4C4; font:500 18px/22px 'Montserrat',sans-serif; }
.spec-value{ color:var(--text); font:500 18px/22px 'Montserrat',sans-serif; }

/* Responsive */
@media (max-width: 992px){
	.game-section {
    max-width: 90%;
		margin: 60px auto 0;
	}
  .game-card{
    padding: 24px;
    gap: 24px;
  }

  /* шапка */
  .game-title{ height: 60px; margin: 0 auto; }
  .game-title h1{ font-size: 40px; line-height: 60px; }

  /* дві колонки стають вертикально */
  .game-full{
    flex-direction: column;
    gap: 24px;
  }

  /* галерея по центру, viewport більший */
  .game-gallery{
    width: 100%;
    align-items: center;
    gap: 15px;
  }

  .game-gallery-viewport{
    width: 100%;
    height: auto;
	margin: unset;
  }
  .game-gallery-track .game-slide{}

  /* стрілки трішки всередині */
  .game-arrow{
    width: 48px; height: 48px;
    transform: translateY(-200%);
	background: rgb(255 255 255 / 0%);
    backdrop-filter: none;
  }
	.game-arrow:hover{ background:rgba(255,255,255,0); }
  .game-arrow.prev{ left: -40px; }
  .game-arrow.next{ right: -40px; }

  /* прев’ю */
  .game-thumbs{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
  }
  .game-thumb{
    width: 54px; height: 60px;
  }

  /* текст праворуч стає під галереєю */
  .game-maininfo{
    width: 100%;
  }
  .game-intro{
    font-size: 16px;
    line-height: 1.6;
  }

  /* таби */
  .game-tabs{
    gap: 10px;
    padding: 6px;
  }
  .game-tab{
    padding: 10px 20px;
    font-size: 13px; line-height: 16px;
  }
/* ===== Вирівнювання через Flex ===== */
.game-specs {
  display: flex;
  flex-direction: column;
  gap: 12px; /* відстань між рядками */
}

.game-specs-row {
  display: block;

}

/* ліва колонка (мітка) */
.spec-label {
  flex: 0 0 180px; /* фіксована ширина для вирівнювання */
  color: #C4C4C4;
  font: 500 18px/22px 'Montserrat', sans-serif;
}

/* права колонка (значення) */
.spec-value {
  flex: 1 1 auto;
  color: var(--text);
  font: 500 18px/22px 'Montserrat', sans-serif;
  word-break: break-word;
}
  /* характеристики — одна колонка з парами рядків */
  .game-specs{
    flex-direction: column;
    gap: 12px;
  }
  .game-specs-left, .game-specs-right{
    width: 100%;
    gap: 10px;
  }
  /* робимо таблицею-рядком: мітка + значення */
  .game-specs-left > .spec-label,
  .game-specs-right > .spec-value{
    font-size: 16px; line-height: 22px;
  }
}