/* ===========================
   Download Page Styles
   =========================== */

/* Make sure download page shows the blocks even if index hides them */
body.download-page .block-btn,
body.download-page .hr {
  display: flex !important;
}

/* Layout */
.wrapper {
  width: 1210px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  text-align: center;
  padding: 40px 60px;
  flex: 1;
}

/* Page Title */
.page-title {
  color: #faff35;
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* Buttons row */
.block-btn {
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 60px 0;
}

/* =========================
   IMAGE-ONLY BUTTON CARDS
   ========================= */

/* Kill any global white card background from style.css */
body.download-page .block-btn .game {
  background: transparent !important;   /* no white card */
  box-shadow: none !important;          /* no soft shadow */
  border-radius: 0 !important;
}

/* Button container size (shrunk) */
.game {
  width: 320px;               /* ↓ smaller than before (was 360x200) */
  height: auto;
  position: relative;         /* This is important for absolute positioning of children */
  overflow: visible;
  transition: transform 0.25s ease;
}

/* The image IS the button now */
.game img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1 !important;      /* remove the 0.3 dark overlay */
  border-radius: 0;
  pointer-events: none;       /* clicks go to the overlay link */
}

/* Hide the titles and the small grey button completely */
.g-text .game-g,
.g-text .game-t {
  display: none !important;
}

/* Make the entire game container clickable */
.g-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

.g-text a {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -9999px;       /* hide text without removing link */
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}

/* Hover effect on the image (subtle scale) */
.game:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Divider */
.hr {
  background: url('../images/hr-bg.png') center center no-repeat;
  height: 100px;
  margin: 0 auto 40px;
}

/* Install Info */
.install-info {
  max-width: 900px;
  margin: 0 auto 80px auto;
  text-align: left;
  line-height: 1.7;
  color: #e1e5ee;
}

.install-info h2 {
  color: #fff;
  font-size: 22px;
  margin-top: 35px;
  margin-bottom: 10px;
  border-left: 4px solid #00bfff;
  padding-left: 10px;
}

.install-info ol,
.install-info ul {
  margin-left: 40px;
}

.install-info a {
  color: #00bfff;
  text-decoration: none;
}

.install-info a:hover {
  text-decoration: underline;
}

/* Big unified information box with all install info inside */
.info-box {
  position: relative;
  display: block;
  width: 900px;              /* match box image size */
  height: 680px;             /* make tall enough for all content */
  margin: 50px auto;
  text-align: left;
}

.info-box img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  opacity: 0.95;
}

.info-box .info-content {
  position: absolute;
  top: 10%;
  left: 8%;
  width: 84%;
  height: 80%;
  color: #ffce11;
  font-size: 15px;
  line-height: 1.7;
  overflow-y: auto;
  padding-right: 10px;
}

/* headings inside box */
.info-box .info-content h2 {
  color: #ffffff;
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 8px;
  border-left: 4px solid #ff0707;
  padding-left: 10px;
}

/* lists inside box */
.info-box .info-content ol,
.info-box .info-content ul {
  margin-left: 25px;
}

.info-box .info-content li {
  margin-bottom: 6px;
}

.info-box .info-content a {
  color: #ff0000;
  text-decoration: none;
}

.info-box .info-content a:hover {
  text-decoration: underline;
}

/* =================
   Responsive sizes
   ================= */
@media (max-width: 1280px){
  .block-btn { gap: 50px; }
  .game { width: 300px; }
}
@media (max-width: 1024px){
  .block-btn { gap: 40px; }
  .game { width: 280px; }
}
@media (max-width: 768px){
  .block-btn { gap: 28px; }
  .game { width: 260px; }
}