/* style/resources-tk888-app-download-guide.css */

/* General styles for the page content, ensuring dark text on light background */
.page-resources-tk888-app-download-guide {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: var(--secondary-color); /* Matches body background */
}

.page-resources-tk888-app-download-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-tk888-app-download-guide__section {
    padding: 60px 0;
    background-color: #ffffff; /* Default background for sections */
    border-bottom: 1px solid #f0f0f0;
}

.page-resources-tk888-app-download-guide__section:last-of-type {
    border-bottom: none;
}

.page-resources-tk888-app-download-guide__section--intro {
    background-color: #f9f9f9;
}

.page-resources-tk888-app-download-guide__section--features {
    background-color: #f0f8ff; /* Light blue tint */
}

.page-resources-tk888-app-download-guide__section--download-guide {
    background-color: #ffffff;
}

.page-resources-tk888-app-download-guide__section--security-support {
    background-color: #f9f9f9;
}

.page-resources-tk888-app-download-guide__section--latest-news {
    background-color: #ffffff;
}

.page-resources-tk888-app-download-guide__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-resources-tk888-app-download-guide__text-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 17px;
    color: #555555;
}

/* Hero Section */
.page-resources-tk888-app-download-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light gradient background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-tk888-app-download-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-tk888-app-download-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-tk888-app-download-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-resources-tk888-app-download-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-tk888-app-download-guide__hero-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.page-resources-tk888-app-download-guide__hero-description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-tk888-app-download-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-tk888-app-download-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-tk888-app-download-guide__cta-button--primary {
    background: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

.page-resources-tk888-app-download-guide__cta-button--primary:hover {
    background: #1e87c0; /* Slightly darker primary */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-resources-tk888-app-download-guide__cta-button--secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-tk888-app-download-guide__cta-button--secondary:hover {
    background: #f0f8ff; /* Lightest blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Feature Grid */
.page-resources-tk888-app-download-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-tk888-app-download-guide__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-tk888-app-download-guide__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-tk888-app-download-guide__feature-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-resources-tk888-app-download-guide__feature-item p {
    font-size: 16px;
    color: #666666;
}

/* Download Platforms */
.page-resources-tk888-app-download-guide__download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-resources-tk888-app-download-guide__platform-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-resources-tk888-app-download-guide__platform-title {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.page-resources-tk888-app-download-guide__platform-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-tk888-app-download-guide__step-list {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 25px;
    font-size: 16px;
    color: #555555;
}

.page-resources-tk888-app-download-guide__step-list li {
    margin-bottom: 10px;
}

.page-resources-tk888-app-download-guide__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-tk888-app-download-guide__btn-primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

/* Installation & Login */
.page-resources-tk888-app-download-guide__installation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-tk888-app-download-guide__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-tk888-app-download-guide__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-tk888-app-download-guide__step-heading {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-resources-tk888-app-download-guide__step-item p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
}

/* Features Showcase */
.page-resources-tk888-app-download-guide__features-showcase {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow wrapping */
}

.page-resources-tk888-app-download-guide__features-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-tk888-app-download-guide__feature-list {
    flex: 1;
    min-width: 300px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-tk888-app-download-guide__feature-list li {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-resources-tk888-app-download-guide__feature-icon {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Security & Support */
.page-resources-tk888-app-download-guide__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-tk888-app-download-guide__security-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-resources-tk888-app-download-guide__security-heading {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-resources-tk888-app-download-guide__security-item p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
}

.page-resources-tk888-app-download-guide__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-tk888-app-download-guide__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-resources-tk888-app-download-guide__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-tk888-app-download-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Subtle shadow */
}