/* ============================================
   INDONESIA CASINO ONLINE — Index Page Styles
   Theme: Oceanic Blue Mobile-Responsive Portal
   App Viewport: Mobile Form Factor (Phones & Centered on Laptop)
   Typography: Plus Jakarta Sans + Space Grotesk
============================================ */

/* ── HERO SECTION (Strict Mobile Vertical Stack) ── */
.hero {
    position: relative;
    background: var(--hero-gradient);
    overflow: hidden;
    color: #ffffff;
    padding: 2.25rem 0 1.75rem;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

@keyframes pulse-live {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        transform: scale(1.18);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

@keyframes pulse-live-red {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
    }
    50% {
        opacity: 0.85;
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

/* Hero Logo from Server */
.hero-logo {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.hero-logo img {
    height: 52px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
    transition: var(--transition);
}

.hero-logo img:hover {
    transform: scale(1.04);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.95rem;
}

.hero-badge span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald);
    flex-shrink: 0;
    animation: pulse-live 1.8s infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 0.85rem;
    letter-spacing: -0.5px;
}

.hero h1 em {
    font-style: normal;
    color: #ffd166;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 1.35rem;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 1.4rem;
}

.hero-actions .btn-white,
.hero-actions .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.2rem;
    font-size: 0.88rem;
}

.hero-trust-bar {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.hero-trust-item svg {
    width: 15px;
    height: 15px;
    fill: #ffd166;
    flex-shrink: 0;
}

/* Hero Showcase / Jackpot Board (Mobile Card) */
.hero-showcase {
    width: 100%;
    display: flex;
    justify-content: center;
}

.jackpot-board {
    background: rgba(11, 23, 39, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.15rem;
    width: 100%;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jackpot-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd166, #ff7b00, #ffd166);
}

.jackpot-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffd166;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.jackpot-amount {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(255, 209, 102, 0.4);
    letter-spacing: -0.5px;
    margin-bottom: 0.95rem;
}

.jackpot-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1.15rem;
}

.jackpot-stat-box .val {
    font-size: 1rem;
    font-weight: 800;
    color: #38bdf8;
    display: block;
}

.jackpot-stat-box .lbl {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.jackpot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 14px rgba(0, 132, 214, 0.4);
    transition: var(--transition);
}

.jackpot-btn:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

/* ── PROVIDERS STRIP (Smooth Scrolling Marquee) ── */
.providers-strip {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.providers-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    will-change: transform;
    animation: providers-slide 20s linear infinite;
}

.providers-strip:hover .providers-track {
    animation-play-state: paused;
}

@keyframes providers-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.provider-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.provider-item span.dot {
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

/* ── 3 HIGHLIGHT PROMO CARDS (Mobile Vertical Stack) ── */
.highlight-promos {
    padding: 2.25rem 0 1.5rem;
}

.highlight-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem 1.25rem;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: #0f172a;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.highlight-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.highlight-card:hover .highlight-card-bg {
    transform: scale(1.05);
}

.highlight-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 23, 39, 0.2) 0%, rgba(11, 23, 39, 0.85) 55%, rgba(11, 23, 39, 0.98) 100%);
    z-index: 2;
}

.highlight-card-content {
    position: relative;
    z-index: 3;
}

.highlight-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
    color: #ffd166;
}

.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.45rem;
}

.highlight-card p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1rem;
    line-height: 1.45;
}

.highlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.highlight-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ── FEATURED GAMES SECTION (Standard 2-Column Mobile Grid) ── */
.game-features {
    padding: 2.5rem 0 1.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.game-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.game-card-media {
    position: relative;
    overflow: hidden;
    height: 125px;
    background: #e2e8f0;
}

.game-card-media img,
.game-card > img {
    width: 100%;
    height: 125px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover img {
    transform: scale(1.06);
}

.game-tag-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0.18rem 0.5rem;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.game-info {
    padding: 0.75rem 0.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-info h3 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-info p {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.game-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.72rem;
}

.rtp-rate {
    font-weight: 700;
    color: var(--accent-emerald);
}

.game-info .btn-outline {
    width: 100%;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
}

/* ── WIDE HORIZONTAL PROMO BANNER (Mobile Format) ── */
.special-offer-section {
    padding: 2rem 0;
}

.special-offer-banner {
    position: relative;
    background: var(--hero-gradient);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 2.25rem 1.25rem;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.special-offer-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.special-offer-tag {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffd166;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.special-offer-banner h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.4px;
}

.special-offer-banner p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.special-offer-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(255, 255, 255, 0.4);
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    margin: 0 auto 1.35rem;
    width: 100%;
}

.special-offer-code strong {
    color: #ffd166;
    font-family: var(--font-mono);
    font-size: 1rem;
}

.special-offer-banner .btn-white {
    width: 100%;
    text-align: center;
}

/* ── 4 TRUST / VALUE PROPOSITIONS (2x2 Mobile Grid) ── */
.features-section {
    padding: 2.25rem 0 1.5rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.feature-item {
    text-align: center;
    padding: 1rem 0.6rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.feature-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.feature-icon-circle svg {
    width: 22px;
    height: 22px;
}

.feature-item:hover .feature-icon-circle {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.06);
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ── PROMOTIONS & BONUSES SECTION (Mobile Cards) ── */
.promos-section {
    padding: 2.25rem 0;
    background: var(--bg-surface);
}

.promos-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.promo-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.15rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.promo-badge {
    align-self: center;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.65rem;
}

.promo-amount {
    font-family: var(--font-mono);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.55rem;
}

.promo-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.45rem;
}

.promo-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.15rem;
    flex-grow: 1;
}

.promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.65rem 1rem;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.84rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.promo-btn:hover {
    background: var(--primary-hover);
}

/* ── STATS SECTION (2x2 Grid) ── */
.stats-section {
    padding: 2rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.stat-item {
    padding: 0.85rem 0.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

/* ── SPOTLIGHT SECTION (Single Column Mobile Card) ── */
.spotlight-section {
    padding: 2.25rem 0;
}

.spotlight-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.spotlight-img {
    position: relative;
    background: #0f172a;
    height: 190px;
    min-height: 190px;
}

.spotlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(239, 68, 68, 0.92);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    animation: pulse-live-red 1.6s infinite;
}

.spotlight-body {
    padding: 1.5rem 1.15rem;
    display: flex;
    flex-direction: column;
}

.spotlight-tag {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.35rem;
}

.spotlight-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.spotlight-body p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
}

.spotlight-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
}

.spotlight-features li {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.spotlight-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
}

.spotlight-actions a {
    width: 100%;
    text-align: center;
}

/* ── LIVE WINNERS SECTION (Mobile List) ── */
.winners-section {
    padding: 2.25rem 0;
    background: var(--bg-surface);
}

.winners-ticker {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.65rem 0.85rem;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 1.75rem;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-slide 24s linear infinite;
}

.winners-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    font-size: 0.8rem;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ticker-item span {
    font-weight: 700;
    color: var(--accent-emerald);
}

.winners-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.winner-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1rem 0.95rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.winner-card:hover {
    border-color: var(--primary);
}

.winner-card--top {
    border-color: #ffd166;
    background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.winner-crown {
    position: absolute;
    top: -8px;
    left: 12px;
    font-size: 0.95rem;
}

.winner-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.winner-info {
    flex-grow: 1;
    text-align: left;
}

.winner-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-main);
}

.winner-info span {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.winner-amount {
    font-family: var(--font-mono);
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--accent-emerald);
    text-align: right;
}

.winner-amount--big {
    color: var(--primary);
    font-size: 1.05rem;
}

/* ── TESTIMONIALS SECTION (Mobile Cards) ── */
.testimonials-section {
    padding: 2.25rem 0;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.15rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
}

.testimonial-stars {
    font-size: 0.88rem;
    margin-bottom: 0.65rem;
}

.testimonial-text {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-main);
}

.testimonial-author span {
    font-size: 0.76rem;
    color: var(--primary);
    font-weight: 600;
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 2.75rem 0;
    background: var(--hero-gradient);
    color: #ffffff;
    text-align: center;
}

.cta-content {
    width: 100%;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    letter-spacing: -0.4px;
}

.cta-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 1.35rem;
}

.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    transition: var(--transition);
}

.btn-cta:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

/* ── HOW IT WORKS (3 Langkah Mudah) ── */
.how-it-works-section {
    padding: 2.25rem 0;
    background: var(--bg-white);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.step-item {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.15rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.step-item:hover {
    border-color: var(--primary);
}

.step-number {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.step-icon {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
}

.step-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.45rem;
}

.step-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── POPULAR CATEGORIES (2 Columns Mobile Grid) ── */
.categories-section {
    padding: 2.25rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    border-color: var(--primary);
}

.category-image {
    position: relative;
    height: 110px;
    background: #e2e8f0;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 23, 39, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-cta {
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.category-info {
    padding: 0.75rem 0.6rem;
}

.category-info h3 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.category-info p {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── PAYMENT METHODS (3-Column Mobile Grid) ── */
.payments-section {
    padding: 2.25rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.payment-card {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.4rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.payment-card:hover {
    border-color: var(--primary);
}

.payment-icon {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.payment-card h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.1rem;
}

.payment-card p {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.payment-speed {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--accent-emerald);
    background: #ecfdf5;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-full);
}

/* ── RESPONSIBLE GAMBLING (Mobile Cards) ── */
.responsible-section {
    padding: 2.25rem 0;
    background: var(--bg-surface);
}

.responsible-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.responsible-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.15rem 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.responsible-icon {
    font-size: 1.5rem;
    margin-bottom: 0.45rem;
}

.responsible-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.responsible-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.responsible-cta {
    text-align: center;
    width: 100%;
}

.responsible-cta p {
    font-size: 0.84rem;
    color: #475569;
    margin-bottom: 0.95rem;
}

.responsible-cta .btn-ghost {
    color: var(--primary);
    border-color: var(--primary);
    width: 100%;
}

/* ── FAQ SECTION ── */
.faq-section {
    padding: 2.25rem 0;
    background: var(--bg-white);
}

.faq-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-item {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 0.95rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 0.65rem;
}

.faq-question h3 {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

.faq-toggle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 350px;
    padding: 0 1rem 0.95rem;
}

.faq-answer p {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.55;
}

/* ── TRUST BADGES (2x2 Grid) ── */
.trust-section {
    padding: 2rem 0;
    background: var(--bg-surface);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.trust-badge {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.1rem 0.75rem;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.trust-badge h4 {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.trust-badge p {
    font-size: 0.72rem;
    color: var(--text-muted);
}
