:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --site-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

body {
    background-color: var(--site-bg);
    color: var(--text-main);
}

.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--site-bg);
}

.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, main offset from body */
    background-color: #000;
    overflow: hidden;
}

.page-download__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-download__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-download__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.4);
}

.page-download__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-download__hero-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-download__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__hero-note {
    font-size: 0.9em;
    color: rgba(255, 246, 214, 0.7);
    margin-top: 20px;
}

.page-download__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.3);
    border: none;
}

.page-download__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.5);
}

.page-download__cta-button--large {
    padding: 18px 50px;
    font-size: 1.3em;
}

/* General Section Styling */
.page-download__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-download__section:last-of-type {
    border-bottom: none;
}

.page-download__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.2);
}

.page-download__paragraph {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

/* Platform Guide Section */
.page-download__guide-section .page-download__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download__platform-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.page-download__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-download__card-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: bold;
}

.page-download__card-image-wrapper {
    margin-bottom: 25px;
    width: 100%;
    max-width: 400px;
}

.page-download__card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.page-download__guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
}

.page-download__guide-list li {
    background-color: #1a1a1a;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1em;
    color: var(--text-main);
    border-left: 3px solid var(--primary-color);
}

.page-download__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.3);
    border: none;
}

.page-download__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.5);
}

/* Features Section */
.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-download__feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-download__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.15);
}

.page-download__feature-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download__feature-card p {
    color: var(--text-main);
    font-size: 1em;
}

.page-download__image-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.page-download__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(242, 193, 78, 0.3);
    border: 1px solid var(--border-color);
}

/* Promotions Section */
.page-download__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-download__promotion-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-download__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.15);
}

.page-download__promotion-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download__promotion-card p {
    color: var(--text-main);
    font-size: 1em;
}

.page-download__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-download__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-download__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

/* FAQ Section */
details.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--secondary-color);
  font-weight: bold;
}
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: #1a1a1a;
}
.page-download__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.page-download__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-download__faq-item .page-download__faq-answer {
  padding: 0 25px 20px;
  background: #0d0d0d;
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
}

/* Final CTA Section */
.page-download__cta-final-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-download__hero-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-download__section-title {
        font-size: 2em;
    }
    .page-download__paragraph {
        font-size: 1em;
    }
    .page-download__card-title, .page-download__feature-title, .page-download__promotion-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-download__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-download__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-download__hero-description {
        font-size: 1em;
    }
    .page-download__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-download__section {
        padding: 40px 0;
    }
    .page-download__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-download__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-download__platform-guide {
        grid-template-columns: 1fr;
    }
    .page-download__card {
        padding: 20px;
    }
    .page-download__card-title {
        font-size: 1.5em;
    }
    .page-download__guide-list li {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .page-download__btn-primary, .page-download__btn-secondary {
        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__features-grid, .page-download__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-download__feature-card, .page-download__promotion-card {
        padding: 20px;
    }
    .page-download__feature-title, .page-download__promotion-title {
        font-size: 1.3em;
    }

    details.page-download__faq-item summary.page-download__faq-question {
        padding: 15px;
    }
    .page-download__faq-qtext {
        font-size: 1em;
    }
    details.page-download__faq-item .page-download__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image adaptation */
    .page-download img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-download__hero-image img,
    .page-download__card-image-wrapper img,
    .page-download__image-wrapper img {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .page-download__hero-title {
        font-size: clamp(1.5em, 9vw, 2em);
    }
    .page-download__section-title {
        font-size: 1.5em;
    }
    .page-download__card-title, .page-download__feature-title, .page-download__promotion-title {
        font-size: 1.2em;
    }
}