/* ==========================================================================
   INDEX.CSS — Mobile-First / Mobile-Only Casino Theme
   Optimized specifically for Mobile Viewport (max-width: 480px on all devices)
   Features Angled Split Hero, 2-Col Mobile Game Grid, Touch-Friendly Action Hub
   ========================================================================== */

/* ==========================================================================
   1. HERO SECTION (Diagonal Angled Mobile Banner matching Reference Image)
   ========================================================================== */

.hero-mobile-section {
    position: relative;
    padding: 1.75rem 1rem 3.5rem;
    background: linear-gradient(135deg, #090C12 0%, #121824 50%, #171E2D 100%);
    overflow: hidden;
    /* Angled bottom cut matching reference image */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), 0 100%);
}

.hero-mobile-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--orange), #FF8533);
}

.hero-mobile-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 102, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 102, 0, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-brand-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.85rem;
}

.hero-logo-img {
    height: 48px;
    max-height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(255, 102, 0, 0.4));
}

.hero-logo-fallback .brand-title {
    color: #FFFFFF;
    font-size: 1.35rem;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid var(--orange-border);
    color: var(--orange);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.hero-mobile-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-white);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero-mobile-title .text-orange {
    color: var(--orange);
}

.hero-mobile-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.hero-btn-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 1.5rem;
}

.hero-btn-actions a {
    width: 100%;
    padding: 12px 0;
    text-align: center;
}

/* Mobile Live Jackpot Card */
.mobile-jackpot-card {
    background: linear-gradient(145deg, rgba(22, 29, 43, 0.95), rgba(13, 17, 26, 0.98));
    border: 1.5px solid var(--orange-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin-top: 1rem;
    position: relative;
}

.jackpot-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.jackpot-card-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.jackpot-card-title i {
    color: var(--orange);
}

.jackpot-display-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    text-align: center;
    margin-bottom: 1rem;
}

.jackpot-display-sub {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.jackpot-big-amount {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.5);
}

.mobile-winner-feed {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.winner-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
}

.winner-row-name {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    font-weight: 600;
}

.winner-row-name i {
    color: var(--orange);
    font-size: 0.75rem;
}

.winner-row-val {
    font-family: var(--font-accent);
    color: #10B981;
    font-weight: 800;
}

/* Hero Stats Row */
.mobile-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.mobile-stat-item strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-white);
    display: block;
    line-height: 1.1;
}

.mobile-stat-item span {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   2. MOBILE QUICK ACTION SHORTCUT HUB (Touch Grid)
   ========================================================================== */

.mobile-action-hub {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 1.25rem 1rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.hub-shortcut-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition-fast);
}

.hub-shortcut-btn:hover {
    border-color: var(--orange);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.hub-shortcut-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange-subtle);
    border: 1px solid var(--orange-border);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.hub-shortcut-btn span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
}

/* ==========================================================================
   3. "TENTANG KAMI" SECTION (Stacked Cards Adaptation of Reference Image)
   ========================================================================== */

.about-mobile-section {
    padding: 2.5rem 1rem;
    position: relative;
}

.about-stacked-preview {
    position: relative;
    background: var(--bg-card);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-stacked-preview img {
    border-radius: var(--radius-sm);
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 0.85rem;
}

.about-floating-badge {
    position: absolute;
    bottom: -15px;
    right: 15px;
    background: linear-gradient(135deg, var(--orange), #FF8533);
    color: var(--text-white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.45);
    border: 1.5px solid #FFFFFF;
}

.about-perks-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 1.25rem 0 1.5rem;
}

.perk-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.perk-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--orange-subtle);
    border: 1px solid var(--orange);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.perk-text strong {
    font-size: 0.88rem;
    color: var(--text-white);
    display: block;
    margin-bottom: 2px;
}

.perk-text span {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
    display: block;
}

/* ==========================================================================
   4. PERMAINAN POPULER UNGGULAN (2-Column Mobile Game Grid)
   ========================================================================== */

.games-mobile-section {
    padding: 2.5rem 1rem;
    background: #090C12;
}

.mobile-category-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
}

.mobile-category-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.mobile-tab-btn.active,
.mobile-tab-btn:hover {
    background: var(--orange);
    color: var(--text-white);
    border-color: var(--orange);
    box-shadow: 0 3px 10px var(--orange-glow);
}

/* 2-Column Mobile Grid for {循环栏目开始 row=all} */
.games-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.mobile-game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-fast);
}

.mobile-game-card:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.mobile-game-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #000;
}

.mobile-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-game-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--text-white);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-game-hot {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--orange);
    color: var(--text-white);
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-game-meta {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mobile-game-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-game-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-game-play {
    margin-top: auto;
    background: var(--orange);
    color: var(--text-white);
    padding: 6px 0;
    text-align: center;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ==========================================================================
   5. SARAN BACAAN & POLA GACOR ({循环图片开始 row=3})
   ========================================================================== */

.articles-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.25rem;
}

.mobile-article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    gap: 10px;
    padding: 10px;
    align-items: center;
}

.mobile-article-card:hover {
    border-color: var(--orange-border);
}

.article-thumb-square {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
}

.article-thumb-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-info-col {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-info-col h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 4px;
}

.article-info-col h3 a {
    color: var(--text-white);
}

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

.article-read-btn {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    text-transform: uppercase;
}

/* ==========================================================================
   6. 6 KEUNGGULAN UTAMA (2-Col Mobile Cards)
   ========================================================================== */

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

.mobile-feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
}

.feature-mini-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    background: var(--orange-subtle);
    border: 1px solid var(--orange-border);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.mobile-feature-box h3 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
    line-height: 1.3;
}

.mobile-feature-box p {
    font-size: 0.74rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ==========================================================================
   7. VIP LOUNGE MOBILE CARDS
   ========================================================================== */

.vip-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.5rem;
}

.vip-mobile-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    position: relative;
}

.vip-mobile-card.featured-vip {
    border-color: var(--orange);
    background: linear-gradient(180deg, #182233 0%, #121824 100%);
}

.vip-mobile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.85rem;
}

.vip-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.vip-bronze-icon { background: rgba(205, 127, 50, 0.15); color: #CD7F32; }
.vip-silver-icon { background: rgba(192, 192, 192, 0.15); color: #E0E0E0; }
.vip-gold-icon   { background: rgba(255, 174, 0, 0.15);   color: #FFAE00; }
.vip-diamond-icon{ background: rgba(0, 212, 255, 0.15);   color: #00D4FF; }

.vip-title-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1.1;
}

.vip-title-meta span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
}

.vip-meter-bar {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    height: 6px;
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.vip-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), #FF8533);
}

.vip-perks-compact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 1rem;
}

.vip-perks-compact li {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vip-perks-compact i {
    color: var(--orange);
    font-size: 0.7rem;
}

.vip-action-pill {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-align: center;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1.5px solid var(--orange);
    color: var(--orange);
}

.vip-action-pill.active-btn {
    background: var(--orange);
    color: var(--text-white);
}

/* ==========================================================================
   8. METODE PEMBAYARAN MOBILE CHIPS
   ========================================================================== */

.payment-mobile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 1.25rem;
}

.payment-chip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.payment-chip-card i {
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 6px;
}

.payment-chip-card strong {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-white);
    display: block;
}

.payment-chip-card span {
    font-size: 0.65rem;
    color: #10B981;
    font-weight: 700;
}

/* ==========================================================================
   9. FAQ & RESPONSIBLE GAMING MOBILE ACCORDION
   ========================================================================== */

.faq-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.25rem;
}

.faq-mobile-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.faq-mobile-box h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}

.faq-mobile-box h4 i {
    color: var(--orange);
    font-size: 0.85rem;
}

.faq-mobile-box p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   10. SEO LONG CONTENT CONTAINER
   ========================================================================== */

.seo-mobile-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 2rem 1rem;
}

.seo-mobile-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.seo-mobile-wrapper p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   11. FOOTER PROMO CTA BANNER (Mobile Banner)
   ========================================================================== */

.footer-mobile-cta {
    background: linear-gradient(135deg, var(--orange) 0%, #FF8533 100%);
    padding: 1.5rem 1rem;
    text-align: center;
    margin-top: 1.5rem;
}

.footer-mobile-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.footer-mobile-cta a {
    background: #0B0E14;
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}