/* ========================================
   ALEXIS4D CSS - Full Frontend Porting from Nexus
   Scoped to body.alexis4d-page
   ======================================== */

/* ========================================
   Scoped Reset & Base Styles
   ======================================== */
body.alexis4d-page,
body.alexis4d-page * {
    box-sizing: border-box;
}

body.alexis4d-page {
    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;
}

body.alexis4d-page .wp-site-blocks {
    padding: 0;
    margin: 0;
}

body.alexis4d-page a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

body.alexis4d-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.alexis4d-page figure,
body.alexis4d-page p {
    margin: 0;
}

/* ========================================
   Homepage Wrapper
   ======================================== */
body.alexis4d-page .homepage-wrapper {
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* ========================================
   Top Bar (Header)
   ======================================== */
body.alexis4d-page .alexis4d-topbar {
    background: linear-gradient(135deg, #2b0a0a 0%, #4a0f0f 100%);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(185, 28, 28, 0.3);
}

body.alexis4d-page .alexis4d-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.alexis4d-page .alexis4d-topbar-left,
body.alexis4d-page .alexis4d-topbar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

body.alexis4d-page .alexis4d-topbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fecaca;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    transition: color 0.3s ease;
}

body.alexis4d-page .alexis4d-topbar-link:hover {
    color: #fff;
}

body.alexis4d-page .alexis4d-topbar-btn {
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

body.alexis4d-page .alexis4d-login-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

body.alexis4d-page .alexis4d-login-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

body.alexis4d-page .alexis4d-register-btn {
    background-color: #b91c1c;
    color: #fff;
    border-color: #b91c1c;
}

body.alexis4d-page .alexis4d-register-btn:hover {
    background-color: #dc2626;
}

/* ========================================
   Main Header
   ======================================== */
body.alexis4d-page .alexis4d-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;
}

body.alexis4d-page .alexis4d-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;
}

body.alexis4d-page .alexis4d-branding a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body.alexis4d-page .alexis4d-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.alexis4d-page .alexis4d-logo-image {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   Primary Navigation
   ======================================== */
body.alexis4d-page .alexis4d-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

body.alexis4d-page .alexis4d-menu {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

body.alexis4d-page .alexis4d-menu-item a {
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 74px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

body.alexis4d-page .alexis4d-menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

body.alexis4d-page .alexis4d-menu-icon-image {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

body.alexis4d-page .alexis4d-menu-label {
    display: block;
    line-height: 1.2;
    text-align: center;
}

/* ========================================
   HERO BANNER - FULL IMAGE ONLY
   ======================================== */
body.alexis4d-page .hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #2b0a0a;
}

body.alexis4d-page .hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   Site Title Section (Between Banner and Jackpot)
   ======================================== */
body.alexis4d-page .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;
}

body.alexis4d-page .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);
}

body.alexis4d-page .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);
}

body.alexis4d-page .site-title-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

body.alexis4d-page .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;
}

/* ========================================
   PROGRESSIVE JACKPOT BANNER
   ======================================== */
body.alexis4d-page .jackpot-banner {
    width: 100%;
    background: linear-gradient(135deg, #1a0505 0%, #2b0a0a 50%, #0a0202 100%);
    padding: 2rem 1.5rem;
    margin: 0;
    overflow: hidden;
}

body.alexis4d-page .jackpot-banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.alexis4d-page .jackpot-banner-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ========================================
   VIDEO SLOTS POPULAR SECTION - BASE LAYOUT
   ======================================== */
body.alexis4d-page .video-slots-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, #2b0a0a 0%, #4a0f0f 100%);
    color: #e8eef5;
}

body.alexis4d-page .video-slots-container {
    max-width: 1400px;
    margin: 0 auto;
}

body.alexis4d-page .slots-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* ========================================
   LEFT SIDEBAR - WINNER INFO
   ======================================== */
body.alexis4d-page .slots-sidebar {
    position: sticky;
    top: 80px;
    width: 260px;
}

body.alexis4d-page .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);
}

body.alexis4d-page .winner-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

body.alexis4d-page .winner-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

body.alexis4d-page .winner-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

body.alexis4d-page .winner-viewport {
    overflow: hidden;
    height: 270px;
    position: relative;
}

body.alexis4d-page .winner-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

body.alexis4d-page .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;
}

body.alexis4d-page .winner-entry:hover {
    background: rgba(255, 215, 0, 0.08);
    transform: translateX(3px);
}

body.alexis4d-page .winner-thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

body.alexis4d-page .winner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.alexis4d-page .winner-details {
    flex: 1;
    min-width: 0;
}

body.alexis4d-page .winner-username {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e8eef5;
    margin: 0 0 0.25rem 0;
}

body.alexis4d-page .winner-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ef4444;
    margin: 0 0 0.25rem 0;
}

body.alexis4d-page .winner-game {
    font-size: 0.7rem;
    color: #fecaca;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.alexis4d-page .game-preview {
    margin-top: 1.25rem;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

body.alexis4d-page .game-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   MAIN CONTENT - VIDEO SLOTS
   ======================================== */
body.alexis4d-page .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;
}

body.alexis4d-page .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);
}

body.alexis4d-page .slots-icon {
    font-size: 1.5rem;
}

body.alexis4d-page .slots-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.alexis4d-page .provider-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

body.alexis4d-page .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;
}

body.alexis4d-page .provider-tab:hover {
    background: rgba(30, 58, 95, 0.7);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

body.alexis4d-page .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);
}

body.alexis4d-page .provider-tab img {
    height: 26px;
    width: auto;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

body.alexis4d-page .provider-tab:hover img,
body.alexis4d-page .provider-tab.active img {
    filter: brightness(1.1);
}

body.alexis4d-page .games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
}

body.alexis4d-page .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%;
}

body.alexis4d-page .game-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

body.alexis4d-page .game-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #2b0a0a;
}

body.alexis4d-page .game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

body.alexis4d-page .game-card:hover .game-image img {
    transform: scale(1.08);
}

body.alexis4d-page .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;
}

body.alexis4d-page .game-card:hover .game-overlay {
    opacity: 1;
}

body.alexis4d-page .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;
}

body.alexis4d-page .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%);
}

body.alexis4d-page .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
   ======================================== */
body.alexis4d-page .slots-mascot {
    display: none;
}

body.alexis4d-page .slots-mascot img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 215, 0, 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}


/* ========================================
   VIDEO SLOTS POPULAR - FINAL LAYOUT OVERRIDES
   ======================================== */
body.alexis4d-page .video-slots-section .slots-layout {
    display: grid;
    grid-template-columns: 20% 1fr 20%;
    gap: 2.5%;
    align-items: start;
}

body.alexis4d-page .video-slots-section .slots-sidebar {
    padding: 1.25rem;
    background: rgba(74, 15, 15, 0.5);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

body.alexis4d-page .video-slots-section .slots-main {
    display: flex;
    flex-direction: column;
}

body.alexis4d-page .video-slots-section .slots-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.alexis4d-page .video-slots-section .slots-mascot img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

body.alexis4d-page .video-slots-section .slots-header {
    margin-bottom: 1rem;
}

body.alexis4d-page .video-slots-section .provider-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 0.3rem 0;
}

body.alexis4d-page .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;
}

body.alexis4d-page .video-slots-section .provider-tab:hover,
body.alexis4d-page .video-slots-section .provider-tab.active {
    background: rgba(185, 28, 28, 0.15);
}

body.alexis4d-page .video-slots-section .games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2%;
}

body.alexis4d-page .video-slots-section .game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

body.alexis4d-page .video-slots-section .game-image {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
}

body.alexis4d-page .video-slots-section .game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.alexis4d-page .video-slots-section .game-title {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}

body.alexis4d-page .video-slots-section .winner-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

body.alexis4d-page .video-slots-section .winner-header {
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

body.alexis4d-page .video-slots-section .winner-viewport {
    overflow: hidden;
    height: 270px;
    position: relative;
}

body.alexis4d-page .video-slots-section .winner-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    animation: scrollUp 24s linear infinite;
}

body.alexis4d-page .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));
    }
}

body.alexis4d-page .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;
}

body.alexis4d-page .video-slots-section .winner-thumb {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
}

body.alexis4d-page .video-slots-section .winner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.alexis4d-page .video-slots-section .winner-details {
    flex: 1;
    font-size: 0.85rem;
}

body.alexis4d-page .video-slots-section .game-preview {
    margin-top: auto;
}

body.alexis4d-page .video-slots-section .game-preview img {
    width: 100%;
    border-radius: 6px;
}

/* ========================================
   RESPONSIVE VIDEO SLOTS
   ======================================== */
@media (max-width: 1200px) {
    body.alexis4d-page .video-slots-section .slots-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-sidebar {
        order: 2;
        padding: 1.5rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-main {
        order: 1;
    }
    
    body.alexis4d-page .video-slots-section .slots-mascot {
        order: 3;
    }
    
    body.alexis4d-page .video-slots-section .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    body.alexis4d-page .video-slots-section .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    body.alexis4d-page .video-slots-section .provider-tabs {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    body.alexis4d-page .video-slots-section {
        padding: 2rem 1rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-header {
        order: 1;
        padding: 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-title {
        font-size: 1.1rem;
    }
    
    body.alexis4d-page .video-slots-section .provider-tabs {
        order: 2;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    body.alexis4d-page .video-slots-section .provider-tab {
        padding: 0.3rem 1rem;
        font-size: 0.9rem;
        min-height: 42px;
    }
    
    body.alexis4d-page .video-slots-section .provider-tab img {
        height: 22px;
    }
    
    body.alexis4d-page .video-slots-section .games-grid {
        order: 3;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 100%;
    }
    
    body.alexis4d-page .video-slots-section .game-card {
        max-width: 100%;
    }
    
    body.alexis4d-page .video-slots-section .game-image {
        aspect-ratio: 1;
        max-height: 180px;
    }
    
    body.alexis4d-page .video-slots-section .game-title {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-sidebar {
        order: 4;
        padding: 1.25rem;
        overflow: hidden;
        max-height: 420px;
    }
    
    body.alexis4d-page .video-slots-section .winner-viewport {
        height: 240px;
    }
    
    body.alexis4d-page .video-slots-section .winner-entry {
        min-height: 80px;
        margin-bottom: 14px;
    }
    
    body.alexis4d-page .video-slots-section .winner-track {
        animation: scrollUp 28s linear infinite !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite;
    }
    
    body.alexis4d-page .video-slots-section .winner-username,
    body.alexis4d-page .video-slots-section .winner-amount {
        font-size: 0.8rem;
    }
    
    body.alexis4d-page .video-slots-section .winner-game {
        font-size: 0.75rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-mascot {
        order: 5;
        max-height: 300px;
        animation: none;
        transition: none;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    body.alexis4d-page .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) {
    body.alexis4d-page .video-slots-section {
        padding: 1.5rem 0.75rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-main {
        padding: 1rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-header {
        padding: 0.75rem;
    }
    
    body.alexis4d-page .video-slots-section .slots-title {
        font-size: 1rem;
    }
    
    body.alexis4d-page .video-slots-section .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    body.alexis4d-page .video-slots-section .game-image {
        max-height: 150px;
    }
    
    body.alexis4d-page .video-slots-section .game-title {
        font-size: 0.8rem;
        padding: 0.65rem;
    }
    
    body.alexis4d-page .video-slots-section .provider-tabs {
        gap: 0.5rem;
    }
    
    body.alexis4d-page .video-slots-section .provider-tab {
        padding: 0.25rem 0.85rem;
        font-size: 0.85rem;
        min-height: 38px;
    }
    
    body.alexis4d-page .video-slots-section .provider-tab img {
        height: 20px;
    }
    
    body.alexis4d-page .video-slots-section .slots-sidebar {
        padding: 1rem;
        max-height: 350px;
    }
    
    body.alexis4d-page .video-slots-section .slots-mascot {
        max-height: 250px;
    }
    
    body.alexis4d-page .video-slots-section .play-btn {
        font-size: 0.8rem;
        padding: 0.65rem 1.65rem;
    }
}

/* ========================================
   SITE TITLE RESPONSIVE
   ======================================== */
@media (max-width: 1400px) {
    body.alexis4d-page .site-main-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 1200px) {
    body.alexis4d-page .site-main-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    body.alexis4d-page .site-title-section {
        padding: 2rem 1rem;
    }
    
    body.alexis4d-page .site-main-title {
        font-size: 1.4rem;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    body.alexis4d-page .site-title-section {
        padding: 1.5rem 1rem;
    }
    
    body.alexis4d-page .site-main-title {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
    
    body.alexis4d-page .jackpot-banner {
        padding: 1.5rem 1rem;
    }
    
    body.alexis4d-page .jackpot-banner-wrapper {
        max-width: 100%;
    }
    
    body.alexis4d-page .jackpot-banner-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    body.alexis4d-page .site-title-section {
        padding: 1.25rem 0.75rem;
    }
    
    body.alexis4d-page .site-main-title {
        font-size: 1rem;
        letter-spacing: 0.2px;
    }
}


/* ========================================
   PAYMENT METHODS SECTION
   ======================================== */
body.alexis4d-page .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;
}

body.alexis4d-page .payment-methods::before,
body.alexis4d-page .payment-methods::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
}

body.alexis4d-page .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;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

body.alexis4d-page .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);
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

body.alexis4d-page .payment-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 11;
}

body.alexis4d-page .payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

body.alexis4d-page .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;
}

body.alexis4d-page .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);
}

body.alexis4d-page .payment-logo img {
    max-height: 40px;
    width: auto;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

body.alexis4d-page .payment-logo:hover img {
    filter: brightness(1.1);
}

/* ========================================
   NEXUS MOBILE SECTION
   ======================================== */
body.alexis4d-page .nexus-mobile {
    background: linear-gradient(180deg, #2b0a0a 0%, #4a0f0f 100%);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
}

body.alexis4d-page .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;
}

body.alexis4d-page .nexus-mobile-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

body.alexis4d-page .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);
}

body.alexis4d-page .mobile-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

body.alexis4d-page .mobile-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

body.alexis4d-page .title-highlight {
    color: #ef4444;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.5);
}

body.alexis4d-page .title-normal {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

body.alexis4d-page .mobile-subtitle {
    font-size: 1.1rem;
    color: #fecaca;
    margin: 0;
}

body.alexis4d-page .mobile-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

body.alexis4d-page .mobile-qr {
    text-align: center;
}

body.alexis4d-page .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;
}

body.alexis4d-page .qr-wrapper img {
    width: 180px;
    height: 180px;
    display: block;
}

body.alexis4d-page .qr-label {
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 600;
    margin: 0;
}

body.alexis4d-page .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body.alexis4d-page .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;
}

body.alexis4d-page .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);
}

body.alexis4d-page .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);
}

body.alexis4d-page .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);
}

body.alexis4d-page .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);
}

body.alexis4d-page .btn-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

body.alexis4d-page .btn-icon[data-icon="download"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/download.svg');
}

body.alexis4d-page .btn-icon[data-icon="guide"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/guide.svg');
}

body.alexis4d-page .mobile-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

body.alexis4d-page .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;
}

body.alexis4d-page .feature-badge:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

body.alexis4d-page .badge-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

body.alexis4d-page .badge-icon[data-icon="fast"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/fast.svg');
}

body.alexis4d-page .badge-icon[data-icon="secure"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/secure.svg');
}

body.alexis4d-page .badge-icon[data-icon="support"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/support.svg');
}

body.alexis4d-page .badge-text {
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 600;
}


/* ========================================
   POST CONTENT STYLING (WordPress Block Editor)
   ======================================== */
body.alexis4d-page .wp-block-post-content,
body.alexis4d-page .entry-content {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem 1.5rem;
    background: #fff;
    color: #333;
    line-height: 1.8;
}

body.alexis4d-page .wp-block-post-content h1,
body.alexis4d-page .wp-block-post-content h2,
body.alexis4d-page .wp-block-post-content h3,
body.alexis4d-page .wp-block-post-content h4,
body.alexis4d-page .wp-block-post-content h5,
body.alexis4d-page .wp-block-post-content h6,
body.alexis4d-page .entry-content h1,
body.alexis4d-page .entry-content h2,
body.alexis4d-page .entry-content h3,
body.alexis4d-page .entry-content h4,
body.alexis4d-page .entry-content h5,
body.alexis4d-page .entry-content h6 {
    color: #dc2626;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

body.alexis4d-page .wp-block-post-content h2,
body.alexis4d-page .entry-content h2 {
    font-size: 1.75rem;
}

body.alexis4d-page .wp-block-post-content h3,
body.alexis4d-page .entry-content h3 {
    font-size: 1.5rem;
}

body.alexis4d-page .wp-block-post-content h4,
body.alexis4d-page .entry-content h4 {
    font-size: 1.25rem;
}

body.alexis4d-page .wp-block-post-content p,
body.alexis4d-page .entry-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

body.alexis4d-page .wp-block-post-content a,
body.alexis4d-page .entry-content a {
    color: #b91c1c;
    text-decoration: underline;
    transition: color 0.3s ease;
}

body.alexis4d-page .wp-block-post-content a:hover,
body.alexis4d-page .entry-content a:hover {
    color: #dc2626;
}

body.alexis4d-page .wp-block-post-content ul,
body.alexis4d-page .wp-block-post-content ol,
body.alexis4d-page .entry-content ul,
body.alexis4d-page .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: #555;
}

body.alexis4d-page .wp-block-post-content li,
body.alexis4d-page .entry-content li {
    margin-bottom: 0.5rem;
}

body.alexis4d-page .wp-block-post-content img,
body.alexis4d-page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

body.alexis4d-page .wp-block-post-content blockquote,
body.alexis4d-page .entry-content blockquote {
    border-left: 4px solid #b91c1c;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

body.alexis4d-page .wp-block-post-content table,
body.alexis4d-page .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

body.alexis4d-page .wp-block-post-content table th,
body.alexis4d-page .wp-block-post-content table td,
body.alexis4d-page .entry-content table th,
body.alexis4d-page .entry-content table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

body.alexis4d-page .wp-block-post-content table th,
body.alexis4d-page .entry-content table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #dc2626;
}

/* ========================================
   SITE FOOTER
   ======================================== */
body.alexis4d-page .site-footer {
    background: linear-gradient(180deg, #2b0a0a 0%, #4a0f0f 100%);
    color: #fecaca;
    padding: 3rem 1.5rem 2rem;
    border-top: 3px solid #ef4444;
    position: relative;
}

body.alexis4d-page .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
    );
}

body.alexis4d-page .footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

body.alexis4d-page .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

body.alexis4d-page .footer-brand {
    text-align: center;
}

body.alexis4d-page .footer-brand img {
    max-height: 50px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

body.alexis4d-page .footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.alexis4d-page .footer-logo-image {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

body.alexis4d-page .footer-navigation {
    width: 100%;
}

body.alexis4d-page .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

body.alexis4d-page .footer-menu li a {
    color: #fecaca;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

body.alexis4d-page .footer-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ef4444;
    transition: width 0.3s ease;
}

body.alexis4d-page .footer-menu li a:hover {
    color: #ef4444;
}

body.alexis4d-page .footer-menu li a:hover::after {
    width: 100%;
}

body.alexis4d-page .footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.3) 50%,
        transparent
    );
}

body.alexis4d-page .footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

body.alexis4d-page .footer-copyright {
    flex: 1;
    text-align: left;
}

body.alexis4d-page .footer-copyright p {
    font-size: 0.9rem;
    color: #fca5a5;
    margin: 0;
}

body.alexis4d-page .footer-copyright a {
    color: #ef4444;
    font-weight: 600;
    transition: color 0.3s ease;
}

body.alexis4d-page .footer-copyright a:hover {
    color: #f87171;
}

body.alexis4d-page .footer-social {
    display: flex;
    gap: 1rem;
}

body.alexis4d-page .social-link {
    display: inline-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;
}

body.alexis4d-page .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);
}

body.alexis4d-page .footer-social-icon-image {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

body.alexis4d-page .social-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(1.2);
}

body.alexis4d-page .social-icon[data-icon="facebook"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/fb.png');
}

body.alexis4d-page .social-icon[data-icon="whatsapp"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/wa.png');
}

body.alexis4d-page .social-icon[data-icon="instagram"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/ig.png');
}

body.alexis4d-page .social-icon[data-icon="telegram"] {
    background-image: url('https://rumahtoto.org/wp-content/uploads/icons/social/tele.png');
}

/* ========================================
   RESPONSIVE - PAYMENT, MOBILE, FOOTER
   ======================================== */
@media (max-width: 768px) {
    body.alexis4d-page .payment-methods {
        padding: 3rem 1rem;
    }
    
    body.alexis4d-page .payment-logos {
        gap: 1.5rem;
    }
    
    body.alexis4d-page .payment-logo {
        min-width: 100px;
        padding: 0.85rem 1.25rem;
    }
    
    body.alexis4d-page .payment-logo img {
        max-height: 35px;
    }
    
    body.alexis4d-page .nexus-mobile {
        padding: 3rem 1rem;
    }
    
    body.alexis4d-page .nexus-mobile-content {
        padding: 2rem 1.5rem;
    }
    
    body.alexis4d-page .mobile-title {
        font-size: 2rem;
    }
    
    body.alexis4d-page .mobile-subtitle {
        font-size: 1rem;
    }
    
    body.alexis4d-page .mobile-body {
        gap: 2rem;
    }
    
    body.alexis4d-page .qr-wrapper img {
        width: 150px;
        height: 150px;
    }
    
    body.alexis4d-page .mobile-btn {
        min-width: 220px;
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }
    
    body.alexis4d-page .mobile-features {
        gap: 1rem;
    }
    
    body.alexis4d-page .feature-badge {
        padding: 0.65rem 1rem;
    }
    
    body.alexis4d-page .site-footer {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    body.alexis4d-page .footer-content {
        gap: 1.5rem;
    }
    
    body.alexis4d-page .footer-menu {
        gap: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    body.alexis4d-page .footer-menu li a {
        font-size: 0.9rem;
    }
    
    body.alexis4d-page .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    body.alexis4d-page .footer-copyright {
        text-align: center;
    }
    
    body.alexis4d-page .footer-social {
        justify-content: center;
    }
    
    body.alexis4d-page .wp-block-post-content,
    body.alexis4d-page .entry-content {
        padding: 1.5rem 1rem;
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    body.alexis4d-page .payment-methods {
        padding: 2.5rem 0.75rem;
    }
    
    body.alexis4d-page .payment-logos {
        gap: 1rem;
    }
    
    body.alexis4d-page .payment-logo {
        min-width: 90px;
        padding: 0.75rem 1rem;
    }
    
    body.alexis4d-page .payment-logo img {
        max-height: 30px;
    }
    
    body.alexis4d-page .nexus-mobile {
        padding: 2.5rem 0.75rem;
    }
    
    body.alexis4d-page .nexus-mobile-content {
        padding: 1.5rem 1rem;
        border-width: 1px;
    }
    
    body.alexis4d-page .mobile-title {
        font-size: 1.75rem;
    }
    
    body.alexis4d-page .mobile-subtitle {
        font-size: 0.95rem;
    }
    
    body.alexis4d-page .mobile-body {
        gap: 1.5rem;
    }
    
    body.alexis4d-page .qr-wrapper {
        padding: 0.75rem;
    }
    
    body.alexis4d-page .qr-wrapper img {
        width: 130px;
        height: 130px;
    }
    
    body.alexis4d-page .mobile-btn {
        min-width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
    
    body.alexis4d-page .mobile-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    body.alexis4d-page .feature-badge {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 0.9rem;
    }
    
    body.alexis4d-page .badge-text {
        font-size: 0.85rem;
    }
    
    body.alexis4d-page .site-footer {
        padding: 2rem 0.75rem 1.25rem;
        border-top-width: 2px;
    }
    
    body.alexis4d-page .footer-content {
        gap: 1.25rem;
    }
    
    body.alexis4d-page .footer-menu {
        gap: 1rem;
    }
    
    body.alexis4d-page .footer-menu li a {
        font-size: 0.85rem;
    }
    
    body.alexis4d-page .footer-bottom {
        gap: 1.25rem;
    }
    
    body.alexis4d-page .footer-copyright p {
        font-size: 0.85rem;
    }
    
    body.alexis4d-page .social-link {
        width: 36px;
        height: 36px;
    }
    
    body.alexis4d-page .social-icon {
        width: 18px;
        height: 18px;
    }
    
    body.alexis4d-page .wp-block-post-content,
    body.alexis4d-page .entry-content {
        padding: 1.25rem 0.75rem;
        margin: 1.5rem auto;
    }
    
    body.alexis4d-page .wp-block-post-content h2,
    body.alexis4d-page .entry-content h2 {
        font-size: 1.5rem;
    }
    
    body.alexis4d-page .wp-block-post-content h3,
    body.alexis4d-page .entry-content h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   HEADER RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    body.alexis4d-page .alexis4d-header-container {
        flex-direction: column;
        text-align: center;
    }
    
    body.alexis4d-page .alexis4d-navigation {
        width: 100%;
    }
    
    body.alexis4d-page .alexis4d-menu {
        justify-content: center;
    }
    
    body.alexis4d-page .alexis4d-menu-item a {
        min-width: 66px;
    }
    
    body.alexis4d-page .alexis4d-menu-icon-image {
        width: 23px;
        height: 23px;
    }
    
    body.alexis4d-page .alexis4d-logo-image,
    body.alexis4d-page .footer-logo-image {
        width: 150px;
    }
}

@media (max-width: 480px) {
    body.alexis4d-page .alexis4d-topbar-inner {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    body.alexis4d-page .alexis4d-topbar-left,
    body.alexis4d-page .alexis4d-topbar-right {
        width: 100%;
        justify-content: center;
    }
    
    body.alexis4d-page .alexis4d-branding a {
        font-size: 1.25rem;
    }
    
    body.alexis4d-page .alexis4d-menu {
        gap: 0.35rem;
    }
    
    body.alexis4d-page .alexis4d-menu-item a {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
        min-width: 60px;
    }
    
    body.alexis4d-page .alexis4d-menu-icon-image {
        width: 21px;
        height: 21px;
    }
    
    body.alexis4d-page .alexis4d-logo-image,
    body.alexis4d-page .footer-logo-image {
        width: 130px;
    }
    
    body.alexis4d-page .alexis4d-topbar-btn {
        padding: 0.35rem 1rem;
        font-size: 0.85rem;
    }
}

/* Footer Animation - Subtle Glow */
@keyframes footer-glow {
    0%, 100% {
        border-top-color: #ef4444;
    }
    50% {
        border-top-color: #f87171;
    }
}

body.alexis4d-page .site-footer {
    animation: footer-glow 5s ease-in-out infinite;
}

/* END ALEXIS4D FULL FRONTEND CSS */

/* ========================================
   TOP BAR BUTTON REVISIONS - FINAL OVERRIDE
   Live Chat & Contact Us buttons styled to match Nexus original
   ======================================== */

/* Top bar base - dark background */
body.alexis4d-page .alexis4d-topbar {
    background: #240606;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 45, 45, 0.35);
}

/* Container layout */
body.alexis4d-page .alexis4d-topbar-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Left side container */
body.alexis4d-page .alexis4d-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Live Chat & Contact Us - Red button style */
body.alexis4d-page .alexis4d-topbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 28px;
    padding: 0.35rem 0.7rem;
    color: #ffffff;
    background: linear-gradient(180deg, #e61f26 0%, #b8080e 100%);
    border: 1px solid #ff3b42;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 2px 5px rgba(0, 0, 0, 0.35);
    transition: 
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* Hover state - brighter red */
body.alexis4d-page .alexis4d-topbar-link:hover {
    color: #ffffff;
    background: linear-gradient(180deg, #ff3038 0%, #d20d15 100%);
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 3px 7px rgba(0, 0, 0, 0.42);
}

/* Focus state - accessibility */
body.alexis4d-page .alexis4d-topbar-link:focus-visible {
    outline: 2px solid #ffd34d;
    outline-offset: 2px;
}

/* Icon styling */
body.alexis4d-page .alexis4d-topbar-icon {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Text styling */
body.alexis4d-page .alexis4d-topbar-text {
    display: inline-block;
    white-space: nowrap;
}

/* Responsive - tablet */
@media (max-width: 768px) {
    body.alexis4d-page .alexis4d-topbar-inner {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }
    
    body.alexis4d-page .alexis4d-topbar-left,
    body.alexis4d-page .alexis4d-topbar-right {
        gap: 0.4rem;
    }
    
    body.alexis4d-page .alexis4d-topbar-link {
        padding: 0.32rem 0.58rem;
        font-size: 0.7rem;
    }
}

/* Responsive - mobile */
@media (max-width: 480px) {
    body.alexis4d-page .alexis4d-topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    body.alexis4d-page .alexis4d-topbar-left,
    body.alexis4d-page .alexis4d-topbar-right {
        justify-content: center;
    }
}

/* END TOP BAR BUTTON REVISIONS */

/* ========================================
   MOBILE HEADER IMPROVEMENTS
   ======================================== */

/* Mobile Auth Buttons - Hidden by default on desktop */
body.alexis4d-page .alexis4d-mobile-auth {
    display: none;
}

/* Hamburger Menu Button - Hidden by default on desktop */
body.alexis4d-page .alexis4d-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

body.alexis4d-page .alexis4d-hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.alexis4d-page .alexis4d-hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger active state (X icon) */
body.alexis4d-page .alexis4d-hamburger.active .alexis4d-hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

body.alexis4d-page .alexis4d-hamburger.active .alexis4d-hamburger-line:nth-child(2) {
    opacity: 0;
}

body.alexis4d-page .alexis4d-hamburger.active .alexis4d-hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Styles - Max width 768px */
@media (max-width: 768px) {
    /* Hide top bar auth buttons on mobile */
    body.alexis4d-page .alexis4d-topbar-right {
        display: none !important;
    }

    /* Adjust header container for mobile */
    body.alexis4d-page .alexis4d-header-container {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem;
        gap: 1rem;
        position: relative;
    }

    /* Logo container - full width with hamburger */
    body.alexis4d-page .alexis4d-branding {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
    }

    body.alexis4d-page .alexis4d-logo {
        flex: 0 0 auto;
    }

    /* Show hamburger button on mobile */
    body.alexis4d-page .alexis4d-hamburger {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    /* Show mobile auth buttons */
    body.alexis4d-page .alexis4d-mobile-auth {
        display: flex;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.5rem;
    }

    body.alexis4d-page .alexis4d-mobile-btn {
        flex: 1;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

    body.alexis4d-page .alexis4d-mobile-login-btn {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.2);
    }

    body.alexis4d-page .alexis4d-mobile-login-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    body.alexis4d-page .alexis4d-mobile-register-btn {
        background-color: #b91c1c;
        color: #fff;
        border-color: #b91c1c;
    }

    body.alexis4d-page .alexis4d-mobile-register-btn:hover {
        background-color: #dc2626;
    }

    /* Navigation - hidden by default on mobile */
    body.alexis4d-page .alexis4d-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #4a0f0f 0%, #8b1e1e 100%);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
        padding: 80px 1.5rem 2rem;
    }

    /* Navigation open state */
    body.alexis4d-page .alexis4d-navigation.active {
        opacity: 1;
        visibility: visible;
    }

    /* Menu items - vertical layout on mobile */
    body.alexis4d-page .alexis4d-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    body.alexis4d-page .alexis4d-menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.alexis4d-page .alexis4d-menu-item:last-child {
        border-bottom: none;
    }

    body.alexis4d-page .alexis4d-menu-item a {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        gap: 1rem;
        min-width: auto;
        width: 100%;
        font-size: 1rem;
        border-radius: 0;
    }

    body.alexis4d-page .alexis4d-menu-icon-image {
        width: 28px;
        height: 28px;
    }

    body.alexis4d-page .alexis4d-menu-label {
        text-align: left;
        flex: 1;
    }

    /* Prevent body scroll when menu is open */
    body.alexis4d-page.menu-open {
        overflow: hidden;
    }
}

/* Extra small mobile - Max width 480px */
@media (max-width: 480px) {
    body.alexis4d-page .alexis4d-header-container {
        padding: 0.75rem 1rem;
    }

    body.alexis4d-page .alexis4d-logo-image {
        width: 140px;
    }

    body.alexis4d-page .alexis4d-hamburger {
        width: 36px;
        height: 36px;
    }

    body.alexis4d-page .alexis4d-hamburger-line {
        width: 20px;
    }

    body.alexis4d-page .alexis4d-mobile-auth {
        gap: 0.5rem;
    }

    body.alexis4d-page .alexis4d-mobile-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    body.alexis4d-page .alexis4d-navigation {
        padding: 70px 1rem 2rem;
    }

    body.alexis4d-page .alexis4d-menu-item a {
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
    }

    body.alexis4d-page .alexis4d-menu-icon-image {
        width: 26px;
        height: 26px;
    }
}

/* END MOBILE HEADER IMPROVEMENTS */


/* ========================================
   MOBILE HEADER POSITION REFINEMENT - FINAL OVERRIDE
   ======================================== */

@media (max-width: 768px) {
    /* Header container with proper spacing */
    body.alexis4d-page .alexis4d-header {
        position: relative;
        padding: 1rem 0 1.2rem;
    }

    body.alexis4d-page .alexis4d-header-container {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    /* Logo branding - centered with space for hamburger */
    body.alexis4d-page .alexis4d-branding {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 56px;
        margin: 0;
        min-height: 56px;
        position: relative;
    }

    body.alexis4d-page .alexis4d-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    body.alexis4d-page .alexis4d-logo-image {
        width: 145px;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* Hamburger button - positioned at top right */
    body.alexis4d-page .alexis4d-hamburger {
        position: absolute;
        top: 6px;
        right: 12px;
        width: 40px;
        height: 40px;
        margin: 0;
        z-index: 1001;
    }

    /* Mobile auth buttons - below logo */
    body.alexis4d-page .alexis4d-mobile-auth {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        margin-top: 0.15rem;
        padding: 0;
    }

    body.alexis4d-page .alexis4d-mobile-btn {
        width: 100%;
        max-width: none;
        min-height: 46px;
    }
}

@media (max-width: 480px) {
    /* Smaller screens adjustments */
    body.alexis4d-page .alexis4d-branding {
        min-height: 52px;
        padding: 0 52px;
    }

    body.alexis4d-page .alexis4d-logo-image {
        width: 135px;
    }

    body.alexis4d-page .alexis4d-hamburger {
        top: 5px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    body.alexis4d-page .alexis4d-mobile-auth {
        gap: 0.5rem;
    }
}

/* END MOBILE HEADER POSITION REFINEMENT */


/* ========================================
   HAMBURGER ICON X ANIMATION FIX
   ======================================== */

/* Base style for hamburger lines */
body.alexis4d-page .alexis4d-hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transform-origin: center;
    transition: 
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Active state with .active class - transform to X */
body.alexis4d-page .alexis4d-hamburger.active .alexis4d-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.alexis4d-page .alexis4d-hamburger.active .alexis4d-hamburger-line:nth-child(2) {
    opacity: 0;
}

body.alexis4d-page .alexis4d-hamburger.active .alexis4d-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Fallback with aria-expanded attribute - transform to X */
body.alexis4d-page .alexis4d-hamburger[aria-expanded="true"] .alexis4d-hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.alexis4d-page .alexis4d-hamburger[aria-expanded="true"] .alexis4d-hamburger-line:nth-child(2) {
    opacity: 0;
}

body.alexis4d-page .alexis4d-hamburger[aria-expanded="true"] .alexis4d-hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* END HAMBURGER ICON X ANIMATION FIX */

/* CONTENT WORDPRESS */

body.alexis4d-page .wp-block-post-content{
    background:#2b0a0a;
    color:#ececec;
    padding:60px 0;
}

body.alexis4d-page .wp-block-post-content .wp-block-group{
    max-width:1200px;
    margin:auto;
}

body.alexis4d-page .wp-block-post-content p{
    color:#dddddd;
    line-height:1.9;
}

body.alexis4d-page .wp-block-post-content h2{
    color:#f5c542;
    margin-top:50px;
}

body.alexis4d-page .wp-block-post-content h3{
    color:#ffffff;
}

body.alexis4d-page .wp-block-post-content a{
    color:#ffd86b;
}


/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

body.alexis4d-page .alexis4d-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 215, 0, 0.55);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #8b1e1e, #4a0f0f);
    color: #f5c542;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;

    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

body.alexis4d-page .alexis4d-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.alexis4d-page .alexis4d-back-to-top:hover {
    background: linear-gradient(135deg, #b91c1c, #6b1515);
    transform: translateY(-3px);
}

body.alexis4d-page .alexis4d-back-to-top:focus-visible {
    outline: 3px solid rgba(245, 197, 66, 0.55);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    body.alexis4d-page .alexis4d-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}
