/* Removed older duplicated nav layout block to avoid conflicts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* Custom Fonts */
@font-face {
    font-family: 'digital_sans_ef_medium';
    font-display: swap;
    src: url('../fonts/digital_sans_ef_medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gilroybold';
    font-display: swap;
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open24DisplaySt';
    font-display: swap;
    src: url('../fonts/Open24DisplaySt.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    font-display: swap;
    src: url('../fonts/glyphicons-halflings-regular.woff') format('woff');
}

body {
    font-family: 'digital_sans_ef_medium', Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #050505 0%, #940000 100%);
    color: #fff;
    font-size: 14px;
    min-height: 100vh; /* ensure gradient covers full viewport */
}

html { background:#050505; }

/* Darken top structural bars to prevent underlying white from showing through transparency */
.top-bar { background: rgba(0,0,0,0.85); }
.main-header { background: rgba(0,0,0,0.65); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'gilroybold', Arial, Helvetica, sans-serif;
}

/* Container with spacing */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.top-bar-btn:hover {
    border-color: #ff0000;
    color: #ff0000;
}

.btn-rtp {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-rtp:hover {
    border-color: #ff0000;
    color: #ff0000;
}

.top-bar-right {
    display: flex;
    gap: 10px;
}

.btn-login {
    background: transparent;
    border: 1px solid #fa0000;
    color: #fc0000;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: rgba(139, 92, 246, 0.1);
}

.btn-register {
    background: linear-gradient(135deg, #e61f1f, #c428d9);
    border: none;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register:hover {
    background: linear-gradient(135deg, #ea7a7a, #ed3a3a);
}

/* Header */
.main-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}

/* Unified Navigation (desktop + mobile) */
:root {
    --nav-tile-height: 60px;
    --nav-icon-size: 32px;
    --nav-gap: 10px;
    --sticky-shadow: 0 4px 12px rgba(0,0,0,0.55);
    --fixed-header-offset: 0px;
}

body {
    padding-top: var(--fixed-header-offset);
}

/* Sticky header wrapper */
.site-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    display: block;
    backdrop-filter: blur(2px);
}

/* Desktop layout: logo row above button row */
@media (min-width: 992px) {
    .site-header-fixed {
        display: flex;
        flex-direction: column;
    }

    .site-header-fixed .main-header { order: 1; }
    .site-header-fixed .top-bar { order: 2; }

    .site-header-fixed .main-header .header-content {
        justify-content: center;
    }
}

/* Optional subtle shadow only when scrolled */
body.scrolled .site-header-fixed { box-shadow: var(--sticky-shadow); }

/* JS hook (already main.js present) - minimal inline approach could add a scroll class; not implemented yet */

.main-header .main-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: var(--nav-gap);
    padding: 6px 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.main-header .main-nav::-webkit-scrollbar { display: none; }

.main-header .main-nav .nav-item {
    flex: 0 0 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: var(--nav-tile-height);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    text-decoration: none;
    color: #bbb;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .25px;
    transition: background .25s, border-color .25s, color .25s;
    scroll-snap-align: start;
}
.main-header .main-nav .nav-item:hover { border-color: rgba(255,255,255,0.20); color:#fff; }
.main-header .main-nav .nav-item.active { background: rgba(255,255,255,0.10); color:#fff; border-color: rgba(255,255,255,0.30); }

.main-header .main-nav .nav-icon {
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    background-image: url('../images/assets/icon_nav.png');
    background-repeat: no-repeat;
    background-size: 32px 493px;
    background-color: rgba(255,255,255,0.06);
    border-radius: 8px;
    display: block;
    transition: background-color .25s;
}
.main-header .main-nav .nav-item:hover .nav-icon { background-color: rgba(246,92,92,0.25); }
.main-header .main-nav .nav-item.active .nav-icon { background-color: rgba(246,92,92,0.35); }

/* Sprite positions */
.nav-item[data-icon-index="0"] .nav-icon { background-position: center 2px; }
.nav-item[data-icon-index="1"] .nav-icon { background-position: center -31px; }
.nav-item[data-icon-index="2"] .nav-icon { background-position: center -112px; }
.nav-item[data-icon-index="3"] .nav-icon { background-position: center -151px; }
.nav-item[data-icon-index="4"] .nav-icon { background-position: center -193px; }
.nav-item[data-icon-index="5"] .nav-icon { background-position: center -238px; }
.nav-item[data-icon-index="6"] .nav-icon { background-position: center -285px; }
.nav-item[data-icon-index="7"] .nav-icon { background-position: center -325px; }
.nav-item[data-icon-index="8"] .nav-icon { background-position: center -360px; }
.nav-item[data-icon-index="9"] .nav-icon { background-position: center -405px; }
.nav-item[data-icon-index="10"] .nav-icon { background-position: center -445px; }

/* Clarity boost for Casino (2), Tembak Ikan (3), Sabung Ayam (10) */
.nav-item[data-icon-index="2"] .nav-icon,
.nav-item[data-icon-index="3"] .nav-icon,
.nav-item[data-icon-index="10"] .nav-icon {
    filter: brightness(1.35) contrast(1.35) drop-shadow(0 0 2px rgba(255,255,255,0.35));
}
.nav-item[data-icon-index="2"] span,
.nav-item[data-icon-index="3"] span,
.nav-item[data-icon-index="10"] span {
    font-weight: 600;
    letter-spacing: .3px;
}
.nav-item[data-icon-index="2"].active .nav-icon,
.nav-item[data-icon-index="3"].active .nav-icon,
.nav-item[data-icon-index="10"].active .nav-icon {
    background-color: rgba(246,92,92,0.45);
    filter: brightness(1.45) contrast(1.4) drop-shadow(0 0 3px rgba(255,255,255,0.45));
}
@media (max-width: 600px) {
    .nav-item[data-icon-index="2"] .nav-icon,
    .nav-item[data-icon-index="3"] .nav-icon,
    .nav-item[data-icon-index="10"] .nav-icon { filter: brightness(1.4) contrast(1.4) drop-shadow(0 0 2px rgba(255,255,255,0.4)); }
}

@media (max-width: 900px) {
    :root { --nav-gap: 8px; }
    .main-header .main-nav .nav-item { flex: 0 0 82px; }
}
@media (max-width: 600px) {
    :root { --nav-tile-height: 56px; --nav-icon-size: 28px; }
    .main-header .main-nav { padding: 6px 6px; }
    .main-header .main-nav .nav-item { flex: 0 0 78px; border-radius: 10px; }
    .main-header .main-nav .nav-icon { background-size: 28px 431px; }
    .main-header .main-nav .nav-item span { font-size: 10px; }
    .header-content { flex-direction: column; gap:12px; align-items:center; }
    .logo img { max-width:200px; height:auto; }
}
@media (max-width: 420px) {
    :root { --nav-tile-height: 52px; --nav-icon-size: 26px; }
    .main-header .main-nav .nav-item { flex: 0 0 72px; }
    .main-header .main-nav .nav-icon { background-size: 26px 400px; }
    .main-header .main-nav .nav-item span { font-size: 9.5px; }
}

/* FINAL minimal one-row scroller for top nav */
.main-header .main-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 4px 2px;
        scrollbar-width: none; /* Firefox */
}
.main-header .main-nav::-webkit-scrollbar { display: none; }

.main-header .main-nav .nav-item {
        flex: 0 0 84px; /* fixed tile width for tidy scroll */
        height: 60px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        align-items: center;
        justify-content: center;
        gap: 6px;
}
.main-header .main-nav .nav-item:hover { border-color: rgba(255, 255, 255, 0.18); }
.main-header .main-nav .nav-item.active { background: rgba(255, 255, 255, 0.08); }

/* Ensure sprite icons always show even after earlier overrides */
.main-header .main-nav .nav-icon {
    width: 32px;
    height: 32px;
    background-image: url('../images/assets/icon_nav.png');
    background-repeat: no-repeat;
    background-size: 32px 493px;
    border-radius: 6px;
}
/* Map sprite positions for the used indices */
.nav-item[data-icon-index="0"] .nav-icon { background-position: center 2px; }
.nav-item[data-icon-index="1"] .nav-icon { background-position: center -31px; }
.nav-item[data-icon-index="3"] .nav-icon { background-position: center -68px; }
.nav-item[data-icon-index="2"] .nav-icon { background-position: center -110px; }
.nav-item[data-icon-index="3"] .nav-icon { background-position: center -150px; }
.nav-item[data-icon-index="9"] .nav-icon { background-position: center -195px; }
.nav-item[data-icon-index="11"] .nav-icon { background-position: center -362px; }
.nav-item[data-icon-index="11"] .nav-icon { background-position: center -445px; }

/* Mobile-specific sprite offsets (tuned for smaller background-size) */
@media (max-width: 480px) {
    .main-header .main-nav .nav-icon { background-size: 28px 430px; }
    .nav-item[data-icon-index="0"] .nav-icon { background-position: center 2px; }
    .nav-item[data-icon-index="1"] .nav-icon { background-position: center -31px; }
    .nav-item[data-icon-index="2"] .nav-icon { background-position: center -92px; }
    .nav-item[data-icon-index="3"] .nav-icon { background-position: center -125px; }
    .nav-item[data-icon-index="4"] .nav-icon { background-position: center -160px; }
    .nav-item[data-icon-index="8"] .nav-icon { background-position: center -195px; }
    .nav-item[data-icon-index="10"] .nav-icon { background-position: center -362px; }
    .nav-item[data-icon-index="11"] .nav-icon { background-position: center -445px; }
}

@media (max-width: 768px) {
    .main-header .main-nav { gap: 6px; }
    .main-header .main-nav .nav-item { flex-basis: 78px; height: 56px; }
    .main-header .main-nav .nav-icon { width: 30px; height: 30px; background-size: 30px 462px; }
}

@media (max-width: 480px) {
    .main-header .main-nav { gap: 6px; padding: 2px 0; }
    .main-header .main-nav .nav-item { flex-basis: 74px; height: 54px; }
    .main-header .main-nav .nav-icon { width: 28px; height: 28px; background-size: 28px 430px; }
}

/* Mobile refinements: prevent wrap, add scroll snapping, stack header content */
@media (max-width: 600px) {
    /* Reorder header sections on mobile: nav on top, logo below, top-bar at bottom */
    .site-header-fixed { display: flex; flex-direction: column; }
    .site-header-fixed .main-header { order: 1; }
    .site-header-fixed .top-bar { order: 2; }

    .header-content { display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .header-content .main-nav { order: 1; background: rgba(0,0,0,0.65); padding-top: 4px; padding-bottom: 4px; }
    .header-content .logo { order: 2; }

    .header-content { display: flex; flex-direction: column; align-items: center; gap: 10px; }
    .logo img { max-width: 210px; height: auto; }
    .main-header .main-nav {
        width: 100%;
        padding: 4px 8px;
        gap: 6px;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }
    .main-header .main-nav .nav-item {
        flex: 0 0 auto; /* allow fluid width */
        min-width: 72px;
        height: 52px;
        scroll-snap-align: start;
        padding: 6px 4px;
    }
    .main-header .main-nav .nav-icon { width: 26px; height: 26px; background-size: 26px 400px; }
    .main-header .main-nav .nav-item span { font-size: 10px; }
    /* reduce container side padding for more horizontal space */
    .container { padding: 0 14px; }
}

@media (max-width: 400px) {
    .main-header .main-nav { padding: 4px 6px; gap: 5px; }
    .main-header .main-nav .nav-item { min-width: 66px; height: 50px; }
    .main-header .main-nav .nav-icon { width: 24px; height: 24px; background-size: 24px 370px; }
    .main-header .main-nav .nav-item span { font-size: 9.5px; }
}

/* Banner Section */
.banner-section {
    margin: 20px 0;
}

/* Compact Minimal Top Bar */
.top-bar {
    background: rgba(0,0,0,0.55);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.top-bar .container { max-width:1400px; padding:0 20px; }
.top-bar-content { min-height:42px; gap:12px; }
.top-bar-left, .top-bar-right { gap:8px; }

.top-bar-btn,
.btn-rtp,
.btn-login,
.btn-register {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 14px;
    font-size:11px;
    font-weight:600;
    letter-spacing:.3px;
    border-radius:6px;
    border:1px solid rgba(255,255,255,0.16);
    background:rgba(255,255,255,0.04);
    color:#eee;
    text-transform:uppercase;
    transition:background .2s,border-color .2s,color .2s;
}
.top-bar-btn:hover,
.btn-rtp:hover,
.btn-login:hover,
.btn-register:hover { background:rgba(255,255,255,0.10); border-color:rgba(255,255,255,0.35); color:#fff; }

/* Variant tweaks */
.btn-login { border-color:rgba(255,0,0,0.55); color:#ff3b3b; background:rgba(255,0,0,0.08); }
.btn-login:hover { background:rgba(255,0,0,0.16); }
.btn-register { background:linear-gradient(90deg,#ff3d3d,#ff6bd3); border-color:rgba(255,255,255,0.25); color:#fff; }
.btn-register:hover { filter:brightness(1.06); }
.btn-rtp { background:rgba(0,150,255,0.15); border-color:rgba(0,150,255,0.55); color:#17b4ff; }
.btn-rtp:hover { background:rgba(0,150,255,0.25); }

@media (max-width:640px) {
    .top-bar-content { flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; -webkit-overflow-scrolling:touch; gap:8px; }
    .top-bar-content::-webkit-scrollbar { display:none; }
    .top-bar-left, .top-bar-right { flex-wrap:nowrap; gap:8px; }
    .top-bar-btn, .btn-rtp, .btn-login, .btn-register { flex:0 0 auto; min-width:auto; }
}
@media (max-width:420px) {
    .top-bar-content { padding-bottom:4px; }
    .top-bar-btn, .btn-rtp, .btn-login, .btn-register { flex:0 0 auto; }
}

/* Single-line, equal flexible buttons (no scroll, no overlap) */
.top-bar-content { flex-wrap: nowrap; overflow: visible; gap: 10px; align-items: stretch; }
.top-bar-left, .top-bar-right { display: contents; }
.top-bar-btn,
.btn-rtp,
.btn-login,
.btn-register {
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    min-height: 32px; /* shorter, consistent height */
    padding: 6px 12px; /* clear top/bottom padding so text sits inside */
    font-size: clamp(10px, 2.1vw, 10.5px);
    white-space: nowrap;
    line-height: 1.1;
}
.top-bar-btn span,
.btn-rtp span,
.btn-login span,
.btn-register span { line-height: 1.1; }

@media (max-width: 360px) {
    .top-bar-content { gap: 8px; }
    .top-bar-btn, .btn-rtp, .btn-login, .btn-register { padding: 5px 10px; font-size: 10px; min-height: 30px; }
}

.banner-single {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.banner-single img {
    width: 2000px;
    height: 600px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

@media (max-width: 840px) {
    .banner-single img {
        width: 100%;
        height: auto;
    }
}

/* Announcement */
.announcement-section {
    margin: 20px 0;
}

.announcement-bar {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.announcement-icon {
    color: #ffd000;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.announcement-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-scroll {
    display: inline-block;
}

.announcement-list {
    display: inline-flex;
    gap: 20px; /* more breathing room for seamless look */
    animation: scroll-news 25s linear infinite; /* slightly faster & smoother */
    list-style: none;
    padding-left: 10px;
}

.announcement-list li {
    font-size: 15px;
    color: #ccc;
    white-space: nowrap;
}

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

.announcement-date {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

/* Jackpot with Background Image */
.jackpot-section {
    margin: 30px 0;
}

.jackpot-wrapper {
    position: relative;
}

.jackpot-display {
    background-image: url('https://via.placeholder.com/1400x120/2d2010/d4a574?text=Jackpot+Background');
    background-size: cover;
    background-position: center;
    border: 3px solid #d40000;
    border-radius: 50px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 30px rgba(201, 57, 57, 0.4);
    position: relative;
}

.jackpot-logo {
    font-size: 20px;
    font-weight: bold;
    z-index: 2;
    font-family: 'gilroybold', Arial, Helvetica, sans-serif;
}

.jp-orange {
    color: #ff6b00;
}

.jp-cyan {
    color: #00d9ff;
}

.jackpot-number-wrapper {
    background: rgba(0, 0, 0, 0.8);
    border: 0.5px solid #db0000;
    border-radius: 30px;
    padding: 8px 100px;
    z-index: 2;
    position: relative; /* enable shine overlay */
    box-shadow: 0 8px 20px rgba(255,0,0,0.12), inset 0 0 8px rgba(255,0,0,0.12);
}

.jackpot-amount {
    font-family: 'Open24DisplaySt', 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    color: #ff0000;
    letter-spacing: 2px;
    animation: glow-pulse 2.8s ease-in-out infinite;
}

/* Shine animation for jackpot number (used on mobile) */
@keyframes jackpot-shine {
    0% { left: -40%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

/* Soft glow pulse on number */
@keyframes glow-pulse {
    0% { text-shadow: 0 0 4px rgba(255,80,80,0.35), 0 0 10px rgba(255,80,80,0.20); }
    50% { text-shadow: 0 0 8px rgba(255,80,80,0.55), 0 0 16px rgba(255,80,80,0.30); }
    100% { text-shadow: 0 0 4px rgba(255,80,80,0.35), 0 0 10px rgba(255,80,80,0.20); }
}

/* Constrain shine to inside the jackpot text */
.jackpot-number-wrapper::after { content: none !important; animation: none !important; }
.jackpot-amount { position: relative; }
@keyframes jackpot-text-shine {
    0%   { background-position: 0 0, -25% 0; }
    50%  { background-position: 0 0, 120% 0; }
    100% { background-position: 0 0, 120% 0; }
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .jackpot-amount {
        /* Fallback color defined above; use gradient fill for text */
        color: transparent;
        -webkit-text-fill-color: transparent; /* ensure WebKit paints text with background */
        --shine-color: rgba(255,255,255,0.65);
        background-image:
            linear-gradient(90deg, #ff3b3b, #ff3b3b), /* base text color */
            linear-gradient(90deg, transparent, var(--shine-color), transparent); /* shine stripe */
        background-size: 100% 100%, 35% 100%;
        background-repeat: no-repeat;
        background-position: 0 0, -30% 0;
        -webkit-background-clip: text;
        background-clip: text;
        animation: jackpot-text-shine 2.6s ease-in-out infinite, glow-pulse 2.8s ease-in-out infinite;
    }
}

/* Fallback for browsers without background-clip:text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .jackpot-amount {
        color: #ff3b3b; /* visible base color */
        position: relative;
        animation: glow-pulse 2.8s ease-in-out infinite;
    }
    .jackpot-amount::after {
        content: '';
        position: absolute;
        top: 0;
        left: -30%;
        width: 35%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
        transform: skewX(-20deg);
        animation: jackpot-shine 2.6s ease-in-out infinite;
        mix-blend-mode: screen; /* lighten only overlapping text */
        pointer-events: none;
    }
}

/* Apply shine across all breakpoints */
.jackpot-number-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    animation: jackpot-shine 3s ease-in-out infinite;
    pointer-events: none;
}

/* Tablet tweaks */
@media (min-width: 481px) and (max-width: 1024px) {
    .jackpot-number-wrapper { padding: 8px 60px; border-radius: 24px; }
    .jackpot-amount { font-size: 26px; letter-spacing: 1.8px; }
}

/* Section Header */
.section-header {
    background: linear-gradient(90deg, #c41f1f 0%, rgba(196, 148, 31, 0) 100%);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Popular Games Slider */
.popular-games-section {
    margin: 30px 0;
}

.games-slider-wrapper {
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 0, 0.8);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: rgb(246, 205, 92);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

.games-slider {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 12px;
    overflow: hidden;
}

.game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    background: rgba(0, 0, 0, 0.4);
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-play-btn {
    background: linear-gradient(135deg, #ff0000, #ff6a6a);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.game-name {
    padding: 8px;
    font-size: 11px;
    text-align: center;
    color: #ccc;
}

/* 3 Column Layout */
.three-column-section {
    margin: 40px 0;
}

.three-column-grid {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 20px;
}

/* Winners Column */
.winners-column {
    min-width: 0;
}

.winners-section {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    position: sticky;
    top: 20px;
}

.winners-title {
    color: #fffb00;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.winner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 8px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.winner-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f65c5c, #d92828);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.winner-info {
    flex: 1;
    min-width: 0;
}

.winner-name {
    font-size: 11px;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.winner-amount {
    font-size: 11px;
    color: #ffd700;
}

.winner-game {
    font-size: 10px;
    color: #999;
}

/* Center Column */
.center-column {
    min-width: 0;
}

.provider-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.provider-tab {
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.provider-tab:hover,
.provider-tab.active {
    background: rgba(241, 92, 246, 0.3);
}

.provider-tab img {
    height: 30px;
    width: auto;
}

.provider-games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    transition: opacity 0.28s ease;
    will-change: opacity;
    min-height: 190px; /* preserve height during fade to reduce layout jump */
}

.provider-games-grid.fading-out { opacity: 0; pointer-events: none; }
.provider-games-grid.fading-in { opacity: 1; }

/* Hero Column */
.hero-column {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    filter: grayscale(50%);
}

.hero-image:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Sportsbook */
.sportsbook-section {
    margin: 40px 0;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.match-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.team-name {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.15;
}

.match-time {
    text-align: center;
}

.match-date {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
}

.match-hour {
    font-size: 11px;
    color: #999;
}

/* Download App */
.download-section {
    margin: 40px 0;
}

.download-content {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.download-text h2 {
    font-size: 65px;
    margin-bottom: 10px;
}

.download-text h2 span {
    color: #f65c5c;
}

.download-text p {
    color: #999;
    margin-bottom: 25px;
}

.download-qr-section {
    display: flex;
    gap: 20px;
    align-items: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.qr-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.qr-guide-btn {
    background: #ff0000;
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.qr-note {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
}

.download-phone img {
    max-width: 100%;
    width: 1000px;
    height: auto;
}


/* Scroll Animation Classes */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-in-left.active,
.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Telegram Banner */
.telegram-banner {
    margin: 30px 0;
}

.telegram-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Fluid images */
.banner-single img,
.hero-image,
.footer-icon-strip,
.footer-brand-logo {
    max-width: 100%;
}

.telegram-cta-btn {
    background: linear-gradient(135deg, #e1c441 0%, #e6c403 100%);
    color: #660404;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 188, 65, 0.4);
    display: block;
    margin: 0 auto;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'gilroybold', Arial, Helvetica, sans-serif;
}

.telegram-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 222, 65, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .three-column-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-column {
        display: none;
    }
    
    .games-slider {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        gap: 20px;
        overflow-x: auto;
    }
    /* Stack header: logo on top, menu below */
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .logo img {
        height: 72px; /* slightly larger for mobile header */
        width: auto;
    }
    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }
    .nav-item {
        min-width: 64px;
    }
    
    .games-slider {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .provider-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
}

/* Small phones */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
    }

    .top-bar {
        padding: 6px 0;
    }
    .top-bar-left { gap: 8px; }
    .top-bar-right { gap: 6px; }
    .btn-login, .btn-register, .top-bar-btn, .btn-rtp { padding: 6px 12px; font-size: 11px; }

    .main-header { padding: 10px 0; }
    .logo img { height: 60px; }
    .main-nav { gap: 12px; }
    .nav-icon { width: 26px; height: 26px; border-radius: 6px; background-size: 26px 400px; }
    .nav-item span { font-size: 10px; }

    .banner-section { margin: 12px 0; }
    .banner-single img { border-radius: 10px; }

    .announcement-bar { padding: 10px 12px; gap: 10px; }
    .announcement-icon { font-size: 12px; }
    .announcement-list li { font-size: 12px; }

    .jackpot-section { margin: 20px 0; }
    .jackpot-display {
        padding: 14px 16px;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(212,0,0,0.20), rgba(0,0,0,0.40));
        border: 2px solid rgba(255,255,255,0.08);
        box-shadow: 0 6px 18px rgba(201,57,57,0.25);
        flex-direction: column;
        gap: 10px;
    }
    .jackpot-logo {
        font-size: 18px;
        letter-spacing: 0.5px;
        text-shadow: 0 1px 0 rgba(0,0,0,0.8);
    }
    .jp-orange { color: #ff7a1a; }
    .jp-cyan { color: #19d6ff; }
    .jackpot-number-wrapper {
        padding: 8px 24px;
        border-radius: 18px;
        border: 1px solid rgba(255,0,0,0.45);
        background: rgba(10,10,10,0.85);
        box-shadow: 0 8px 20px rgba(255,0,0,0.15), inset 0 0 8px rgba(255,0,0,0.15);
    }
    .jackpot-number-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: -40%;
        width: 40%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
        transform: skewX(-20deg);
        animation: jackpot-shine 3s ease-in-out infinite;
        pointer-events: none;
    }
    .jackpot-amount {
        font-size: 22px;
        color: #ff4d4d;
        letter-spacing: 1.5px;
        animation: glow-pulse 2.8s ease-in-out infinite;
    }

    .section-header { font-size: 13px; padding: 8px 12px; }

    .games-slider-wrapper { margin-top: 10px; }
    .games-slider { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 10px; }
    .slider-arrow { width: 32px; height: 32px; font-size: 18px; }
    .slider-prev { left: -10px; }
    .slider-next { right: -10px; }
    .game-name { font-size: 10px; }

    .three-column-grid { grid-template-columns: 1fr; gap: 14px; }
    .winners-section { position: static; }

    .provider-tabs { gap: 8px; padding-bottom: 8px; }
    .provider-tab { padding: 6px 10px; }
    .provider-tab img { height: 24px; }
    /* Force 2 columns on small phones for a 2x3 grid */
    .provider-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .provider-games-grid .game-card img { width: 100%; height: auto; object-fit: cover; }
    .provider-games-grid .game-name { font-size: 10px; }
    .provider-games-grid .game-overlay .game-play-btn { padding: 6px 12px; font-size: 11px; border-radius: 16px; }

    .hero-column { display: none; }

    .matches-grid { grid-template-columns: 1fr; }
    .match-card { padding: 14px; }
    .team-logo { width: 42px; height: 42px; }
    .team-name { font-size: 11px; }

    .download-section { margin: 24px 0; }
    .download-text h2 { font-size: 28px; }
    .qr-code { width: 80px; height: 80px; }
    .qr-note { font-size: 10px; }

    .telegram-banner img { border-radius: 10px; }
    .telegram-cta-btn { padding: 12px 28px; font-size: 14px; border-radius: 20px; }

    .features-container { grid-template-columns: 1fr; }
    .feature-box { padding: 18px; }
    .feature-icon img { width: 48px; height: 48px; }
    .feature-content h3 { font-size: 15px; }
    .feature-list p { font-size: 12px; }

    .provider-platform-container { padding: 20px; }
    .provider-logos-grid { grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 12px; }

    .certification-container { grid-template-columns: 1fr; }
    .cert-logo img, .cert-logos img, .browser-icons img { height: 32px; }

    .final-footer { padding: 16px 0; }
    .footer-brand-logo { height: 42px; }
    .footer-icon-strip { height: 32px; }

    /* FAQ mobile refinements */
    .faq-section { padding: 24px 0; }
    .faq-section .section-header { gap: 8px; margin-bottom: 20px; }
    .faq-section .section-icon { width: 28px; height: 28px; }
    .faq-section .section-title { font-size: 18px; }
    .faq-question { padding: 14px 16px; font-size: 14px; }
    .faq-icon { font-size: 20px; }
    .faq-answer p { font-size: 13px; line-height: 1.6; }
}

/* SEO Content Section */
.seo-content {
    margin: 56px 0;
}

.seo-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 980px;
    margin: 0 auto;
}

.seo-container h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #fff;
}

.seo-container p {
    font-size: 14px;
    line-height: 1.85;
    color: #cfcfcf;
    margin: 0 0 12px;
    max-width: 80ch;
}

.seo-container strong {
    color: #ffd900;
}

.seo-container h2 {
    color: #ffd700;
    font-size: 18px;
    line-height: 1.35;
    margin: 28px 0 12px !important;
}

.seo-container h3 {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    margin: 20px 0 10px !important;
}

.seo-container h4 {
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 6px;
}

.seo-container ul {
    margin: 0 0 12px;
    padding-left: 18px;
    color: #cfcfcf;
}

.seo-container li {
    margin: 8px 0;
    line-height: 1.7;
}

.seo-container .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin: 14px 0 0;
}

.seo-container .benefit-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
}

.seo-container .benefit-item h3 {
    margin: 0 0 6px !important;
    font-size: 14px;
}

.seo-container .benefit-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #bdbdbd;
}

.seo-container .steps-container {
    display: grid;
    gap: 12px;
    margin: 14px 0 0;
}

.seo-container .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.seo-container .step-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 217, 0, 0.12);
    color: #ffd900;
    font-weight: 700;
}

.seo-container .step-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #bdbdbd;
}

.seo-container .promo-list {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .seo-content { margin: 36px 0; }
    .seo-container {
        padding: 22px 18px;
        border-radius: 12px;
    }
    .seo-container h1 { font-size: 20px; }
    .seo-container h2 { font-size: 16px; margin: 22px 0 10px !important; }
    .seo-container h3 { font-size: 14px; margin: 16px 0 8px !important; }
    .seo-container p { font-size: 13px; }
    .seo-container .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
    .seo-container .step { grid-template-columns: 36px 1fr; padding: 12px; }
    .seo-container .step-number { width: 32px; height: 32px; }
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
}

.faq-section .section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.faq-section .section-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.faq-section .section-title {
    color: #ffd700;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.faq-question {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.2px;
}

.faq-icon {
    color: #ffd700;
    font-size: 18px;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(255, 215, 0, 0.14);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: max-height 0.3s ease, padding 0.3s ease, background 0.25s ease;
}

.faq-item.active .faq-answer {
    max-height: 600px; /* allow taller answers; JS will set exact height */
    padding: 16px 18px 30px; /* extra bottom padding for comfortable spacing */
}

.faq-answer p {
    color: #ddd;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Features Section */
.features-section {
    margin: 40px 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-content h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

.feature-subtitle {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.feature-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 6px;
}

.feature-item strong {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
}

.feature-time {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.feature-time span {
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
}

.feature-label {
    font-size: 11px;
    color: #666;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-list strong {
    display: block;
    font-size: 13px;
    color: #fff;
    margin-bottom: 5px;
}

.feature-list p {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
}

.contact-info {
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-icon {
    font-size: 24px;
    margin-right: 10px;
    
}

.contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: grayscale(100%);
}

.contact-icon img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.contact-detail {
    font-size: 13px;
    color: #fff;
}

.social-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-top: 10px;
    filter: grayscale(70%);
}

.social-icon:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

/* Provider Platform Section */
.provider-platform-section {
    margin: 40px 0;
}

.provider-platform-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
}

.platform-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
}

.provider-category {
    margin-bottom: 30px;
}

.provider-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.provider-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 20px;
}

.provider-logo {
    width: 60px;
    height: 60px;
    background-image: url('../images/assets/icon_menu.png');
    background-size: 120px auto;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.provider-logo:hover {
    opacity: 1;
    background-position-x: -60px !important;
}

/* Certification Section */
.certification-section {
    margin: 40px 0 20px;
}

.certification-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.cert-block h4 {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.cert-logo img,
.cert-logos img,
.browser-icons img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s;
}

.cert-logos,
.browser-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cert-logo img:hover,
.cert-logos img:hover,
.browser-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Final Footer */
.final-footer {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand-logos {
    text-align: center;
    margin-bottom: 20px;
}

.footer-brand-logo {
    height: 50px;
    width: auto;
}

.footer-icons {
    text-align: center;
    margin-bottom: 20px;
    filter: grayscale(100%);
}

.footer-icons img:hover{
    filter: grayscale(0%);
    opacity: 1;
}

.footer-icon-strip {
    height: 40px;
    width: auto;
    opacity: 0.6;
}

.copyright {
    font-size: 11px;
    color: #666;
}

@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .certification-container {
        grid-template-columns: 1fr;
    }
    
    .provider-logos {
        justify-content: center;
    }
}