.page-x88top { font-family: 'Arial', sans-serif; color: #f0f0f0; background-color: #1a1a1a; line-height: 1.6; padding-top: var(--header-offset, 122px); } .page-x88top__hero-section { position: relative; width: 100%; height: 500px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 10px 20px; box-sizing: border-box; } .page-x88top__hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; } .page-x88top__hero-content { z-index: 1; max-width: 900px; padding: 20px; background: rgba(0, 0, 0, 0.6); border-radius: 10px; } .page-x88top__hero-title { font-size: 2.8em; margin-bottom: 15px; color: #ffeb3b; text-shadow: 0 0 10px rgba(255, 235, 59, 0.7); } .page-x88top__hero-description { font-size: 1.2em; margin-bottom: 30px; } .page-x88top__hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; } .page-x88top__button { display: inline-block; padding: 12px 25px; background-color: #ffeb3b; color: #1a1a1a; text-decoration: none; border-radius: 5px; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; border: none; cursor: pointer; font-size: 1em; } .page-x88top__button:hover { background-color: #ffe000; transform: translateY(-2px); } .page-x88top__section { padding: 40px 20px; margin-bottom: 20px; background-color: #222; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .page-x88top__section-title { font-size: 2em; color: #ffeb3b; text-align: center; margin-bottom: 30px; padding-bottom: 10px; border-bottom: 2px solid #ffeb3b; display: inline-block; width: auto; margin-left: auto; margin-right: auto; } .page-x88top__content-text { max-width: 800px; margin: 0 auto 20px auto; text-align: center; } .page-x88top__list-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; list-style: none; padding: 0; } .page-x88top__list-item { background-color: #333; padding: 20px; border-radius: 8px; text-align: center; flex: 1 1 calc(33% - 40px); max-width: calc(33% - 40px); box-sizing: border-box; min-width: 280px; } .page-x88top__list-item-title { color: #ffeb3b; margin-top: 15px; font-size: 1.2em; } .page-x88top__quick-access-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; } .page-x88top__game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-top: 30px; } .page-x88top__game-card { background-color: #333; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease; display: flex; flex-direction: column; } .page-x88top__game-card:hover { transform: translateY(-5px); } .page-x88top__game-image { width: 100%; height: 180px; object-fit: cover; } .page-x88top__game-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; } .page-x88top__game-title { font-size: 1.4em; color: #ffeb3b; margin-bottom: 10px; } .page-x88top__game-description { font-size: 0.95em; color: #ccc; margin-bottom: 15px; } .page-x88top__promotions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; } .page-x88top__promo-card { background-color: #333; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease; display: flex; flex-direction: column; } .page-x88top__promo-card:hover { transform: translateY(-5px); } .page-x88top__promo-image { width: 100%; height: 200px; object-fit: cover; } .page-x88top__promo-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; } .page-x88top__promo-title { font-size: 1.4em; color: #ffeb3b; margin-bottom: 10px; } .page-x88top__promo-description { font-size: 0.95em; color: #ccc; margin-bottom: 15px; } .page-x88top__faq-item { background-color: #333; border-radius: 8px; margin-bottom: 15px; overflow: hidden; } .page-x88top__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; cursor: pointer; background-color: #444; border-bottom: 1px solid #555; user-select: none; transition: background-color 0.3s ease; } .page-x88top__faq-question:hover { background-color: #555; } .page-x88top__faq-question h3 { margin: 0; font-size: 1.1em; color: #ffeb3b; pointer-events: none; } .page-x88top__faq-toggle { font-size: 1.5em; font-weight: bold; color: #ffeb3b; pointer-events: none; transition: transform 0.3s ease; } .page-x88top__faq-item.active .page-x88top__faq-toggle { transform: rotate(45deg); } .page-x88top__faq-answer { max-height: 0; overflow: hidden; padding: 0 20px; opacity: 0; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease; color: #ccc; } .page-x88top__faq-item.active .page-x88top__faq-answer { max-height: 2000px !important; padding: 20px !important; opacity: 1; } .page-x88top__blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; } .page-x88top__blog-card { background-color: #333; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); transition: transform 0.3s ease; display: flex; flex-direction: column; } .page-x88top__blog-card:hover { transform: translateY(-5px); } .page-x88top__blog-image { width: 100%; height: 180px; object-fit: cover; } .page-x88top__blog-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; } .page-x88top__blog-title { font-size: 1.3em; color: #ffeb3b; margin-bottom: 10px; } .page-x88top__blog-title a { color: #ffeb3b; text-decoration: none; transition: color 0.3s ease; } .page-x88top__blog-title a:hover { color: #ffe000; } .page-x88top__blog-meta { font-size: 0.85em; color: #888; margin-bottom: 10px; } .page-x88top__blog-summary { font-size: 0.9em; color: #ccc; margin-bottom: 15px; } .page-x88top img { max-width: 100%; height: auto; display: block; margin: 0 auto; } /* Mobile Responsiveness */ @media (max-width: 768px) { .page-x88top__hero-title { font-size: 2em; } .page-x88top__hero-description { font-size: 1em; } .page-x88top__hero-buttons { flex-direction: column; gap: 15px; } .page-x88top__button { width: 100%; max-width: 250px; } .page-x88top__section { padding: 30px 15px; } .page-x88top__section-title { font-size: 1.6em; } .page-x88top__list-item, .page-x88top__game-card, .page-x88top__promo-card, .page-x88top__blog-card { flex: 1 1 100%; max-width: 100%; width: 100% !important; box-sizing: border-box !important; margin-left: 0 !important; margin-right: 0 !important; } .page-x88top__list-container, .page-x88top__quick-access-buttons, .page-x88top__game-grid, .page-x88top__promotions-grid, .page-x88top__blog-grid { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin-left: 0 !important; margin-right: 0 !important; gap: 15px; } .page-x88top__faq-question h3 { font-size: 1em; } .page-x88top__faq-answer { padding: 15px !important; word-wrap: break-word !important; overflow-wrap: break-word !important; word-break: break-word !important; } .page-x88top img { max-width: 100% !important; height: auto !important; box-sizing: border-box !important; } .page-x88top__game-image, .page-x88top__promo-image, .page-x88top__blog-image { height: 150px; } }