:root {
    /* Color Palette - Light Theme for Content Boxes */
    --primary-bg: #0a0e17;
    --secondary-bg: rgba(255, 255, 255, 0.9);
    --accent-gold: #c5a028;
    --accent-gold-hover: #a6851d;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-on-dark: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);

    /* Layout Constants */
    --container-width: 1200px;
    --border-radius: 12px;
    --transition-speed: 0.3s;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('assets/background-home.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Page Specific Backgrounds */
body.blog-page {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../assets/background-blog.webp');
}

body.home-page {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('assets/background-home.webp');
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.content-box {
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
    overflow: hidden;
    position: relative;
    color: var(--text-primary);
}

.content-box h2 {
    color: #000;
}

.content-box.slots-card {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95)), url('assets/slots_bg.png');
    background-size: cover;
}

.content-box.live-card {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95)), url('assets/live_bg.png');
    background-size: cover;
}



/* Big Box Layout with Side Column */
.big-box-layout {

    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    max-width: var(--container-width);
    margin: 0 auto;
}

.big-box-layout .content-box {
    box-shadow: none;
    background: transparent;
    padding: 0;
    border: none;
    margin-bottom: 0;
}

/* Internal Sidebar for Big Box */
.big-box-sidebar {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 30px;
}

.big-box-sidebar h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 5px;
}

@media (max-width: 900px) {
    .big-box-layout {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .big-box-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 30px;
        margin-top: 30px;
    }
}


/* Header & Nav */
header {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Banner System */
.banner-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--container-width);
    margin: 20px auto;
    padding: 0 20px;
}

.banner-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    /* Show grab cursor */
    user-select: none;
    /* Prevent selection */
}

.banner-container.active {
    cursor: grabbing;
    scroll-snap-type: none;
    /* Disable snap during drag for smoothness */
    scroll-behavior: auto;
    /* Instant scroll during drag */
}

.banner-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.banner-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
}

.banner-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 21/9;
    /* Widescreen crop for desktop */
    object-fit: cover;
    /* Crop to fit */
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    pointer-events: none;
    /* Prevent image drag */
    -webkit-user-drag: none;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--accent-gold);
    width: 20px;
    border-radius: 4px;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
    user-select: none;
}

.banner-nav:hover {
    background: var(--accent-gold);
    color: black;
}

.prev-btn {
    left: 40px;
    /* Adjust based on padding/container */
}

.next-btn {
    right: 40px;
    /* Adjust based on padding/container */
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.btn-register {
    background: var(--accent-gold);
    color: #000;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: var(--primary-bg);
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.comparison-table tr:hover {
    background: rgba(197, 160, 40, 0.05);
}

.syabas-col {
    font-weight: bold;
    color: var(--accent-gold);
}

.table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
}

.table-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.comparison-table {
    min-width: 600px;
    /* Force scroll on small screens */
    margin-top: 0;
    /* Remove top margin as wrapper handles it */
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.faq-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
    color: var(--text-secondary);
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding: 15px 0;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--accent-gold);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.btn-open-all {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.btn-open-all:hover {
    background: var(--accent-gold);
    color: #000;
}


/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--primary-bg);
    z-index: 2000;
    transition: right 0.4s ease;
    padding: 60px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--accent-gold);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    margin-top: 40px;
}

.mobile-nav-links li {
    margin-bottom: 25px;
}

.mobile-nav-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}


/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
}

.hero .content-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Footer */
footer {
    background: #05070a;
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 2px solid var(--accent-gold);
}

.feature-highlight {
    margin-top: 40px;
}

/* Blog Card Styles */
.blog-card {
    padding: 0 !important;
    /* Override default content-box padding */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #1e293b;
    /* Dark Slate Placeholder */
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    object-fit: cover;
}

.blog-card-image::after {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    width: 90%;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Blog Specific Styles */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
    margin: 0 5px;
}

.breadcrumb a:first-child {
    margin-left: 0;
}

.breadcrumb span {
    margin: 0 5px;
}

.blog-hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.article-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.bottom-hub {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.hub-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.hub-section ul {
    list-style: none;
    padding: 0;
}

.hub-section ul li {
    margin-bottom: 12px;
}

.hub-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.hub-section ul li a:hover {
    color: var(--accent-gold);
}

.platform-info p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.platform-info strong {
    color: var(--text-primary);
}

/* Blog Layout (Two Column) */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: flex-start;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar .hub-section {
    margin-bottom: 40px;
    background: var(--glass-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.blog-sidebar .hub-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.sidebar-article-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-left: 3px solid var(--accent-gold);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sidebar-article-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
    transform: skewX(-15deg) translateX(100%);
    transition: transform 0.5s ease;
}

.sidebar-article-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sidebar-article-card:hover::after {
    transform: skewX(-15deg) translateX(0);
}

.sidebar-article-card h4 {
    margin-bottom: 8px;
    line-height: 1.4;
}

.sidebar-article-card h4 a {
    color: var(--text-primary) !important;
    text-decoration: none;
    font-size: 1.05rem !important;
    font-weight: 700;
    text-shadow: none;
    transition: color 0.3s ease;
}

.sidebar-article-card:hover h4 a {
    color: var(--accent-gold) !important;
}

.sidebar-article-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 500;
}


/* CTA Box Styles */
.cta-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-box h3 {
    color: #fff !important;
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 10px;
}


.cta-box p,
.cta-box ul,
.cta-box li {
    color: #ccc !important;
    margin-bottom: 20px;
    line-height: 1.5;
}


.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
}

.cta-box .btn-register {
    display: inline-block;
    background: var(--accent-gold);
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-box .btn-register:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}


@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .content-box {
        padding: 40px 20px;
    }

    .content-box {
        padding: 20px;
        margin-bottom: 15px;
        /* Thinner gap between boxes */
    }

    .grid {
        gap: 15px;
        margin-top: 20px;
        /* Reduced top gap */
        grid-template-columns: 1fr;
    }

    .feature-highlight {
        margin-top: 20px;
    }

    .nav-container {
        flex-direction: row;
        /* Keep logo and actions separate */
        justify-content: space-between;
        align-items: center;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .hamburger {
        display: flex;
        margin-left: 10px;
    }

    .btn-login {
        display: none;
        /* Hide login btn on small mobile to save space */
    }

    footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    footer .container>div {
        flex-direction: column;
        align-items: center;
    }

    .banner-wrapper {
        padding: 0;
        margin-top: 0;
    }

    .banner-item img {
        border-radius: 0;
        aspect-ratio: 16/9;
        /* Taller crop for mobile */
    }

    .hero {
        padding: 20px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* =========================
   Premium Footer Redesign
   ========================= */
.site-footer {
    background: #020202;
    background: radial-gradient(circle at 80% 0%, #111111 0%, #020202 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 80px 0 40px;
    margin-top: 80px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 25px;
    display: block;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.7;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.footer-col:hover .footer-heading::after {
    width: 50px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* Fix for inline styles in Platform Info */
.footer-links li span {
    color: #94a3b8 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-links li span:hover {
    color: #fff !important;
}

.footer-links li span::before,
.footer-links a::before {
    content: '›';
    color: var(--accent-gold);
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-links li span:hover::before,
.footer-links a:hover::before {
    opacity: 1;
}

/* Payment Badges */
.payment-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #ccc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-bottom p {
    color: #64748b;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 30px;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a,
    .footer-links li span {
        justify-content: center;
    }

    .payment-badges {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}