/* style/download.css */

/* Base styles for the download page */
.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Inherited from shared.css, but ensure contrast */
}

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

.page-download__section-title {
    font-size: 38px;
    color: #FFD700; /* Gold color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-download__section-description {
    font-size: 18px;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    padding-bottom: 60px; /* Adjusted to allow for content below */
    padding-left: 0;
    padding-right: 0;
    padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
    margin-top: 0;
    background: linear-gradient(135deg, #1A1A2E, #3a3a5a); /* Dark gradient for hero */
    overflow: hidden;
}

.page-download__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    gap: 40px;
}

.page-download__hero-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.page-download__main-title {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-download__intro-text {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-download__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-download__btn-primary,
.page-download__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-download__btn-primary {
    background-color: #FFD700;
    color: #1A1A2E;
    border: 2px solid #FFD700;
}

.page-download__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-download__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-download__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A1A2E;
}

.page-download__hero-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-download__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: contain; /* Use contain to ensure full image is visible */
}

/* Why Download Section */
.page-download__why-download-section {
    padding: 80px 0;
    background-color: #1A1A2E; /* Auxiliary dark color */
    color: #ffffff;
}

.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-download__feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-download__feature-card img {
    width: 100%; /* Ensure images are not tiny icons */
    height: auto;
    max-width: 200px; /* Adjust max-width for feature icons, but not too small */
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-download__feature-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-download__feature-text {
    font-size: 16px;
    color: #e0e0e0;
}

/* Download Guide Section */
.page-download__guide-section {
    padding: 80px 0;
    background-color: #121212;
}

.page-download__download-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.page-download__download-platform {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center;
}

.page-download__platform-title {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 25px;
}

.page-download__download-platform img {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto 30px;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-download__step-list {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 25px;
    color: #f0f0f0;
    font-size: 17px;
}

.page-download__step-list li {
    margin-bottom: 10px;
}

.page-download__notes-section {
    margin-top: 60px;
    background-color: rgba(255, 215, 0, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #FFD700;
    color: #f0f0f0;
}

.page-download__notes-title {
    font-size: 26px;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
}

.page-download__notes-list {
    list-style-type: disc;
    padding-left: 30px;
    font-size: 17px;
}

.page-download__notes-list li {
    margin-bottom: 10px;
}

.page-download__notes-list strong {
    color: #FFD700;
}

/* Features App Section */
.page-download__features-app-section {
    padding: 80px 0;
    background-color: #1A1A2E;
    color: #ffffff;
}

.page-download__features-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-download__feature-app-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__feature-app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-download__feature-app-card img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Ensure images are not tiny icons */
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-download__feature-app-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-download__feature-app-text {
    font-size: 16px;
    color: #e0e0e0;
}

/* Games Section */
.page-download__games-section {
    padding: 80px 0;
    background-color: #121212;
}

.page-download__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}