.page-download__hero-section { padding-top: 10px; padding-bottom: 40px; background: linear-gradient(135deg, #26A9E0, #1a8ad0); color: #fff; text-align: center; }
.page-download__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.page-download__hero-content { margin-bottom: 30px; }
.page-download__main-title { font-size: 2.8em; font-weight: 700; margin-bottom: 15px; line-height: 1.2; }
.page-download__hero-description { font-size: 1.1em; line-height: 1.6; max-width: 800px; margin: 0 auto 30px; }
.page-download__cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.page-download__btn-primary, .page-download__btn-secondary { display: inline-block; padding: 15px 30px; border-radius: 8px; font-weight: 600; font-size: 1.1em; text-decoration: none; transition: all 0.3s ease; white-space: normal; word-wrap: break-word; text-align: center; box-sizing: border-box; }
.page-download__btn-primary { background: #EA7C07; color: #fff; border: 2px solid #EA7C07; }
.page-download__btn-primary:hover { background: #d06d05; border-color: #d06d05; transform: translateY(-2px); }
.page-download__btn-secondary { background: #fff; color: #26A9E0; border: 2px solid #fff; }
.page-download__btn-secondary:hover { background: #f0f0f0; border-color: #f0f0f0; transform: translateY(-2px); }
.page-download__hero-image-wrapper { display: flex; justify-content: center; margin-top: 30px; }
.page-download__hero-image { max-width: 100%; height: auto; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); display: block; }

.page-download__benefits-section { padding: 60px 0; background: #26A9E0; color: #fff; text-align: center; }
.page-download__dark-section { background: #26A9E0; color: #ffffff; }
.page-download__light-bg { background: #FFFFFF; color: #333333; }
.page-download__section-title { font-size: 2.2em; font-weight: 700; margin-bottom: 30px; line-height: 1.3; }
.page-download__section-description { font-size: 1.1em; line-height: 1.6; max-width: 900px; margin: 0 auto 40px; }
.page-download__benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.page-download__benefit-card { background: rgba(255, 255, 255, 0.1); padding: 30px; border-radius: 10px; transition: transform 0.3s ease; }
.page-download__benefit-card:hover { transform: translateY(-5px); }
.page-download__benefit-title { font-size: 1.4em; font-weight: 600; margin-bottom: 15px; }
.page-download__benefit-text { font-size: 1em; line-height: 1.6; opacity: 0.9; }

.page-download__guide-section { padding: 60px 0; background: #f9f9f9; color: #333; }
.page-download__guide-block { margin-bottom: 50px; }
.page-download__guide-subtitle { font-size: 2em; font-weight: 700; margin-bottom: 30px; text-align: center; color: #26A9E0; }
.page-download__guide-content { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.page-download__guide-content--reverse { flex-direction: row-reverse; }
.page-download__guide-steps { flex: 1; min-width: 300px; }
.page-download__guide-steps ol { list-style: decimal; padding-left: 25px; margin: 0; }
.page-download__guide-steps li { margin-bottom: 15px; font-size: 1.05em; line-height: 1.7; }
.page-download__guide-steps strong { color: #26A9E0; }
.page-download__btn-guide { margin-top: 20px; display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.page-download__guide-image { max-width: 50%; height: auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); display: block; }

.page-download__features-section { padding: 60px 0; text-align: center; }
.page-download__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-download__feature-card { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; border: 1px solid #e0e0e0; }
.page-download__feature-card:hover { transform: translateY(-5px); }
.page-download__feature-icon { max-width: 100%; height: auto; margin-bottom: 20px; border-radius: 8px; }
.page-download__feature-title { font-size: 1.5em; font-weight: 600; margin-bottom: 10px; color: #26A9E0; }
.page-download__feature-text { font-size: 1em; line-height: 1.6; color: #555; }

.page-download__security-section { padding: 60px 0; text-align: center; }
.page-download__security-content { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.page-download__security-image { max-width: 45%; height: auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); display: block; }
.page-download__security-text { flex: 1; min-width: 300px; text-align: left; }
.page-download__security-text p { margin-bottom: 20px; font-size: 1.05em; line-height: 1.7; }

.page-download__faq-section { padding: 60px 0; background: #f9f9f9; color: #333; }
.page-download__faq-list { margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }

details.page-download__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #e0e0e0; overflow: hidden; background: #fff; }
details.page-download__faq-item summary.page-download__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; user-select: none; list-style: none; transition: background-color 0.3s ease; }
details.page-download__faq-item summary.page-download__faq-question::-webkit-details-marker { display: none; }
details.page-download__faq-item summary.page-download__faq-question:hover { background: #f5f5f5; }
.page-download__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: #333333; }
.page-download__faq-toggle { font-size: 24px; font-weight: bold; color: #666; flex-shrink: 0; margin-left: 15px; width: 28px; text-align: center; }
details.page-download__faq-item .page-download__faq-answer { padding: 0 20px 20px; background: #f9f9f9; border-radius: 0 0 5px 5px; color: #555; }

.page-download__cta-bottom-section { padding: 60px 0; background: linear-gradient(135deg, #26A9E0, #1a8ad0); color: #fff; text-align: center; }

/* General image and button responsive styles */
.page-download img { max-width: 100%; height: auto; display: block; }
.page-download__btn-primary, .page-download__btn-secondary, .page-download a[class*="button"], .page-download a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-download__cta-buttons, .page-download__button-group, .page-download__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .page-download__home-hero { display: block !important; grid-template-columns: none !important; height: auto !important; max-height: none !important; overflow-x: hidden; box-sizing: border-box; }
  .page-download__hero-brand, .page-download__hero-jackpot { display: none !important; }
  .page-download__game-trial { width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; overflow: hidden !important; margin: 0 auto; padding: 0 0 12px !important; box-sizing: border-box; }
  .page-download__game-trial-shell { height: auto !important; max-height: none !important; width: 100%; max-width: 100%; overflow: hidden; box-sizing: border-box; }
  .page-download__game-trial-topbar, .page-download__game-trial-bottombar { display: none !important; }
  .page-download__game-trial-viewport { position: relative; width: 100%; aspect-ratio: 1024 / 768; flex: none !important; min-height: 240px; max-height: none !important; overflow: hidden; box-sizing: border-box; }
  .page-download__game-trial-frame { position: absolute; inset: 0; width: 100% !important; height: 100% !important; min-height: 0 !important; max-height: none !important; max-width: 100%; border: none; z-index: 1; overflow: hidden; }
  .page-download__game-trial-overlay { z-index: 5 !important; pointer-events: auto !important; }
  .page-download__game-trial-start { z-index: 6 !important; pointer-events: auto !important; touch-action: manipulation; }
  
  .page-download__hero-section { padding-bottom: 20px; }
  .page-download__main-title { font-size: 2.2em; }
  .page-download__hero-description { font-size: 1em; }
  .page-download__hero-image-wrapper { margin-top: 20px; }
  .page-download__hero-image { max-width: 90%; }
}

@media (min-width: 1024px) {
  .page-download__home-hero { display: grid; grid-template-columns: 26% 48% 26%; gap: 16px; align-items: stretch; width: 100%; max-width: 1280px; margin: 0 auto; padding: 10px 16px 24px; box-sizing: border-box; }
  .page-download__hero-brand, .page-download__hero-jackpot, .page-download__game-trial { height: 300px; max-height: 300px; overflow: hidden; box-sizing: border-box; }
  .page-download__game-trial { max-width: none !important; width: 100%; margin: 0; padding: 0; }
  .page-download__game-trial-shell { display: flex; flex-direction: column; height: 100%; max-height: 300px; box-sizing: border-box; }
  .page-download__game-trial-viewport { flex: 1; min-height: 0; position: relative; width: 100%; }
  .page-download__game-trial-frame { display: block; width: 100%; height: 100%; min-height: 0; border: none; }
  .page-download__hero-jackpot-claim { background: #c62828 !important; color: #fff !important; }
  .page-download__promo-strip { margin-top: 16px; }

  .page-download__hero-section .page-download__container { display: flex; align-items: center; text-align: left; gap: 40px; }
  .page-download__hero-content { flex: 1; margin-bottom: 0; }
  .page-download__hero-image-wrapper { flex: 1; margin-top: 0; }
  .page-download__main-title { font-size: 3.2em; }
  .page-download__hero-description { font-size: 1.15em; max-width: none; }
  .page-download__cta-buttons { justify-content: flex-start; }
  .page-download__guide-content { flex-wrap: nowrap; }
  .page-download__guide-image { max-width: 45%; }
  .page-download__security-content { flex-wrap: nowrap; }
  .page-download__security-image { max-width: 45%; }
  .page-download__security-text { text-align: left; }
}

@media (max-width: 768px) {
  /* 首页试玩 (if applicable, but this is download page) */
  /* .page-download__promo-strip-track { grid-template-columns: repeat(4,1fr); overflow-x:hidden; } */ /* Not directly in download page, but placeholder for output */
  /* .page-download__hot-games-grid { grid-template-columns: repeat(2,1fr); } */ /* Not directly in download page, but placeholder for output */

  .page-download__main-title { font-size: 2em; }
  .page-download__hero-description { font-size: 0.95em; }
  .page-download__section-title { font-size: 1.8em; }
  .page-download__guide-subtitle { font-size: 1.6em; }
  .page-download__guide-content { flex-direction: column; }
  .page-download__guide-content--reverse { flex-direction: column; }
  .page-download__guide-image { max-width: 90%; }
  .page-download__guide-steps { min-width: unset; width: 100%; }
  .page-download__security-content { flex-direction: column; }
  .page-download__security-image { max-width: 90%; }
  .page-download__security-text { text-align: center; }
  
  details.page-download__faq-item summary.page-download__faq-question { padding: 15px; }
  .page-download__faq-qtext { font-size: 15px; }
  details.page-download__faq-item .page-download__faq-answer { padding: 0 15px 15px; }

  /* General image and container responsive styles for download page */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__hero-section,
  .page-download__benefits-section,
  .page-download__guide-section,
  .page-download__features-section,
  .page-download__security-section,
  .page-download__faq-section,
  .page-download__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive styles */
  .page-download__cta-button,
  .page-download__btn-primary,
  .page-download__btn-secondary,
  .page-download a[class*="button"],
  .page-download a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__cta-buttons,
  .page-download__button-group,
  .page-download__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
  .page-download__btn-guide { margin-left: unset; margin-right: unset; }
  
  /* Placeholder for promo-strip (not on download page, but required for output) */
  .page-download__promo-strip-track { display: flex; flex-direction: column; overflow-x: hidden; gap: 15px; }
  .page-download__promo-card { width: 100%; display: flex; flex-direction: column; text-align: center; }
  .page-download__promo-card img { width: 100%; height: auto; object-fit: cover; }

  /* Placeholder for hot-games (not on download page, but required for output) */
  .page-download__hot-games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .page-download__hot-game-card { text-align: center; }
  .page-download__hot-game-card img { width: 100%; height: auto; }
  .page-download__hot-games-name, .page-download__hot-games-rtp, .page-download__hot-games-desc { display: none; }

  /* Placeholder for brand-intro (not on download page, but required for output) */
  .page-download__brand-intro { display: block; text-align: center; padding: 30px 15px; }
  .page-download__brand-intro h2 { font-size: 1.8em; margin-bottom: 20px; }
  .page-download__brand-intro p { font-size: 1em; line-height: 1.6; }
  
  /* Placeholder for winner-ticker (not on download page, but required for output) */
  .page-download__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.8); color: #fff; padding: 10px 0; z-index: 999; text-align: center; }
  body { padding-bottom: 40px; } /* Adjust for ticker */
}

.page-download__game-trial-overlay { z-index:5; pointer-events:auto; }
.page-download__game-trial-overlay.is-hidden { display:none!important; pointer-events:none!important; }
.page-download__game-trial-start { z-index:6; pointer-events:auto; touch-action:manipulation; }
.page-download__game-trial-shell { border:1px solid rgba(212,175,55,.45); border-radius:10px; overflow:hidden; }
.page-download__reward-modal { position:fixed; inset:0; z-index:10000; }
.page-download__reward-modal-close { position: absolute; top: 10px; right: 10px; font-size: 24px; cursor: pointer; color: #fff; background: none; border: none; }
.page-download--reward-open { overflow: hidden; }