/* ============ INDEX HOMEPAGE CASINO THEME ============ */

/* Categories */
.idx-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.idx-cat-card {
    position: relative;
    background: linear-gradient(160deg, var(--dark-card) 0%, var(--dark-card-2) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.cat-image-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.cat-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.idx-cat-card:hover .cat-image-wrap img { transform: scale(1.1); }

.cat-glow {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 50%, rgba(10,10,18,0.85) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(255,215,0,0.18), transparent 50%);
    pointer-events: none;
    transition: all 0.5s ease;
}
.idx-cat-card:hover .cat-glow {
    background:
        linear-gradient(180deg, transparent 40%, rgba(10,10,18,0.9) 100%),
        radial-gradient(ellipse at 50% 0%, rgba(255,215,0,0.25), transparent 60%);
}

.cat-body {
    padding: 1.25rem 1.25rem 1.4rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
}
.cat-body::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border-2), transparent);
}

.cat-body h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.12rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.idx-cat-card:hover h3 { color: var(--gold); text-shadow: 0 0 14px var(--gold-glow); }

.cat-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.3px;
    transition: all 0.35s ease;
}
.cat-action svg {
    width: 16px;
    height: 16px;
    transition: transform 0.35s ease;
}
.idx-cat-card:hover .cat-action {
    gap: 0.7rem;
    text-shadow: 0 0 12px var(--gold-glow);
}
.idx-cat-card:hover .cat-action svg { transform: translateX(3px); }

.cat-corner-badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    background: linear-gradient(135deg, var(--red), var(--red-2));
    color: #fff;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-family: 'Bebas Neue', sans-serif;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(220,38,38,0.4);
}

/* Category tilt + gradient hover */
.idx-cat-card.gradient-border:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 28px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,215,0,0.35), 0 0 40px rgba(255,215,0,0.12);
}

/* ============ BENEFITS (index) ============ */
.idx-benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.idx-benefit-card {
    position: relative;
    padding: 1.75rem 1.25rem 1.5rem;
    background: linear-gradient(160deg, var(--dark-card) 0%, var(--dark-card-2) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.benefit-num {
    position: absolute;
    top: 0.75rem;
    right: 0.875rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--text-dim);
    opacity: 0.5;
    transition: all 0.4s ease;
}
.idx-benefit-card:hover .benefit-num {
    color: var(--gold);
    opacity: 1;
    text-shadow: 0 0 12px var(--gold-glow);
}

.benefit-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.benefit-icon-wrap svg { width: 26px; height: 26px; }
.idx-benefit-card:hover .benefit-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.bi-gold {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.05));
    color: var(--gold);
    border: 1px solid var(--dark-border);
    box-shadow: 0 8px 20px rgba(255,215,0,0.15);
}
.bi-red {
    background: linear-gradient(135deg, rgba(220,38,38,0.18), rgba(220,38,38,0.04));
    color: #f87171;
    border: 1px solid rgba(220,38,38,0.2);
    box-shadow: 0 8px 20px rgba(220,38,38,0.15);
}
.bi-purple {
    background: linear-gradient(135deg, rgba(147,51,234,0.18), rgba(147,51,234,0.04));
    color: #c084fc;
    border: 1px solid rgba(147,51,234,0.2);
    box-shadow: 0 8px 20px rgba(147,51,234,0.15);
}
.bi-green {
    background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(34,197,94,0.04));
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.2);
    box-shadow: 0 8px 20px rgba(34,197,94,0.15);
}
.bi-blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(59,130,246,0.04));
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.2);
    box-shadow: 0 8px 20px rgba(59,130,246,0.15);
}

.idx-benefit-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.idx-benefit-card:hover h4 { color: var(--gold); }

.idx-benefit-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.idx-benefit-card.gradient-border:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 24px 46px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,215,0,0.3);
}

/* ============ STATS BAND ============ */
.idx-stats {
    padding: 3.5rem 0;
}
.idx-stats-inner {
    position: relative;
    padding: 2.25rem 2rem;
    background:
        linear-gradient(135deg, rgba(255,215,0,0.08), rgba(220,38,38,0.05)),
        var(--dark-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--dark-border);
    overflow: hidden;
}
.idx-stats-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,215,0,0.12);
}

.stat-sparkle {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,215,0,0.2), transparent 60%);
    filter: blur(30px);
    animation: statFloat 6s ease-in-out infinite;
    pointer-events: none;
}
.sparkle-l { top: -50%; left: -5%; }
.sparkle-r { bottom: -50%; right: -5%; animation-delay: 2.5s; }
@keyframes statFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(15px) scale(1.1); }
}

.grid-4-stat {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.idx-stat-item {
    text-align: center;
    position: relative;
    padding: 0.5rem;
}
.idx-stat-item::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: linear-gradient(180deg, transparent, var(--dark-border-2), transparent);
}
.idx-stat-item:last-child::after { display: none; }

.stat-num-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 0.4rem;
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    line-height: 1.05;
    background: linear-gradient(135deg, var(--gold), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 28px var(--gold-glow);
}
.stat-suffix {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--red), #f87171);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.idx-stat-item .stat-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* ============ GAMES (slot gacor) ============ */
.idx-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.idx-game-card {
    position: relative;
    background: linear-gradient(160deg, var(--dark-card) 0%, var(--dark-card-2) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
}

.game-cover {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.idx-game-card:hover .game-cover img { transform: scale(1.12); }

.game-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,18,0.1) 0%, transparent 30%, rgba(10,10,18,0.92) 100%);
    pointer-events: none;
    z-index: 2;
    transition: all 0.4s ease;
}
.idx-game-card:hover .game-overlay {
    background:
        linear-gradient(180deg, rgba(10,10,18,0.3) 0%, rgba(255,215,0,0.12) 50%, rgba(10,10,18,0.94) 100%);
}

.game-rtp-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background: linear-gradient(135deg, rgba(34,197,94,0.9), rgba(16,185,129,0.9));
    color: #fff;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    z-index: 5;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}
.game-rtp-tag svg { width: 13px; height: 13px; }

.game-hot-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.6rem;
    background: linear-gradient(135deg, var(--red), var(--red-2));
    color: #fff;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    z-index: 5;
    box-shadow: 0 4px 14px rgba(220,38,38,0.4);
}

.game-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-3));
    color: #1a1a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    box-shadow: 0 10px 30px var(--gold-glow), 0 0 0 4px rgba(255,255,255,0.1);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.game-play-btn svg { width: 24px; height: 24px; margin-left: 2px; }
.idx-game-card:hover .game-play-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.game-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12) !important;
    box-shadow: 0 14px 40px rgba(255,215,0,0.55), 0 0 0 4px rgba(255,255,255,0.2);
}

.game-info {
    padding: 1.25rem;
    position: relative;
    z-index: 1;
}
.game-info::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-border-2), transparent);
}

.game-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    background: var(--gold-soft);
    color: var(--gold);
    border-radius: 5px;
    margin-bottom: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
}

.game-info h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--text-white);
    margin-bottom: 0.4rem;
    line-height: 1.35;
    transition: color 0.3s ease;
}
.idx-game-card:hover h3 { color: var(--gold); }
.game-info h3 a:hover { color: inherit; }

.game-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.idx-game-card.gradient-border:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 26px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,215,0,0.35), 0 0 44px rgba(255,215,0,0.12);
}

/* ============ TESTIMONIALS ============ */
.idx-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.idx-test-card {
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(160deg, var(--dark-card) 0%, var(--dark-card-2) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
    cursor: pointer;
}

.test-quote {
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.15;
    pointer-events: none;
}

.test-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.875rem;
    text-shadow: 0 0 10px var(--gold-glow);
    display: block;
}

.test-text {
    font-size: 0.94rem;
    color: var(--text-cream);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border-2);
}
.test-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 0.95rem;
    color: #1a1a0f;
    flex-shrink: 0;
}
.avatar-1 { background: linear-gradient(135deg, var(--gold), var(--gold-3)); }
.avatar-2 { background: linear-gradient(135deg, #f87171, var(--red)); color: #fff; }
.avatar-3 { background: linear-gradient(135deg, #60a5fa, #93c5fd); color: #fff; }

.test-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-white);
    font-weight: 700;
}
.test-author span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.test-win {
    margin-top: 1rem;
    text-align: center;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, var(--gold-soft), rgba(220,38,38,0.06));
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.9rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
}

.idx-test-card.gradient-border:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 28px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,215,0,0.3), 0 0 40px rgba(255,215,0,0.12);
}
.idx-test-card:hover .test-win {
    background: linear-gradient(135deg, var(--gold), var(--gold-3));
    color: #1a1a0f;
    border-color: var(--gold);
}

/* ============ STEPS (Cara Kerja) ============ */
.idx-steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
}

.idx-step-card {
    position: relative;
    flex: 1;
    padding: 2rem 1.5rem;
    background: linear-gradient(160deg, var(--dark-card) 0%, var(--dark-card-2) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}
.idx-step-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,215,0,0.3);
}

.step-num-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.25rem;
}
.step-circle {
    width: 100%;
    height: 100%;
    color: rgba(255,215,0,0.25);
    transform: rotate(-90deg);
    animation: stepDraw 2.5s ease-out forwards;
    stroke-dashoffset: 327;
    animation-delay: calc(var(--step-delay, 0) * 1s);
}
@keyframes stepDraw {
    to { stroke-dashoffset: 0; }
}

.step-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    color: var(--gold);
    text-shadow: 0 0 18px var(--gold-glow);
    letter-spacing: 1px;
}

.step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.step-icon svg { width: 26px; height: 26px; }
.idx-step-card:hover .step-icon { transform: scale(1.1) rotate(-5deg); }

.step-icon-gold {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.05));
    color: var(--gold);
    border: 1px solid var(--dark-border);
    box-shadow: 0 8px 20px rgba(255,215,0,0.15);
}
.step-icon-red {
    background: linear-gradient(135deg, rgba(220,38,38,0.18), rgba(220,38,38,0.04));
    color: #f87171;
    border: 1px solid rgba(220,38,38,0.2);
    box-shadow: 0 8px 20px rgba(220,38,38,0.15);
}
.step-icon-green {
    background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(34,197,94,0.04));
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.2);
    box-shadow: 0 8px 20px rgba(34,197,94,0.15);
}

.idx-step-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.idx-step-card:hover h3 { color: var(--gold); }

.idx-step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.idx-step-arrow {
    flex-shrink: 0;
    align-self: center;
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.6;
    animation: stepArrow 2s ease-in-out infinite;
}
@keyframes stepArrow {
    0%,100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(6px); opacity: 1; }
}

/* ============ TRUST BADGES ============ */
.idx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,215,0,0.03)),
        var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
}

.idx-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.35s ease;
    border-radius: var(--radius-md);
    cursor: pointer;
}
.idx-trust-item:hover {
    background: var(--gold-soft);
    transform: translateY(-3px);
}

.trust-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-icon.gold {
    background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,215,0,0.04));
    color: var(--gold);
    border: 1px solid var(--dark-border);
    box-shadow: 0 8px 20px rgba(255,215,0,0.15);
}
.idx-trust-item:hover .trust-icon.gold {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 10px 24px var(--gold-glow);
    color: var(--gold-2);
}

.idx-trust-item span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-cream);
    letter-spacing: 0.3px;
}
.idx-trust-item:hover span {
    color: var(--gold);
    text-shadow: 0 0 12px var(--gold-glow);
}

/* ============ NEWS BLOG (12 grid) ============ */
.idx-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.idx-news-card {
    position: relative;
    background: linear-gradient(160deg, var(--dark-card) 0%, var(--dark-card-2) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
}

.idx-news-card.gradient-border:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: 0 28px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,215,0,0.35), 0 0 40px rgba(255,215,0,0.12);
}

/* ============ RESPONSIVE FOR INDEX SECTIONS ============ */
@media (max-width: 1280px) {
    .idx-benefits-grid { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
}
@media (max-width: 1180px) {
    .idx-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .idx-benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .idx-steps-grid { flex-direction: column; gap: 0; }
    .idx-step-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
}

@media (max-width: 1024px) {
    .idx-games-grid { grid-template-columns: repeat(2, 1fr); }
    .idx-test-grid { grid-template-columns: repeat(2, 1fr); }
    .idx-news-grid { grid-template-columns: repeat(2, 1fr); }
    .idx-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding: 1.5rem; }
    .grid-4-stat { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .idx-stat-item::after { display: none; }
    .idx-stat-item:nth-child(odd) {
        border-right: 1px solid var(--dark-border-2);
    }
}

@media (max-width: 768px) {
    .idx-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .cat-body { padding: 1rem; }
    .cat-body h3 { font-size: 1rem; }

    .idx-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
    .idx-benefit-card { padding: 1.25rem 1rem; }
    .benefit-num { display: none; }

    .grid-4-stat { gap: 1rem; }
    .stat-num { font-size: 1.6rem; }
    .stat-suffix { font-size: 1rem; }
    .idx-stats-inner { padding: 1.75rem 1.25rem; }

    .idx-games-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .idx-test-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .idx-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-icon { width: 46px; height: 46px; border-radius: 12px; }
    .trust-icon svg { width: 22px; height: 22px; }
    .idx-trust-item span { font-size: 0.8rem; }

    .idx-news-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .step-num-wrap { width: 72px; height: 72px; }
    .step-num { font-size: 1.4rem; }
}

@media (max-width: 560px) {
    .idx-cat-grid { grid-template-columns: 1fr; }
    .idx-benefits-grid { grid-template-columns: 1fr; }
    .grid-4-stat { grid-template-columns: 1fr; }
    .idx-stat-item:nth-child(odd) { border: none; }
    .idx-stat-item:not(:last-child) {
        border-bottom: 1px solid var(--dark-border-2);
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
    }

    .idx-trust-grid { grid-template-columns: 1fr 1fr; padding: 1rem; }
}

@media (max-width: 480px) {
    .idx-test-card { padding: 1.75rem 1.25rem 1.25rem; }
    .step-num-wrap { width: 64px; height: 64px; }
    .step-num { font-size: 1.2rem; }
}
