.section.guide, .section.spec {
  font-family: "Noto Serif SC", serif;
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;
}
.section.guide {
  background-image: url("../img/guide_bg.png");
}
.section.spec {
  background-image: url("../img/spec_bg.png");
}
.section.guide .content, .section.spec .content {
  padding: 0 4em;
}
.section.guide .guide_content {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em;
  background: rgba(20, 20, 25, 0.85);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

/* 16:9 Image Frame */
.download-preview {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 2em;
}

.download-image-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.download-image-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Download Toggle Buttons */
.download-buttons {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5em;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 1em 2em;
  background: linear-gradient(135deg, #6b5b95 0%, #8a6cba 100%);
  border: 2px solid rgba(138, 108, 186, 0.4);
  border-radius: 12px;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 1.1em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(138, 108, 186, 0.3);
}

.download-btn:hover {
  background: linear-gradient(135deg, #7b6ba5 0%, #9a7cca 100%);
  border-color: rgba(138, 108, 186, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(138, 108, 186, 0.5);
}

.download-btn.source-btn {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.download-btn.source-btn:hover {
  background: linear-gradient(135deg, #3d4758 0%, #2a303c 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.download-btn.disabled {
  background: linear-gradient(135deg, #4a4a4a 0%, #333333 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
}

.download-btn.disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-icon {
  font-size: 1.3em;
}

.btn-text {
  font-weight: 500;
}
.section.spec .spec_content {
  color: #1B1B1B;
  display: flex;
  max-width: 1200px;
}
 .spec_content a {
  text-decoration: none;
  color: rgba(107,122,171,1.00);
  transition: opacity 0.3s ease;
}
 .spec_content a:hover {
opacity: 0.7;
}
.spec_content th {
  text-align: left;
  vertical-align: top;
}
.spec_content tr {
  height: 1.5em;
}
  .spec_content td {
      padding-left:1em;
  }
@media (max-width: 800px) {
  .section.guide, .section.spec {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    padding: 10% 0;
    font-size: 3vw;
  }
  .section.spec .spec_content {
    flex-direction: column;
  }
  .section.guide .content {
    display: block;
  }
  .section.guide .guide_content {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    padding: 1.5em;
    margin: 0 5%;
  }
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1em;
    width: 100%;
  }
  .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.8em 1.2em;
    font-size: 1em;
  }
  .spec_content table:first-child {
    margin-bottom: 2em;
  }
  .spec_content tr {
    width: 100%;
    height: 2em;
    line-height: 1.5em;
  }
  .spec_content th {
    width: 30%;
  }
  .spec_content td {
      padding-left: 0;
    text-align: left;
    vertical-align: top;
    width: 70%;
  }
}