/* ============================================
   BOLA PREDIKSI - Super Lightweight CSS
   No Framework, Pure CSS, ~8KB gzipped
   ============================================ */

:root {
    --primary: #1a5e1f;
    --primary-dark: #0d3d11;
    --accent: #f5a623;
    --accent-hover: #e6951a;
    --bg: #f4f6f8;
    --bg-white: #ffffff;
    --text: #1a1a2e;
    --text-light: #555;
    --text-muted: #888;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
    --radius: 8px;
    --header-h: 70px;
    --max-w: 1280px;
    --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    padding-top: var(--header-h);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }

/* === HEADER STICKY === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: var(--primary-dark);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: background var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
}

.logo img {
    width: 220px;
    height: 90px;
    object-fit: contain;
    max-height: 55px;
}

/* === NAVIGATION === */
.nav { display: flex; align-items: center; gap: 0; }

.nav > li { position: relative; }

.nav > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    height: var(--header-h);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: background var(--transition);
}

.nav > li > a:hover,
.nav > li:hover > a {
    background: var(--primary);
    color: var(--accent);
}

.nav > li > a .arrow {
    font-size: 10px;
    transition: transform var(--transition);
}

.nav > li:hover > a .arrow { transform: rotate(180deg); }

/* === MEGA MENU === */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 560px;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

.nav > li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu a {
    display: block;
    padding: 8px 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    transition: all var(--transition);
}

.mega-menu a:hover {
    background: var(--primary);
    color: #fff;
}

.mega-menu .mega-title {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 12px 8px;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 4px;
}

/* === DROPDOWN (simple) === */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

.nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--primary); color: #fff; }

/* === HAMBURGER === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === MOBILE NAV === */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.active { opacity: 1; }

/* === HERO SLIDER === */
.slider-section {
    background: var(--primary-dark);
    padding: 20px 0;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    max-height: 420px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.slide-category {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.slide-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 6px;
}

.slide-title a { color: #fff; }
.slide-title a:hover { color: var(--accent); }

.slide-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.slider-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.4);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition);
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* === MAIN LAYOUT === */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    padding: 24px 0;
}

/* === JADWAL SECTION === */
.jadwal-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary);
    color: #fff;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header .badge {
    background: var(--accent);
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.jadwal-date {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.jadwal-table {
    width: 100%;
    border-collapse: collapse;
}

.jadwal-table th {
    background: var(--primary-dark);
    color: #fff;
    padding: 10px 12px;
    font-size: 12px;
    text-transform: uppercase;
    text-align: left;
}

.jadwal-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    vertical-align: middle;
}

.jadwal-table tr:hover { background: #f8f9fa; }

.jadwal-table .league {
    font-weight: 700;
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
}

.jadwal-table .time {
    font-weight: 700;
    color: var(--accent-hover);
    white-space: nowrap;
}

.jadwal-table .teams {
    font-weight: 600;
}

.jadwal-table .vs {
    color: var(--text-muted);
    font-size: 11px;
    margin: 0 4px;
}

.jadwal-table .prediction {
    background: #e8f5e9;
    color: var(--primary-dark);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.jadwal-no-data {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.jadwal-no-data .icon { font-size: 48px; margin-bottom: 12px; }

/* === SIDEBAR === */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.widget-title {
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Search Widget */
.search-widget { padding: 16px; }

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 14px;
    border: 2px solid var(--border);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border var(--transition);
}

.search-box input:focus { border-color: var(--primary); }

.search-box button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.autocomplete-list.active { display: block; }

.autocomplete-item {
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.autocomplete-item:hover { background: #f0f7f0; }
.autocomplete-item:last-child { border-bottom: none; }

/* Banner Widget */
.banner-widget a { display: block; }
.banner-widget img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* Popular Posts Widget */
.popular-list { padding: 0; }

.popular-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.popular-item:hover { background: #f8f9fa; }
.popular-item:last-child { border-bottom: none; }

.popular-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.popular-item:nth-child(1) .popular-num { background: #e74c3c; }
.popular-item:nth-child(2) .popular-num { background: #e67e22; }
.popular-item:nth-child(3) .popular-num { background: #f1c40f; color: #333; }

.popular-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-title a { color: var(--text); }
.popular-title a:hover { color: var(--primary); }

.popular-views {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* === POST CARDS (Berita) === */
.posts-section { margin-bottom: 24px; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.post-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.post-card-img {
    height: 160px;
    overflow: hidden;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.post-card:hover .post-card-img img { transform: scale(1.05); }

.post-card-body { padding: 14px; }

.post-card-cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.post-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--primary); }

.post-card-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

/* === SINGLE POST === */
.single-content {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 24px;
}

.single-content h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.single-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.single-featured {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.single-body { font-size: 16px; line-height: 1.8; }
.single-body h2 { font-size: 22px; margin: 24px 0 12px; }
.single-body h3 { font-size: 18px; margin: 20px 0 10px; }
.single-body p { margin-bottom: 16px; }
.single-body img { border-radius: var(--radius); margin: 16px 0; }
.single-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 20px;
    margin: 16px 0;
    background: #f8f9fa;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

/* === FOOTER === */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer p { font-size: 13px; line-height: 1.7; }

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 4px 0;
    font-size: 13px;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 12px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb span { margin: 0 6px; }

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.pagination a {
    background: var(--bg-white);
    color: var(--text);
    box-shadow: var(--shadow);
}

.pagination a:hover { background: var(--primary); color: #fff; }

.pagination .current {
    background: var(--primary);
    color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr 280px; }
    .mega-menu { min-width: 400px; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }
    
    .hamburger { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: stretch;
        padding-top: 70px;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    }
    
    .nav.active { right: 0; }
    .mobile-overlay.active { display: block; }
    
    .nav > li > a {
        height: auto;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mega-menu, .dropdown {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0,0,0,0.2);
        padding: 0;
        grid-template-columns: 1fr;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .nav > li.open .mega-menu,
    .nav > li.open .dropdown { display: grid; }
    
    .mega-menu a, .dropdown a {
        color: rgba(255,255,255,0.8);
        padding: 10px 30px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .mega-menu a:hover, .dropdown a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .mega-menu .mega-title {
        color: var(--accent);
        border-bottom-color: rgba(255,255,255,0.1);
    }
    
    .main-layout { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .slide img { height: 250px; }
    .slide-title { font-size: 18px; }
    .slide-overlay { padding: 20px 16px 16px; }
    
    .single-content { padding: 20px; }
    .single-content h1 { font-size: 22px; }
    
    .jadwal-table { font-size: 12px; }
    .jadwal-table th, .jadwal-table td { padding: 8px 6px; }
}

@media (max-width: 480px) {
    .logo img { width: 150px; max-height: 40px; }
    .slide img { height: 200px; }
    .slide-title { font-size: 16px; }
}

/* === LOADING SKELETON === */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 900;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover { background: var(--accent); color: #000; }

/* === ADMIN STYLES === */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
}

.login-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }

.form-group textarea { min-height: 200px; resize: vertical; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-danger { background: #e74c3c; color: #fff; }
.btn-danger:hover { background: #c0392b; }
.btn-accent { background: var(--accent); color: #000; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--primary-dark);
    padding: 20px 0;
}

.admin-sidebar .logo { padding: 0 20px 20px; }

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all var(--transition);
}

.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.admin-main { padding: 24px; background: var(--bg); }

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-header h1 { font-size: 24px; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-card .num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.stat-card .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.data-table {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--text-muted);
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

@media (max-width: 768px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === PREDIKSI PARLAY CARD === */
.prediction-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.prediction-card h3 {
    color: var(--primary);
    margin: 0 0 16px 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prediction-item {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease;
}

.prediction-item:hover {
    transform: translateX(4px);
}

.prediction-item:last-child {
    margin-bottom: 0;
}

.prediction-team {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.prediction-league {
    font-size: 11px;
    color: var(--text-muted);
}

.prediction-badge {
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.prediction-odds {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: right;
}

.prediction-total {
    background: var(--primary);
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
}

.prediction-total .odds {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin: 6px 0;
}

.prediction-total .stake {
    font-size: 12px;
    opacity: 0.9;
}

/* === SKOR PREDIKSI GRID === */
.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.score-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    transition: box-shadow 0.2s ease;
}

.score-card:hover {
    box-shadow: var(--shadow);
}

.score-card .league-name {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.score-card .match-name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.score-card .score-label {
    font-size: 12px;
    color: var(--text-muted);
}

.score-card .score-value {
    background: var(--accent);
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
}

/* === RESPONSIVE PREDICTION === */
@media (max-width: 768px) {
    .prediction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .prediction-badge {
        align-self: flex-end;
    }
    
    .score-grid {
        grid-template-columns: 1fr;
    }
}

/* === TOMBOL CEK PREDIKSI (MERAH METALIK BERKILAU) === */
.btn-prediksi {
    background: linear-gradient(180deg, #ff4d4d 0%, #cc0000 50%, #990000 100%);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 0 #660000, 0 5px 10px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-prediksi:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #660000, 0 3px 6px rgba(0,0,0,0.3);
}

.btn-prediksi:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #660000, 0 1px 2px rgba(0,0,0,0.3);
}

/* Efek Kilauan (Shine Animation) */
.btn-prediksi::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.6s ease;
}

.btn-prediksi:hover::before {
    left: 100%;
}

/* === POPUP / MODAL PREDIKSI === */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 16px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border-top: 5px solid #cc0000;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px; right: 16px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover { color: #cc0000; }

.prediksi-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.prediksi-box {
    background: #f8f9fa;
    padding: 16px 10px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.prediksi-box .label {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.prediksi-box .value {
    font-size: 22px;
    font-weight: 800;
}

.value-score { color: #1a5e1f; }
.value-ou { color: #f5a623; }

.prediksi-odds {
    margin-top: 16px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #856404;
}

/* === 3D SOCIAL MEDIA ICONS === */
.social-3d-container {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px dashed #e0e0e0;
}

.social-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.social-3d-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek membal (bouncy) */
    position: relative;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

/* --- FACEBOOK --- */
.social-icon.fb {
    background: #1877F2;
    box-shadow: 0 4px 0 #0d5cbf, 0 5px 10px rgba(0,0,0,0.2);
}
.social-icon.fb:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 #0d5cbf, 0 10px 20px rgba(24, 119, 242, 0.4);
}

/* --- X.COM --- */
.social-icon.x {
    background: #000000;
    box-shadow: 0 4px 0 #333333, 0 5px 10px rgba(0,0,0,0.2);
}
.social-icon.x:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 #333333, 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* --- PINTEREST --- */
.social-icon.pin {
    background: #E60023;
    box-shadow: 0 4px 0 #ad001b, 0 5px 10px rgba(0,0,0,0.2);
}
.social-icon.pin:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 #ad001b, 0 10px 20px rgba(230, 0, 35, 0.4);
}

/* --- INSTAGRAM --- */
.social-icon.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 0 #911269, 0 5px 10px rgba(0,0,0,0.2);
}
.social-icon.ig:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 #911269, 0 10px 20px rgba(220, 39, 67, 0.4);
}

/* Efek putar sedikit pada ikon saat hover */
.social-icon:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive Mobile */
@media (max-width: 480px) {
    .social-icon {
        width: 44px;
        height: 44px;
    }
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* === TOMBOL CTA 3D MERAH BERKILAU (UNTUK POPUP) === */
.cta-buttons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.btn-cta-3d {
    background: linear-gradient(180deg, #ff4d4d 0%, #cc0000 50%, #990000 100%);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 0 #660000, 0 6px 12px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-cta-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #660000, 0 8px 16px rgba(0,0,0,0.4);
}

.btn-cta-3d:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #660000, 0 3px 6px rgba(0,0,0,0.3);
}

/* Efek Kilauan (Shine Animation) */
.btn-cta-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.6s ease;
}

.btn-cta-3d:hover::before {
    left: 100%;
}

/* Icon dalam tombol */
.btn-cta-3d .icon {
    font-size: 12px;
    margin-right: 6px;
}

/* Responsive untuk mobile */
@media (max-width: 480px) {
    .cta-buttons-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .btn-cta-3d {
        padding: 0px;
        font-size: 12px;
    }
}

/* === KONTEN SEO HOMEPAGE (DI ATAS BERITA) === */
.homepage-seo-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.homepage-seo-content h2 {
    font-size: 22px;
    color: #1a5e1f;
    margin: 0 0 16px 0;
    font-weight: 800;
    line-height: 1.3;
}

.homepage-seo-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 12px 0;
    text-align: justify;
}

.homepage-seo-content strong {
    color: #1a5e1f;
}

@media (max-width: 768px) {
    .homepage-seo-content {
        padding: 20px;
    }
    .homepage-seo-content h2 {
        font-size: 18px;
    }
    .homepage-seo-content p {
        font-size: 13px;
    }
}

/* === PAGINATION STYLE === */
.btn-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-page:hover {
    background: #f0f7f0;
    border-color: #1a5e1f;
    color: #1a5e1f;
}

.btn-page.active {
    background: #1a5e1f;
    color: #ffffff;
    border-color: #1a5e1f;
    cursor: default;
}