/* ===================================
   GOTOSLOT EGYPT - DOWNLOAD.CSS (Responsive Optimized)
   =================================== */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-family: "SourceHanSansCN", Arial, sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 100px;
}

body {
  margin: 0 auto;
  background-color: #5f1224;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  color: #fffce2;
}

/* Container */
.container {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #500420;
  padding: 0.3rem 0.5rem;
}

.logo img {
  width: 1.6rem;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.28rem;
}

.menu a {
  color: #e6c477;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.menu a:hover {
  color: #ffd669;
}

.menu img {
  width: 0.24rem;
  height: 0.24rem;
  vertical-align: middle;
}

/* Banner & BG */
.bg1 {
  width: 100%;
  background: url('../images/gamedown/bg.jpg') no-repeat center center/cover;
  text-align: center;
  padding: 1.2rem 0.5rem;
}

.banner img {
  width: 60%;
  max-width: 400px;
}

.banner p {
  font-size: 0.26rem;
  line-height: 1.4;
  color: #fffce2;
  margin-top: 0.4rem;
}

/* Download Buttons */
.down {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.down a img {
  width: 1.8rem;
  height: auto;
}

.down_sv {
  margin-top: 0.5rem;
  text-align: center;
}

.down_sv a {
  color: #ffca7d;
  text-decoration: underline;
  font-size: 0.26rem;
}

/* Games Section */
.games {
  text-align: center;
  margin: 1rem 0;
}

.games img {
  width: 80%;
  max-width: 600px;
}

/* Content Sections */
.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #3d0823;
  padding: 0.6rem 1rem;
  flex-wrap: wrap;
}

.content_pic {
  flex: 1 1 40%;
  text-align: center;
}

.content_pic img {
  width: 90%;
  max-width: 250px;
  border: none;
}

.content_text {
  flex: 1 1 55%;
  color: #de998b;
  font-size: 0.28rem;
  text-align: right;
  line-height: 1.5;
}

.content_title {
  color: #ffd669;
  font-size: 0.36rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

/* Blog Section */
.blog-section {
  background: #500420;
  padding: 1rem 0.5rem;
  text-align: center;
}

.blog-title {
  color: #ffd669;
  font-size: 0.4rem;
  margin-bottom: 0.8rem;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.blog-card {
  background: #3d0823;
  border-radius: 10px;
  padding: 0.5rem;
  width: 100%;
  max-width: 320px;
  text-align: center;
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  border-radius: 8px;
}

.blog-card h3 {
  color: #ffd669;
  font-size: 0.3rem;
  margin: 0.4rem 0 0.2rem;
}

.blog-card p {
  color: #de998b;
  font-size: 0.26rem;
  line-height: 1.4;
}

.blog-card a {
  display: inline-block;
  margin-top: 0.3rem;
  color: #ffca7d;
  text-decoration: underline;
  font-size: 0.26rem;
}

/* Footer */
.footer {
  background: #232323;
  color: #8c8c8c;
  text-align: center;
  padding: 0.6rem 0.4rem;
  font-size: 0.22rem;
}

.f_bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.f_bottom img {
  width: 0.24rem;
  height: 0.24rem;
  margin-left: 0.1rem;
  vertical-align: middle;
}

.f_bottom a {
  color: #8c8c8c;
  text-decoration: none;
  font-size: 0.22rem;
}

.f_bottom a:hover {
  color: #ffd669;
}

/* ================================
   RESPONSIVE FIXES
   ================================ */

@media (max-width: 768px) {
  html {
    font-size: 80px;
  }

  .header {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .menu {
    flex-direction: column;
    gap: 0.2rem;
  }

  .banner img {
    width: 80%;
  }

  .content {
    flex-direction: column;
    text-align: center;
  }

  .content_text {
    text-align: center;
    margin-top: 0.4rem;
  }

  .down {
    flex-direction: column;
  }

  .down a img {
    width: 2rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 70px;
  }

  .menu a {
    font-size: 0.26rem;
  }

  .content_title {
    font-size: 0.32rem;
  }

  .content_text {
    font-size: 0.25rem;
  }

  .footer {
    font-size: 0.18rem;
  }

  .blog-card {
    padding: 0.4rem;
  }

  .blog-card h3 {
    font-size: 0.28rem;
  }

  .blog-card p {
    font-size: 0.24rem;
  }
}
