:root {
  /* Background Colors */
  --bg-body: #f5f5f5;
  --bg-navbar: #d00707;
  --bg-button: #d00707;
  --bg-button-hover: #fd0000;
  --bg-telegram: #229ed9;
  --bg-telegram-hover: #01b7ff;
  --bg-content: #ffffff;
  --disclaimer-bg-color: #fff4e5;

  /* Text Colors */
  --text-navbar: #ffffff;
  --text-body: #000000;
  --text-button: #ffffff;
  --text-heading: #d00707;

  /* Utility Colors */
  --gray-light: #f0f0f0;
  --yellow: #ffcc00;
  --warning-border: #ff6600;
  --box-shadow-color: rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
}

a {
  text-decoration: none;
  transition: color 0.3s;
}

h1 {
  color: var(--text-heading);
}

.nav_classname_navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-navbar);
  padding: 30px 5%;
  color: var(--text-navbar);
  position: relative;
}

.nav_classname_logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-navbar);
}

.nav_classname_toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  color: var(--nav-text-color);
  border: none;
  cursor: pointer;
}

.nav_classname_links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav_classname_links li a {
  color: var(--text-navbar);
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s;
}

.nav_classname_links li a:hover {
  background-color: var(--nav-hover-bg);
  border-radius: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav_classname_toggle {
    display: block;
  }

  .nav_classname_links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg-color);
    padding: 10px 0;
  }

  .nav_classname_links.active {
    display: flex;
  }

  .nav_classname_links li {
    text-align: center;
    padding: 10px 0;
  }
}

.main_content {
  background-color: var(--bg-content);
  border-radius: 10px;
  margin: 20px 5%;
  padding: 40px 20px;
}

/* HERO SECTION */
.main_hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.main_hero_image,
.main_hero_content {
  flex: 1 1 45%;
  text-align: center;
}

.main_hero_image h1:first-child,
.main_hero_content h1 {
  font-size: 2.5rem;
  color: var(--text-heading);
  margin: 10px 0;
}

.main_hero_image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

.main_hero_content a,
.downloadbtn {
  font-size: 2.2rem;
  text-decoration: none;
  background-color: var(--bg-button);
  color: var(--text-button);
  padding: 15px 30px;
  margin-top: 20px;
  display: inline-block;
  border-radius: 50px;
  transition: background 0.3s ease;
}

.main_hero_content a:nth-child(3) {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-telegram);
}

.main_hero_content a:nth-child(3):hover {
  background-color: var(--bg-telegram-hover);
}

.main_downloadbtn {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.downloadbtn {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  padding: 15px 30px;
  background-color: var(--bg-button);
  color: var(--text-button);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

/* Hover Effect */
.downloadbtn:hover {
  background-color: var(--bg-button-hover);
  transform: scale(1.05);
}

/* Responsive for Tablets and Smaller Devices */
@media (max-width: 768px) {
  .downloadbtn {
    font-size: 1.8rem;
    padding: 12px 25px;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .downloadbtn {
    font-size: 1.6rem;
    padding: 10px 20px;
  }
}

.main_hero_content a:hover {
  background-color: var(--bg-button-hover);
}

/* ABOUT SECTION */
.main_about {
  margin-top: 40px;
}

.main_about h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.main_about p {
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: justify;
}

/* SCREENSHOTS SECTION */
.main_screenshots {
  margin-top: 40px;
  text-align: center;
  padding: 0 1rem;
}

.main_screenshots h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.main_screenshots_slider {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.main_screenshots_slider img {
  width: 100%;
  max-height: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  font-size: 1.8rem;
  border: none;
  border-radius: 50%;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 2;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .main_screenshots h1 {
    font-size: 1.6rem;
  }

  .arrow {
    font-size: 1.5rem;
    padding: 5px 8px;
  }
}

@media (max-width: 480px) {
  .main_screenshots h1 {
    font-size: 1.4rem;
  }

  .arrow {
    font-size: 1.2rem;
    padding: 4px 6px;
  }

  .main_screenshots_slider {
    max-width: 90%;
  }
}

/* GAME INFO TABLE */
.main_game_information {
  margin-top: 40px;
}

.main_game_information h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.main_game_information table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.main_game_information table td {
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* INSTALLATION STEPS */
.main_game_installation_steps {
  margin-top: 40px;
}

.main_game_installation_steps h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.main_game_installation_steps ol {
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

/* MEDIA QUERIES */
/* Tablet */
@media (max-width: 768px) {
  .main_hero {
    flex-direction: column;
    text-align: center;
  }

  .main_hero_image,
  .main_hero_content {
    width: 100%;
    flex: 1 1 100%;
  }

  .main_hero_image h1,
  .main_hero_content h1 {
    font-size: 2.2rem;
  }

  .main_hero_content a {
    font-size: 2.2rem;
    padding: 10px 20px;
  }

  .main_game_information table td {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .main_content {
    margin: 10px 3%;
    padding: 20px 15px;
  }

  .main_hero_image h1,
  .main_hero_content h1,
  .main_about h1,
  .main_screenshots h1,
  .main_game_information h1,
  .main_game_installation_steps h1 {
    font-size: 1.6rem;
  }

  .main_hero_content h1 {
    font-size: 2rem;
  }

  .main_hero_content a {
    font-size: 2rem;
    padding: 8px 18px;
  }

  .main_game_information table td {
    font-size: 0.9rem;
    padding: 10px;
  }

  .main_about p,
  .main_game_installation_steps ol {
    font-size: 0.95rem;
  }
}

.footer_classname_container {
  background-color: var(--bg-navbar);
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid #ccc;
  margin-top: 40px;
}

.footer_classname_text {
  color: var(--text-navbar);
  font-size: 1rem;
  margin: 0;
  word-spacing: 1px;
}

.footer_atag {
  color: var(--text-navbar);
  transition: color 0.3s;
}

@media (max-width: 768px) {
  .footer_classname_text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer_classname_text {
    font-size: 0.85rem;
  }
}

.main_disclaimer {
  background-color: var(--disclaimer-bg-color);
  border-left: 6px solid var(--warning-border);
  padding: 20px;
  margin-top: 40px;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: 0 0 10px var(--box-shadow-color);
}

.main_disclaimer h1 {
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 12px;
  line-height: 1.5;
}
