:root {
    --primary-color: #0066ff;
    --secondary-color: #1a1a1a;
    --accent-color: #4d94ff;
    --text-color: #ffffff;
    --dark-bg: #000000;
    --lighter-dark: #111111;
    --card-bg: #1a1a1a;
    --border-color: #333333;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    --primary-color-rgb: 0, 102, 255;
    --jackpot-color: linear-gradient(135deg, #ffbb00 0%, #ff8c00 100%);
    --jackpot-glow: 0 0 10px rgba(255, 187, 0, 0.7);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-bg);
    line-height: 1.6;
    padding-top: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-color);
}

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

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

.main-header {
    background-color: var(--dark-bg);
    color: white;
    position: relative;
    z-index: 100;
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.navbar-brand img {
    height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.search-form {
    width: 100%;
    max-width: 500px;
}

.search-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 30px 0 0 30px;
    padding: 12px 20px;
    height: 46px;
}

.search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.search-form .btn {
    border-radius: 0 30px 30px 0;
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    height: 46px;
    padding: 0 20px;
}

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

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
    opacity: 1;
}

.post-btn {
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
    transition: all 0.3s;
}

.post-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.4);
    color: white;
}

.hero-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1601513445506-2ab0d4fb4229?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    margin-bottom: 40px;
    position: relative;

    border-radius: 0 0 20px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), #4d94ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-right: 15px;
    margin-bottom: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #4d94ff, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.main-title-section {
    padding: 30px 0 50px;
    /* margin-bottom: 10px; */
    position: relative;

    background: radial-gradient(circle at center, #111111 0%, var(--dark-bg) 100%);
}

.main-title {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--primary-color), #4d94ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 102, 255, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
    text-transform: uppercase;
}

/* Marquee styling */
.marquee-container {
    margin-top: 20px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

/* Dashed divider */
.dashed-divider {
    max-width: 100%;
    margin: 20px auto 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8) 50%, transparent 50%);
    background-size: 20px 2px;
    background-repeat: repeat-x;
    animation: moveDash 30s linear infinite;
}

@keyframes moveDash {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 800px 0;
    }
}

.marquee-item {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0, 102, 255, 0.7);
    animation: flash 1.5s infinite;
    padding: 0 10px;
}

.marquee-separator {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 15px;
    animation: spin 3s linear infinite;
    display: inline-block;
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(0, 102, 255, 0.5), 0 0 10px rgba(0, 102, 255, 0.3);
    }

    to {
        text-shadow: 0 0 10px rgba(0, 102, 255, 0.7), 0 0 20px rgba(0, 102, 255, 0.5), 0 0 30px rgba(0, 102, 255, 0.3);
    }
}

.section-title {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #4d94ff);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.category-section {
    padding: 80px 0;
    background-color: var(--lighter-dark);
    border-radius: 20px;
    margin-bottom: 80px;
}

.category-card {
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    cursor: pointer;
    height: 100%;
    border: 1px solid var(--border-color);

}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.category-card .icon-container {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.category-card i {
    font-size: 2.5rem;
    color: white;
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-color);
    transition: color 0.3s;
    padding: 10px 0;
}

.category-card:hover h5 {
    color: var(--primary-color);
}

.featured-section {
    padding: 80px 0;
}

.post-card {
    background-color: var(--card-bg);
    border-radius: 10px;

    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    position: relative;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    height: 100%;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.post-card-img-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (9 / 16 = 0.5625 = 56.25%) */
    overflow: hidden;
    cursor: pointer;
}

.post-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.3s;
}

.post-card:hover .post-card-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Overlay efek untuk menunjukkan bahwa gambar dapat diklik */
.post-card-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.post-card:hover .post-card-img-container::after {
    opacity: 1;
}

.featured-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.post-card-body {
    padding: 20px;
}

.post-card-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    text-decoration: none;
}

.post-card-category:hover {
    background-color: #3056d3;
    color: white;
}

.post-card-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--text-color);
    display: block;
}

.post-card-title a {
    color: var(--text-color);
    text-decoration: none;
}

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

.post-card-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 4.8rem;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.read-more {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3056d3, var(--primary-color));
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 20px;
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 102, 255, 0.3);
    color: white;
}

.read-more:hover::before {
    left: 0;
}

/* Style untuk tombol yang membuka tab baru */
.open-new-tab-icon {
    font-size: 0.8rem;
    margin-left: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.read-more:hover .open-new-tab-icon {
    opacity: 1;
}

.newsletter-section {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1524117074681-31bd4de22ad3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    border-radius: 20px;
    margin-bottom: 80px;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 30px 0 0 30px;
    padding: 12px 20px;
    height: 50px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    color: white;
    font-weight: 600;
    padding: 0 30px;
    height: 50px;
    border: none;
}

footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 0 0;
    border-radius: 0;
    margin-top: 0;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #4d94ff);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: white;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
    border-color: transparent;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: white;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
    border-color: transparent;
}

.copyright {
    background-color: transparent;
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .marquee-item {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 80px 0;
    }

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

    .featured-section, .category-section {
        padding: 60px 0;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 30px;
        width: 100%;
    }

    .main-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .main-title-section {
        padding: 25px 0 40px;
    }

    .main-header {
        padding: 10px 0;
    }

    .marquee-item {
        font-size: 1rem;
    }

    .marquee-separator {
        margin: 0 10px;
    }

    .dashed-divider {
        max-width: 90%;
        background-size: 15px 2px;
    }

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

    .post-card-img-container {
        padding-top: 56.25%;
        /* Mempertahankan rasio 16:9 di mobile */
    }

    .winner-card-img-container {
        padding-top: 56.25%;
        /* Mempertahankan rasio 16:9 di mobile */
    }

    .winner-amount {
        font-size: 0.9rem;
        /* Ukuran teks jackpot lebih kecil di mobile */
        padding: 5px 8px;
        /* Padding lebih kecil */
    }

    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.5rem;
    }

    .marquee-item {
        font-size: 0.9rem;
    }

    .marquee-separator {
        margin: 0 8px;
        font-size: 1.2rem;
    }

    .dashed-divider {
        max-width: 95%;
        background-size: 10px 2px;
    }
}

/* Jackpot Winners Section */
.jackpot-winners-section {
    /* padding: 20px 0 50px; */
    background-color: var(--dark-bg);
    position: relative;
    margin-top: -20px;
}

.winner-card {
    background-color: var(--card-bg);
    border-radius: 10px;

    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
    height: 100%;
    box-shadow: var(--card-shadow);
}

.winner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

.winner-card-img-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (9 / 16 = 0.5625 = 56.25%) */
    overflow: hidden;
}

.winner-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, opacity 0.3s ease;
}

.favicon-loader {
    width: 40px;
    height: 40px;
    animation: pulse 1.2s infinite ease-in-out;
}

.winner-amount {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 10px 8px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.winner-card-body {
    padding: 20px 15px;
}

.winner-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
    display: block;
    text-align: center;
}

.winner-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.winner-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.winner-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    height: 5.1rem;
    text-align: justify;
    padding-bottom: 8px;
}

.winner-game {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.winner-status {
    text-align: center;
}

.status-paid {
    background: linear-gradient(45deg, var(--primary-color), #4d94ff);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 3px 8px rgba(0, 102, 255, 0.3);
}

.status-paid i {
    margin-left: 4px;
    font-size: 0.9rem;
    animation: pulse 1.5s infinite;
}

.jackpot-winners-section .btn-primary {
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
    border: none;
    transition: all 0.3s;
}

.jackpot-winners-section .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
    background: linear-gradient(45deg, #4d94ff, var(--primary-color));
}

/* Artikel Section Styling */
.artikel-section {
    background-color: var(--dark-bg);
    padding: 40px 0 30px;
    margin-bottom: 0;
}

.artikel-section article {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.artikel-section h2 {
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    color: var(--primary-color);
}

.artikel-section h3 {
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.artikel-section p {
    margin-bottom: 20px;
    text-align: justify;
}

@media (max-width: 768px) {
    .artikel-section {
        padding: 30px 0 20px;
    }

    .artikel-section h2 {
        font-size: 1.5rem;
    }

    .artikel-section h3 {
        font-size: 1.25rem;
    }

    .artikel-section p {
        font-size: 0.95rem;
    }
}

/* Post Detail Styling */
.post-detail-section {
    background-color: var(--dark-bg);
    padding: 50px 0;
    color: var(--text-color);
}

.post-detail-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.post-detail-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.post-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.post-detail-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.post-detail-category:hover {
    background-color: #3056d3;
    color: white;
    text-decoration: none;
}

.post-detail-image-container {
    position: relative;

    border-radius: 10px;
}

.post-detail-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.5s;
}

.winner-amount-large {
    font-size: 1.5rem;
    padding: 20px 15px 12px;
}

.post-detail-content {
    margin-top: 30px;
}

.post-detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.post-detail-text p {
    margin-bottom: 1.5rem;
}

.post-detail-text h2,
.post-detail-text h3,
.post-detail-text h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-detail-text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.post-detail-text ul,
.post-detail-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-detail-text blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0 10px 10px 0;
}

.post-tag {
    display: inline-block;
    background-color: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.post-tag:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    text-decoration: none;
}

.post-share h5 {
    font-weight: 600;
    color: var(--text-color);
}

.social-share-buttons {
    display: flex;
    gap: 10px;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-share-btn:hover {
    transform: translateY(-5px);
    color: white;
    text-decoration: none;
}

.social-share-btn.facebook {
    background: #3b5998;
}

.social-share-btn.twitter {
    background: #1da1f2;
}

.social-share-btn.whatsapp {
    background: #25d366;
}

.social-share-btn.telegram {
    background: #0088cc;
}

.related-posts h3 {
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    color: var(--text-color);
}

.related-posts h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #4d94ff);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .post-detail-title {
        font-size: 2rem;
    }

    .post-detail-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .post-detail-title {
        font-size: 1.8rem;
    }

    .post-detail-text {
        font-size: 1rem;
    }

    .winner-amount-large {
        font-size: 1.2rem;
        padding: 15px 10px 10px;
    }
}

/* Post Navigation Styles - New Version */
.navigation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.navigation-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.post-nav-card {
    background: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);

    padding: 0;
}

.post-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.post-nav-link {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

/* Image Container and Image */
.post-nav-img-container {
    position: relative;
    height: 180px;

    background: linear-gradient(135deg, #0a4499 0%, #001e4d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.post-nav-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.post-nav-img[src$=".svg"] {
    padding: 0;
    object-fit: cover;
    background: linear-gradient(135deg, #0a4499 0%, #001e4d 100%);
}

.post-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.post-nav-card:hover .post-nav-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.post-nav-label {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 102, 255, 0.9);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.post-nav-card:hover .post-nav-label {
    background: rgba(0, 120, 255, 1);
    transform: translateY(-3px);
}

.post-nav-content {
    padding: 15px;
}

.post-nav-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text-color);
    display: -webkit-box;

    -webkit-box-orient: vertical;

    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.post-nav-card:hover .post-nav-title {
    color: var(--primary-color);
}

.post-nav-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}

.post-nav-date, .post-nav-category {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-navigation-message {
    text-align: center;
    padding: 30px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Komponen yang terkait dengan sticky, kita nonaktifkan */
.sticky-top {
    position: relative !important;
    top: 0 !important;
}

@media (max-width: 992px) {
    .side-navigation {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .side-navigation .navigation-title {
        font-size: 18px;
    }

    .post-nav-title {
        font-size: 15px;
    }

    .post-nav-meta {
        flex-direction: column;
        gap: 5px;
    }

    .post-nav-img-container {
        height: 130px;
    }
}

/* Tambahan: Sidebar Non-Sticky */
.side-navigation {
    position: relative !important;
    top: initial !important;
}

.sticky-top {
    position: relative !important;
    top: 0 !important;
}

/* Image Loader Styles */
.image-loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 97, 255, 0.8) 0%, rgba(0, 33, 88, 0.9) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.custom-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.spinner-text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner-circle {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.spinner-jackpot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.spinner-jackpot span {
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    animation: bounce 0.6s infinite alternate;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    margin: 0 2px;
}

.spinner-jackpot span:nth-child(1) {
    animation-delay: 0.0s;
}

.spinner-jackpot span:nth-child(2) {
    animation-delay: 0.1s;
}

.spinner-jackpot span:nth-child(3) {
    animation-delay: 0.2s;
}

.spinner-jackpot span:nth-child(4) {
    animation-delay: 0.3s;
}

.spinner-jackpot span:nth-child(5) {
    animation-delay: 0.4s;
}

.spinner-jackpot span:nth-child(6) {
    animation-delay: 0.5s;
}

.spinner-jackpot span:nth-child(7) {
    animation-delay: 0.6s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}