.page-index__ticker {
    background-color: var(--deep-green);
    color: var(--text-main);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.page-index__ticker-content {
    display: inline-block;
    animation: page-index__marquee 30s linear infinite;
    padding-left: 100%; /* Start off-screen */
}

.page-index__ticker-content span {
    padding-right: 50px; /* Space between repeated content */
}

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

.page-index__hero-slider {
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.page-index__hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-index__hero-slide {
    display: none;
    position: relative;
    width: 100%;
    min-height: clamp(420px, 50vw, 800px);
    background-color: var(--background);
    color: var(--text-main);
}

.page-index__hero-slide--active {
    display: block;
}

.page-index__hero-desktop {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.page-index__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-index__hero-content {
    position: absolute;
    bottom: 10%;
    left: 10%;
    z-index: 2;
    max-width: 500px;
    padding: 20px;
    border-radius: 10px;
}

.page-index__hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-index__jackpot-counter {
    background: linear-gradient(180deg, #ff9500, #ff5e3a);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: inline-flex; /* Use inline-flex for desktop to keep it compact */
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__jackpot-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.page-index__jackpot-amount {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: bolder;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
}

.page-index__hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.5;
}

.page-index__btn-cta {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__btn-cta:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-index__slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-index__slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.page-index__slider-nav--prev {
    left: 20px;
}

.page-index__slider-nav--prev::before {
    content: '❮'; /* Left arrow */
}

.page-index__slider-nav--next {
    right: 20px;
}

.page-index__slider-nav--next::before {
    content: '❯'; /* Right arrow */
}

.page-index__slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

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

.page-index__dot--active {
    background-color: #fff;
}

/* Mobile Hero specific styles */
.page-index__hero-mobile {
    display: none;
}

.page-index__hero-visual {
    aspect-ratio: 4/3;
    width: 100%;
    overflow: hidden;
}

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

.page-index__hero-copy {
    padding: 20px;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-index__jackpot-counter--mobile {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 15px auto;
    padding: 12px 16px;
    box-sizing: border-box;
}

.page-index__jackpot-counter--mobile .page-index__jackpot-label {
    width: 100%;
    text-align: center;
}

.page-index__jackpot-counter--mobile .page-index__jackpot-amount {
    font-size: clamp(1.25rem, 6.5vw, 2.5rem);
    line-height: 1.2;
    word-break: break-all;
    overflow-wrap: anywhere;
    width: 100%;
    text-align: center;
}

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

.page-index__intro {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--background);
    color: var(--text-main);
}

.page-index__main-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.page-index__section-bg--dark {
    background-color: var(--background);
}

.page-index__section-bg--light {
    background-color: var(--card-bg);
}

.page-index__popular-games, .page-index__category-slots, .page-index__category-fishing,
.page-index__category-table, .page-index__category-lottery, .page-index__category-sports,
.page-index__feature-promos, .page-index__hot-winners, .page-index__blog-posts,
.page-index__faq, .page-index__brand-logo {
    padding: 60px 20px;
    color: var(--text-main);
    text-align: center;
}

.page-index__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index__section-title a {
    color: inherit;
    text-decoration: none;
}

.page-index__section-title a:hover {
    text-decoration: underline;
}

.page-index__section-description {
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary);
}

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

.page-index__game-tile {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
}

.page-index__game-tile:hover {
    transform: translateY(-5px);
}

.page-index__game-tile img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-index__category-sports {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
}

.page-index__sports-content {
    flex: 1 1 50%;
    max-width: 600px;
}

.page-index__sports-content .page-index__section-title,
.page-index__sports-content .page-index__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-index__sports-image-wrapper {
    flex: 1 1 40%;
    max-width: 600px;
}

.page-index__sports-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-index__feature-promos {
    padding: 60px 20px;
}

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

.page-index__promo-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-main);
}

.page-index__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    min-width: 200px;
    min-height: 200px;
}

.page-index__promo-title {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.page-index__promo-description {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-index__btn-cta--small {
    padding: 10px 25px;
    font-size: 0.95rem;
}

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

.page-index__winner-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: left;
}

.page-index__winner-card img {
    
    
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.page-index__winner-info {
    flex-grow: 1;
}

.page-index__winner-game {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

.page-index__winner-user, .page-index__winner-info time {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.page-index__winner-amount-wrapper {
    position: absolute;
    bottom: 15px;
    right: 15px;
    text-align: right;
}

.page-index__winner-badge {
    background-color: var(--gold);
    color: var(--background);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.page-index__winner-amount {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--glow);
    display: block;
}

.page-index__blog-posts .page-index__section-title {
    text-align: center;
}

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

.page-index__post-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-index__post-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-index__post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-index__post-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-index__post-title a {
    color: inherit;
    text-decoration: none;
}

.page-index__post-title a:hover {
    text-decoration: underline;
}

.page-index__post-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
}

.page-index__read-more {
    color: var(--glow);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.page-index__read-more:hover {
    color: #fff;
}

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

.page-index__load-more-btn {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-index__load-more-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-index__faq {
    padding-bottom: 80px;
}

.page-index__faq-accordion {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-index__faq-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-index__faq-question::after {
    content: '\002B'; /* Plus sign */
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-index__faq-item[open] > .page-index__faq-question::after {
    content: '\2212'; /* Minus sign */
    transform: translateY(-50%) rotate(0deg);
}

.page-index__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Lighter version of border color */
}

.page-index__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-index__brand-logo {
    padding: 40px 20px;
}

.page-index__brand-logo img {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    min-width: 200px;
    min-
}

/* Text gradient utility */
.text-gradient {
    background: linear-gradient(90deg, var(--gold) 0%, var(--glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .page-index__post-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-index__winner-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-index__hero-content {
        left: 5%;
        max-width: 400px;
    }
    .page-index__hero-tagline {
        font-size: clamp(1.3rem, 2.5vw, 2.2rem);
    }
    .page-index__jackpot-amount {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 849px) {
    .page-index__hero-desktop {
        display: none;
    }
    .page-index__hero-mobile {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    .page-index__hero-slide {
        min-height: auto;
    }
    .page-index__slider-nav, .page-index__slider-dots {
        bottom: 10px;
    }
    .page-index__slider-nav {
        top: auto;
        transform: none;
        bottom: 250px; /* Adjust based on mobile copy height */
    }
    .page-index__slider-nav--prev {
        left: 10px;
    }
    .page-index__slider-nav--next {
        right: 10px;
    }
    .page-index__intro, .page-index__popular-games, .page-index__category-slots,
    .page-index__category-fishing, .page-index__category-table, .page-index__category-lottery,
    .page-index__category-sports, .page-index__feature-promos, .page-index__hot-winners,
    .page-index__blog-posts, .page-index__faq, .page-index__brand-logo {
        padding: 40px 15px;
    }
    .page-index__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-index__description {
        font-size: 1rem;
    }
    .page-index__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .page-index__game-tile img, .page-index__sports-image-wrapper img, .page-index__promo-card img, .page-index__post-card img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
    .page-index__category-sports {
        flex-direction: column;
        text-align: center;
    }
    .page-index__sports-content, .page-index__sports-image-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .page-index__sports-content .page-index__section-title,
    .page-index__sports-content .page-index__section-description {
        text-align: center;
    }
    .page-index__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-index__winner-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-index__post-grid {
        grid-template-columns: 1fr;
    }
    .page-index__post-card img {
        
    }
    .page-index__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-index__faq-question::after {
        right: 20px;
    }
    .page-index__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 549px) {
    .page-index__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* 2 columns for smaller mobiles */
        gap: 10px;
    }
    .page-index__winner-grid {
        grid-template-columns: 1fr;
    }
    .page-index__winner-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-index__winner-info {
        text-align: center;
    }
    .page-index__winner-amount-wrapper {
        position: static;
        margin-top: 10px;
    }
    .page-index__post-card img {
        
    }
    .page-index__hero-copy {
        padding: 15px;
    }
    .page-index__hero-tagline {
        font-size: clamp(1.2rem, 6vw, 2rem);
    }
    .page-index__jackpot-counter--mobile {
        padding: 10px;
    }
    .page-index__jackpot-label {
        font-size: 1.1rem;
    }
    .page-index__jackpot-amount {
        font-size: clamp(1.1rem, 6vw, 2rem);
    }
    .page-index__btn-cta {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    /* Enforce max-width: 100% for all images within .page-index */
    .page-index img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-index__ticker-content {
        animation: none;
    }
}