/*
Theme Name: Mantra200 Prediksi Pro
Theme URI: https://mantra200prediksi.blog
Author: Antigravity AI & Tim Mantra200
Author URI: https://mantra200prediksi.blog
Description: Tema WordPress Satelit SEO Super Kilat & Mewah Khusus Prediksi Togel, Live Draw, dan Paito Warna (HK, SGP, SDY) dengan Tombol Konversi CTA ke Landing Page Resmi.
Version: 1.0.0
Tested up to: 6.8
Requires at least: 5.8
License: GNU General Public License v2 or later
Text Domain: mantra200-pro
Tags: dark-mode, gold-luxury, seo-optimized, lottery-prediction, fast-loading, two-columns
*/

:root {
    --bg-primary: #0a0c12;
    --bg-secondary: #131722;
    --bg-card: #1c2233;
    --border-color: #2a334d;
    --gold-primary: #f59e0b;
    --gold-hover: #d97706;
    --gold-glow: rgba(245, 158, 11, 0.3);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-red: #ef4444;
    --accent-green: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 8px var(--gold-glow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 2px solid var(--gold-primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-title a {
    background: linear-gradient(90deg, #fff 0%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-description {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-cta .btn-cta {
    background: linear-gradient(135deg, var(--gold-primary) 0%, #b45309 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px var(--gold-glow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #fcd34d;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 15px var(--gold-glow); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(245, 158, 11, 0.7); }
    100% { transform: scale(1); box-shadow: 0 0 15px var(--gold-glow); }
}

/* NAVIGATION */
.main-navigation {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.main-navigation li a:hover,
.main-navigation li.current-menu-item a {
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    background-color: rgba(245, 158, 11, 0.05);
}

/* MAIN LAYOUT */
.site-content {
    padding: 30px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

@media (max-width: 900px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ARTICLES & CARDS */
.post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.2s, border-color 0.2s;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.post-title a {
    color: #fff;
}

.post-title a:hover {
    color: var(--gold-primary);
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta .cat-badge {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--gold-primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.post-excerpt {
    color: #d1d5db;
    margin-bottom: 18px;
}

.read-more-btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--bg-secondary);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background-color: var(--gold-primary);
    color: #000;
}

/* SINGLE POST */
.single-post-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    line-height: 1.8;
}

.single-post-content h1, 
.single-post-content h2, 
.single-post-content h3 {
    color: var(--gold-primary);
    margin: 24px 0 14px 0;
    border-left: 4px solid var(--gold-primary);
    padding-left: 12px;
}

.single-post-content p {
    margin-bottom: 18px;
}

.single-post-content ul, 
.single-post-content ol {
    margin: 0 0 18px 24px;
}

/* PREDIKSI & DATA TABLES */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: linear-gradient(90deg, #b45309 0%, var(--gold-primary) 100%);
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    color: #e5e7eb;
    font-weight: 600;
}

table tr:hover td {
    background-color: rgba(245, 158, 11, 0.08);
}

/* SIDEBAR & WIDGETS */
.sidebar .widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 10px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: 700;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.widget ul li:last-child {
    border-bottom: none;
}

/* LIVE DRAW WIDGET BOX */
.live-draw-box {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.live-draw-box h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    background-color: #b45309;
    padding: 6px;
    border-radius: 6px;
}

/* CTA BANNER BOX IN POSTS */
.post-cta-banner {
    background: linear-gradient(135deg, #78350f 0%, #1e1b4b 100%);
    border: 2px solid #fcd34d;
    border-radius: 14px;
    padding: 26px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.post-cta-banner h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.post-cta-banner p {
    color: #fde68a;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* FOOTER */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 2px solid var(--gold-primary);
    padding: 40px 0 20px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}
