/*
Theme Name: WarungBola SEO Index V2
Theme URI: https://warungbola.id
Author: WarungBola
Version: 7.1
Description: Theme dengan single post pages untuk SEO indexing - Support Custom Post Types
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.wb-header {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.wb-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.wb-header a {
    color: white;
    text-decoration: none;
}

/* Navigation */
.wb-nav {
    background: rgba(255,255,255,0.95);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.wb-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.wb-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    transition: all 0.3s;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}
.wb-nav a:hover, .wb-nav a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Breadcrumb */
.wb-breadcrumb {
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: white;
    font-size: 14px;
}
.wb-breadcrumb a {
    color: #667eea;
    text-decoration: none;
}
.wb-breadcrumb a:hover {
    text-decoration: underline;
}

/* Section Title */
.wb-section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 5px solid #667eea;
    color: white;
}

/* Post Grid */
.wb-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Post Card */
.wb-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wb-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.wb-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wb-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.wb-post-card:hover .wb-post-image img {
    transform: scale(1.1);
}

.wb-post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wb-category {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    width: fit-content;
}

.wb-cat-prediksi, .wb-cat-wbseopro_prediction { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.wb-cat-mixparlay, .wb-cat-wbseopro_mixparlay { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; }
.wb-cat-togel, .wb-cat-wbseopro_togel { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: white; }
.wb-cat-highlight, .wb-cat-wbseopro_highlight { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: white; }

.wb-post-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a2e;
    font-weight: 700;
}

.wb-post-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
}

.wb-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.wb-read-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.wb-read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

/* SINGLE POST PAGE */
.wb-single-post {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.wb-single-header {
    border-bottom: 3px solid #667eea;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.wb-single-title {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.3;
}

.wb-single-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
}

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

.wb-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.wb-single-content h2 {
    color: #1a1a2e;
    margin: 30px 0 15px 0;
    font-size: 24px;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.wb-single-content h3 {
    color: #667eea;
    margin: 25px 0 10px 0;
    font-size: 20px;
}

.wb-single-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.wb-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.wb-single-content strong {
    color: #667eea;
}

.wb-single-content ul, .wb-single-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.wb-single-content li {
    margin-bottom: 8px;
}

/* Keywords Tags */
.wb-keywords-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.wb-keywords-title {
    font-size: 18px;
    color: #667eea;
    margin-bottom: 15px;
}

.wb-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wb-keyword-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.wb-keyword-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

/* Related Posts */
.wb-related-posts {
    margin-top: 50px;
}

.wb-related-title {
    font-size: 24px;
    color: white;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #667eea;
}

/* Navigation Buttons */
.wb-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.wb-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wb-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.wb-btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.wb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.wb-footer {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .wb-post-grid {
        grid-template-columns: 1fr;
    }
    .wb-single-post {
        padding: 20px;
    }
    .wb-single-title {
        font-size: 24px;
    }
}
