/*
Theme Name: Nexus
Theme URI: https://rumahtoto.org
Author: Bim
Author URI: https://rumahtoto.org
Description: Theme WordPress ringan, SEO-safe, fokus brand dan trust untuk domain baru
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexus
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   CSS Reset & Base Styles
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    background-color: #2b0a0a;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Site Header
   ======================================== */

.site-header {
    background: linear-gradient(135deg, #4a0f0f 0%, #8b1e1e 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-branding a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

/* ========================================
   Primary Navigation
   ======================================== */

.primary-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.primary-menu li a {
    color: #fff;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
}

.primary-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ========================================
   User Access Links
   ======================================== */

.user-access {
    display: flex;
    gap: 0.75rem;
}

.user-link {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-login {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.user-login:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.user-register {
    background-color: #b91c1c;
    color: #fff;
    border: 1px solid #b91c1c;
}

.user-register:hover {
    background-color: #dc2626;
}

/* ========================================
   Main Content
   ======================================== */

.site-main {
    min-height: 60vh;
}

.homepage-wrapper {
    background-color: #fff;
}

/* ========================================
   Site Title Section (Between Banner and Jackpot)
   Clean & Bold Headline Design
   ======================================== */

.site-title-section {
    background: linear-gradient(180deg, #1a0505 0%, #2b0a0a 50%, #1a0505 100%);
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.site-title-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.site-title-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-main-description {
    display: none;
}

@media (max-width: 1400px) {
    .site-main-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .site-main-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .site-title-section {
        padding: 2rem 1rem;
    }
    
    .site-main-title {
        font-size: 1.4rem;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .site-title-section {
        padding: 1.5rem 1rem;
    }
    
    .site-main-title {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 576px) {
    .site-title-section {
        padding: 1.25rem 0.75rem;
    }
    
    .site-main-title {
        font-size: 1rem;
        letter-spacing: 0.2px;
    }
}

/* ========================================
   Article Title Bar (For Page & Single Post)
   Same Style as Homepage Title
   ======================================== */

.article-title-bar {
    background: linear-gradient(180deg, #1a0505 0%, #2b0a0a 50%, #1a0505 100%);
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-title-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.article-title-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.article-title-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.article-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-align: center;
}

@media (max-width: 1400px) {
    .article-main-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) {
    .article-main-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .article-title-bar {
        padding: 2rem 1rem;
    }
    
    .article-main-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .article-title-bar {
        padding: 1.5rem 1rem;
    }
    
    .article-main-title {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 576px) {
    .article-title-bar {
        padding: 1.25rem 0.75rem;
    }
    
    .article-main-title {
        font-size: 1rem;
        letter-spacing: 0.2px;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #8b1e1e 0%, #b91c1c 50%, #991b1b 100%);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-image {
    margin-bottom: 2rem;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Info Section
   ======================================== */

.info-section {
    padding: 4rem 1.5rem;
    background-color: #fef2f2;
}

.info-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-section h2 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-section p {
    font-size: 1.05rem;
    color: #7f1d1d;
    line-height: 1.8;
}

/* ========================================
   Feature Section
   ======================================== */

.feature-section {
    padding: 4rem 1.5rem;
    background-color: #fff;
}

.feature-container {
    max-width: 1100px;
    margin: 0 auto;
}

.feature-section h2 {
    font-size: 2rem;
    color: #dc2626;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: #fef2f2;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #b91c1c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 1.25rem;
    color: #dc2626;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.95rem;
    color: #7f1d1d;
    line-height: 1.6;
}

/* ========================================
   Trust Section
   ======================================== */

.trust-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #fee2e2 0%, #fecdd3 100%);
}

.trust-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.trust-section h2 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.trust-section p {
    font-size: 1.05rem;
    color: #7f1d1d;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.trust-links {
    margin-top: 2rem;
}

.trust-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-menu li a {
    color: #b91c1c;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.trust-menu li a:hover {
    background-color: #fff;
    color: #dc2626;
}

/* ========================================
   Site Footer
   ======================================== */

.site-footer {
    background-color: #4a0f0f;
    color: #fecaca;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-navigation {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-menu li a {
    color: #fecaca;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: #fff;
}

.footer-brand {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-brand .site-description {
    font-size: 0.95rem;
    color: #fecaca;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #fca5a5;
}

.footer-copyright a {
    color: #fecaca;
}

.footer-copyright a:hover {
    color: #fff;
}

/* ========================================
   Content Wrapper (for index.php)
   ======================================== */

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: #fff;
}

.content-wrapper article {
    margin-bottom: 2rem;
}

.no-content {
    text-align: center;
    padding: 4rem 1.5rem;
    color: #7f1d1d;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .primary-navigation {
        width: 100%;
    }
    
    .primary-menu {
        justify-content: center;
    }
    
    .user-access {
        width: 100%;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .info-section h2,
    .feature-section h2,
    .trust-section h2 {
        font-size: 1.5rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .user-link {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    .primary-menu li a {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ==================================================
   NEXUS – MARKETING MODE UI
   Inspired by professional sports platform
   ================================================== */

/* Google Font (1 font saja – aman) */


/* --------------------
   RESET & BASE
-------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fef2f2;
    color: #4a0f0f;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --------------------
   HEADER
-------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(135deg, #4a0f0f, #8b1e1e, #b91c1c);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding a {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Navigation */
.primary-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.primary-menu li a {
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: .95rem;
    font-weight: 500;
    transition: background .3s;
}

.primary-menu li a:hover {
    background: rgba(255,255,255,.15);
}

/* Login / Register */
.user-access {
    display: flex;
    gap: 10px;
}

.user-login {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: .85rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
}

.user-register {
    padding: 7px 18px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 6px 16px rgba(255,140,0,.45);
}

/* --------------------
   HERO
-------------------- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #4a0f0f, #8b1e1e, #b91c1c);
    padding: 80px 20px 90px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,.18), transparent 60%);
}

.hero-container {
    max-width: 960px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content p {
    margin-top: 16px;
    font-size: 1.15rem;
    opacity: .95;
}

/* --------------------
   INFO SECTION
-------------------- */
.info-section {
    background: #fef5f5;
    padding: 70px 20px;
}

.info-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.info-section h2 {
    font-size: 2.1rem;
    color: #dc2626;
    margin-bottom: 18px;
}

.info-section p {
    color: #7f1d1d;
    font-size: 1.05rem;
}

/* --------------------
   FEATURE GRID
-------------------- */
.feature-section {
    padding: 80px 20px;
    background: #fee2e2;
}

.feature-container {
    max-width: 1100px;
    margin: auto;
}

.feature-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #dc2626;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.feature-item {
    background: linear-gradient(180deg, #fef5f5, #fee2e2);
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
    transition: transform .35s, box-shadow .35s;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(0,0,0,.14);
}

.feature-item h3 {
    color: #dc2626;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: .95rem;
    color: #7f1d1d;
}

/* --------------------
   TRUST SECTION
-------------------- */
.trust-section {
    background: linear-gradient(135deg, #fee2e2, #fecdd3);
    padding: 70px 20px;
}

.trust-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.trust-section h2 {
    font-size: 2rem;
    color: #dc2626;
}

.trust-section p {
    margin: 18px auto 30px;
    max-width: 760px;
    color: #7f1d1d;
}

.trust-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-menu li a {
    padding: 8px 16px;
    background: #fff;
    border-radius: 20px;
    font-size: .9rem;
    color: #dc2626;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* --------------------
   FOOTER
-------------------- */
.site-footer {
    background: linear-gradient(135deg, #2b0a0a, #4a0f0f);
    padding: 60px 20px 30px;
    color: #fecaca;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 28px;
}

.footer-menu li a {
    color: #fecaca;
    font-size: .9rem;
}

.footer-brand {
    text-align: center;
    margin: 28px 0;
}

.footer-brand .site-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.footer-copyright {
    text-align: center;
    font-size: .85rem;
    opacity: .8;
}

/* --------------------
   RESPONSIVE
-------------------- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .primary-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ========================================
   LAPISAN 3 – HERO VISUAL (LEVEL 1)
   ======================================== */

/* Hero Section Enhancement */
.hero-section {
    position: relative;
    background-image: url('https://example.hero-image/background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark Overlay for Text Readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.92) 0%, rgba(185, 28, 28, 0.88) 50%, rgba(239, 68, 68, 0.85) 100%);
    z-index: 1;
}

/* Subtle Pattern Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
    z-index: 2;
    pointer-events: none;
}

/* Hero Container Positioning */
.hero-container {
    position: relative;
    z-index: 3;
}

/* Hero Image Enhancement */
.hero-image {
    position: relative;
    z-index: 4;
}

.hero-image img {
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

/* Hero Content Enhancement */
.hero-content {
    position: relative;
    z-index: 4;
}

.hero-content h1 {
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.hero-content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 1rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Depth Enhancement with Glow Effect */
.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #b91c1c, transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.6);
}

/* Responsive Adjustments for Hero Visual */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 400px;
    }
    
    .hero-content p {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-content p {
        padding: 0.5rem 1rem;
    }
    
    .hero-image img {
        border-width: 2px;
    }
}

/* ========================================
   LAPISAN 3 – LEVEL 2 (VISUAL SECTION)
   ======================================== */

/* Feature Section Visual Enhancement */
.feature-section {
    position: relative;
    background-image: url('https://example.visual/section-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Dark Blue Gradient Overlay */
.feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(43, 10, 10, 0.96) 0%,
        rgba(220, 38, 38, 0.94) 50%,
        rgba(185, 28, 28, 0.92) 100%
    );
    z-index: 1;
}

/* Subtle Dot Pattern Overlay */
.feature-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    z-index: 2;
    pointer-events: none;
}

/* Feature Container Positioning */
.feature-container {
    position: relative;
    z-index: 3;
}

/* Feature Section Heading Enhancement */
.feature-section h2 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.feature-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #b91c1c, transparent);
    border-radius: 2px;
}

/* Feature List Positioning */
.feature-list {
    position: relative;
    z-index: 3;
}

/* Feature Item Card Enhancement */
.feature-item {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border-left-width: 5px;
    border-left-color: #b91c1c;
}

.feature-item:hover {
    background-color: #fff;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15);
    border-left-color: #dc2626;
}

/* Feature Item Heading */
.feature-item h3 {
    color: #dc2626;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #b91c1c;
    border-radius: 1px;
}

/* Feature Item Text */
.feature-item p {
    color: #7f1d1d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-section {
        background-attachment: scroll;
    }
    
    .feature-section::before {
        background: linear-gradient(
            135deg,
            rgba(43, 10, 10, 0.97) 0%,
            rgba(220, 38, 38, 0.95) 50%,
            rgba(185, 28, 28, 0.94) 100%
        );
    }
    
    .feature-item {
        box-shadow: 
            0 3px 12px rgba(0, 0, 0, 0.18),
            0 1px 3px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .feature-section h2::after {
        width: 60px;
        height: 2px;
    }
    
    .feature-item {
        border-left-width: 4px;
    }
}

/* ========================================
   LAPISAN 3 – LEVEL 3 (HEADER VISUAL DEPTH)
   === NEXUS HEADER – LEVEL 3 ===
   ======================================== */

/* Header Enhanced Background */
.site-header {
    background: linear-gradient(
        180deg,
        #2b0a0a 0%,
        #4a0f0f 50%,
        #dc2626 100%
    );
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(185, 28, 28, 0.3);
}

/* Subtle Top Highlight Line */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(185, 28, 28, 0.6) 50%,
        transparent
    );
    z-index: 10;
}

/* Header Container Enhancement */
.header-container {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Site Branding Enhancement */
.site-branding a {
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(185, 28, 28, 0.2);
    transition: all 0.3s ease;
}

.site-branding a:hover {
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(185, 28, 28, 0.4);
    transform: scale(1.02);
}

.site-branding img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.site-branding img:hover {
    filter: drop-shadow(0 2px 12px rgba(185, 28, 28, 0.3));
}

/* Primary Navigation Enhancement */
.primary-navigation {
    position: relative;
}

/* Primary Menu Block Style */
.primary-menu li {
    position: relative;
}

.primary-menu li a {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Menu Hover Effect - REMOVED */
/* Pseudo-element ::before removed to prevent visual conflicts */

.primary-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(185, 28, 28, 0.4);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(185, 28, 28, 0.2);
    transform: translateY(-1px);
}

/* Active Menu State */
.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a {
    background-color: rgba(185, 28, 28, 0.15);
    border-color: rgba(185, 28, 28, 0.5);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 12px rgba(185, 28, 28, 0.3);
}

/* User Access Enhancement */
.user-access {
    position: relative;
    z-index: 5;
}

/* User Login Button - Professional Style */
.user-login {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.user-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.user-login:hover::before {
    left: 100%;
}

.user-login:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.15) 100%
    );
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 3px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* User Register Button - Strong CTA (Not Aggressive) */
.user-register {
    background: linear-gradient(
        135deg,
        #ef4444 0%,
        #b91c1c 50%,
        #991b1b 100%
    );
    border: 1px solid #7c2d12;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(239, 68, 68, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.user-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.user-register:hover::before {
    left: 100%;
}

.user-register:hover {
    background: linear-gradient(
        135deg,
        #fca5a5 0%,
        #ef4444 50%,
        #b91c1c 100%
    );
    border-color: #991b1b;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px) scale(1.02);
}

.user-register:active {
    transform: translateY(0) scale(1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments for Header */
@media (max-width: 768px) {
    .site-header {
        box-shadow: 
            0 3px 10px rgba(0, 0, 0, 0.25),
            0 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    .header-container {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .primary-menu li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .user-login,
    .user-register {
        padding: 0.45rem 1rem;
    }
}

@media (max-width: 480px) {
    .site-header::before {
        height: 1px;
    }
    
    .primary-menu li a {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }
    
    .user-login,
    .user-register {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   LAPISAN 3 – LEVEL 4 (HEADER ENHANCEMENT)
   Live Chat & Menu Icons
   ======================================== */

/* Enhanced Header Background - More Dynamic */
.site-header {
    background: linear-gradient(
        180deg,
        #2b0a0a 0%,
        #4a0f0f 25%,
        #dc2626 60%,
        #b91c1c 100%
    );
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Live Chat Button */
.user-livechat {
    background: linear-gradient(
        135deg,
        #b91c1c 0%,
        #dc2626 50%,
        #991b1b 100%
    );
    border: 1px solid #b91c1c;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(185, 28, 28, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-livechat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.user-livechat:hover::before {
    left: 100%;
}

.user-livechat:hover {
    background: linear-gradient(
        135deg,
        #ef4444 0%,
        #b91c1c 50%,
        #dc2626 100%
    );
    border-color: #991b1b;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(185, 28, 28, 0.5);
    transform: translateY(-2px) scale(1.02);
}

/* Live Chat Icon */
.livechat-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/chat.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Menu Icons - REMOVED DUPLICATES */
/* All pseudo-element icons removed to prevent duplication */
/* Only .menu-icon span will display icons */

.primary-menu li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Enhanced Menu Hover - More Dynamic */
.primary-menu li a:hover {
    background: linear-gradient(
        135deg,
        rgba(185, 28, 28, 0.15) 0%,
        rgba(220, 38, 38, 0.12) 100%
    );
    border-color: rgba(185, 28, 28, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(185, 28, 28, 0.3);
    transform: translateY(-2px);
}

/* User Access Layout Enhancement */
.user-access {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .user-livechat {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
    }
    
    .livechat-icon {
        width: 14px;
        height: 14px;
    }
    
    /* Pseudo-element ::after removed - no longer needed */
    
    .user-access {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .user-livechat {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .livechat-icon {
        width: 12px;
        height: 12px;
    }
    
    .primary-menu li a {
        gap: 0.3rem;
    }
    
    /* Pseudo-element ::after removed - no longer needed */
}

/* Pulsing Animation for Live Chat (Subtle) */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 3px 8px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(185, 28, 28, 0.3);
    }
    50% {
        box-shadow: 
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 3px 8px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(185, 28, 28, 0.5);
    }
}

.user-livechat {
    animation: pulse-glow 3s ease-in-out infinite;
}

.user-livechat:hover {
    animation: none;
}

/* ========================================
   LAPISAN 3 – LEVEL 5 (HEADER LAYOUT REDESIGN)
   New Layout: Left (Logo + Quick Actions) | Center (Menu) | Right (User Access)
   ======================================== */

/* Header Container - New Layout */
.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1rem 1.5rem;
}

/* ========================================
   LEFT SECTION: Logo + Quick Actions
   ======================================== */

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo Responsive Sizing */
.site-branding {
    flex-shrink: 0;
}

.site-branding a {
    display: block;
}

.site-branding img {
    max-height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.site-branding img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 12px rgba(185, 28, 28, 0.4));
}

.site-branding .site-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Quick Actions Buttons */
.quick-actions {
    display: flex;
    gap: 0.5rem;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Live Chat Button - Green */
.livechat-btn {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border-color: #991b1b;
    color: #fff;
    box-shadow: 
        0 2px 8px rgba(185, 28, 28, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-livechat 3s ease-in-out infinite;
}

@keyframes pulse-livechat {
    0%, 100% {
        box-shadow: 
            0 2px 8px rgba(185, 28, 28, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 2px 12px rgba(185, 28, 28, 0.5),
            0 0 20px rgba(185, 28, 28, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.livechat-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(185, 28, 28, 0.4),
        0 0 20px rgba(185, 28, 28, 0.3);
    animation: none;
}

/* Contact Us Button - Blue */
.contact-btn {
    background: linear-gradient(135deg, #b91c1c 0%, #b91c1c 100%);
    border-color: #dc2626;
    color: #fff;
    box-shadow: 
        0 2px 8px rgba(185, 28, 28, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(185, 28, 28, 0.4),
        0 0 20px rgba(185, 28, 28, 0.3);
}

/* Button Icons */
.btn-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.livechat-icon {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/lc.svg');
}

.contact-icon {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/wa.svg');
}

/* ========================================
   CENTER SECTION: Primary Navigation
   ======================================== */

.primary-navigation {
    display: flex;
    justify-content: center;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
}

.primary-menu .menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Menu Icon Styling */
.menu-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

/* Menu Icons - Individual */
.menu-icon[data-icon="home"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/home.svg');
}

.menu-icon[data-icon="hotgames"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/hotgames.svg');
}

.menu-icon[data-icon="slots"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/slots.svg');
}

.menu-icon[data-icon="casino"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/casino.svg');
}

.menu-icon[data-icon="sports"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/sports.svg');
}

.menu-icon[data-icon="arcade"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/arcade.svg');
}

/* Menu Hover Effect - REMOVED */
/* Pseudo-element ::before removed to prevent visual conflicts */

.primary-menu .menu-item a:hover {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-color: rgba(185, 28, 28, 0.5);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(185, 28, 28, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.primary-menu .menu-item a:hover .menu-icon {
    filter: drop-shadow(0 0 8px rgba(185, 28, 28, 0.8));
    transform: scale(1.1);
}

/* Active Menu State */
.primary-menu .menu-item.current-menu-item a,
.primary-menu .menu-item.current_page_item a {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(185, 28, 28, 0.6);
    box-shadow: 
        0 0 15px rgba(185, 28, 28, 0.4),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.primary-menu .menu-item.current-menu-item .menu-icon,
.primary-menu .menu-item.current_page_item .menu-icon {
    filter: drop-shadow(0 0 10px rgba(185, 28, 28, 1));
}

/* ========================================
   RIGHT SECTION: User Access
   ======================================== */

.header-right {
    display: flex;
    justify-content: flex-end;
}

.user-access {
    display: flex;
    gap: 0.6rem;
}

.user-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Masuk Button - Dark Blue */
.user-login {
    background: linear-gradient(135deg, #4a0f0f 0%, #7f1d1d 100%);
    border-color: #4a0f0f;
    color: #fff;
    box-shadow: 
        0 2px 8px rgba(74, 58, 10, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.user-login:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
    border-color: #4a0f0f;
    box-shadow: 
        0 4px 12px rgba(74, 58, 10, 0.5),
        0 0 20px rgba(185, 28, 28, 0.3);
    transform: translateY(-2px);
}

/* Daftar Button - Bright Blue */
.user-register {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border-color: #991b1b;
    color: #fff;
    box-shadow: 
        0 3px 10px rgba(185, 28, 28, 0.4),
        0 0 20px rgba(185, 28, 28, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.user-register:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border-color: #dc2626;
    box-shadow: 
        0 4px 15px rgba(185, 28, 28, 0.5),
        0 0 30px rgba(185, 28, 28, 0.4);
    transform: translateY(-2px) scale(1.03);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .header-container {
        gap: 1rem;
    }
    
    .primary-menu {
        gap: 0.2rem;
    }
    
    .primary-menu .menu-item a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .menu-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .header-left {
        justify-content: space-between;
        width: 100%;
    }
    
    .quick-actions {
        order: 2;
    }
    
    .primary-navigation {
        order: 3;
        width: 100%;
    }
    
    .primary-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-right {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .quick-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .btn-icon {
        width: 14px;
        height: 14px;
    }
    
    .user-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .site-branding img {
        max-height: 35px;
    }
    
    .site-branding .site-name {
        font-size: 1.2rem;
    }
    
    .quick-btn .btn-text {
        display: none;
    }
    
    .quick-btn {
        padding: 0.5rem;
    }
    
    .btn-icon {
        width: 18px;
        height: 18px;
    }
    
    .primary-menu .menu-item a {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .menu-icon {
        width: 18px;
        height: 18px;
    }
    
    .menu-text {
        font-size: 0.7rem;
    }
    
    .user-btn {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   LAPISAN 3 – LEVEL 6 (HEADER FINAL ADJUSTMENTS)
   Dark Menu Background + Orange Register Button
   ======================================== */

/* Menu Background - Darker/Black */
.primary-menu .menu-item a {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.primary-menu .menu-item a:hover {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.25) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(185, 28, 28, 0.6);
}

/* Active Menu - Darker Background */
.primary-menu .menu-item.current-menu-item a,
.primary-menu .menu-item.current_page_item a {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.3) 0%, rgba(220, 38, 38, 0.25) 100%);
    border-color: rgba(185, 28, 28, 0.7);
}

/* User Login Button - Gray/Dark */
.user-login {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border-color: #2b0a0a;
    color: #fff;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.user-login:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #8b1e1e 100%);
    border-color: #4a0f0f;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(252, 165, 165, 0.3);
    transform: translateY(-2px);
}

/* User Register Button - ORANGE (Bright & Prominent) */
.user-register {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 50%, #991b1b 100%);
    border-color: #7c2d12;
    color: #fff;
    box-shadow: 
        0 3px 10px rgba(239, 68, 68, 0.4),
        0 0 20px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-register:hover {
    background: linear-gradient(135deg, #fca5a5 0%, #ef4444 50%, #b91c1c 100%);
    border-color: #991b1b;
    box-shadow: 
        0 4px 15px rgba(239, 68, 68, 0.5),
        0 0 30px rgba(239, 68, 68, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
}

.user-register:active {
    transform: translateY(0) scale(1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Enhanced Border Radius for Modern Look */
.user-btn {
    border-radius: 25px;
}

.quick-btn {
    border-radius: 8px;
}

.primary-menu .menu-item a {
    border-radius: 8px;
}

/* Logo Alignment Enhancement */
.site-branding {
    display: flex;
    align-items: center;
}

.site-branding a {
    display: flex;
    align-items: center;
}

/* Ensure Header is Sticky */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Enhanced Header Shadow for Depth */
.site-header {
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Menu Icon Brightness Enhancement */
.menu-icon {
    filter: brightness(1.2);
}

.primary-menu .menu-item a:hover .menu-icon {
    filter: brightness(1.5) drop-shadow(0 0 8px rgba(185, 28, 28, 0.8));
}

/* Quick Action Buttons - Enhanced Contrast */
.livechat-btn {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border-color: #991b1b;
}

.livechat-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.contact-btn {
    background: linear-gradient(135deg, #b91c1c 0%, #b91c1c 100%);
    border-color: #dc2626;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .site-header {
        position: sticky;
        top: 0;
    }
    
    .user-register {
        order: -1;
    }
    
    .user-login {
        order: 0;
    }
}

@media (max-width: 480px) {
    .user-btn {
        border-radius: 20px;
        padding: 0.5rem 1rem;
    }
    
    .quick-btn {
        border-radius: 6px;
    }
    
    .primary-menu .menu-item a {
        border-radius: 6px;
    }
}

/* Glow Animation for Register Button */
@keyframes glow-orange {
    0%, 100% {
        box-shadow: 
            0 3px 10px rgba(239, 68, 68, 0.4),
            0 0 20px rgba(239, 68, 68, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 3px 10px rgba(239, 68, 68, 0.5),
            0 0 30px rgba(239, 68, 68, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.user-register {
    animation: glow-orange 3s ease-in-out infinite;
}

.user-register:hover {
    animation: none;
}

/* ========================================
   LAPISAN 4 – HEADER REDESIGN (   STYLE)
   Two-Layer Header: Top Bar + Main Header
   ======================================== */

/* ========================================
   TOP BAR SECTION
   ======================================== */

.topbar-container {
    background: linear-gradient(180deg, #1a0505 0%, #2b0a0a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
}

.topbar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.topbar-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Top Bar Links (Live Chat & Contact) */
.topbar-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.livechat-link {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border-color: #991b1b;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3);
}

.livechat-link:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(185, 28, 28, 0.4);
}

.contact-link {
    background: linear-gradient(135deg, #b91c1c 0%, #b91c1c 100%);
    border-color: #dc2626;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3);
}

.contact-link:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(185, 28, 28, 0.4);
}

/* Top Bar Icons */
.topbar-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.livechat-icon {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/lc.svg');
}

.contact-icon {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/wa.svg');
}

/* Top Bar Buttons (Masuk & Daftar) */
.topbar-btn {
    padding: 0.45rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    color: #fff;
}

.login-btn {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border-color: #2b0a0a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #8b1e1e 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.register-btn {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    border-color: #991b1b;
    box-shadow: 
        0 3px 8px rgba(185, 28, 28, 0.4),
        0 0 15px rgba(185, 28, 28, 0.2);
    animation: glow-blue 3s ease-in-out infinite;
}

@keyframes glow-blue {
    0%, 100% {
        box-shadow: 
            0 3px 8px rgba(185, 28, 28, 0.4),
            0 0 15px rgba(185, 28, 28, 0.2);
    }
    50% {
        box-shadow: 
            0 3px 10px rgba(185, 28, 28, 0.5),
            0 0 25px rgba(185, 28, 28, 0.4);
    }
}

.register-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 4px 12px rgba(185, 28, 28, 0.5),
        0 0 30px rgba(185, 28, 28, 0.4);
    animation: none;
}

/* ========================================
   MAIN HEADER SECTION
   ======================================== */

.site-header {
    background: linear-gradient(
        180deg,
        #2b0a0a 0%,
        #4a0f0f 30%,
        #dc2626 70%,
        #b91c1c 100%
    );
    border-bottom: 3px solid rgba(185, 28, 28, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* ========================================
   LOGO SECTION
   ======================================== */

.site-branding {
    flex-shrink: 0;
}

.site-branding a {
    display: block;
}

.site-branding img {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.site-branding img:hover {
    filter: drop-shadow(0 2px 12px rgba(185, 28, 28, 0.4));
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(185, 28, 28, 0.3);
}

/* ========================================
   PRIMARY NAVIGATION
   ======================================== */

.primary-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-menu .menu-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Menu Sweep Animation - REMOVED */
/* Pseudo-element ::before removed to prevent icon duplication */

/* Menu Hover State */
.primary-menu .menu-item a:hover {
    background: linear-gradient(
        135deg,
        rgba(185, 28, 28, 0.25) 0%,
        rgba(220, 38, 38, 0.2) 100%
    );
    border-color: rgba(185, 28, 28, 0.6);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(185, 28, 28, 0.3);
    transform: translateY(-2px);
}

/* Active Menu State */
.primary-menu .menu-item.current-menu-item a {
    background: linear-gradient(
        135deg,
        rgba(185, 28, 28, 0.3) 0%,
        rgba(220, 38, 38, 0.25) 100%
    );
    border-color: rgba(185, 28, 28, 0.7);
    box-shadow: 
        0 0 20px rgba(185, 28, 28, 0.5),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Menu Icons */
.menu-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(1.3);
    transition: all 0.3s ease;
}

.primary-menu .menu-item a:hover .menu-icon {
    filter: brightness(1.6) drop-shadow(0 0 10px rgba(185, 28, 28, 0.8));
    transform: scale(1.15);
}

.primary-menu .menu-item.current-menu-item .menu-icon {
    filter: brightness(1.5) drop-shadow(0 0 12px rgba(185, 28, 28, 1));
}

/* Menu Icon URLs */
.menu-icon[data-icon="home"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/home.svg');
}

.menu-icon[data-icon="hotgames"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/hotgames.svg');
}

.menu-icon[data-icon="slots"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/slots.svg');
}

.menu-icon[data-icon="casino"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/casino.svg');
}

.menu-icon[data-icon="sports"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/sports.svg');
}

.menu-icon[data-icon="arcade"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/arcade.svg');
}

.menu-icon[data-icon="poker"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/poker.svg');
}

.menu-icon[data-icon="promotion"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/promotion.svg');
}

/* Menu Label */
.menu-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .header-container {
        gap: 1rem;
    }
    
    .primary-menu {
        gap: 0.3rem;
    }
    
    .primary-menu .menu-item a {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .menu-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    .topbar-wrapper {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }
    
    .topbar-left,
    .topbar-right {
        width: 100%;
        justify-content: center;
    }
    
    .topbar-text {
        display: none;
    }
    
    .topbar-link {
        padding: 0.5rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-branding {
        width: 100%;
        text-align: center;
    }
    
    .primary-navigation {
        width: 100%;
    }
    
    .primary-menu {
        width: 100%;
    }
    
    .primary-menu .menu-item a {
        padding: 0.5rem 0.7rem;
    }
    
    .menu-icon {
        width: 22px;
        height: 22px;
    }
    
    .menu-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .topbar-link {
        padding: 0.4rem;
    }
    
    .topbar-icon {
        width: 16px;
        height: 16px;
    }
    
    .topbar-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .site-branding img {
        max-height: 40px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .primary-menu .menu-item a {
        padding: 0.4rem 0.6rem;
    }
    
    .menu-icon {
        width: 20px;
        height: 20px;
    }
    
    .menu-label {
        font-size: 0.7rem;
    }
}

/* ========================================
   MOBILE OPTIMIZATION -    STYLE
   Enhanced Mobile Experience
   ======================================== */

/* ========================================
   MOBILE HEADER LAYOUT
   ======================================== */

@media (max-width: 768px) {
    /* Top Bar Mobile */
    .topbar-container {
        padding: 0.5rem 0;
    }
    
    .topbar-wrapper {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    .topbar-left {
        flex: 1;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .topbar-right {
        flex: 1;
        justify-content: flex-end;
        gap: 0.5rem;
    }
    
    /* Hide text, show icon only on mobile */
    .topbar-text {
        display: none;
    }
    
    .topbar-link {
        padding: 0.6rem;
        min-width: 40px;
        justify-content: center;
    }
    
    .topbar-icon {
        width: 18px;
        height: 18px;
    }
    
    .topbar-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
        min-width: 70px;
        text-align: center;
    }
    
    /* Main Header Mobile */
    .site-header {
        padding: 0;
    }
    
    .header-container {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    /* Logo Section - Full Width */
    .site-branding {
        width: 100%;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .site-branding img {
        max-height: 45px;
        margin: 0 auto;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    /* Navigation Mobile - Vertical Stack */
    .primary-navigation {
        width: 100%;
        margin-top: 1rem;
    }
    
    .primary-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .primary-menu .menu-item {
        width: 100%;
    }
    
    .primary-menu .menu-item a {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.8rem 1rem;
        width: 100%;
        gap: 1rem;
        border-radius: 6px;
    }
    
    .menu-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .menu-label {
        font-size: 0.9rem;
        text-align: left;
        flex: 1;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .topbar-wrapper {
        padding: 0 0.75rem;
    }
    
    .topbar-link {
        padding: 0.5rem;
        min-width: 36px;
    }
    
    .topbar-icon {
        width: 16px;
        height: 16px;
    }
    
    .topbar-btn {
        padding: 0.45rem 1rem;
        font-size: 0.75rem;
        min-width: 65px;
    }
    
    .header-container {
        padding: 0.75rem;
    }
    
    .site-branding {
        padding-bottom: 0.75rem;
    }
    
    .site-branding img {
        max-height: 38px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .primary-navigation {
        margin-top: 0.75rem;
    }
    
    .primary-menu {
        gap: 0.4rem;
    }
    
    .primary-menu .menu-item a {
        padding: 0.7rem 0.9rem;
        gap: 0.8rem;
    }
    
    .menu-icon {
        width: 22px;
        height: 22px;
    }
    
    .menu-label {
        font-size: 0.85rem;
    }
}

/* ========================================
   MOBILE HOMEPAGE SECTIONS
   ======================================== */

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        padding: 2.5rem 1rem;
        min-height: 350px;
    }
    
    .hero-container {
        max-width: 100%;
    }
    
    .hero-image {
        margin-bottom: 1.5rem;
    }
    
    .hero-image img {
        border-radius: 6px;
        border-width: 2px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Info Section Mobile */
    .info-section {
        padding: 2.5rem 1rem;
    }
    
    .info-container {
        max-width: 100%;
    }
    
    .info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .info-section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Feature Section Mobile */
    .feature-section {
        padding: 2.5rem 1rem;
    }
    
    .feature-container {
        max-width: 100%;
    }
    
    .feature-section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        border-left-width: 4px;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Trust Section Mobile */
    .trust-section {
        padding: 2.5rem 1rem;
    }
    
    .trust-container {
        max-width: 100%;
    }
    
    .trust-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .trust-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    
    .trust-menu {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .trust-menu li {
        width: 100%;
    }
    
    .trust-menu li a {
        display: block;
        padding: 0.75rem 1rem;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile - Homepage */
    .hero-section {
        padding: 2rem 0.75rem;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .info-section,
    .feature-section,
    .trust-section {
        padding: 2rem 0.75rem;
    }
    
    .info-section h2,
    .feature-section h2,
    .trust-section h2 {
        font-size: 1.3rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .feature-item h3 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
}

/* ========================================
   MOBILE FOOTER
   ======================================== */

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-container {
        max-width: 100%;
    }
    
    .footer-navigation {
        margin-bottom: 1.5rem;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .footer-menu li {
        width: 100%;
    }
    
    .footer-menu li a {
        display: block;
        padding: 0.75rem;
        background-color: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
    }
    
    .footer-brand {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand .site-title {
        font-size: 1.3rem;
    }
    
    .footer-brand .site-description {
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        padding-top: 1rem;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0.75rem 0.75rem;
    }
    
    .footer-brand .site-title {
        font-size: 1.2rem;
    }
    
    .footer-brand .site-description {
        font-size: 0.85rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
}

/* ========================================
   MOBILE CONTENT WRAPPER
   ======================================== */

@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 1rem;
    }
    
    .content-wrapper article {
        margin-bottom: 1.5rem;
    }
    
    .no-content {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 1.5rem 0.75rem;
    }
    
    .no-content {
        padding: 2.5rem 0.75rem;
    }
}

/* ========================================
   MOBILE IMAGES - RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-image img,
    .feature-item img,
    .site-branding img {
        max-width: 100%;
        height: auto;
    }
}

/* ========================================
   MOBILE TOUCH OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
    /* Larger tap targets for mobile */
    .topbar-link,
    .topbar-btn,
    .primary-menu .menu-item a,
    .footer-menu li a,
    .trust-menu li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    @media (hover: none) {
        .topbar-link:hover,
        .topbar-btn:hover,
        .primary-menu .menu-item a:hover {
            transform: none;
        }
    }
    
    /* Active/tap states for mobile */
    .topbar-link:active,
    .topbar-btn:active,
    .primary-menu .menu-item a:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ========================================
   MOBILE LANDSCAPE ORIENTATION
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 250px;
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .primary-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .primary-menu .menu-item {
        width: calc(50% - 0.25rem);
    }
    
    .primary-menu .menu-item a {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   MOBILE UTILITY CLASSES
   ======================================== */

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
    
    .full-width-mobile {
        width: 100% !important;
    }
}

/* ========================================
   MENU NAVIGATION - NON-STICKY FIX
   Menu tidak mengikuti scroll, hanya header yang sticky
   ======================================== */

/* Remove sticky from primary menu */
.primary-navigation {
    position: relative;
    z-index: 1;
}

.primary-menu {
    position: relative;
    z-index: 1;
}

/* Header tetap sticky, tapi menu di dalamnya tidak */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(
        180deg,
        #2b0a0a 0%,
        #4a0f0f 30%,
        #dc2626 70%,
        #b91c1c 100%
    );
}

/* Top bar tidak sticky */
.topbar-container {
    position: relative;
    z-index: 1;
}

/* Mobile: Menu tidak sticky, scroll dengan konten */
@media (max-width: 768px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 999;
    }
    
    .primary-navigation {
        position: relative;
        max-height: none;
        overflow: visible;
    }
    
    .primary-menu {
        position: relative;
        display: flex;
        flex-direction: column;
    }
}

/* Jika ingin header TIDAK sticky sama sekali */
/* Uncomment baris di bawah jika ingin header juga tidak sticky */
/*
.site-header {
    position: relative;
    z-index: 10;
}

.topbar-container {
    position: relative;
    z-index: 1;
}
*/

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Prevent menu from covering content when scrolling */
.site-main {
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER & MENU - NON-STICKY (FINAL FIX)
   Header dan menu TIDAK mengikuti scroll
   ======================================== */

/* Override semua sticky positioning */
.topbar-container {
    position: relative;
    z-index: 10;
}

.site-header {
    position: relative !important;
    top: auto !important;
    z-index: 10;
}

.header-container {
    position: relative;
}

.primary-navigation {
    position: relative;
    z-index: 1;
}

.primary-menu {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Mobile: Menu juga tidak sticky */
@media (max-width: 768px) {
    .topbar-container {
        position: relative;
        z-index: 10;
    }
    
    .site-header {
        position: relative !important;
        top: auto !important;
        z-index: 10;
    }
    
    .header-container {
        position: relative;
    }
    
    .primary-navigation {
        position: relative;
        z-index: 1;
    }
    
    .primary-menu {
        position: relative;
        z-index: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .topbar-container {
        position: relative;
    }
    
    .site-header {
        position: relative !important;
    }
    
    .primary-menu {
        position: relative;
    }
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    position: relative;
}

/* Main content positioning */
.site-main {
    position: relative;
    z-index: 1;
}

/* ========================================
   MOBILE REFINEMENT - COMPACT & CLEAN
   Header dan menu lebih rapi dan tidak terlalu tinggi
   ======================================== */

/* ========================================
   MOBILE HEADER - COMPACT VERSION
   ======================================== */

@media (max-width: 768px) {
    /* Top Bar - More Compact */
    .topbar-container {
        padding: 0.4rem 0;
    }
    
    .topbar-wrapper {
        padding: 0 1rem;
        min-height: auto;
    }
    
    .topbar-left,
    .topbar-right {
        gap: 0.4rem;
    }
    
    .topbar-link {
        padding: 0.5rem;
        min-width: 38px;
        min-height: 38px;
    }
    
    .topbar-icon {
        width: 16px;
        height: 16px;
    }
    
    .topbar-btn {
        padding: 0.45rem 1rem;
        font-size: 0.75rem;
        min-width: 65px;
        min-height: 38px;
    }
    
    /* Main Header - Reduced Height */
    .site-header {
        padding: 0;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
        gap: 0;
    }
    
    /* Logo Section - Compact */
    .site-branding {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .site-branding img {
        max-height: 40px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    /* Navigation - Compact */
    .primary-navigation {
        margin-top: 0;
    }
    
    .primary-menu {
        gap: 0.35rem;
    }
    
    .primary-menu .menu-item a {
        padding: 0.65rem 0.85rem;
        gap: 0.75rem;
        min-height: 42px;
    }
    
    .menu-icon {
        width: 22px;
        height: 22px;
    }
    
    .menu-label {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    /* Hide unnecessary elements on mobile */
    .topbar-text {
        display: none !important;
    }
    
    /* Reduce animation effects on mobile */
    /* Pseudo-element ::before removed - no longer needed */
    
    .primary-menu .menu-item a:hover {
        transform: none;
    }
    
    .primary-menu .menu-item a:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    /* Extra Compact for Small Screens */
    .topbar-container {
        padding: 0.3rem 0;
    }
    
    .topbar-wrapper {
        padding: 0 0.75rem;
    }
    
    .topbar-link {
        padding: 0.4rem;
        min-width: 36px;
        min-height: 36px;
    }
    
    .topbar-icon {
        width: 14px;
        height: 14px;
    }
    
    .topbar-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.7rem;
        min-width: 60px;
        min-height: 36px;
    }
    
    .header-container {
        padding: 0.6rem 0.75rem;
    }
    
    .site-branding {
        padding-bottom: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .site-branding img {
        max-height: 35px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .primary-menu {
        gap: 0.3rem;
    }
    
    .primary-menu .menu-item a {
        padding: 0.55rem 0.75rem;
        gap: 0.65rem;
        min-height: 40px;
    }
    
    .menu-icon {
        width: 20px;
        height: 20px;
    }
    
    .menu-label {
        font-size: 0.8rem;
    }
}

/* ========================================
   MOBILE CONTENT SPACING
   ======================================== */

@media (max-width: 768px) {
    /* Reduce top spacing after header */
    .site-main {
        padding-top: 0;
    }
    
    /* Hero Section - Compact */
    .hero-section {
        padding: 2rem 1rem;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }
    
    /* Info Section - Compact */
    .info-section {
        padding: 2rem 1rem;
    }
    
    .info-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .info-section p {
        font-size: 0.9rem;
    }
    
    /* Feature Section - Compact */
    .feature-section {
        padding: 2rem 1rem;
    }
    
    .feature-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-list {
        gap: 0.85rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .feature-item h3 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
    
    /* Trust Section - Compact */
    .trust-section {
        padding: 2rem 1rem;
    }
    
    .trust-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .trust-section p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .trust-menu {
        gap: 0.6rem;
    }
    
    .trust-menu li a {
        padding: 0.65rem 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 0.75rem;
        min-height: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        padding: 0.55rem 0.85rem;
    }
    
    .info-section,
    .feature-section,
    .trust-section {
        padding: 1.5rem 0.75rem;
    }
    
    .info-section h2,
    .feature-section h2,
    .trust-section h2 {
        font-size: 1.25rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item h3 {
        font-size: 0.95rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
}

/* ========================================
   MOBILE FOOTER - COMPACT
   ======================================== */

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 1rem 1rem;
    }
    
    .footer-navigation {
        margin-bottom: 1.25rem;
    }
    
    .footer-menu {
        gap: 0.6rem;
    }
    
    .footer-menu li a {
        padding: 0.65rem;
        font-size: 0.85rem;
    }
    
    .footer-brand {
        padding: 1.25rem 0;
        margin-bottom: 1.25rem;
    }
    
    .footer-brand .site-title {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-brand .site-description {
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        padding-top: 1rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.25rem 0.75rem 0.75rem;
    }
    
    .footer-menu li a {
        padding: 0.55rem;
        font-size: 0.8rem;
    }
    
    .footer-brand {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .footer-brand .site-title {
        font-size: 1.15rem;
    }
    
    .footer-brand .site-description {
        font-size: 0.8rem;
    }
    
    .footer-copyright p {
        font-size: 0.75rem;
    }
}

/* ========================================
   MOBILE PERFORMANCE OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
    /* Disable heavy animations on mobile */
    * {
        animation-duration: 0.2s !important;
    }
    
    /* Reduce shadow complexity */
    .site-header {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .primary-menu .menu-item a {
        box-shadow: none;
    }
    
    .primary-menu .menu-item a:hover {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    
    /* Simplify gradients on mobile */
    .site-header {
        background: linear-gradient(180deg, #2b0a0a 0%, #8b1e1e 100%);
    }
    
    /* Remove backdrop blur on mobile for performance */
    .primary-menu .menu-item a {
        backdrop-filter: none;
    }
}

/* ========================================
   MOBILE UTILITY - HIDE/SHOW
   ======================================== */

@media (max-width: 768px) {
    /* Hide decorative elements */
    .hero-section::after,
    .feature-section::after {
        display: none;
    }
    
    /* Simplify borders */
    .site-header {
        border-bottom-width: 2px;
    }
    
    .site-branding {
        border-bottom-width: 1px;
    }
}

/* ========================================
   MOBILE LANDSCAPE - SPECIAL HANDLING
   ======================================== */

@media (max-width: 768px) and (orientation: landscape) {
    .topbar-container {
        padding: 0.3rem 0;
    }
    
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .site-branding {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .site-branding img {
        max-height: 35px;
    }
    
    .primary-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .primary-menu .menu-item {
        width: calc(50% - 0.15rem);
    }
    
    .primary-menu .menu-item a {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
        min-height: 38px;
    }
    
    .menu-icon {
        width: 18px;
        height: 18px;
    }
    
    .menu-label {
        font-size: 0.75rem;
    }
}

/* ========================================
   FOOTER REDESIGN -    STYLE
   Multi-section footer dengan informasi lengkap
   ======================================== */

/* Footer Container */
.site-footer {
    background: linear-gradient(180deg, #2b0a0a 0%, #1a0505 100%);
    color: #fecaca;
    padding: 3rem 0 1rem;
    border-top: 3px solid rgba(185, 28, 28, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   FOOTER TOP - 4 Columns
   ======================================== */

.footer-top {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Footer Titles */
.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(185, 28, 28, 0.5);
    display: inline-block;
}

/* Footer About Column */
.footer-about .footer-logo {
    margin-bottom: 1rem;
}

.footer-about .footer-logo img {
    max-height: 45px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #fca5a5;
}

/* Footer Menu Lists */
.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu-list li {
    margin-bottom: 0.75rem;
}

.footer-menu-list li a {
    color: #fecaca;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 1rem;
}

.footer-menu-list li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #b91c1c;
    font-weight: 700;
    transition: left 0.3s ease;
}

.footer-menu-list li a:hover {
    color: #b91c1c;
    padding-left: 1.25rem;
}

.footer-menu-list li a:hover::before {
    left: 0.25rem;
}

/* Footer Contact List */
.footer-contact-list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.contact-icon[data-icon="chat"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/chat.svg');
}

.contact-icon[data-icon="email"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/email.svg');
}

.contact-icon[data-icon="whatsapp"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/whatsapp.svg');
}

.contact-item a {
    color: #fecaca;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #b91c1c;
}

/* Footer Social Media */
.footer-social {
    margin-top: 1.5rem;
}

.social-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.75rem;
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links li a:hover {
    background: rgba(185, 28, 28, 0.2);
    border-color: rgba(185, 28, 28, 0.5);
    transform: translateY(-3px);
}

.social-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.social-icon[data-icon="facebook"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/fb.png');
}

.social-icon[data-icon="twitter"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/wa.png');
}

.social-icon[data-icon="instagram"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/ig.png');
}

.social-icon[data-icon="telegram"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/tele.png');
}

/* ========================================
   FOOTER MIDDLE - Providers & Payment
   ======================================== */

.footer-middle {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-providers,
.footer-payment {
    margin-bottom: 2rem;
}

.providers-title,
.payment-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.providers-list,
.payment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.provider-item,
.payment-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.provider-item:hover,
.payment-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(185, 28, 28, 0.3);
    transform: translateY(-2px);
}

.provider-item img,
.payment-item img {
    max-height: 30px;
    width: auto;
    display: block;
    filter: grayscale(50%) brightness(1.2);
    transition: filter 0.3s ease;
}

.provider-item:hover img,
.payment-item:hover img {
    filter: grayscale(0%) brightness(1);
}

/* ========================================
   FOOTER BOTTOM - Copyright & Disclaimer
   ======================================== */

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    margin-bottom: 1rem;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #fca5a5;
}

.footer-copyright a {
    color: #fecaca;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #b91c1c;
}

.footer-disclaimer {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(185, 28, 28, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.disclaimer-text {
    font-size: 0.85rem;
    color: #fecaca;
    line-height: 1.6;
    margin: 0;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge-item img {
    max-height: 40px;
    width: auto;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.badge-item:hover img {
    filter: brightness(1.1);
}

/* ========================================
   FOOTER RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .footer-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-title {
        display: block;
        text-align: center;
    }
    
    .footer-about .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-menu-list li a {
        padding-left: 0;
    }
    
    .footer-menu-list li a::before {
        display: none;
    }
    
    .footer-menu-list li a:hover {
        padding-left: 0;
    }
    
    .footer-contact-list {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-middle {
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .providers-list,
    .payment-list {
        gap: 0.75rem;
    }
    
    .provider-item,
    .payment-item {
        padding: 0.6rem 0.8rem;
    }
    
    .provider-item img,
    .payment-item img {
        max-height: 25px;
    }
    
    .footer-badges {
        gap: 1rem;
    }
    
    .badge-item img {
        max-height: 35px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-container {
        padding: 0 0.75rem;
    }
    
    .footer-top {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-row {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }
    
    .footer-about .footer-logo img {
        max-height: 38px;
    }
    
    .footer-logo-text {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .footer-menu-list li {
        margin-bottom: 0.6rem;
    }
    
    .footer-menu-list li a {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .contact-icon {
        width: 18px;
        height: 18px;
    }
    
    .social-links li a {
        width: 36px;
        height: 36px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
    
    .footer-middle {
        padding-bottom: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .providers-title,
    .payment-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .providers-list,
    .payment-list {
        gap: 0.5rem;
    }
    
    .provider-item,
    .payment-item {
        padding: 0.5rem 0.65rem;
    }
    
    .provider-item img,
    .payment-item img {
        max-height: 22px;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
    
    .disclaimer-text {
        font-size: 0.8rem;
    }
    
    .footer-badges {
        gap: 0.75rem;
    }
    
    .badge-item img {
        max-height: 30px;
    }
}

/* ========================================
   BLOG / NEWS LAYOUT (INDEX.PHP)
   Card-based post grid with modern design
   ======================================== */

/* Page Wrapper */
.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: #fef2f2;
}

/* Posts Container */
.posts-container {
    width: 100%;
}

/* Posts Grid Layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ========================================
   POST CARD STYLING
   ======================================== */

.post-card {
    background: #fef2f2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Post Thumbnail */
.post-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-image {
    transform: scale(1.08);
}

/* Category Badge */
.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.category-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.4);
}

/* Post Content */
.post-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #b91c1c;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Meta Icons */
.meta-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.meta-icon[data-icon="calendar"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/calendar.svg');
}

.meta-icon[data-icon="user"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/user.svg');
}

/* Post Title */
.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #dc2626;
}

.post-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #b91c1c;
}

/* Post Excerpt */
.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #7f1d1d;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* Post Footer */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Read More Link */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #dc2626;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #b91c1c;
    gap: 0.6rem;
}

.arrow-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.read-more:hover .arrow-icon {
    transform: translateX(3px);
}

/* Post Stats */
.post-stats {
    display: flex;
    gap: 1rem;
}

.comments-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #b91c1c;
}

.stat-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.stat-icon[data-icon="comment"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/comment.svg');
}

/* ========================================
   PAGINATION
   ======================================== */

.posts-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.posts-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.posts-pagination a,
.posts-pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.posts-pagination a:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.posts-pagination .current {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: #fff;
    border-color: #dc2626;
    box-shadow: 0 3px 8px rgba(185, 28, 28, 0.3);
}

.pagination-icon {
    font-size: 1rem;
}

/* ========================================
   NO POSTS STATE
   ======================================== */

.no-posts {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 3rem 1.5rem;
}

.no-posts-content {
    text-align: center;
    max-width: 500px;
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-posts h2 {
    font-size: 1.75rem;
    color: #dc2626;
    margin-bottom: 1rem;
    font-weight: 700;
}

.no-posts p {
    font-size: 1rem;
    color: #b91c1c;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-home {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

.btn-home:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN - BLOG LAYOUT
   ======================================== */

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .page-wrapper {
        padding: 2.5rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-wrapper {
        padding: 2rem 1rem;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .post-content {
        padding: 1.25rem;
    }
    
    .post-title {
        font-size: 1.15rem;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
    }
    
    .posts-pagination {
        margin-top: 2rem;
    }
    
    .posts-pagination a,
    .posts-pagination .current {
        min-width: 38px;
        height: 38px;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .no-posts {
        min-height: 300px;
        padding: 2rem 1rem;
    }
    
    .no-posts-icon {
        font-size: 3rem;
    }
    
    .no-posts h2 {
        font-size: 1.5rem;
    }
    
    .no-posts p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding: 1.5rem 0.75rem;
    }
    
    .posts-grid {
        gap: 1.25rem;
    }
    
    .post-thumbnail {
        height: 180px;
    }
    
    .post-content {
        padding: 1rem;
    }
    
    .post-meta {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .post-title {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }
    
    .post-excerpt {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .read-more {
        font-size: 0.85rem;
    }
    
    .posts-pagination {
        margin-top: 1.5rem;
    }
    
    .posts-pagination a,
    .posts-pagination .current {
        min-width: 36px;
        height: 36px;
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .no-posts {
        min-height: 250px;
        padding: 1.5rem 0.75rem;
    }
    
    .no-posts-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .no-posts h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .no-posts p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-home {
        padding: 0.65rem 1.75rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   POST CARD - MOBILE TOUCH OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
    .post-card {
        border-radius: 10px;
    }
    
    .post-card:active {
        transform: scale(0.98);
    }
    
    /* Larger tap targets */
    .read-more,
    .post-title a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch devices */
    @media (hover: none) {
        .post-card:hover {
            transform: none;
        }
        
        .post-card:hover .post-image {
            transform: none;
        }
        
        .read-more:hover {
            gap: 0.4rem;
        }
        
        .read-more:hover .arrow-icon {
            transform: none;
        }
    }
}

/* ========================================
   POST CARD - LOADING STATE (OPTIONAL)
   ======================================== */

.post-card.loading {
    pointer-events: none;
    opacity: 0.6;
}

.post-card.loading .post-thumbnail {
    background: linear-gradient(
        90deg,
        #4a0f0f,
        #8b1e1e,
        #4a0f0f
    );
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.post-card.loading-old .post-thumbnail {
    background: linear-gradient(
        90deg,
        #e0e7ff 0%,
        #c7d2fe 50%,
        #e0e7ff 100%
    );
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ========================================
   POST CARD - ACCESSIBILITY
   ======================================== */

.post-card:focus-within {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
}

.post-title a:focus,
.read-more:focus {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* ========================================
   FRONT PAGE -    STYLE LAYOUT
   Complete homepage sections
   ======================================== */

/* ========================================
   HERO BANNER - FULL IMAGE ONLY
   ======================================== */

.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #2b0a0a;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   PROGRESSIVE JACKPOT BANNER
   Full width horizontal banner with navy background
   ======================================== */

.jackpot-banner {
    width: 100%;
    background: linear-gradient(135deg, #1a0505 0%, #2b0a0a 50%, #0a0202 100%);
    padding: 2rem 1.5rem;
    margin: 0;
    overflow: hidden;
}

.jackpot-banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jackpot-banner-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Games Category Section - REMOVED */

/* ========================================
   VIDEO SLOTS POPULAR SECTION - STABLE LAYOUT
   Fixed 3-column grid with proper sizing
   ======================================== */

.video-slots-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, #2b0a0a 0%, #4a0f0f 100%);
    color: #e8eef5;
}

.video-slots-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 2-Column Layout - Sidebar + Main */
.slots-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* ========================================
   LEFT SIDEBAR - WINNER INFO
   ======================================== */

.slots-sidebar {
    position: sticky;
    top: 80px;
    width: 260px;
}

.winner-info {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.winner-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.winner-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.winner-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.winner-entry {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.winner-entry:hover {
    background: rgba(255, 215, 0, 0.08);
    transform: translateX(3px);
}

.winner-thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.winner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-details {
    flex: 1;
    min-width: 0;
}

.winner-username {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e8eef5;
    margin: 0 0 0.25rem 0;
}

.winner-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ef4444;
    margin: 0 0 0.25rem 0;
}

.winner-game {
    font-size: 0.7rem;
    color: #fecaca;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-preview {
    margin-top: 1.25rem;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.game-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   MAIN CONTENT - VIDEO SLOTS
   ======================================== */

.slots-main {
    background: rgba(26, 47, 79, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    min-width: 0;
    overflow: hidden;
}

/* Header Section */
.slots-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border: 2px solid #ef4444;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.slots-icon {
    font-size: 1.5rem;
}

.slots-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Provider Tabs */
.provider-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.provider-tab {
    background: rgba(30, 58, 95, 0.5);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-tab:hover {
    background: rgba(30, 58, 95, 0.7);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.provider-tab.active {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.provider-tab img {
    height: 26px;
    width: auto;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.provider-tab:hover img,
.provider-tab.active img {
    filter: brightness(1.1);
}

/* Games Grid - FIXED 3 COLUMNS */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.game-card {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
}

.game-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.game-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #2b0a0a;
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.08);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #000;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.game-title {
    padding: 0.85rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e8eef5;
    margin: 0;
    background: #8b1e1e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================
   RIGHT SIDEBAR - MASCOT (HIDDEN)
   ======================================== */

.slots-mascot {
    display: none;
}

/* ========================================
   RESPONSIVE VIDEO SLOTS - STABLE LAYOUT
   ======================================== */

@media (max-width: 1200px) {
    .slots-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .slots-sidebar {
        position: static;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .slots-main {
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .video-slots-section {
        padding: 2rem 1rem;
    }
    
    .slots-main {
        padding: 1.25rem;
    }
    
    .slots-header {
        padding: 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .slots-title {
        font-size: 1.1rem;
    }
    
    .provider-tabs {
        gap: 0.65rem;
    }
    
    .provider-tab {
        padding: 0.6rem 1rem;
        min-height: 42px;
    }
    
    .provider-tab img {
        height: 22px;
    }
    
    .games-grid {
        gap: 0.85rem;
    }
    
    .game-title {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .play-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.85rem;
    }
}

@media (max-width: 480px) {
    .video-slots-section {
        padding: 1.5rem 0.75rem;
    }
    
    .slots-main {
        padding: 1rem;
    }
    
    .slots-header {
        padding: 0.75rem;
    }
    
    .slots-title {
        font-size: 1rem;
    }
    
    .provider-tab {
        padding: 0.55rem 0.85rem;
        min-height: 38px;
    }
    
    .provider-tab img {
        height: 20px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .game-title {
        font-size: 0.75rem;
        padding: 0.65rem;
    }
    
    .play-btn {
        font-size: 0.8rem;
        padding: 0.65rem 1.65rem;
    }
}

/* Provider Tabs */
.provider-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.provider-tab {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.provider-tab img {
    max-width: 100%;
    height: 40px;
    object-fit: contain;
}

.provider-tab:hover,
.provider-tab.active {
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.provider-tab[data-provider="pragmatic"] {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
}

.provider-tab[data-provider="live22"] {
    background: linear-gradient(135deg, #4a0f0f 0%, #7f1d1d 100%);
}

.provider-tab[data-provider="slot88"] {
    background: linear-gradient(135deg, #8b1e1e 0%, #b91c1c 100%);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.game-card {
    background: linear-gradient(135deg, #8b1e1e 0%, #4a0f0f 100%);
    border-radius: 12px;
    border: 2px solid #222;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.game-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

.game-title {
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0;
}

/* ========================================
   RIGHT SIDEBAR - MASCOT
   ======================================== */

.slots-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 20px;
}

.slots-mascot img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   RESPONSIVE VIDEO SLOTS
   ======================================== */

@media (max-width: 1200px) {
    .slots-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .slots-sidebar,
    .slots-mascot {
        display: none;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .video-slots-section {
        padding: 3rem 1rem;
    }
    
    .slots-main {
        padding: 1.5rem;
    }
    
    .slots-header {
        padding: 0.85rem 1.25rem;
    }
    
    .slots-title {
        font-size: 1.25rem;
    }
    
    .provider-tabs {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .provider-tab {
        min-width: 120px;
        padding: 0.65rem 1.25rem;
    }
    
    .provider-tab img {
        height: 35px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .video-slots-section {
        padding: 2.5rem 0.75rem;
    }
    
    .slots-main {
        padding: 1.25rem;
    }
    
    .slots-header {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .slots-icon {
        font-size: 1.75rem;
    }
    
    .slots-title {
        font-size: 1.1rem;
    }
    
    .provider-tabs {
        gap: 0.65rem;
    }
    
    .provider-tab {
        min-width: 100px;
        padding: 0.6rem 1rem;
    }
    
    .provider-tab img {
        height: 30px;
    }
    
    .games-grid {
        gap: 0.85rem;
    }
    
    .game-title {
        font-size: 0.85rem;
        padding: 0.85rem;
    }
    
    .play-btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.75rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 18px;
    }
    
    .category-link {
        padding: 20px 18px;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
    }
    
    .category-icon i {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }
    
    .category-title {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .games-category {
        padding: 3rem 1rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-link {
        padding: 18px 15px;
        gap: 12px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon i {
        font-size: 26px;
        width: 26px;
        height: 26px;
    }
    
    .category-title {
        font-size: 16px;
    }
    
    .category-count {
        font-size: 12px;
    }
    
    .category-arrow {
        width: 28px;
        height: 28px;
    }
    
    .category-arrow span {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .games-category {
        padding: 2.5rem 0.75rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .category-link {
        padding: 16px 15px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
    }
    
    .category-icon i {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    
    .category-title {
        font-size: 15px;
    }
    
    .category-count {
        font-size: 11px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .category-card:hover {
        transform: none;
    }
    
    .category-card:hover .category-icon {
        transform: none;
    }
    
    .category-card:hover .category-arrow span {
        transform: none;
    }
}

/* Active State for Touch */
.category-card:active {
    transform: scale(0.98);
}

/* Accessibility */
.category-link:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

.category-link:focus .category-title {
    color: #ef4444;
}

/* ========================================
   PROMO SECTION - ENHANCED DUNIABOLA STYLE
   Improved gradient, badges, and hover effects
   ======================================== */

.promo-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #2b0a0a 0%, #4a0f0f 50%, #8b1e1e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(185, 28, 28, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.promo-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.promo-section .section-title {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.promo-section .section-title::after {
    background: linear-gradient(90deg, transparent, #b91c1c, transparent);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Promo Card Enhanced */
.promo-card {
    background: linear-gradient(135deg, rgba(30, 50, 80, 0.6) 0%, rgba(20, 35, 60, 0.8) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(185, 28, 28, 0) 0%, rgba(185, 28, 28, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.promo-card:hover::before {
    opacity: 1;
}

.promo-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(185, 28, 28, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(185, 28, 28, 0.2);
}

/* Promo Image Wrapper */
.promo-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-card:hover .promo-image {
    transform: scale(1.15);
}

/* Promo Overlay */
.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.promo-card:hover .promo-overlay {
    opacity: 0.8;
}

/* Promo Badge Enhanced */
.promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

.promo-badge span {
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-badge-hot {
    background: linear-gradient(135deg, #8b1e1e 0%, #b91c1c 50%, #8b1e1e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 30, 30, 0.6),
                0 0 20px rgba(185, 28, 28, 0.4);
}

.promo-badge-new {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.6),
                0 0 20px rgba(220, 38, 38, 0.4);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Promo Content */
.promo-content {
    padding: 1.75rem;
    position: relative;
    z-index: 1;
}

.promo-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #b91c1c;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.promo-link:hover {
    color: #f87171;
    gap: 0.75rem;
    text-shadow: 0 0 10px rgba(185, 28, 28, 0.5);
}

.promo-link .arrow-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.promo-link:hover .arrow-icon {
    transform: translateX(5px);
}

/* ========================================
   VIDEO SLOTS - DUPLICATE SECTION REMOVED
   Using refined version above
   ======================================== */

/* ========================================
   PAYMENT METHODS SECTION
   ======================================== */

.payment-methods {
    background: #8b1e1e;
}

/* Slots Mascot */
.slots-mascot {
    background: linear-gradient(180deg, #8b1e1e 0%, #4a0f0f 100%);
    padding: 2rem 1.5rem;
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slots-mascot img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}.promo-link .arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.promo-link:hover .arrow {
    transform: translateX(3px);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-us {
    padding: 4rem 1.5rem;
    background: #fff;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #b91c1c;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fef2f2 0%, #fef5f5 100%);
    border-radius: 12px;
    border: 1px solid #fecaca;
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #b91c1c;
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 50%;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.why-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.why-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.why-item p {
    font-size: 0.95rem;
    color: #b91c1c;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   PAYMENT METHODS SECTION
   ======================================== */

.site-content,
.main-content,
.page-content,
.content-area,
.homepage-section,
.homepage-wrapper {
    opacity: 1;
    filter: none;
}

.site-content .payment-methods,
.main-content .payment-methods,
.page-content .payment-methods,
.content-area .payment-methods,
.homepage-section .payment-methods,
.homepage-wrapper .payment-methods {
    opacity: 1 !important;
    filter: none !important;
}

.payment-methods {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #4a0f0f 0%, #8b1e1e 100%);
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    filter: none !important;
    isolation: isolate;
}

.payment-methods::before,
.payment-methods::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
}

.payment-methods,
.payment-methods *,
.payment-methods .section-title,
.payment-methods .section-subtitle,
.payment-methods h2,
.payment-methods p {
    opacity: 1 !important;
    filter: none !important;
}

.payment-methods .section-title {
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.payment-methods .section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.payment-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 11;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.payment-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    border-color: #ef4444;
    background: rgba(255, 255, 255, 0.08);
}

.payment-logo img {
    max-height: 40px;
    width: auto;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.payment-logo:hover img {
    filter: brightness(1.1);
}

/* ========================================
   RESPONSIBLE GAMING SECTION
   ======================================== */

.responsible-gaming {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
}

.responsible-container {
    max-width: 1000px;
    margin: 0 auto;
}

.responsible-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.responsible-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 28, 28, 0.2);
    border-radius: 50%;
    border: 3px solid rgba(185, 28, 28, 0.5);
}

.responsible-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.responsible-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.responsible-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.responsible-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

.responsible-link:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.5);
    gap: 0.75rem;
}

.responsible-link .arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.responsible-link:hover .arrow {
    transform: translateX(3px);
}

/* ========================================
   FRONT PAGE - RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .quick-info-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero Banner Mobile */
    .hero-banner-image {
        width: 100%;
        height: auto;
    }
    
    /* Jackpot Banner Mobile */
    .jackpot-banner {
        padding: 1.5rem 1rem;
    }
    
    .jackpot-banner-wrapper {
        max-width: 100%;
    }
    
    .jackpot-banner-image {
        width: 100%;
        height: auto;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    /* Games Category Mobile */
    .games-category {
        padding: 3rem 1rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Promo Section Mobile */
    .promo-section {
        padding: 3rem 1rem;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .promo-image {
        height: 180px;
    }
    
    /* Why Choose Us Mobile */
    .why-choose-us {
        padding: 3rem 1rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-item {
        padding: 1.5rem;
    }
    
    .why-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }
    
    /* Payment Methods Mobile */
    .payment-methods {
        padding: 3rem 1rem;
    }
    
    .payment-logos {
        gap: 1.5rem;
    }
    
    .payment-logo {
        min-width: 100px;
        padding: 0.75rem 1.25rem;
    }
    
    .payment-logo img {
        max-height: 35px;
    }
    
    /* Responsible Gaming Mobile */
    .responsible-gaming {
        padding: 3rem 1rem;
    }
    
    .responsible-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .responsible-icon {
        width: 100px;
        height: 100px;
    }
    
    .responsible-text h2 {
        font-size: 1.5rem;
    }
    
    .responsible-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Hero Banner Extra Small */
    .hero-banner-image {
        width: 100%;
        height: auto;
    }
    
    /* Jackpot Banner Extra Small */
    .jackpot-banner {
        padding: 1rem 0.75rem;
    }
    
    .jackpot-banner-wrapper {
        max-width: 100%;
    }
    
    .jackpot-banner-image {
        width: 100%;
        height: auto;
    }
    
    /* Section Titles Extra Small */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Games Category Extra Small */
    .games-category {
        padding: 2.5rem 0.75rem;
    }
    
    .category-grid {
        gap: 1rem;
    }
    
    /* Promo Section Extra Small */
    .promo-section {
        padding: 2.5rem 0.75rem;
    }
    
    .promo-grid {
        gap: 1.25rem;
    }
    
    .promo-image {
        height: 160px;
    }
    
    .promo-content {
        padding: 1.25rem;
    }
    
    .promo-content h3 {
        font-size: 1.1rem;
    }
    
    .promo-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Why Choose Us Extra Small */
    .why-choose-us {
        padding: 2.5rem 0.75rem;
    }
    
    .why-grid {
        gap: 1.25rem;
    }
    
    .why-item {
        padding: 1.25rem;
    }
    
    .why-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }
    
    .why-item h3 {
        font-size: 1.05rem;
    }
    
    .why-item p {
        font-size: 0.9rem;
    }
    
    /* Payment Methods Extra Small */
    .payment-methods {
        padding: 2.5rem 0.75rem;
    }
    
    .payment-logos {
        gap: 1rem;
    }
    
    .payment-logo {
        min-width: 90px;
        padding: 0.65rem 1rem;
    }
    
    .payment-logo img {
        max-height: 30px;
    }
    
    /* Responsible Gaming Extra Small */
    .responsible-gaming {
        padding: 2.5rem 0.75rem;
    }
    
    .responsible-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .responsible-icon {
        width: 80px;
        height: 80px;
    }
    
    .responsible-text h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .responsible-text p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .responsible-link {
        padding: 0.65rem 1.75rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   FRONT PAGE - TOUCH OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
    /* Larger tap targets for mobile */
    .category-card,
    .promo-card,
    .why-item {
        min-height: 44px;
    }
    
    .promo-link,
    .responsible-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Remove hover effects on touch devices */
    @media (hover: none) {
        .category-card:hover,
        .promo-card:hover,
        .why-item:hover,
        .payment-logo:hover {
            transform: none;
        }
        
        .promo-card:hover .promo-image img {
            transform: none;
        }
        
        .promo-link:hover,
        .responsible-link:hover {
            gap: 0.5rem;
        }
        
        .promo-link:hover .arrow,
        .responsible-link:hover .arrow {
            transform: none;
        }
    }
    
    /* Active/tap states for mobile */
    .category-card:active,
    .promo-card:active,
    .why-item:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ========================================
   FRONT PAGE - ACCESSIBILITY
   ======================================== */

.category-card:focus-within,
.promo-card:focus-within,
.why-item:focus-within {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
}

.promo-link:focus,
.responsible-link:focus {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
    border-radius: 25px;
}


/* ========================================
      STYLE REFINEMENTS
   Enhanced styling to match   design
   ======================================== */

/* ========================================
   COLOR PALETTE ADJUSTMENTS
   Matching   color scheme
   ======================================== */

:root {
    /* Primary Colors - Dark Blue Theme */
    --color-primary-dark: #1a0505;
    --color-primary-base: #4a0f0f;
    --color-primary-light: #b91c1c;
    --color-primary-accent: #991b1b;
    
    /* Secondary Colors - Blue Accent */
    --color-secondary-base: #ef4444;
    --color-secondary-dark: #dc2626;
    --color-secondary-light: #f87171;
    
    /* Neutral Colors */
    --color-neutral-dark: #0a0202;
    --color-neutral-base: #fca5a5;
    --color-neutral-light: #fecaca;
    
    /* Status Colors */
    --color-success: #0f0;
    --color-error: #e00;
    --color-info: #8b6914;
    
    /* Gradients */
    --gradient-primary: linear-gradient(to bottom, #b91c1c 0%, #dc2626 100%);
    --gradient-secondary: linear-gradient(to bottom, #f87171 0%, #8b1e1e 100%);
    --gradient-header: linear-gradient(to bottom, #4a0f0f 0%, #1a0505 100%);
}

/* ========================================
   TYPOGRAPHY REFINEMENTS
   Matching   font styles
   ======================================== */

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* ========================================
   TOPBAR ENHANCEMENTS
   Matching   topbar style
   ======================================== */

.topbar-container {
    background: var(--color-primary-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    gap: 10px;
}

.topbar-right {
    display: flex;
    gap: 10px;
}

.topbar-link {
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.livechat-link {
    background-color: var(--color-info);
}

.livechat-link:hover {
    background-color: var(--color-secondary-dark);
}

.contact-link {
    background-color: transparent;
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.topbar-btn {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
}

.login-btn {
    background: var(--gradient-primary);
    color: #fff;
}

.login-btn:hover {
    background: linear-gradient(to bottom, #dc2626 0%, #b91c1c 100%);
}

.register-btn {
    background: var(--gradient-secondary);
    color: #fff;
}

.register-btn:hover {
    background: linear-gradient(to bottom, #991b1b 0%, #b91c1c 100%);
}

/* ========================================
   HEADER REFINEMENTS
   Matching   header design
   ======================================== */

.site-header {
    background: var(--color-primary-base);
    border-bottom: 4px solid var(--color-primary-light);
    padding: 0;
}

.site-header .header-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 0;
    align-items: stretch;
}

.site-branding {
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

/* ========================================
   MENU REFINEMENTS
   Matching   menu style
   ======================================== */

.primary-navigation {
    display: flex;
    align-items: stretch;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
}

.primary-menu > .menu-item {
    flex: 1;
    position: relative;
}

.primary-menu > .menu-item > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    color: #939393;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.primary-menu > .menu-item:hover > a,
.primary-menu > .menu-item.current-menu-item > a {
    color: #fff;
    background-image: radial-gradient(circle at top center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}

.menu-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.3s ease;
}

.primary-menu > .menu-item:hover .menu-icon {
    transform: scale(1.1);
    filter: brightness(1.3);
}

/* Dropdown Menu for Categories */
.primary-menu > .menu-item:hover .sub-menu {
    display: flex;
}

.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(3, 8, 40, 0.95);
    border-top: 4px solid var(--color-primary-light);
    border-bottom: 10px solid var(--color-primary-light);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 10px 0 20px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.primary-menu .sub-menu > li {
    flex-basis: 25%;
    padding: 0 10px;
    margin: 3px 0;
}

.primary-menu .sub-menu > li > a {
    display: block;
    padding: 0;
    transition: all 0.3s ease;
}

.primary-menu .sub-menu > li > a:hover {
    transform: scale(1.05);
}

.primary-menu .sub-menu img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* ========================================
   BUTTON ENHANCEMENTS
   Matching   button styles
   ======================================== */

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 28, 28, 0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary:hover {
    background: linear-gradient(to bottom, #991b1b 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 28, 28, 0.4);
}

/* ========================================
   ANIMATION ENHANCEMENTS
   Smooth transitions and effects
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Apply animations to elements */
.category-card {
    animation: fadeIn 0.6s ease-out;
}

.promo-card {
    animation: fadeIn 0.6s ease-out;
}

.why-item {
    animation: fadeIn 0.6s ease-out;
}

.info-item:nth-child(1) {
    animation: slideInLeft 0.6s ease-out;
}

.info-item:nth-child(2) {
    animation: fadeIn 0.6s ease-out 0.1s;
    animation-fill-mode: both;
}

.info-item:nth-child(3) {
    animation: fadeIn 0.6s ease-out 0.2s;
    animation-fill-mode: both;
}

.info-item:nth-child(4) {
    animation: slideInRight 0.6s ease-out 0.3s;
    animation-fill-mode: both;
}

/* ========================================
   HOVER EFFECTS ENHANCEMENTS
   Interactive hover states
   ======================================== */

.category-card,
.promo-card,
.why-item,
.payment-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.why-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.payment-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image hover effects */
.promo-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-card:hover .promo-image img {
    transform: scale(1.15) rotate(2deg);
}

/* ========================================
   FOOTER REFINEMENTS
   Matching   footer style
   ======================================== */

.site-footer {
    background: var(--color-neutral-dark);
    border-top: 2px solid var(--color-primary-accent);
    padding: 40px 0 20px;
    color: var(--color-neutral-light);
}

.footer-top {
    padding-bottom: 30px;
    border-bottom: 1px dotted #991b1b;
    margin-bottom: 30px;
}

.footer-column {
    padding: 0 20px;
}

.footer-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-secondary-dark);
    display: inline-block;
}

.footer-menu-list li a {
    color: var(--color-neutral-base);
    font-size: 13px;
    transition: all 0.3s ease;
    padding-left: 15px;
    position: relative;
}

.footer-menu-list li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-secondary-dark);
    font-weight: 700;
    transition: left 0.3s ease;
}

.footer-menu-list li a:hover {
    color: var(--color-secondary-dark);
    padding-left: 20px;
}

.footer-menu-list li a:hover::before {
    left: 5px;
}

/* ========================================
   RESPONSIVE REFINEMENTS
   Enhanced mobile experience
   ======================================== */

@media (max-width: 768px) {
    .site-header .header-container {
        grid-template-columns: 1fr;
    }
    
    .primary-menu {
        flex-direction: column;
    }
    
    .primary-menu > .menu-item > a {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .menu-icon {
        margin: 0;
    }
    
    .primary-menu .sub-menu {
        position: static;
        border-radius: 0;
    }
    
    .primary-menu .sub-menu > li {
        flex-basis: 100%;
    }
}

/* ========================================
   UTILITY CLASSES
   Helper classes for common patterns
   ======================================== */

.text-gold {
    color: var(--color-secondary-base);
}

.text-blue {
    color: var(--color-primary-light);
}

.bg-dark {
    background-color: var(--color-primary-dark);
}

.bg-primary {
    background-color: var(--color-primary-base);
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.shadow-xl {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.rounded {
    border-radius: 5px;
}

.rounded-lg {
    border-radius: 10px;
}

.rounded-xl {
    border-radius: 15px;
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   GPU acceleration and smooth rendering
   ======================================== */

.category-card,
.promo-card,
.why-item,
.payment-logo,
.primary-menu > .menu-item > a {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ========================================
   PROMO & VIDEO SLOTS - RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .slots-content {
        grid-template-columns: 220px 1fr 280px;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .slots-content {
        grid-template-columns: 1fr;
    }
    
    .slots-sidebar,
    .slots-mascot {
        display: none;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .jackpot-display {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .promo-section {
        padding: 3rem 1rem;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .promo-image-wrapper {
        height: 200px;
    }
    
    .promo-content {
        padding: 1.5rem;
    }
    
    .promo-title {
        font-size: 1.2rem;
    }
    
    .promo-description {
        font-size: 0.9rem;
    }
    
    /* Video Slots Mobile */
    .section-header {
        padding: 1.5rem 1rem;
    }
    
    .jackpot-label {
        padding: 0.5rem 1rem;
    }
    
    .jackpot-text,
    .jackpot-play {
        font-size: 1.2rem;
    }
    
    .jackpot-amount {
        padding: 0.75rem 1.5rem;
    }
    
    .amount {
        font-size: 1.5rem;
    }
    
    .slots-main {
        padding: 1.5rem 1rem;
    }
    
    .provider-tabs {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .provider-tab {
        padding: 0.5rem 1rem;
    }
    
    .provider-tab img {
        height: 24px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .promo-section {
        padding: 2.5rem 0.75rem;
    }
    
    .promo-grid {
        gap: 1.25rem;
    }
    
    .promo-image-wrapper {
        height: 180px;
    }
    
    .promo-content {
        padding: 1.25rem;
    }
    
    .promo-title {
        font-size: 1.1rem;
    }
    
    .promo-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .promo-badge {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }
    
    /* Video Slots Extra Small */
    .section-header {
        padding: 1rem 0.75rem;
    }
    
    .jackpot-label {
        padding: 0.4rem 0.75rem;
    }
    
    .jackpot-text,
    .jackpot-play {
        font-size: 1rem;
    }
    
    .currency {
        font-size: 1rem;
    }
    
    .amount {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .section-title-slots {
        font-size: 1.2rem;
    }
    
    .slots-main {
        padding: 1rem 0.75rem;
    }
    
    .provider-tabs {
        gap: 0.5rem;
    }
    
    .provider-tab {
        padding: 0.4rem 0.75rem;
    }
    
    .provider-tab img {
        height: 20px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .game-name {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .play-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .promo-card:hover {
        transform: translateY(-5px);
    }
    
    .promo-card:hover .promo-image {
        transform: none;
    }
    
    .game-card:hover {
        transform: translateY(-3px);
    }
    
    .game-card:hover .game-image img {
        transform: none;
    }
}

/* Active States for Touch */
.promo-card:active {
    transform: scale(0.98);
}

.game-card:active {
    transform: scale(0.98);
}

.provider-tab:active {
    transform: scale(0.95);
}

/* Accessibility */
.promo-link:focus,
.play-btn:focus,
.provider-tab:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

/* ========================================
   NEXUS MOBILE SECTION
   Dark background with yellow highlights
   ======================================== */

.nexus-mobile {
    background: linear-gradient(180deg, #2b0a0a 0%, #4a0f0f 100%);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.nexus-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.03) 1px,
        transparent 1px
    );
    background-size: 30px 30px;
    pointer-events: none;
}

.nexus-mobile-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.nexus-mobile-content {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
}

/* Mobile Header */
.mobile-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mobile-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.title-highlight {
    color: #ef4444;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.5);
}

.title-normal {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mobile-subtitle {
    font-size: 1.1rem;
    color: #fecaca;
    margin: 0;
}

/* Mobile Body */
.mobile-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* QR Code Section */
.mobile-qr {
    text-align: center;
}

.qr-wrapper {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2);
    margin-bottom: 1rem;
    display: inline-block;
}

.qr-wrapper img {
    width: 180px;
    height: 180px;
    display: block;
}

.qr-label {
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 600;
    margin: 0;
}

/* Mobile Actions */
.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 250px;
    justify-content: center;
}

.download-btn {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #000;
    border-color: #ef4444;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2);
}

.download-btn:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
}

.guide-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ef4444;
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.guide-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ef4444;
    transform: translateY(-3px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.2);
}

.btn-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-icon[data-icon="download"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/download.svg');
}

.btn-icon[data-icon="guide"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/guide.svg');
}

/* Mobile Features */
.mobile-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.badge-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.badge-icon[data-icon="fast"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/fast.svg');
}

.badge-icon[data-icon="secure"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/secure.svg');
}

.badge-icon[data-icon="support"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/support.svg');
}

.badge-text {
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 600;
}

/* Nexus Mobile Responsive */
@media (max-width: 768px) {
    .nexus-mobile {
        padding: 3rem 1rem;
    }
    
    .nexus-mobile-content {
        padding: 2rem 1.5rem;
    }
    
    .mobile-title {
        font-size: 2rem;
    }
    
    .mobile-subtitle {
        font-size: 1rem;
    }
    
    .mobile-body {
        gap: 2rem;
    }
    
    .qr-wrapper img {
        width: 150px;
        height: 150px;
    }
    
    .mobile-btn {
        min-width: 220px;
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .mobile-features {
        gap: 1rem;
    }
    
    .feature-badge {
        padding: 0.65rem 1rem;
    }
}

@media (max-width: 480px) {
    .nexus-mobile {
        padding: 2.5rem 0.75rem;
    }
    
    .nexus-mobile-content {
        padding: 1.5rem 1rem;
        border-width: 1px;
    }
    
    .mobile-title {
        font-size: 1.75rem;
    }
    
    .mobile-subtitle {
        font-size: 0.95rem;
    }
    
    .mobile-body {
        gap: 1.5rem;
    }
    
    .qr-wrapper {
        padding: 0.75rem;
    }
    
    .qr-wrapper img {
        width: 130px;
        height: 130px;
    }
    
    .mobile-btn {
        min-width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .mobile-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-badge {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 0.9rem;
    }
    
    .badge-text {
        font-size: 0.85rem;
    }
}

/* ========================================
   FOOTER MINIMALIST REDESIGN
   Dark background with yellow accents
   ======================================== */

.site-footer {
    background: linear-gradient(180deg, #2b0a0a 0%, #4a0f0f 100%);
    color: #fecaca;
    padding: 3rem 1.5rem 2rem;
    border-top: 3px solid #ef4444;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.5) 50%,
        transparent
    );
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Footer Brand */
.footer-brand {
    text-align: center;
}

.footer-brand img {
    max-height: 50px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ef4444;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Footer Navigation */
.footer-navigation {
    width: 100%;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-menu li a {
    color: #fecaca;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

.footer-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ef4444;
    transition: width 0.3s ease;
}

.footer-menu li a:hover {
    color: #ef4444;
}

.footer-menu li a:hover::after {
    width: 100%;
}

/* Footer Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.3) 50%,
        transparent
    );
}

/* Footer Bottom */
.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-copyright {
    flex: 1;
    text-align: left;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #fca5a5;
    margin: 0;
}

.footer-copyright a {
    color: #ef4444;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #f87171;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ef4444;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.social-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(1.2);
}

.social-icon[data-icon="facebook"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/fb.png');
}

.social-icon[data-icon="WhatsApp"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/wa.png');
}

.social-icon[data-icon="instagram"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/ig.png');
}

.social-icon[data-icon="telegram"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/tele.png');
}

/* Footer Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-brand img {
        max-height: 45px;
    }
    
    .footer-logo-text {
        font-size: 1.6rem;
    }
    
    .footer-menu {
        gap: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-menu li a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 0.75rem 1.25rem;
        border-top-width: 2px;
    }
    
    .footer-content {
        gap: 1.25rem;
    }
    
    .footer-brand img {
        max-height: 40px;
    }
    
    .footer-logo-text {
        font-size: 1.4rem;
    }
    
    .footer-menu {
        gap: 1rem;
    }
    
    .footer-menu li a {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        gap: 1.25rem;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
}

/* Footer Animation - Subtle Glow */
@keyframes footer-glow {
    0%, 100% {
        border-top-color: #ef4444;
    }
    50% {
        border-top-color: #f87171;
    }
}

.site-footer {
    animation: footer-glow 5s ease-in-out infinite;
}


/* ========================================
   VIDEO SLOTS POPULAR - FINAL LAYOUT
   ======================================== */

.video-slots-section .slots-layout {
    display: grid;
    grid-template-columns: 20% 1fr 20%;
    gap: 2.5%;
    align-items: start;
}

.video-slots-section .slots-sidebar {
    padding: 1.25rem;
    background: rgba(74, 15, 15, 0.5);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.video-slots-section .slots-main {
    display: flex;
    flex-direction: column;
}

.video-slots-section .slots-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-slots-section .slots-mascot img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.video-slots-section .slots-header {
    margin-bottom: 1rem;
}

.video-slots-section .provider-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 0.3rem 0;
}

.video-slots-section .provider-tab {
    padding: 0.35rem 1.25rem;
    border: 1px solid #b91c1c;
    border-radius: 6px;
    background: rgba(0, 255, 136, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.video-slots-section .provider-tab:hover,
.video-slots-section .provider-tab.active {
    background: rgba(185, 28, 28, 0.15);
}

.video-slots-section .games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2%;
}

.video-slots-section .game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.video-slots-section .game-image {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
}

.video-slots-section .game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slots-section .game-title {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.video-slots-section .winner-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

.video-slots-section .winner-header {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.video-slots-section .winner-viewport {
    overflow: hidden;
    height: 270px;
    position: relative;
}

.video-slots-section .winner-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    animation: scrollUp 24s linear infinite;
}

.video-slots-section .slots-sidebar:hover .winner-track {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-90px * 6 - 0.85rem * 6));
    }
}

.video-slots-section .winner-entry {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    flex-shrink: 0;
    min-height: 90px;
}

.video-slots-section .winner-thumb {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
}

.video-slots-section .winner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slots-section .winner-details {
    flex: 1;
    font-size: 0.85rem;
}

.video-slots-section .game-preview {
    margin-top: auto;
}

.video-slots-section .game-preview img {
    width: 100%;
    border-radius: 6px;
}

@media (max-width: 1200px) {
    .video-slots-section .slots-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-slots-section .slots-sidebar {
        order: 2;
        padding: 1.5rem;
    }
    
    .video-slots-section .slots-main {
        order: 1;
    }
    
    .video-slots-section .slots-mascot {
        order: 3;
    }
    
    .video-slots-section .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .video-slots-section .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .video-slots-section .provider-tabs {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .video-slots-section .slots-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-slots-section .slots-header {
        order: 1;
    }
    
    .video-slots-section .provider-tabs {
        order: 2;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .video-slots-section .provider-tab {
        padding: 0.3rem 1rem;
        font-size: 0.9rem;
    }
    
    .video-slots-section .games-grid {
        order: 3;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 100%;
    }
    
    .video-slots-section .game-card {
        max-width: 100%;
    }
    
    .video-slots-section .game-image {
        aspect-ratio: 1;
        max-height: 180px;
    }
    
    .video-slots-section .game-title {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    
    .video-slots-section .slots-sidebar {
        order: 4;
        padding: 1.25rem;
        overflow: hidden;
        max-height: 420px;
    }
    
    .video-slots-section .winner-viewport {
        height: 240px;
    }
    
    .video-slots-section .winner-entry {
        min-height: 80px;
        margin-bottom: 14px;
    }
    
    .video-slots-section .winner-track {
        animation: scrollUp 28s linear infinite !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite;
    }
    
    @keyframes scrollUp {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(calc(-80px * 6 - 0.85rem * 6));
        }
    }
    
    .video-slots-section .winner-username,
    .video-slots-section .winner-amount {
        font-size: 0.8rem;
    }
    
    .video-slots-section .winner-game {
        font-size: 0.75rem;
    }
    
    .video-slots-section .slots-mascot {
        order: 5;
        max-height: 300px;
        animation: none;
        transition: none;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .video-slots-section .slots-mascot img {
        max-width: 220px;
        width: 100%;
        height: auto;
        animation: floatMobile 8s ease-in-out infinite !important;
        animation-timing-function: ease-in-out !important;
        transition: none;
        transform: none;
        position: static;
    }
    
    @keyframes floatMobile {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-4px);
        }
    }
}

@media (max-width: 480px) {
    .video-slots-section .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .video-slots-section .game-image {
        max-height: 150px;
    }
    
    .video-slots-section .game-title {
        font-size: 0.8rem;
    }
    
    .video-slots-section .provider-tabs {
        gap: 0.5rem;
    }
    
    .video-slots-section .provider-tab {
        padding: 0.25rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .video-slots-section .slots-sidebar {
        padding: 1rem;
        max-height: 350px;
    }
    
    .video-slots-section .slots-mascot {
        max-height: 250px;
    }
}


/* ========================================
   PAYMENT METHODS TEXT FIX - FINAL OVERRIDE
   ======================================== */

.payment-methods,
.payment-methods * {
    opacity: 1 !important;
    filter: none !important;
}

.payment-methods h2.section-title {
    color: #ffffff !important;
    text-shadow: none !important;
}

.payment-methods p.section-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: none !important;
}

.payment-methods h2,
.payment-methods p {
    color: #ffffff !important;
}


/* ========================================
   PAYMENT METHODS OVERLAY FIX - FINAL
   ======================================== */

.payment-methods {
    position: relative !important;
    isolation: isolate !important;
}

.payment-methods::before,
.payment-methods::after,
.payment-methods *::before,
.payment-methods *::after {
    content: none !important;
    display: none !important;
}

.payment-methods h2,
.payment-methods p {
    color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
}


/* ========================================
   ARTICLE WRAPPER (PAGE & POST ONLY)
   Separate from homepage sections
   ======================================== */

.article-wrapper {
    background: #2b0a0a;
    padding: 4rem 1.5rem;
    min-height: 50vh;
}

.article-container {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(74, 15, 15, 0.8);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(254, 226, 226, 0.15);
}

.article-content {
    color: #fee2e2;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #fee2e2;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: #fee2e2;
}

.article-body h1,
.article-body h2 {
    font-size: 1.85rem;
    font-weight: 600;
    color: #b91c1c;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ef4444;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ef4444;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    color: #fee2e2;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: #fee2e2;
    line-height: 1.8;
}

.article-body a {
    color: #ef4444;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-body a:hover {
    color: #b91c1c;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.article-body strong,
.article-body b {
    color: #b91c1c;
    font-weight: 600;
}

.article-body em,
.article-body i {
    font-style: italic;
}

.article-body blockquote {
    border-left: 4px solid #b91c1c;
    padding-left: 1.5rem;
    color: #fee2e2;
    margin: 2rem 0;
    font-style: italic;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.article-body table th,
.article-body table td {
    padding: 0.75rem;
    border: 1px solid rgba(254, 226, 226, 0.2);
    text-align: left;
    color: #fee2e2;
}

.article-body table th {
    background: rgba(185, 28, 28, 0.15);
    color: #b91c1c;
    font-weight: 600;
}

.page-links {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(254, 226, 226, 0.2);
    color: #fee2e2;
    text-align: center;
}

.page-links a {
    color: #b91c1c;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(185, 28, 28, 0.1);
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.page-links a:hover {
    background: rgba(185, 28, 28, 0.2);
    color: #ef4444;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .article-wrapper {
        padding: 2.5rem 1rem;
    }
    
    .article-container {
        padding: 2rem 1.5rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h1,
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.3rem;
    }
    
    .article-body h4 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .article-wrapper {
        padding: 2rem 0.75rem;
    }
    
    .article-container {
        padding: 1.5rem 1rem;
    }
    
    .article-body h1,
    .article-body h2 {
        font-size: 1.35rem;
    }
}

