/* style/index-review-tot88.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #000080;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --border-light: #e0e0e0;
}

.page-index-review-tot88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Fixed Navbar Padding */
.page-index-review-tot88__hero-section {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-index-review-tot88__section {
    padding: 40px 20px;
}

.page-index-review-tot88__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-index-review-tot88__card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.page-index-review-tot88__main-title {
    font-size: 3.2em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-index-review-tot88__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.page-index-review-tot88__sub-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-review-tot88 p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-index-review-tot88 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-tot88 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index-review-tot88__cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), #FFC107);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-index-review-tot88__cta-button:hover {
    background: linear-gradient(45deg, #FFC107, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-index-review-tot88__cta-button--large {
    padding: 18px 35px;
    font-size: 1.3em;
}

.page-index-review-tot88__cta-button--final {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* HERO Section */
.page-index-review-tot88__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-light); /* Ensure it's not transparent */
}

.page-index-review-tot88__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-review-tot88__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 30px;
}

.page-index-review-tot88__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-dark); /* Ensure contrast */
}

.page-index-review-tot88__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Game Grid Section */
.page-index-review-tot88__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-index-review-tot88__game-item {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-tot88__game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-review-tot88__game-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-index-review-tot88__game-description {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Advantage Section */
.page-index-review-tot88__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-index-review-tot88__advantage-item {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.page-index-review-tot88__advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88__advantage-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Guide Section */
.page-index-review-tot88__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-review-tot88__guide-list li {
    background-color: var(--bg-light);
    border-left: 5px solid var(--primary-color);
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-index-review-tot88__guide-list li p {
    margin-bottom: 0;
}

.page-index-review-tot88__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Payment Section */
.page-index-review-tot88__payment-list {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 20px;
}

.page-index-review-tot88__payment-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-index-review-tot88__payment-method {
    color: var(--secondary-color);
}

/* FAQ Section */
.page-index-review-tot88__faq-list {
    margin-top: 30px;
}

.page-index-review-tot88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-tot88__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-review-tot88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-tot88__faq-question:hover {
  background: var(--bg-light);
  border-color: #d0d0d0;
}

.page-index-review-tot88__faq-question:active {
  background: #eeeeee;
}

.page-index-review-tot88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color);
}

.page-index-review-tot88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X or - */
}

/* Conclusion Section */
.page-index-review-tot88__conclusion-section .page-index-review-tot88__card {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-tot88__main-title {
        font-size: 2.8em;
    }
    .page-index-review-tot88__section-title {
        font-size: 2em;
    }
    .page-index-review-tot88__sub-title {
        font-size: 1.4em;
    }
    .page-index-review-tot88__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-tot88__main-title {
        font-size: 2.2em;
    }
    .page-index-review-tot88__section-title {
        font-size: 1.8em;
    }
    .page-index-review-tot88__sub-title {
        font-size: 1.2em;
    }
    .page-index-review-tot88__hero-description {
        font-size: 1em;
    }
    .page-index-review-tot88__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-index-review-tot88__cta-button--small {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-index-review-tot88__cta-button--large {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    .page-index-review-tot88__section {
        padding: 20px 15px;
    }
    .page-index-review-tot88__card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-index-review-tot88__game-grid, .page-index-review-tot88__advantage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-tot88__game-image {
        height: 180px;
    }
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-tot88__section,
    .page-index-review-tot88__card,
    .page-index-review-tot88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-tot88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-tot88__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-tot88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-tot88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
        padding: 15px !important;
    }
    .page-index-review-tot88__guide-list li {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-review-tot88__main-title {
        font-size: 1.8em;
    }
    .page-index-review-tot88__section-title {
        font-size: 1.5em;
    }
    .page-index-review-tot88__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-index-review-tot88__cta-button--large {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .page-index-review-tot88__game-image {
        height: 150px;
    }
}