/*
Theme Name: WP Jackpot Proof
Theme URI: https://yoursite.com/wp-jackpot-proof
Author: Luna Developer
Author URI: https://yoursite.com
Description: Professional WordPress theme untuk menampilkan bukti kemenangan/jackpot dengan desain modern, responsif, SEO friendly, dan keamanan tinggi.
Version: 1.3.1
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-jackpot-proof
Tags: custom-menu, custom-logo, featured-images, responsive-layout, one-column, two-columns, custom-colors, custom-background, custom-header, editor-style, footer-widgets, sticky-post, theme-options, threaded-comments, translation-ready

WP Jackpot Proof adalah theme WordPress profesional yang dirancang khusus untuk 
menampilkan bukti kemenangan permainan dengan tampilan modern dan performa optimal.
*/

/* ==========================================================================
   CSS Variables / Root
   Note: These defaults can be overridden by Theme Customizer
   ========================================================================== */
:root {
    /* Background Colors */
    --wpjp-bg-color: #111111;
    --wpjp-card-bg: #1a1a1a;
    --wpjp-header-bg: #111111;
    --wpjp-footer-bg: #1a1a1a;
    
    /* Accent Colors */
    --wpjp-accent: #fdd702;
    --wpjp-accent-hover: #e9ab00;
    
    /* Text Colors */
    --wpjp-text-color: #ffffff;
    --wpjp-text-muted: #888888;
    
    /* Border */
    --wpjp-border-color: #333333;
    
    /* Running Text / Marquee */
    --wpjp-marquee-bg: #e9ab00;
    --wpjp-marquee-text: #111111;
    
    /* Legacy variable aliases for backward compatibility */
    --primary-color: var(--wpjp-bg-color);
    --secondary-color: var(--wpjp-text-color);
    --accent-color: var(--wpjp-accent);
    --accent-hover: var(--wpjp-accent-hover);
    --card-bg: var(--wpjp-card-bg);
    --border-color: var(--wpjp-border-color);
    --text-muted: var(--wpjp-text-muted);
    
    /* Other Variables */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--wpjp-bg-color);
    color: var(--wpjp-text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--wpjp-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--wpjp-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 20px 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background-color: var(--wpjp-header-bg);
    border-bottom: 2px solid var(--wpjp-accent);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wpjp-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--wpjp-text-color);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--accent-color);
    border: none;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Search Form */
.header-search {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    position: relative;
}

.search-form input[type="text"],
.search-form input[type="search"] {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    padding-right: 45px;
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    font-size: 0.9rem;
    width: 250px;
    transition: all var(--transition-fast);
}

.search-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(253, 215, 2, 0.2);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: none;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: var(--primary-color);
    transition: background var(--transition-fast);
}

.search-form button:hover {
    background: var(--accent-hover);
}

/* ==========================================================================
   Marquee / Running Text
   ========================================================================== */
.running-text {
    background-color: var(--wpjp-marquee-bg);
    padding: 10px 0;
    overflow: hidden;
}

.running-text-inner {
    display: flex;
    animation: marquee 30s linear infinite;
}

.running-text p {
    margin: 0;
    padding: 0 50px;
    color: var(--wpjp-marquee-text);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Page Title Section
   ========================================================================== */
.page-header {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 20px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wpjp-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.page-description {
    color: var(--wpjp-text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Jackpot Cards Grid
   ========================================================================== */
.jackpot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.jackpot-card {
    background: var(--wpjp-card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--wpjp-border-color);
    display: flex;
    flex-direction: column;
}

.jackpot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--wpjp-accent);
}

.jackpot-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--wpjp-bg-color);
}

.jackpot-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.jackpot-card:hover .jackpot-card-image img {
    transform: scale(1.05);
}

.jackpot-card-image .game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.jackpot-card-content {
    padding: 15px;
    flex: 1;
}

.jackpot-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--wpjp-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jackpot-card-title a {
    color: inherit;
}

.jackpot-card-title a:hover {
    color: var(--wpjp-accent);
}

.jackpot-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.jackpot-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wpjp-accent);
}

.jackpot-date {
    font-size: 0.75rem;
    color: var(--wpjp-text-muted);
}

.jackpot-date i {
    color: var(--wpjp-accent);
    margin-right: 5px;
}

.jackpot-card-excerpt {
    font-size: 0.85rem;
    color: var(--wpjp-text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

.jackpot-card-footer {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--wpjp-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jackpot-username {
    font-size: 0.85rem;
    color: var(--wpjp-text-color);
}

.jackpot-username i {
    color: var(--wpjp-accent);
    margin-right: 5px;
}

.read-more-link {
    font-size: 0.85rem;
    color: var(--wpjp-accent);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-fast);
}

.read-more-link:hover {
    color: var(--wpjp-accent-hover);
    gap: 8px;
}

/* ==========================================================================
   Single Jackpot/Post - FULL WIDTH LAYOUT
   ========================================================================== */
.single-jackpot-article,
.single-post-article {
    width: 100%;
}

/* Featured Image - Full Width */
.single-jackpot-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid var(--wpjp-accent);
    background: var(--wpjp-card-bg);
}

.single-jackpot-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Details Grid - 4 columns on desktop */
.jackpot-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: var(--wpjp-card-bg);
    border: 1px solid var(--wpjp-border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all var(--transition-normal);
}

.detail-card:hover {
    border-color: var(--wpjp-accent);
    transform: translateY(-3px);
}

.detail-card-highlight {
    background: linear-gradient(135deg, var(--wpjp-accent), var(--wpjp-accent-hover));
    border: none;
}

.detail-card-highlight .detail-label,
.detail-card-highlight .detail-value {
    color: var(--wpjp-bg-color) !important;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.5rem;
    color: var(--wpjp-accent);
}

.detail-card-highlight .detail-icon {
    background: rgba(0, 0, 0, 0.15);
}

.detail-card-highlight .detail-icon i {
    color: var(--wpjp-bg-color);
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--wpjp-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.detail-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wpjp-text-color);
}

.detail-amount {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Single Content Area */
.single-jackpot-content {
    background: var(--wpjp-card-bg);
    border: 1px solid var(--wpjp-border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--wpjp-text-color);
}

.single-jackpot-content p {
    margin-bottom: 1rem;
}

.single-jackpot-content a {
    color: var(--wpjp-accent);
}

.single-jackpot-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

/* Categories */
.single-jackpot-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-label {
    font-size: 0.9rem;
    color: var(--wpjp-text-muted);
}

.category-badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--wpjp-card-bg);
    border: 1px solid var(--wpjp-border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--wpjp-text-color);
    transition: all var(--transition-fast);
}

.category-badge:hover {
    background: var(--wpjp-accent);
    border-color: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

/* Navigation */
.single-jackpot-nav {
    margin-bottom: 40px;
}

.nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav-prev,
.nav-next {
    background: var(--wpjp-card-bg);
    border: 1px solid var(--wpjp-border-color);
    color: var(--wpjp-text-color);
}

.nav-prev:hover,
.nav-next:hover {
    background: var(--wpjp-accent);
    border-color: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

.nav-home {
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

.nav-home:hover {
    background: var(--wpjp-accent-hover);
    color: var(--wpjp-bg-color);
}

/* Related Section */
.related-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--wpjp-border-color);
}

.related-section .page-header {
    padding: 20px 0;
}

.related-section .page-title {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .jackpot-details-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .detail-card {
        padding: 15px;
    }
    
    .detail-icon {
        width: 40px;
        height: 40px;
    }
    
    .detail-icon i {
        font-size: 1.2rem;
    }
    
    .detail-value {
        font-size: 1rem;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .jackpot-details-grid {
        grid-template-columns: 1fr;
    }
    
    .single-jackpot-content {
        padding: 20px;
    }
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination li a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.pagination li .current,
.pagination li span.current {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* jQuery Paginate Override */
.paginate-pagination ul {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.paginate-pagination ul > li > a.page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.paginate-pagination ul > li > a.page:hover,
.paginate-pagination ul > li > a.page.active {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.paginate-pagination ul > li > a.page.deactive {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--wpjp-footer-bg);
    border-top: 2px solid var(--wpjp-accent);
    padding: 40px 0 20px;
    margin-top: auto;
}

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

.footer-widget h4 {
    color: var(--wpjp-accent);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget ul li a {
    color: var(--wpjp-text-muted);
}

.footer-widget ul li a:hover {
    color: var(--wpjp-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--wpjp-border-color);
}

.copyright {
    font-size: 0.85rem;
    color: var(--wpjp-text-muted);
    text-transform: uppercase;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

.btn-primary:hover {
    background: var(--wpjp-accent-hover);
    color: var(--wpjp-bg-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--wpjp-accent);
    color: var(--wpjp-accent);
}

.btn-outline:hover {
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

/* ==========================================================================
   No Content / Empty States
   ========================================================================== */
.no-jackpots,
.no-results {
    padding: 60px 20px;
    text-align: center;
}

.no-content-message {
    max-width: 500px;
    margin: 0 auto;
}

.no-content-message i {
    color: var(--wpjp-accent);
    margin-bottom: 20px;
    display: block;
}

.no-content-message h2 {
    color: var(--wpjp-accent);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-content-message p {
    color: var(--wpjp-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.no-content-message .btn-primary {
    margin-top: 10px;
}

/* ==========================================================================
   Loading States
   ========================================================================== */
.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, #2a2a2a 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 h1 {
    font-size: 6rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* ==========================================================================
   Lazy Load Placeholder
   ========================================================================== */
.lazy {
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lazy.loaded {
    opacity: 1;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media screen and (max-width: 992px) {
    .header-inner {
        flex-direction: column;
    }
    
    .main-navigation {
        width: 100%;
        order: 3;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-search {
        order: 2;
        width: 100%;
    }
    
    .search-form input[type="text"],
    .search-form input[type="search"] {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .jackpot-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .single-jackpot-content {
        padding: 20px;
    }
    
    .jackpot-details {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 480px) {
    .site-logo .logo-text {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .jackpot-grid {
        grid-template-columns: 1fr;
    }
    
    .jackpot-details {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Content Layout with Sidebar
   ========================================================================== */
.content-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.content-wrapper.full-width .content-main {
    width: 100%;
}

.content-wrapper.has-sidebar .content-main {
    flex: 1;
    min-width: 0;
}

.content-wrapper.has-sidebar .content-sidebar {
    width: 320px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .content-wrapper.has-sidebar .content-sidebar {
        width: 100%;
    }
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: var(--wpjp-card-bg);
    border: 1px solid var(--wpjp-border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
}

.sidebar-widget .widget-title {
    color: var(--wpjp-accent);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--wpjp-border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Recent Jackpots Widget */
.recent-jackpots-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-jackpot-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--wpjp-border-color);
}

.recent-jackpot-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-jackpot-item a {
    display: flex;
    gap: 12px;
    color: var(--wpjp-text-color);
    text-decoration: none;
}

.recent-jackpot-item a:hover .rj-title {
    color: var(--wpjp-accent);
}

.rj-thumb {
    flex-shrink: 0;
}

.rj-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.rj-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.rj-title {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rj-amount {
    color: var(--wpjp-accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.rj-user {
    color: var(--wpjp-text-muted);
    font-size: 0.8rem;
}

/* Categories Widget */
.jackpot-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jackpot-categories-list li {
    margin-bottom: 8px;
}

.jackpot-categories-list li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    color: var(--wpjp-text-color);
    transition: all var(--transition-fast);
}

.jackpot-categories-list li a:hover {
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

.jackpot-categories-list .count {
    opacity: 0.7;
}

/* Tags Widget */
.jackpot-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jackpot-tags-cloud .tag-link {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    color: var(--wpjp-text-color);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.jackpot-tags-cloud .tag-link:hover {
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

/* ==========================================================================
   Tags Styling (Single Post)
   ========================================================================== */
.single-jackpot-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-label {
    font-size: 0.9rem;
    color: var(--wpjp-text-muted);
}

.meta-label i {
    margin-right: 5px;
    color: var(--wpjp-accent);
}

.tag-badge {
    display: inline-block;
    padding: 5px 12px;
    background: transparent;
    border: 1px solid var(--wpjp-border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--wpjp-text-muted);
    transition: all var(--transition-fast);
}

.tag-badge:hover {
    background: var(--wpjp-accent);
    border-color: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

/* ==========================================================================
   Footer Styles (with Customizer colors)
   ========================================================================== */
.site-footer {
    background-color: var(--wpjp-footer-bg, #0a0a0a);
    border-top: 2px solid var(--wpjp-accent);
    padding: 40px 0 20px;
    margin-top: auto;
    color: var(--wpjp-footer-text, #888888);
}

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

.footer-widget-area .footer-widget {
    background: transparent;
    border: none;
    padding: 0;
}

.footer-widget .widget-title,
.footer-widget h4 {
    color: var(--wpjp-accent);
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: var(--wpjp-footer-text, #888888);
    transition: color var(--transition-fast);
}

.footer-widget ul li a:hover {
    color: var(--wpjp-footer-link, #fdd702);
}

.footer-widget p {
    color: var(--wpjp-footer-text, #888888);
    line-height: 1.7;
}

.footer-navigation {
    padding: 20px 0;
    border-top: 1px solid var(--wpjp-border-color);
    border-bottom: 1px solid var(--wpjp-border-color);
    margin-bottom: 20px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li a {
    color: var(--wpjp-footer-text, #888888);
    transition: color var(--transition-fast);
}

.footer-menu li a:hover {
    color: var(--wpjp-footer-link, #fdd702);
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--wpjp-footer-text, #888888);
}

/* ==========================================================================
   Popup Styles
   ========================================================================== */
.wpjp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wpjp-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wpjp-popup-container {
    background: var(--wpjp-popup-bg, #1a1a1a);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid var(--wpjp-accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.wpjp-popup-overlay.active .wpjp-popup-container {
    transform: scale(1);
}

.wpjp-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: var(--wpjp-text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all var(--transition-fast);
}

.wpjp-popup-close:hover {
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
}

.wpjp-popup-image {
    width: 100%;
}

.wpjp-popup-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.wpjp-popup-content {
    padding: 25px;
    text-align: center;
}

.wpjp-popup-title {
    color: var(--wpjp-accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.wpjp-popup-text {
    color: var(--wpjp-text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.wpjp-popup-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.wpjp-popup-button:hover {
    background: var(--wpjp-accent-hover);
    color: var(--wpjp-bg-color);
    transform: translateY(-2px);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--wpjp-accent);
    color: var(--wpjp-bg-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--wpjp-accent-hover);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .pagination-wrapper,
    .search-form,
    .back-to-top,
    .content-sidebar,
    .wpjp-popup-overlay {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .jackpot-card {
        break-inside: avoid;
    }
}
