
    /* General styles for page-i881 */
.page-i881 {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0;
    background-color: #1a1a2e; /* Dark background */
    line-height: 1.6;
    padding-top: var(--header-offset, 122px); /* Fallback for header offset */
    box-sizing: border-box;
    overflow-x: hidden;
}

.page-i881__section-title {
    font-size: 2.5rem;
    color: #e94560; /* Highlight color */
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.page-i881__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-i881__btn--primary {
    background-color: #e94560;
    color: #ffffff;
    border: 2px solid #e94560;
}

.page-i881__btn--primary:hover {
    background-color: #d43a50;
    border-color: #d43a50;
    transform: translateY(-2px);
}

.page-i881__btn--secondary {
    background-color: transparent;
    color: #e94560;
    border: 2px solid #e94560;
    margin-left: 15px;
}

.page-i881__btn--secondary:hover {
    background-color: #e94560;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-i881__btn--small {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 20px;
    margin-top: 15px;
}

/* Hero Section */
.page-i881__hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-i881__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    z-index: 2;
}

.page-i881__hero-title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-i881__hero-description {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-i881__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-i881__hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-i881__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-i881__features-section {
    padding: 80px 20px;
    background-color: #2e2e4e;
    text-align: center;
}

.page-i881__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-i881__feature-item {
    background-color: #1a1a2e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.page-i881__feature-item:hover {
    transform: translateY(-10px);
}

.page-i881__feature-icon {
    width: 200px; /* Minimum size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    max-width: 100%;
}

.page-i881__feature-title {
    font-size: 1.8rem;
    color: #e94560;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-i881__feature-description {
    font-size: 1rem;
    color: #cccccc;
}

/* Games Section */
.page-i881__games-section {
    padding: 80px 20px;
    background-color: #1a1a2e;
}

.page-i881__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-i881__game-card {
    background-color: #2e2e4e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-i881__game-card:hover {
    transform: translateY(-10px);
}

.page-i881__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-i881__game-title {
    font-size: 1.6rem;
    color: #e94560;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-i881__game-description {
    font-size: 0.95rem;
    color: #cccccc;
    padding: 0 15px 20px;
}

/* Promotions Section */
.page-i881__promotions-section {
    padding: 80px 20px;
    background-color: #2e2e4e;
    text-align: center;
}

.page-i881__promotions-intro {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 15px;
}

.page-i881__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-i881__promotion-card {
    background-color: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    padding-bottom: 20px;
}

.page-i881__promotion-card:hover {
    transform: translateY(-10px);
}

.page-i881__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    max-width: 100%;
}

.page-i881__promotion-title {
    font-size: 1.8rem;
    color: #e94560;
    margin: 0 15px 10px;
    font-weight: bold;
}

.page-i881__promotion-description {
    font-size: 1rem;
    color: #cccccc;
    padding: 0 15px;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-i881__faq-section {
    padding: 80px 20px;
    background-color: #1a1a2e;
}

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

.page-i881__faq-item {
    background-color: #2e2e4e;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-i881__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #3f3f6e;
    border-bottom: 1px solid #4a4a7a;
    transition: background-color 0.3s ease;
    user-select: none;
    box-sizing: border-box;
}

.page-i881__faq-question:hover {
    background-color: #4a4a7a;
}

.page-i881__faq-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0;
    pointer-events: none; /* Prevent h3 from blocking click */
}

.page-i881__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e94560;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent span from blocking click */
}

.page-i881__faq-item.active .page-i881__faq-toggle {
    transform: rotate(45deg); /* Change + to X (or rotate to -) */
}

.page-i881__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding matches question */
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    box-sizing: border-box;
}

.page-i881__faq-item.active .page-i881__faq-answer {
    max-height: 2000px !important; /* Sufficiently large value */
    padding: 20px 25px !important; /* Expanded padding */
    opacity: 1;
}

.page-i881__faq-answer p {
    margin: 0;
    color: #cccccc;
    font-size: 1rem;
}

/* Floating Buttons */
.page-i881__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-i881__floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 45px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-i881__floating-btn--register {
    background-color: #e94560;
    color: #ffffff;
}

.page-i881__floating-btn--register:hover {
    transform: translateY(-3px);
    background-color: #d43a50;
}

.page-i881__floating-btn--login {
    background-color: #0f3460;
    color: #ffffff;
}

.page-i881__floating-btn--login:hover {
    transform: translateY(-3px);
    background-color: #0c2a4d;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-i881__hero-title {
        font-size: 3rem;
    }
    .page-i881__hero-description {
        font-size: 1.1rem;
    }
    .page-i881__section-title {
        font-size: 2rem;
    }
    .page-i881__game-title, .page-i881__feature-title, .page-i881__promotion-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-i881__hero-section {
        padding: 40px 15px 30px;
    }
    .page-i881__hero-title {
        font-size: 2.2rem;
    }
    .page-i881__hero-description {
        font-size: 1rem;
    }
    .page-i881__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-i881__btn {
        width: 100%;
        max-width: 250px;
        margin-left: 0 !important; /* Override margin for secondary button */
    }

    .page-i881__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 15px 10px;
    }

    /* List items responsive */
    .page-i881__features-grid,
    .page-i881__games-grid,
    .page-i881__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px; /* Adjust padding for grid containers */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-i881__feature-item,
    .page-i881__game-card,
    .page-i881__promotion-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px; /* Reduce padding for smaller screens */
    }
    .page-i881__feature-description,
    .page-i881__game-description,
    .page-i881__promotion-description {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .page-i881__faq-question {
        padding: 15px 20px;
    }
    .page-i881__faq-title {
        font-size: 1.1rem;
    }
    .page-i881__faq-toggle {
        font-size: 1.5rem;
    }
    .page-i881__faq-answer {
        padding: 0 20px;
    }
    .page-i881__faq-item.active .page-i881__faq-answer {
        padding: 15px 20px !important;
    }

    .page-i881__floating-buttons {
        flex-direction: row;
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 15px;
        justify-content: space-around;
    }
    .page-i881__floating-btn {
        width: 48%;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .page-i881__hero-title {
        font-size: 1.8rem;
    }
    .page-i881__section-title {
        font-size: 1.5rem;
    }
    .page-i881__game-title, .page-i881__feature-title, .page-i881__promotion-title {
        font-size: 1.3rem;
    }
    .page-i881__faq-title {
        font-size: 1rem;
    }
    .page-i881__faq-answer p {
        font-size: 0.9rem;
    }
}
  