
    .page-8tri {
        font-family: 'Arial', sans-serif;
        color: #333;
        line-height: 1.6;
        background-color: #f8f8f8;
        padding-top: var(--header-offset, 122px); /* Fallback if shared.css doesn't set body padding */
    }

    /* Base styles for sections */
    .page-8tri__hero-section,
    .page-8tri__games-section,
    .page-8tri__promo-section,
    .page-8tri__why-choose-section,
    .page-8tri__faq-section {
        padding: 40px 20px;
        margin: 0 auto;
        max-width: 1200px;
        box-sizing: border-box;
    }

    /* Hero Section */
    .page-8tri__hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
        color: #fff;
        padding-top: 10px; /* Small decorative padding, main offset handled by body */
        padding-bottom: 60px;
        overflow: hidden;
    }

    .page-8tri__hero-content {
        max-width: 800px;
        margin-bottom: 30px;
        z-index: 1;
    }

    .page-8tri__hero-title {
        font-size: 2.8em;
        margin-bottom: 15px;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .page-8tri__hero-description {
        font-size: 1.2em;
        margin-bottom: 30px;
        color: #eee;
    }

    .page-8tri__hero-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .page-8tri__primary-button,
    .page-8tri__secondary-button {
        display: inline-block;
        padding: 15px 30px;
        border-radius: 50px;
        font-weight: bold;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        cursor: pointer; /* Indicate interactivity */
    }

    .page-8tri__primary-button {
        background-color: #fdbb2d; /* Yellow */
        color: #1a2a6c; /* Dark blue */
        border: 2px solid #fdbb2d;
    }

    .page-8tri__primary-button:hover {
        background-color: #ffcc66;
        border-color: #ffcc66;
        transform: translateY(-3px);
    }

    .page-8tri__secondary-button {
        background-color: transparent;
        color: #fdbb2d; /* Yellow */
        border: 2px solid #fdbb2d;
    }

    .page-8tri__secondary-button:hover {
        background-color: rgba(253, 187, 45, 0.2);
        transform: translateY(-3px);
    }

    .page-8tri__hero-image-wrapper {
        width: 100%;
        max-width: 900px; /* Adjust as needed */
        margin-top: 20px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-8tri__hero-image {
        max-width: 100%;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        display: block; /* Remove extra space below image */
    }

    /* General Section Titles */
    .page-8tri__section-title {
        font-size: 2.2em;
        color: #1a2a6c;
        text-align: center;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }

    .page-8tri__section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: #fdbb2d;
        border-radius: 2px;
    }

    .page-8tri__section-description {
        font-size: 1.1em;
        color: #555;
        text-align: center;
        max-width: 800px;
        margin: 0 auto 40px auto;
    }

    /* Game Categories Section */
    .page-8tri__games-section {
        background-color: #fff;
    }

    .page-8tri__game-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        justify-content: center;
    }

    .page-8tri__game-card {
        background-color: #fefefe;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
    }

    .page-8tri__game-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .page-8tri__game-card-image {
        width: 100%;
        height: 200px; /* Fixed height for consistency */
        object-fit: cover;
        margin-bottom: 15px;
        border-bottom: 3px solid #fdbb2d;
    }

    .page-8tri__game-card-title {
        font-size: 1.5em;
        color: #1a2a6c;
        margin: 0 15px 10px 15px;
    }

    .page-8tri__game-card-text {
        font-size: 0.95em;
        color: #666;
        padding: 0 15px;
    }

    /* Promotion Section */
    .page-8tri__promo-section {
        background-color: #f0f0f0;
    }

    .page-8tri__promo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        justify-content: center;
    }

    .page-8tri__promo-card {
        background-color: #fff;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
    }

    .page-8tri__promo-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .page-8tri__promo-card-image {
        width: 100%;
        height: 220px; /* Fixed height for consistency */
        object-fit: cover;
        margin-bottom: 15px;
        border-bottom: 3px solid #b21f1f;
    }

    .page-8tri__promo-card-title {
        font-size: 1.4em;
        color: #1a2a6c;
        margin: 0 15px 10px 15px;
    }

    .page-8tri__promo-card-text {
        font-size: 0.95em;
        color: #666;
        padding: 0 15px;
    }

    /* Why Choose Section */
    .page-8tri__why-choose-section {
        background-color: #fff;
    }

    .page-8tri__why-choose-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        justify-content: center;
    }

    .page-8tri__why-choose-item {
        text-align: center;
        padding: 25px;
        background-color: #fefefe;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
    }

    .page-8tri__why-choose-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .page-8tri__why-choose-icon {
        width: 150px;
        height: 150px;
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
        object-fit: contain;
        border-radius: 50%;
        background-color: #fdbb2d;
        padding: 10px;
    }

    .page-8tri__why-choose-heading {
        font-size: 1.3em;
        color: #1a2a6c;
        margin-bottom: 10px;
    }

    .page-8tri__why-choose-text {
        font-size: 0.95em;
        color: #666;
    }

    /* FAQ Section */
    .page-8tri__faq-section {
        background-color: #f0f0f0;
    }

    .page-8tri__faq-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .page-8tri__faq-item {
        background-color: #fff;
        border-radius: 10px;
        margin-bottom: 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-8tri__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #1a2a6c;
        color: #fff;
        cursor: pointer;
        user-select: none;
        transition: background-color 0.3s ease;
    }

    .page-8tri__faq-question:hover {
        background-color: #2a3d8b;
    }

    .page-8tri__faq-question-text {
        font-size: 1.1em;
        margin: 0;
        flex-grow: 1;
        text-align: left;
        color: #fff; /* Ensure contrast */
        pointer-events: none; /* Prevent text selection interference */
    }

    .page-8tri__faq-toggle {
        font-size: 1.5em;
        font-weight: bold;
        margin-left: 15px;
        color: #fdbb2d; /* Yellow for contrast */
        pointer-events: none; /* Prevent toggle icon interference */
    }

    .page-8tri__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 20px; /* Keep horizontal padding */
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        color: #333; /* Ensure contrast */
        background-color: #f9f9f9;
    }

    .page-8tri__faq-answer p {
        margin: 15px 0; /* Add margin for paragraph inside answer */
    }

    .page-8tri__faq-item.active .page-8tri__faq-answer {
        max-height: 2000px !important; /* Sufficiently large */
        padding: 20px 20px !important; /* Adjust padding for expanded state */
        opacity: 1;
    }

    .page-8tri__faq-item.active .page-8tri__faq-toggle {
        color: #fdbb2d;
        transform: rotate(45deg); /* Optional: rotate for 'x' effect if using a plus icon */
    }


    /* Responsive Design */
    @media (max-width: 1024px) {
        .page-8tri__hero-title {
            font-size: 2.4em;
        }
        .page-8tri__section-title {
            font-size: 2em;
        }
    }

    @media (max-width: 768px) {
        .page-8tri__hero-section {
            padding-left: 15px;
            padding-right: 15px;
        }
        .page-8tri__hero-title {
            font-size: 2em;
        }
        .page-8tri__hero-description {
            font-size: 1em;
        }
        .page-8tri__hero-buttons {
            flex-direction: column;
            gap: 15px;
        }
        .page-8tri__primary-button,
        .page-8tri__secondary-button {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }

        .page-8tri__section-title {
            font-size: 1.8em;
        }
        .page-8tri__section-description {
            font-size: 0.95em;
        }

        .page-8tri__game-categories,
        .page-8tri__promo-grid,
        .page-8tri__why-choose-grid {
            grid-template-columns: 1fr; /* Stack cards on mobile */
        }

        /* List item mobile responsiveness */
        .page-8tri__game-card,
        .page-8tri__promo-card,
        .page-8tri__why-choose-item,
        .page-8tri__faq-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 15px; /* Adjust padding for mobile */
            padding-right: 15px; /* Adjust padding for mobile */
        }

        .page-8tri__game-card-text,
        .page-8tri__promo-card-text,
        .page-8tri__why-choose-text,
        .page-8tri__faq-answer p {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }

        .page-8tri__faq-question {
            padding: 12px 15px;
        }
        .page-8tri__faq-question-text {
            font-size: 1em;
        }
        .page-8tri__faq-toggle {
            font-size: 1.3em;
        }
        .page-8tri__faq-answer {
            padding: 0 15px;
        }
        .page-8tri__faq-item.active .page-8tri__faq-answer {
            padding: 15px 15px !important;
        }

        .page-8tri__hero-image-wrapper {
            padding: 0 15px;
        }
        .page-8tri__hero-image {
            border-radius: 10px;
        }

        .page-8tri__hero-section,
        .page-8tri__games-section,
        .page-8tri__promo-section,
        .page-8tri__why-choose-section,
        .page-8tri__faq-section {
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    @media (max-width: 480px) {
        .page-8tri__hero-title {
            font-size: 1.8em;
        }
        .page-8tri__section-title {
            font-size: 1.6em;
        }
    }
  