.page-index {
    background-color: #F4F7FB;
    color: #1F2D3D;
    font-family: Arial, sans-serif;
}

.page-index__ticker-section {
    background-color: #2F6BFF;
    color: #FFFFFF;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index__ticker-content {
    display: flex;
    align-items: center;
    animation: page-index__marquee 20s linear infinite;
}

.page-index__ticker-icon {
    margin-right: 10px;
    font-size: 1.2em;
    color: #A5C4FF;
    padding-left: 20px;
}

.page-index__ticker-text {
    margin: 0;
    padding-right: 20px; /* Ensure text can scroll off-screen */
}

@keyframes page-index__marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.page-index__hero-section {
    position: relative;
    width: 100%;
    min-height: clamp(420px, 50vw, 800px);
    background: linear-gradient(180deg, #2F6BFF 0%, #100224 100%); /* Adjusted for deep dark */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-index__hero-slider {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.page-index__hero-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #FFFFFF;
    text-align: center;
}

.page-index__hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-index__hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 8px;
    max-width: 800px;
}

.page-index__hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-index__jackpot-counter {
    background: linear-gradient(180deg, #ff9500 0%, #ff5e3a 100%);
    border-radius: 50px;
    padding: 10px 20px;
    margin: 20px auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index__jackpot-label {
    font-size: 0.8em;
    opacity: 0.8;
}

.page-index__jackpot-amount {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.2;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.page-index__hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 30px;
}

.page-index__btn-cta {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__hero-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.page-index__hero-prev, .page-index__hero-next {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #FFFFFF;
    font-size: 1.5em;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-index__hero-prev:hover, .page-index__hero-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.page-index__hero-dots {
    display: flex;
    gap: 8px;
}

.page-index__hero-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-index__hero-dot--active {
    background-color: #FFFFFF;
}

.page-index__brand-intro {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-index__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(45deg, #A5C4FF, #2F6BFF);
}

.page-index__intro-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-index__popular-games, .page-index__category-section, .page-index__jackpot-winners, .page-index__top-winners, .page-index__blog-section, .page-index__faq-section, .page-index__feature-promos {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index__category-section--alt-bg {
    background-color: #F4F7FB;
}

.page-index__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1F2D3D;
}

.page-index__section-title.text-gradient {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(45deg, #FFD700, #FFA500);
}

.page-index__section-description {
    text-align: center;
    font-size: 1.05em;
    line-height: 1.5;
    color: #1F2D3D;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
}

.page-index__game-tile {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
}

.page-index__game-tile:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index__game-tile img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Square aspect ratio for game tiles */
    object-fit: cover;
    display: block;
}

.page-index__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1F2D3D;
}

.page-index__sports-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    background-color: #F4F7FB;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index__sports-content {
    text-align: center;
    max-width: 600px;
}

.page-index__sports-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-index__promo-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid #D6E2FF;
}

.page-index__promo-card:hover {
    transform: translateY(-5px);
}

.page-index__promo-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1F2D3D;
    margin-bottom: 15px;
}

.page-index__promo-description {
    font-size: 1em;
    color: #1F2D3D;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index__app-mockup {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-index__promo-btn {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-index__winner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-index__winner-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid #D6E2FF;
    position: relative;
}

.page-index__winner-card img {
    
    
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    min- /* Ensure minimum size */
    min-
}

.page-index__winner-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.page-index__game-name {
    font-weight: bold;
    color: #1F2D3D;
    font-size: 1.1em;
}

.page-index__user-id, .page-index__win-date {
    font-size: 0.9em;
    color: #000000;
}

.page-index__win-amount {
    background: linear-gradient(90deg, #ff9500, #ff5e3a);
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1em;
    white-space: nowrap;
    position: absolute;
    bottom: 10px;
    right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index__win-amount span {
    display: block;
    font-size: 0.7em;
    font-weight: normal;
    opacity: 0.9;
    line-height: 1;
}

.page-index__post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index__post-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF;
}

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

.page-index__post-card img {
    width: 100%;
    height: 225px; /* Fixed height for blog card images */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-index__post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 225px); /* Adjust based on image height */
}

.page-index__post-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #1F2D3D;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-index__post-title a {
    color: #1F2D3D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__post-title a:hover {
    color: #2F6BFF;
}

.page-index__post-excerpt {
    font-size: 0.95em;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-index__post-link {
    display: inline-block;
    color: #2F6BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index__post-link:hover {
    color: #4A8BFF;
}

.page-index__load-more-container {
    text-align: center;
    margin-top: 40px;
}

.page-index__btn-load-more {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-index__faq-section {
    background-color: #F4F7FB;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-index__accordion {
    margin-top: 30px;
}

.page-index__accordion-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index__accordion-summary {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #1F2D3D;
    font-size: 1.1em;
    outline: none;
    transition: background-color 0.3s ease;
}

.page-index__accordion-summary:hover {
    background-color: #F8F8F8;
}

.page-index__accordion-summary h4 {
    margin: 0;
    color: #1F2D3D; /* Ensure h4 color is correct */
}

.page-index__accordion-summary::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-index__accordion-item[open] > .page-index__accordion-summary::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index__accordion-content {
    padding: 0 20px 20px 20px;
    color: #000000;
    line-height: 1.6;
    font-size: 0.95em;
}

.page-index__faq-btn {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__faq-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index__brand-bar {
    text-align: center;
    padding: 40px 20px;
    background-color: #1F2D3D;
}

.page-index__brand-bar img {
    max-width: 200px;
    height: auto;
    display: inline-block;
    min-width: 200px; /* Ensure minimum size */
    min-
}

/* Responsive Styles */
@media (min-width: 850px) {
    .page-index__hero-slide {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }

    .page-index__hero-visual {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .page-index__hero-content {
        background-color: transparent; /* No background overlay on desktop */
        padding-left: 100px;
        max-width: 50%;
        text-align: left;
        align-items: flex-start;
    }

    .page-index__jackpot-counter {
        margin-left: 0;
        margin-right: auto;
    }

    .page-index__jackpot-label {
        display: inline-block;
    }

    .page-index__jackpot-amount {
        display: inline-block;
    }

    .page-index__sports-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }

    .page-index__sports-content {
        flex: 1;
        text-align: left;
    }

    .page-index__sports-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 849px) {
    .page-index__hero-slide {
        flex-direction: column;
        text-align: center;
        justify-content: flex-start; /* Align content to top */
    }

    .page-index__hero-visual {
        position: relative; /* Make image flow in document */
        width: 100%;
        height: auto; /* Allow height to be determined by aspect-ratio */
        aspect-ratio: 16 / 10; /* Recommended aspect ratio for mobile hero visual */
        z-index: 1;
    }

    .page-index__hero-visual img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .page-index__hero-content {
        background-color: #100224; /* Solid background for text on mobile */
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
        z-index: 2;
    }

    .page-index__jackpot-counter {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px 10px;
    }

    .page-index__jackpot-label {
        font-size: 0.9em;
    }

    .page-index__jackpot-amount {
        font-size: clamp(1.25rem, 6.5vw, 2.5rem);
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .page-index__btn-cta {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        min-height: 44px;
    }

    .page-index__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .page-index__winner-grid {
        grid-template-columns: 1fr;
    }

    .page-index__feature-promos {
        grid-template-columns: 1fr;
    }

    .page-index__post-grid {
        grid-template-columns: 1fr;
    }

    .page-index__sports-section {
        flex-direction: column;
    }

    .page-index__sports-content, .page-index__sports-image {
        width: 100%;
    }

    .page-index__sports-image img {
        width: 100%;
    }
}

@media (max-width: 549px) {
    .page-index__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .page-index__winner-card img {
        
        
        min- /* Adjust minimum size */
        min-
    }

    .page-index__winner-info {
        font-size: 0.8em;
    }

    .page-index__win-amount {
        font-size: 0.9em;
        padding: 6px 10px;
    }

    .page-index__accordion-summary {
        font-size: 1em;
        padding: 15px;
    }

    .page-index__post-card img {
         /* Adjust height for smaller screens */
    }

    .page-index__post-content {
        height: calc(100% - 180px);
    }

    .page-index__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
}

/* Ensure all images are responsive and do not cause overflow */
@media (max-width: 768px) {
    .page-index img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
}