/* style/tg88-pro.css */

/* Base styles for the page */
.page-tg88-pro {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text on light body background */
    background-color: #f8f9fa; /* Light background for the page content */
}

/* Container for content sections */
.page-tg88-pro__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-tg88-pro__section-title {
    font-size: 2.5em;
    color: #2563eb;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

/* Text blocks */
.page-tg88-pro__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

/* Buttons - Primary */
.page-tg88-pro__btn-primary {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tg88-pro__btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

/* Buttons - Secondary */
.page-tg88-pro__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #2563eb;
    padding: 15px 30px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tg88-pro__btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Buttons - Tertiary (for app downloads) */
.page-tg88-pro__btn-tertiary {
    display: inline-block;
    background-color: #64748b;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tg88-pro__btn-tertiary:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}

/* Images */
.page-tg88-pro img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* HERO Section */
.page-tg88-pro__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background-color: #e0e7ff; /* Light background for hero section */
}

.page-tg88-pro__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 0; /* Hero image usually full width, no border-radius */
}

.page-tg88-pro__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

.page-tg88-pro__hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.page-tg88-pro__hero-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: #1e40af;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-tg88-pro__hero-description {
    font-size: 1.25em;
    color: #4a5568;
    margin-bottom: 30px;
}

.page-tg88-pro__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
}

/* About Section */
.page-tg88-pro__about-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for contrast */
}

.page-tg88-pro__image-content-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 40px;
}

.page-tg88-pro__content-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

/* Games Section */
.page-tg88-pro__games-section {
    padding: 60px 0;
    background-color: #1a202c; /* Dark background */
    color: #ffffff;
}

.page-tg88-pro__games-section .page-tg88-pro__section-title {
    color: #ffffff;
}

.page-tg88-pro__games-section .page-tg88-pro__text-block {
    color: #e2e8f0;
}

.page-tg88-pro__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tg88-pro__game-card {
    background-color: #2d3748;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}