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

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #1a1a2e, #16213e, #0f3460);
  color: #fff;
  width: 100%;
}

h1 {
  font-size: 36px;
  font-weight: 500;
  margin: 10px 0;
}
h2 {
  font-size: 28px;
  margin: 10px 0;
}
h3 {
  font-size: 24px;
  margin: 10px 0;
}
h4 {
  font-size: 20px;
  margin: 10px 0;
}
h5 {
  font-size: 18px;
  margin: 10px 0;
}
p {
  font-size: 16px;
  line-height: 28px;
  margin: 10px 0;
}

/* === HEADER === */
header {
  background-color: #1e293b;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header img {
  max-height: 100px;
}
header .search-bar {
  flex: 1;
  margin: 0 30px;
  display: flex;
  align-items: center;
}
header .search-bar input {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
}
header .support-icon {
  margin-left: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}
header .support-icon img {
  width: 100%;
  height: auto;
}
header .buttons {
  display: flex;
  gap: 5px;
}
header .buttons button {
  padding: 8px 12px;
  background-color: #2563eb;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
header .buttons button:hover {
  background-color: #1d4ed8;
}

/* === HERO SECTION === */
.hero {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  margin-bottom: 30px;
}

.hero-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #1e293b;
  color: #fff;
  font-size: 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.cta-button:hover {
  background-color: #ffcc00;
  color: #000;
}

/* === GAMES SECTION === */
.games {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 40px auto;
  max-width: 1200px;
}

.game-card {
  background-color: #1b2430;
  border-radius: 12px;
  padding: 20px 30px;
  text-align: center;
  color: white;
  flex: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.game-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 5px;
}

.game-card p {
  font-size: 0.95em;
  margin-top: 5px;
  color: #ccc;
}

.game-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  animation: pop 0.4s ease-in-out;
  background-color: #24303f;
  transform: scale(1.03);
}

.game-review {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #ffffff;
}

.review-text {
  margin-bottom: 30px;
}

.review-text h2 {
  font-size: 28px;
  color: #ffd700;
  margin-bottom: 15px;
}

.review-text p {
  font-size: 18px;
  line-height: 1.6;
}

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.02);
}


@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* === PROMO SECTION === */
.promo {
  background-color: #a72b77;
  padding: 15px;
  text-align: center;
  margin: 10px 0;
  border-radius: 5px;
}

.promo p {
  font-size: 14px;
  color: #fff;
}

.promo button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #1e293b;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.promo button:hover {
  background-color: #1d4ed8;
}

/* === NAVIGATION MENU === */
.menu {
  display: flex;
  justify-content: center;
  background-color: #1e293b;
  padding: 10px;
  border-bottom: 2px solid #2563eb;
  font-size: 18px;
}

.menu a {
  color: #fff;
  margin: 0 20px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}
.menu a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff0000;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: bottom right;
}
.menu a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.pros-cons {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 16px;
  background: #15162b;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  font-family: 'Segoe UI', sans-serif;
  text-align:left;
}

.pros-cons h3 {
  font-size: 24px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
}

.pros-cons h3::before {
  color: #00e676;
}

.pros-cons h3::after {
  color: #ff5252;
}

.pros-cons-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 40px 10px;
}

.pros-cons-table th {
  font-size: 18px;
  text-align: center;
  color: #ffffff;
  padding-bottom: 10px;
}

.pros-cons-table th:first-child::before {
  content: "✅ ";
  color: #00e676;
}

.pros-cons-table th:last-child::before {
  content: "❌ ";
  color: #ff5252;
}

.pros-cons-table td {
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.6;
  vertical-align: top;
  width: 50%;
}

/* === CATEGORY SECTION === */
.category-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  animation: fadeIn 1s ease-in;
}

.category-section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 2rem;
  color: #fff;
}
.category-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
}
.category-section li::before {
  content: "✔️";
  margin-right: 0.5rem;
  color: #00ffae;
}
.category-section p {
  margin-bottom: 1rem;
}
.category-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #ffd700;
  display: flex;
  align-items: center;
}
.category-title img {
  margin-right: 10px;
  height: 30px;
  width: 30px;
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 20px;
}
.language-switcher a {
  text-decoration: none;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 5px;
  background-color: #444;
  color: #fff;
  transition: background 0.3s, transform 0.2s;
  font-family: sans-serif;
}
.language-switcher a:hover {
  background-color: #FF8C00;
  transform: scale(1.05);
}
.language-switcher a.active {
  background-color: #FFD700;
  color: #000;
}

/* === FOOTER === */
footer {
  background-color: #1e293b;
  text-align: center;
  padding: 10px;
  margin-top: 40px;
  border-top: 2px solid #2563eb;
  font-size: 12px;
}
footer p {
  color: #94a3b8;
}
footer a {
  color: #2563eb;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* === 404 / ERROR PAGE === */
.error-code {
  font-size: 6em;
  font-weight: bold;
  color: #ff4757;
  margin: 0;
}
.message {
  font-size: 1.5em;
  margin: 20px 0;
}
.back-home {
  text-decoration: none;
  font-size: 1.2em;
  color: #1e90ff;
  padding: 10px 20px;
  border: 2px solid #1e90ff;
  border-radius: 5px;
  transition: 0.3s;
}
.back-home:hover {
  background: #1e90ff;
  color: #fff;
}
.illustration {
  margin: 20px 0;
}
.illustration img {
  max-width: 100%;
  height: auto;
}

/* === ANIMATION: FADE IN === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* === RESPONSIVE FIXES === */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }
  header .buttons {
    margin-top: 10px;
  }
  .games {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu {
    flex-direction: column;
    align-items: center;
  }
    .pros-cons-table {
    display: block;
  }

  .pros-cons-table thead,
  .pros-cons-table tbody,
  .pros-cons-table tr,
  .pros-cons-table th,
  .pros-cons-table td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .pros-cons-table tr {
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
  }
  .menu a {
  padding:5px;
}
}

@media (max-width: 480px) {
  .games {
    grid-template-columns: 1fr;
  }
  .menu {
    font-size: 16px;
  }
  
    .menu a {
  padding:5px;
}
}
