/* ===== BOLA86.asia — Custom Stylesheet ===== */
/* Brand: Sporty Navy Blue + Vibrant Orange + Football Green */

:root {
    --primary: #0D1B2A;
    --primary-light: #1B2A4A;
    --accent: #FF6B00;
    --accent-light: #FF8533;
    --secondary: #1B9E3E;
    --gold: #FFD700;
    --text: #E8E8E8;
    --text-muted: #A0A0A0;
    --bg-dark: #0D1B2A;
    --bg-card: #152338;
    --bg-card-hover: #1B2A4A;
    --border: rgba(255, 107, 0, 0.2);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(13, 27, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent);
    padding: 0.8rem 0;
}

.navbar-brand img { height: 45px; }

.navbar-nav .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
    background: rgba(255, 107, 0, 0.1);
}

.navbar-nav .dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.navbar-nav .dropdown-item {
    color: var(--text);
    transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
    background: var(--accent);
    color: #fff;
}

/* ===== BUTTONS ===== */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-gold {
    background: var(--gold);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 2rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-gold:hover {
    background: #FFE44D;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 0.5rem 1.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(13,27,42,0.92), rgba(20,40,70,0.85)),
                url('../assets/img/hero-bg.jpg') center/cover;
    padding: 3rem 0;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section .text-accent { color: var(--accent); }
.hero-section .text-gold { color: var(--gold); }
.hero-section .text-secondary-custom { color: var(--secondary); }

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    color: var(--accent);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--accent);
}

/* ===== CARDS ===== */
.feature-card,
.game-card,
.blog-card,
.provider-card,
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover,
.game-card:hover,
.blog-card:hover,
.provider-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.game-card img {
    border-radius: 8px;
    margin-bottom: 1rem;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.game-card .game-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.game-card .game-provider {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.game-card .game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ===== SECTIONS ===== */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.section-subtitle {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 1rem 0 2rem;
}

/* ===== SPORTS BETTING TABLE ===== */
.sports-table {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.sports-table table {
    margin-bottom: 0;
    color: var(--text);
}

.sports-table table thead {
    background: var(--accent);
}

.sports-table table thead th {
    color: #fff;
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.sports-table table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sports-table table tbody td {
    padding: 0.8rem 1rem;
    color: var(--text);
    border: none;
    vertical-align: middle;
}

.sports-table table tbody tr:hover {
    background: rgba(255, 107, 0, 0.05);
}

/* ===== RTP LIVE ===== */
rtp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--accent);
}

.rtp-row .rtp-game-name {
    font-weight: 600;
    color: #fff;
}

.rtp-row .rtp-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.rtp-high { color: var(--secondary); }
.rtp-medium { color: var(--gold); }
.rtp-low { color: var(--accent); }

/* ===== PREDIKSI CARDS ===== */
.prediksi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.prediksi-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(27, 158, 62, 0.2);
}

.prediksi-card .league-badge {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.prediksi-card .match-teams {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.prediksi-card .prediksi-pick {
    background: rgba(255, 107, 0, 0.1);
    border: 1px dashed var(--accent);
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 1rem;
}

/* ===== LIVE CASINO ===== */
.casino-card {
    background: linear-gradient(135deg, var(--bg-card), var(--primary-light));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.casino-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.casino-card .live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.casino-card .live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== FAQ ===== */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-card);
    color: var(--text);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent);
}

.accordion-body {
    color: var(--text);
    padding: 1rem 1.25rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #050D15;
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--accent);
}

.footer h5 {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
    background: var(--bg-card);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--accent);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* ===== CONTENT ARTICLE ===== */
.article-content {
    font-size: 1rem;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--gold);
    background: rgba(255, 215, 0, 0.05);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content table {
    width: 100%;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.article-content table th {
    background: var(--accent);
    color: #fff;
    padding: 0.8rem;
}

.article-content table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== TRUST BADGES ===== */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.trust-badge i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* ===== STATS COUNTER ===== */
.stat-box {
    text-align: center;
    padding: 1.5rem;
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROMO CARD ===== */
.promo-card {
    background: linear-gradient(135deg, var(--bg-card), var(--primary-light));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.promo-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.promo-card .promo-header {
    background: linear-gradient(90deg, var(--accent), var(--gold));
    padding: 1rem 1.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.promo-card .promo-body {
    padding: 1.5rem;
}

.promo-card .promo-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .stat-box .stat-number {
        font-size: 1.8rem;
    }
}

/* ===== CRITICAL: Bootstrap text color override ===== */
p { color: var(--text) !important; }
.text-body, .text-dark, .text-secondary { color: var(--text) !important; }
.text-muted, .form-text { color: var(--text-muted) !important; }

/* ===== LOGIN/REGISTER FORMS ===== */
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 480px;
    margin: 0 auto;
}

.auth-card .form-control {
    background: var(--primary);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.auth-card .form-control:focus {
    background: var(--primary);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.15);
}

.auth-card .form-label {
    color: var(--text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 5rem 0;
}

.error-404 .error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.error-404 .error-message {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 2rem;
}

/* ===== LIVE RTP BADGE ===== */
.live-badge-rtp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(27, 158, 62, 0.15);
    color: var(--secondary);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.live-badge-rtp .live-dot-green {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* ===== FLOATING PROMO BAR ===== */
.float-promo-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    border: 2px solid var(--accent);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 -4px 25px rgba(255, 107, 0, 0.3);
    max-width: 600px;
    width: 95%;
}

.float-promo-bar .promo-text {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Blinking Daftar button */
.float-promo-bar .btn-daftar-blink {
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
    background-size: 200% auto;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.8rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    animation: btn-blink 1.5s linear infinite, btn-gradient 3s ease infinite;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    transition: transform 0.2s;
}

.float-promo-bar .btn-daftar-blink:hover {
    transform: scale(1.08);
    color: #fff;
}

@keyframes btn-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(255, 107, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4); }
    50% { opacity: 0.85; box-shadow: 0 0 5px rgba(255, 107, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.2); }
}

@keyframes btn-gradient {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* Body padding so content isn't hidden behind floating bar */
body { padding-bottom: 70px; }

@media (max-width: 576px) {
    .float-promo-bar {
        gap: 0.5rem;
        padding: 0.5rem 0.8rem;
        max-width: 96%;
    }
    .float-promo-bar .promo-text {
        font-size: 0.82rem;
    }
    .float-promo-bar .btn-daftar-blink {
        padding: 0.4rem 1.1rem;
        font-size: 0.85rem;
    }
}