/* ==========================================================================
   AW8 Indonesia - Brand Portal Styles
   Theme: Pure Black (#000000), Orange Accent (#f1aa3b)
   Layout: Info Portal + SEO Content
   ========================================================================== */

html, body {
    background-color: #000000 !important;
}

/* Shimmer animation */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.shimmer-mask {
    position: relative;
    overflow: hidden;
}

.shimmer-mask::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    animation: shimmer 1.8s infinite ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f1aa3b;
}

/* Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 600px;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
}

/* Promo carousel */
.promo-carousel {
    position: relative;
}

.promo-track {
    will-change: transform;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
}

.promo-dot.active {
    width: 24px;
    background: #f1aa3b;
}

/* TOC numbered list */
.toc-list {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
}

.toc-list li {
    counter-increment: toc;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.toc-list li::before {
    content: counter(toc) ".";
    font-family: Outfit, Inter, sans-serif;
    font-weight: 700;
    color: #f1aa3b;
    font-size: 0.75rem;
    min-width: 1.25rem;
}

/* Utilities */
.border-glow-blue {
    border-color: rgba(241, 170, 59, 0.35);
    box-shadow: 0 0 20px rgba(241, 170, 59, 0.15);
}

.text-gradient-blue-yellow {
    background: linear-gradient(135deg, #ffffff 0%, #f1aa3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scroll offset for sticky header */
[id] {
    scroll-margin-top: 5.5rem;
}

/* Provider logo marquee */
.provider-marquee {
    overflow: hidden;
    padding: 0.35rem 0 0.5rem;
    border-radius: 1rem;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.provider-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    animation: provider-marquee-scroll 32s linear infinite;
}

.provider-marquee:hover .provider-marquee-track {
    animation-play-state: paused;
}

.provider-marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    width: 11rem;
    text-decoration: none;
}

.provider-marquee-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 11rem;
    height: 7rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.provider-marquee-item:hover .provider-marquee-logo {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.provider-marquee-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.provider-marquee-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.provider-marquee-item:hover .provider-marquee-label {
    color: #93c5fd;
}

@keyframes provider-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
    .provider-marquee-item,
    .provider-marquee-logo {
        width: 9.25rem;
    }

    .provider-marquee-logo {
        height: 6rem;
        padding: 0.85rem 1rem;
        border-radius: 0.85rem;
    }

    .provider-marquee-label {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .provider-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        padding: 0 1rem;
        gap: 0.85rem;
    }
}

/* ==========================================================================
   Light SEO content zone (from H1 "AW8 Official Indonesia" downward)
   Remaps dark-theme Tailwind utilities to readable light surfaces.
   ========================================================================== */
.content-light {
    background-color: #ffffff !important;
    color: #334155;
}

.content-light section {
    border-color: #e2e8f0 !important;
}

.content-light .text-white {
    color: #0f172a !important;
}

.content-light .text-slate-300 {
    color: #475569 !important;
}

.content-light .text-slate-400 {
    color: #64748b !important;
}

.content-light .text-slate-500 {
    color: #64748b !important;
}

.content-light .bg-black {
    background-color: #ffffff !important;
}

.content-light [class*="bg-surface-900"],
.content-light [class*="bg-surface-850"] {
    background-color: #f8fafc !important;
}

.content-light [class*="border-white"] {
    border-color: #e2e8f0 !important;
}

.content-light [class*="divide-white"] > :not([hidden]) ~ :not([hidden]) {
    border-color: #e2e8f0 !important;
}

.content-light .hover\:border-blue-500\/30:hover,
.content-light .hover\:border-blue-500\/50:hover,
.content-light .hover\:border-yellow-400\/40:hover,
.content-light .hover\:border-blue-400\/40:hover {
    border-color: rgba(59, 130, 246, 0.45) !important;
}

.content-light .hover\:bg-white\/\[0\.02\]:hover,
.content-light .hover\:bg-white\/\[0\.03\]:hover,
.content-light .hover\:bg-white\/\[0\.04\]:hover,
.content-light .hover\:bg-white\/\[0\.08\]:hover {
    background-color: #f1f5f9 !important;
}

.content-light .bg-blue-950\/50,
.content-light .bg-blue-950\/40,
.content-light .bg-blue-600\/15 {
    background-color: #eff6ff !important;
}

.content-light .border-blue-500\/20,
.content-light .border-blue-500\/25,
.content-light .border-blue-400\/30 {
    border-color: #bfdbfe !important;
}

.content-light .border-emerald-500\/20 {
    border-color: #a7f3d0 !important;
}

.content-light .border-red-500\/20 {
    border-color: #fecaca !important;
}

.content-light table thead {
    background-color: #f1f5f9 !important;
}

.content-light .provider-marquee-logo {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.content-light .provider-marquee-label {
    color: #334155;
}

.content-light .provider-marquee-item:hover .provider-marquee-label {
    color: #f1aa3b;
}

.content-light .provider-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* Keep CTA buttons readable on light background */
.content-light a.bg-gradient-to-r.from-yellow-400,
.content-light a.from-yellow-400 {
    color: #000000 !important;
}

.content-light a.border-white\/20 {
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
}

.content-light .accordion-btn .text-white,
.content-light .accordion-btn span {
    color: #0f172a !important;
}

/* Animated moving arrow for DAFTAR CTA buttons */
@keyframes arrow-move-x {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

.arrow-moving {
    display: inline-block;
    animation: arrow-move-x 1s ease-in-out infinite;
    will-change: transform;
}
