/* Casino Online Theme - Enhanced Vibrant Colors */

/* Legacy Server Compatibility */
.legacy-server * {
    /* Disable advanced CSS features for older servers */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    contain-intrinsic-size: auto !important;
}

.legacy-server :is(*) {
    /* Fallback for :is() selector */
}

.legacy-server :where(*) {
    /* Fallback for :where() selector */
}

.legacy-server :has(*) {
    /* Fallback for :has() selector */
}

:root {
    /* Primary Gold Palette */
    --primary-gold: #FFD700;
    --secondary-gold: #FFA500;
    --bright-gold: #FFED4E;
    --dark-gold: #DAA520;
    
    /* Purple Palette */
    --dark-purple: #1a0033;
    --deep-purple: #2d0a4e;
    --royal-purple: #6B46C1;
    --light-purple: #9F7AEA;
    
    /* Accent Colors */
    --casino-red: #FF1744;
    --bright-red: #FF4569;
    --casino-green: #00E676;
    --bright-green: #69F0AE;
    --casino-blue: #00B8D4;
    --bright-blue: #18FFFF;
    
    /* Background Colors */
    --dark-bg: #0d0221;
    --darker-bg: #050112;
    --card-bg: #1a0f2e;
    --light-bg: #ffffff;
    --gray-bg: #f9fafb;
    
    /* Text Colors */
    --text-gold: #FFD700;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-gray: #b8b8d1;
    --text-dark: #0a0a0a;
    
    /* Border & Glow */
    --border-gold: #FFD700;
    --border-red: #FF1744;
    --glow-gold: rgba(255, 215, 0, 0.6);
    --glow-red: rgba(255, 23, 68, 0.5);
    --glow-purple: rgba(159, 122, 234, 0.4);
    --glow-green: rgba(0, 230, 118, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--dark-bg);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Glowing Effects */
.glow-text {
    text-shadow: 0 0 10px var(--glow-gold), 0 0 20px var(--glow-gold), 0 0 30px var(--glow-gold);
}

.glow-box {
    box-shadow: 0 0 20px var(--glow-gold), 0 0 40px rgba(255, 215, 0, 0.3);
}

.glow-red {
    box-shadow: 0 0 20px var(--glow-red), 0 0 40px rgba(255, 23, 68, 0.3);
}

.glow-purple {
    box-shadow: 0 0 20px var(--glow-purple), 0 0 40px rgba(159, 122, 234, 0.2);
}

.glow-green {
    box-shadow: 0 0 20px var(--glow-green), 0 0 40px rgba(0, 230, 118, 0.2);
}

/* Animated Background */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.9), 0 0 60px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3);
    }
}

@keyframes pulse-glow-red {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 23, 68, 0.6), 0 0 40px rgba(255, 23, 68, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 23, 68, 0.9), 0 0 60px rgba(255, 23, 68, 0.6), 0 0 80px rgba(255, 23, 68, 0.3);
    }
}

@keyframes pulse-glow-purple {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(159, 122, 234, 0.5), 0 0 40px rgba(159, 122, 234, 0.2);
    }
    50% { 
        box-shadow: 0 0 40px rgba(159, 122, 234, 0.8), 0 0 60px rgba(159, 122, 234, 0.5), 0 0 80px rgba(159, 122, 234, 0.2);
    }
}

@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Header Styles */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(13, 2, 33, 0.98) 0%, rgba(26, 15, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-gold);
    box-shadow: 0 4px 30px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.2);
}

/* Non-fixed header for show.html only */
.show-page .modern-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.modern-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.modern-nav a {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.modern-nav a:hover,
.modern-nav a.active {
    color: var(--bright-gold);
    text-shadow: 0 0 15px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.4);
}

.modern-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bright-gold), var(--primary-gold), var(--bright-gold), transparent);
    box-shadow: 0 0 15px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--bright-gold));
    transition: all 0.3s;
    box-shadow: 0 0 15px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.3);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--primary-gold);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-gold);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 20px;
    }

    .logo {
        justify-self: start;
    }

    /* Hide desktop navigation completely on mobile */
    .modern-nav {
        display: none;
    }

    /* Show mobile ENTRAR button in center */
    .header-actions {
        display: flex !important;
        justify-self: center;
        gap: 0;
    }

    .header-actions .btn {
        display: none;
    }

    /* Show only ENTRAR button */
    .header-actions .btn:first-child {
        display: inline-block !important;
        padding: 12px 30px;
        background: linear-gradient(135deg, #FFD700, #FFA500);
        color: #0d0221;
        font-family: 'Barlow', sans-serif;
        font-weight: 900;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        text-decoration: none;
        border-radius: 25px;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
        transition: all 0.3s;
        border: none;
    }

    .header-actions .btn:first-child:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 25px rgba(255, 215, 0, 0.8);
    }

    .mobile-menu-toggle {
        justify-self: end;
        order: 3;
    }

    /* Full screen menu when active */
    .modern-nav.active {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(180deg, rgba(13, 2, 33, 0.98) 0%, rgba(26, 15, 46, 0.98) 100%);
        backdrop-filter: blur(10px);
        box-shadow: inset 0 4px 30px rgba(255, 215, 0, 0.1);
        overflow-y: auto;
        z-index: 999;
    }

    /* Adjust mobile menu for non-fixed header on show page */
    .show-page .modern-nav.active {
        position: absolute;
        top: 100%;
        height: 100vh;
    }

    .modern-nav.active ul {
        flex-direction: column;
        padding: 40px 20px;
        gap: 0;
    }

    /* Show ALL items when menu is opened */
    .modern-nav.active ul li {
        display: block !important;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        transition: all 0.3s;
    }

    .modern-nav.active li:hover {
        background: rgba(255, 215, 0, 0.05);
        border-left: 4px solid var(--bright-gold);
        padding-left: 10px;
    }

    .modern-nav.active a {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
        position: relative;
    }

    .modern-nav.active a.active {
        color: var(--bright-gold);
        background: rgba(255, 215, 0, 0.1);
        padding-left: 15px;
        border-left: 4px solid var(--bright-gold);
    }

    .modern-nav.active a.active::after {
        display: none;
    }

    .modern-nav.active a::before {
        content: '▸';
        position: absolute;
        left: -5px;
        opacity: 0;
        transition: all 0.3s;
        color: var(--bright-gold);
    }

    .modern-nav.active a:hover::before,
    .modern-nav.active a.active::before {
        opacity: 1;
        left: 5px;
    }

    /* Hide header actions when menu is open */
    .modern-nav.active ~ .header-actions {
        display: none !important;
    }
}

/* Enhanced Hover Effects */
a[style*="background: #FFD700"]:hover,
a[style*="background: linear-gradient(135deg, #FFD700"]:hover,
.btn-gold:hover {
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold), var(--secondary-gold)) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.7), 0 0 80px rgba(255, 215, 0, 0.5), 0 0 120px rgba(255, 215, 0, 0.3);
}

a[style*="border: 2px solid"]:hover,
a[style*="border: 3px solid"]:hover {
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold)) !important;
    color: var(--dark-bg) !important;
    border-color: var(--bright-gold) !important;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.5);
}

/* Image Hover Effects */
img[data-src] {
    transition: all 0.5s;
}

article:hover img[data-src] {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.3) saturate(1.4);
}

div:hover img[style*="grayscale"] {
    filter: grayscale(0%) brightness(1.2) !important;
    transform: scale(1.1);
}

/* Enhanced Box Hover Effects */
div[style*="background: white"]:hover,
div[style*="background: #ffffff"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.5), 0 0 100px rgba(255, 215, 0, 0.4), 0 0 150px rgba(255, 215, 0, 0.2);
}

div[style*="background: rgba(255, 255, 255, 0.05)"]:hover,
div[style*="backdrop-filter: blur"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.6), 0 0 120px rgba(255, 215, 0, 0.5), 0 0 180px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Footer Styles */
.modern-footer {
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--dark-bg) 100%);
    color: white;
    padding: 80px 0 30px;
    border-top: 3px solid var(--primary-gold);
    box-shadow: 0 -4px 30px rgba(255, 215, 0, 0.3);
    position: relative;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    box-shadow: 0 0 20px var(--glow-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.footer-brand p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold), var(--secondary-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold));
    transform: translateY(-5px) scale(1.15) rotate(360deg);
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.5);
}

.footer-social a svg {
    fill: var(--dark-bg);
}

.footer-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--bright-gold);
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 0 0 15px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--bright-gold);
    padding-left: 15px;
    text-shadow: 0 0 15px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.3);
}

.footer-disclaimer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 30px;
}

.age-limit {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg);
    font-family: 'Barlow', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.4);
    animation: pulse-glow 2s infinite;
}

.footer-disclaimer p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.footer-copyright a {
    color: var(--primary-gold);
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.3s;
}

.footer-copyright a:hover {
    color: var(--bright-gold);
    text-shadow: 0 0 15px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Mobile Fixed Bottom Bar */
.mobile-fixed-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--dark-bg) 100%);
    padding: 15px 20px;
    gap: 15px;
    z-index: 999;
    border-top: 2px solid var(--primary-gold);
    box-shadow: 0 -4px 25px rgba(255, 215, 0, 0.4);
}

.mobile-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 5px;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg);
    font-weight: 900;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.3);
}

.mobile-btn-secondary {
    background: transparent;
    color: var(--bright-gold);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .mobile-fixed-bottom-bar {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold), var(--secondary-gold));
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7), 0 0 60px rgba(255, 215, 0, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: pulse-glow 2s infinite;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--bright-gold), var(--primary-gold));
    transform: translateY(-8px) scale(1.15) rotate(360deg);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.9), 0 0 100px rgba(255, 215, 0, 0.6);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: var(--dark-bg);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--bright-gold);
    text-shadow: 0 0 15px var(--glow-gold), 0 0 30px rgba(255, 215, 0, 0.3);
}

.breadcrumbs .separator {
    color: var(--primary-gold);
}

.breadcrumbs .current {
    color: var(--primary-gold);
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .header-container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    div[style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-container {
        padding: 0 20px;
    }

    /* Enhanced mobile navigation */
    .modern-nav ul li:first-child a {
        padding: 0 15px;
        font-size: 0.95rem;
    }

    .modern-nav.active {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .modern-nav.active ul {
        padding: 30px 20px;
    }

    .modern-nav.active ul li:first-child a,
    .modern-nav.active a {
        padding: 18px 0;
        font-size: 1.05rem;
    }

    h1[style*="font-size: clamp"] {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        letter-spacing: -1px !important;
    }

    h2[style*="font-size: clamp"] {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        letter-spacing: -1px !important;
    }
    
    h3[style*="font-size"] {
        font-size: 1.3rem !important;
    }
    
    h4[style*="font-size"] {
        font-size: 1.1rem !important;
    }

    /* Force single column on mobile */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    div[style*="display: grid"] {
        gap: 25px !important;
    }
    
    /* Hero section adjustments */
    section[style*="min-height: 100vh"] {
        min-height: auto !important;
        padding: 100px 0 50px !important;
    }
    
    /* Button adjustments - All buttons */
    a[style*="padding: 20px 50px"],
    a[style*="padding: 18px 45px"],
    a[style*="padding: 22px 55px"],
    button[style*="padding: 22px 50px"] {
        padding: 16px 30px !important;
        font-size: 1rem !important;
        width: 100%;
        text-align: center;
        display: block !important;
    }
    
    a[style*="padding: 16px 40px"],
    a[style*="padding: 14px 32px"] {
        padding: 14px 28px !important;
        font-size: 0.95rem !important;
        width: 100%;
        text-align: center;
        display: block !important;
    }
    
    /* Flex containers to column */
    div[style*="display: flex; gap: 20px"],
    div[style*="display: flex; gap: 25px"],
    div[style*="display: flex; gap: 40px"] {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    /* Stats section */
    div[style*="gap: 60px; text-align: center"] {
        gap: 35px !important;
    }
    
    /* Card padding - Multiple variations */
    div[style*="padding: 50px 40px"],
    div[style*="padding: 60px"],
    div[style*="padding: 80px 60px"] {
        padding: 30px 20px !important;
    }
    
    div[style*="padding: 40px 35px"],
    div[style*="padding: 35px 30px"] {
        padding: 25px 20px !important;
    }
    
    /* Number boxes */
    div[style*="width: 80px; height: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }
    
    div[style*="width: 80px; height: 80px"] span {
        font-size: 2rem !important;
    }
    
    /* Avatar/Icon circles */
    div[style*="width: 55px; height: 55px"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem !important;
    }
    
    div[style*="width: 50px; height: 50px"] {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Font size adjustments */
    p[style*="font-size: 1.3rem"],
    p[style*="font-size: 1.5rem"],
    p[style*="font-size: 1.4rem"] {
        font-size: 1.05rem !important;
    }
    
    p[style*="font-size: 1.2rem"],
    p[style*="font-size: 1.15rem"] {
        font-size: 1rem !important;
    }
    
    p[style*="font-size: 1.1rem"],
    p[style*="font-size: 1.05rem"] {
        font-size: 0.95rem !important;
    }
    
    ul[style*="font-size: 1.1rem"],
    ul[style*="font-size: 1.05rem"] {
        font-size: 0.95rem !important;
    }
    
    /* Badge adjustments */
    div[style*="padding: 10px 30px"],
    div[style*="padding: 12px 35px"],
    div[style*="padding: 8px 25px"],
    div[style*="padding: 6px 20px"] {
        padding: 6px 16px !important;
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
    }
    
    /* Section padding */
    section[style*="padding: 120px 0"] {
        padding: 60px 0 !important;
    }
    
    section[style*="padding: 100px 0"] {
        padding: 50px 0 !important;
    }
    
    section[style*="padding: 80px 0"] {
        padding: 45px 0 !important;
    }
    
    /* Margin adjustments */
    div[style*="margin-bottom: 80px"] {
        margin-bottom: 40px !important;
    }
    
    div[style*="margin-bottom: 60px"] {
        margin-bottom: 35px !important;
    }
    
    div[style*="margin-bottom: 50px"] {
        margin-bottom: 30px !important;
    }
    
    div[style*="margin-bottom: 40px"] {
        margin-bottom: 25px !important;
    }
    
    div[style*="margin-bottom: 30px"] {
        margin-bottom: 20px !important;
    }
    
    div[style*="margin-bottom: 25px"] {
        margin-bottom: 18px !important;
    }
    
    /* Gap adjustments for specific sections */
    div[style*="gap: 100px"] {
        gap: 40px !important;
    }
    
    div[style*="gap: 80px"] {
        gap: 35px !important;
    }
    
    div[style*="gap: 60px"] {
        gap: 30px !important;
    }
    
    /* Form inputs */
    input[style*="padding: 22px 30px"] {
        padding: 16px 20px !important;
        font-size: 1rem !important;
        min-width: 100% !important;
    }
    
    /* Newsletter form specific */
    form[style*="display: flex"] {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    /* Stats dividers - hide on mobile */
    div[style*="width: 2px; height: 50px"] {
        display: none !important;
    }
    
    /* Limited offer grid */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Payment methods badges */
    div[style*="display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap"] {
        gap: 15px !important;
    }
    
    div[style*="padding: 20px 35px"] {
        padding: 15px 25px !important;
    }
    
    /* Security badges grid */
    div[style*="grid-template-columns: 1fr 1fr; gap: 25px"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Benefits grid */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Trust badges */
    div[style*="display: flex; align-items: center; gap: 12px"] {
        justify-content: center !important;
    }
    
    /* Max width containers */
    div[style*="max-width: 900px"],
    div[style*="max-width: 1100px"],
    div[style*="max-width: 700px"] {
        max-width: 100% !important;
    }

    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-disclaimer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .age-limit {
        margin: 0 auto;
    }
    
    /* Hide decorative orbs on mobile for performance */
    div[style*="position: absolute"][style*="radial-gradient"] {
        display: none !important;
    }
    
    /* Emoji sizes */
    div[style*="font-size: 3rem"] {
        font-size: 2.5rem !important;
    }
    
    div[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }
    
    /* Star ratings */
    div[style*="color: #FFD700; font-size: 2rem"] {
        font-size: 1.8rem !important;
    }
    
    /* Image containers */
    div[style*="text-align: center; position: relative"] img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }
    
    h1[style*="font-size: clamp"] {
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
    }
    
    h2[style*="font-size: clamp"] {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }
    
    h3[style*="font-size"] {
        font-size: 1.2rem !important;
    }
    
    h4[style*="font-size"] {
        font-size: 1rem !important;
    }
    
    /* Extra small button adjustments */
    a[style*="padding: 16px 30px"],
    a[style*="padding: 16px 35px"],
    button[style*="padding: 16px"] {
        padding: 14px 24px !important;
        font-size: 0.9rem !important;
    }
    
    a[style*="padding: 14px 28px"],
    a[style*="padding: 14px 32px"] {
        padding: 12px 22px !important;
        font-size: 0.85rem !important;
    }
    
    /* Tighter spacing */
    section[style*="padding: 60px 0"] {
        padding: 35px 0 !important;
    }
    
    section[style*="padding: 50px 0"] {
        padding: 30px 0 !important;
    }
    
    section[style*="padding: 45px 0"] {
        padding: 30px 0 !important;
    }
    
    div[style*="padding: 30px 20px"],
    div[style*="padding: 30px 25px"] {
        padding: 20px 15px !important;
    }
    
    div[style*="padding: 25px 20px"] {
        padding: 20px 15px !important;
    }
    
    /* Stats numbers */
    div[style*="font-size: clamp(3.5rem"] {
        font-size: clamp(2rem, 12vw, 3.5rem) !important;
    }
    
    /* Smaller stat numbers in CTA */
    div[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }
    
    /* List items */
    li[style*="padding-left: 30px"],
    li[style*="padding-left: 25px"] {
        padding-left: 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* Paragraph text */
    p[style*="font-size: 1.05rem"] {
        font-size: 0.9rem !important;
    }
    
    p[style*="font-size: 1rem"] {
        font-size: 0.9rem !important;
    }
    
    p[style*="font-size: 0.95rem"] {
        font-size: 0.85rem !important;
    }
    
    /* Badges even smaller */
    div[style*="padding: 6px 16px"] {
        padding: 5px 12px !important;
        font-size: 0.7rem !important;
        letter-spacing: 1px !important;
    }
    
    /* Margins tighter */
    div[style*="margin-bottom: 40px"] {
        margin-bottom: 25px !important;
    }
    
    div[style*="margin-bottom: 35px"] {
        margin-bottom: 22px !important;
    }
    
    div[style*="margin-bottom: 30px"] {
        margin-bottom: 18px !important;
    }
    
    div[style*="margin-bottom: 25px"] {
        margin-bottom: 15px !important;
    }
    
    div[style*="margin-bottom: 20px"] {
        margin-bottom: 15px !important;
    }
    
    div[style*="margin-bottom: 18px"] {
        margin-bottom: 12px !important;
    }
    
    /* Gaps tighter */
    div[style*="gap: 40px"] {
        gap: 20px !important;
    }
    
    div[style*="gap: 35px"] {
        gap: 20px !important;
    }
    
    div[style*="gap: 30px"] {
        gap: 18px !important;
    }
    
    div[style*="gap: 25px"] {
        gap: 15px !important;
    }
    
    div[style*="gap: 20px"] {
        gap: 12px !important;
    }
    
    /* Number boxes smaller */
    div[style*="width: 60px; height: 60px"] {
        width: 50px !important;
        height: 50px !important;
    }
    
    div[style*="width: 60px; height: 60px"] span {
        font-size: 1.6rem !important;
    }
    
    /* Avatar circles smaller */
    div[style*="width: 50px; height: 50px"] {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    div[style*="width: 45px; height: 45px"] {
        width: 38px !important;
        height: 38px !important;
    }
    
    /* Form inputs smaller */
    input[style*="padding: 16px 20px"] {
        padding: 14px 18px !important;
        font-size: 0.95rem !important;
    }
    
    /* Emoji sizes smaller */
    div[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }
    
    div[style*="font-size: 2rem"] {
        font-size: 1.6rem !important;
    }
    
    /* Star ratings smaller */
    div[style*="font-size: 1.8rem"] {
        font-size: 1.5rem !important;
    }
    
    /* Mobile nav adjustments */
    .modern-nav ul li:first-child a {
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .modern-nav.active {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .modern-nav.active ul {
        padding: 25px 15px;
    }

    .modern-nav.active ul li:first-child a,
    .modern-nav.active a {
        padding: 16px 0;
        font-size: 1rem;
    }
    
    .mobile-fixed-bottom-bar {
        padding: 10px 12px;
        gap: 10px;
    }    .modern-nav a {
        padding: 16px 0;
        font-size: 1rem;
    }
    
    .mobile-fixed-bottom-bar {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .mobile-btn {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    /* Back to top smaller */
    .back-to-top {
        bottom: 85px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 400px) {
    h1[style*="font-size: clamp"] {
        font-size: clamp(1.5rem, 10vw, 2rem) !important;
    }
    
    h2[style*="font-size: clamp"] {
        font-size: clamp(1.3rem, 8vw, 1.8rem) !important;
    }
    
    h3[style*="font-size"] {
        font-size: 1.1rem !important;
    }
    
    h4[style*="font-size"] {
        font-size: 0.95rem !important;
    }
    
    div[style*="font-size: clamp(3.5rem"] {
        font-size: clamp(1.8rem, 12vw, 3rem) !important;
    }
    
    /* Ultra compact spacing */
    section[style*="padding: 35px 0"] {
        padding: 25px 0 !important;
    }
    
    section[style*="padding: 30px 0"] {
        padding: 20px 0 !important;
    }
    
    div[style*="padding: 20px 15px"] {
        padding: 15px 12px !important;
    }
    
    /* Buttons ultra compact */
    a[style*="padding: 14px 24px"],
    a[style*="padding: 12px 22px"],
    button[style*="padding"] {
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
    }
    
    /* Text ultra compact */
    p[style*="font-size: 0.9rem"] {
        font-size: 0.85rem !important;
    }
    
    p[style*="font-size: 0.85rem"] {
        font-size: 0.8rem !important;
    }
    
    /* Badges ultra compact */
    div[style*="padding: 5px 12px"] {
        padding: 4px 10px !important;
        font-size: 0.65rem !important;
    }
    
    /* Number boxes ultra compact */
    div[style*="width: 50px; height: 50px"] {
        width: 45px !important;
        height: 45px !important;
    }
    
    div[style*="width: 50px; height: 50px"] span {
        font-size: 1.4rem !important;
    }
    
    /* Avatar ultra compact */
    div[style*="width: 40px; height: 40px"] {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }
    
    /* Gaps ultra compact */
    div[style*="gap: 20px"] {
        gap: 10px !important;
    }
    
    div[style*="gap: 18px"] {
        gap: 12px !important;
    }
    
    div[style*="gap: 15px"] {
        gap: 10px !important;
    }
    
    div[style*="gap: 12px"] {
        gap: 8px !important;
    }
    
    /* Margins ultra compact */
    div[style*="margin-bottom: 25px"] {
        margin-bottom: 15px !important;
    }
    
    div[style*="margin-bottom: 22px"] {
        margin-bottom: 15px !important;
    }
    
    div[style*="margin-bottom: 18px"] {
        margin-bottom: 12px !important;
    }
    
    div[style*="margin-bottom: 15px"] {
        margin-bottom: 10px !important;
    }
    
    div[style*="margin-bottom: 12px"] {
        margin-bottom: 8px !important;
    }
    
    /* List items ultra compact */
    li[style*="padding-left: 20px"] {
        padding-left: 18px !important;
        font-size: 0.85rem !important;
    }
    
    /* Form inputs ultra compact */
    input[style*="padding: 14px 18px"] {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
    }
    
    /* Emoji ultra compact */
    div[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
    
    div[style*="font-size: 1.6rem"] {
        font-size: 1.3rem !important;
    }
    
    /* Star ratings ultra compact */
    div[style*="font-size: 1.5rem"] {
        font-size: 1.3rem !important;
    }
    
    /* Mobile bottom bar ultra compact */
    .mobile-fixed-bottom-bar {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .mobile-btn {
        padding: 10px 8px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    /* Back to top ultra compact */
    .back-to-top {
        bottom: 80px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
    
    /* Container ultra compact */
    .container {
        padding: 0 12px;
    }
    
    .header-container {
        padding: 0 12px;
        height: 65px;
    }
    
    .logo img {
        height: 35px;
    }
    
    /* Mobile nav ultra compact */
    .modern-nav ul li:first-child a {
        padding: 0 10px;
        font-size: 0.85rem;
    }

    .modern-nav.active {
        top: 65px;
        height: calc(100vh - 65px);
    }

    .modern-nav.active ul {
        padding: 20px 12px;
    }
    
    .modern-nav.active ul li:first-child a,
    .modern-nav.active a {
        font-size: 0.95rem;
        padding: 15px 0;
    }

    .modern-nav.active li:hover {
        padding-left: 8px;
    }

    .modern-nav.active a.active {
        padding-left: 12px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 992px) and (orientation: landscape) {
    section[style*="min-height: 100vh"] {
        min-height: auto !important;
        padding: 100px 0 50px !important;
    }
    
    .modern-nav {
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* Tablet specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    h1[style*="font-size: clamp"] {
        font-size: clamp(2.5rem, 6vw, 4rem) !important;
    }
    
    h2[style*="font-size: clamp"] {
        font-size: clamp(2rem, 5vw, 3rem) !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    a:hover, button:hover, div:hover {
        transform: none !important;
    }
    
    /* Tap highlight */
    a, button {
        -webkit-tap-highlight-color: rgba(255, 215, 0, 0.2);
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Lazy Loading */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s;
}

img[src] {
    opacity: 1;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Mobile Utility Classes */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Better text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .modern-header {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .mobile-fixed-bottom-bar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
        padding-bottom: max(15px, env(safe-area-inset-bottom));
    }
}

/* List.html Specific Enhancements */

/* Article Card Hover Effects */
article[style*="background: rgba(255, 255, 255, 0.05)"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.4), 0 0 80px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
}

article[style*="background: rgba(255, 255, 255, 0.05)"]:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

article[style*="background: rgba(255, 255, 255, 0.05)"]:hover h3 {
    color: #FFED4E;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Sidebar Latest Posts Hover */
aside a[style*="display: flex; gap: 15px"]:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
    transform: translateX(5px);
}

aside a[style*="display: flex; gap: 15px"]:hover img {
    transform: scale(1.15) rotate(2deg);
}

aside a[style*="display: flex; gap: 15px"]:hover h5 {
    color: #FFED4E !important;
}

/* CTA Widget Hover Effects */
div[style*="background: linear-gradient(135deg, #2d0a4e"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.6), 0 20px 40px rgba(255, 215, 0, 0.3);
}

/* Pagination Hover Effects */
nav a[style*="padding: 16px 35px"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

nav a[style*="background: linear-gradient(135deg, #FFD700"]:hover {
    background: linear-gradient(135deg, #FFED4E, #FFD700) !important;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.8);
}

nav a[style*="background: rgba(255, 255, 255, 0.05)"]:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    border-color: rgba(255, 215, 0, 0.6) !important;
    color: #FFED4E !important;
}

/* Hero Section Button Hover */
section[style*="min-height: 60vh"] a[style*="padding: 18px 45px"]:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.7);
}

/* Stats Animation in CTA */
div[style*="animation: float 4s"],
div[style*="animation: float 5s"],
div[style*="animation: float 6s"] {
    transition: all 0.3s;
}

div[style*="animation: float 4s"]:hover,
div[style*="animation: float 5s"]:hover,
div[style*="animation: float 6s"]:hover {
    transform: scale(1.15) translateY(-10px);
}

/* Enhanced Mobile Responsive Improvements */

/* Mobile Header Improvements */
@media (max-width: 768px) {
    .header-container {
        height: 70px;
        padding: 0 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Ensure mobile header layout is correct */
    .header-actions {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex !important;
        gap: 10px;
    }
    
    .header-actions .btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        min-width: 70px;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        right: 15px;
        z-index: 1001;
    }
}

/* Mobile Hero Section Improvements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh !important;
        padding: 20px 0 !important;
    }
    
    /* Better mobile text sizing */
    h1[style*="clamp"] {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    
    /* Mobile paragraph improvements */
    p[style*="clamp"] {
        font-size: clamp(1rem, 4vw, 1.2rem) !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
    }
    
    /* Mobile button improvements */
    div[style*="display: flex; gap: 20px"] {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }
    
    a[style*="padding: 20px 50px"] {
        padding: 16px 40px !important;
        font-size: 1rem !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }
}

/* Mobile Content Section Improvements */
@media (max-width: 768px) {
    .section {
        padding: 60px 0 !important;
    }
    
    /* Mobile grid improvements */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Mobile card improvements */
    div[style*="padding: 50px 40px"] {
        padding: 30px 20px !important;
    }
    
    div[style*="padding: 40px 35px"] {
        padding: 25px 20px !important;
    }
    
    div[style*="padding: 35px 30px"] {
        padding: 25px 20px !important;
    }
    
    /* Mobile image improvements */
    img[style*="max-width: 180px"] {
        max-width: 120px !important;
        max-height: 80px !important;
    }
    
    /* Mobile stats improvements */
    div[style*="font-size: clamp(3.5rem, 6vw, 5.5rem)"] {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
    }
}

/* Mobile Text Content Improvements */
@media (max-width: 768px) {
    /* Better mobile typography */
    h2[style*="clamp(2.5rem, 5vw, 4rem)"] {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    
    h3[style*="font-size: 1.6rem"] {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }
    
    h4[style*="font-size: 1.15rem"] {
        font-size: 1rem !important;
    }
    
    /* Mobile paragraph spacing */
    p[style*="font-size: 1.2rem"] {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
    
    p[style*="font-size: 1.05rem"] {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    /* Mobile list improvements */
    ul[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
    }
    
    li[style*="padding-left: 30px"] {
        padding-left: 25px !important;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .modern-nav.active {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(13, 2, 33, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        border-bottom: 2px solid var(--primary-gold) !important;
        z-index: 999 !important;
        padding: 20px 0 !important;
    }
    
    .modern-nav.active ul {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 20px !important;
    }
    
    .modern-nav.active ul li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2) !important;
    }
    
    .modern-nav.active ul li:last-child {
        border-bottom: none !important;
    }
    
    .modern-nav.active ul li a {
        display: block !important;
        padding: 15px 0 !important;
        font-size: 1rem !important;
        text-align: left !important;
        border-left: 3px solid transparent !important;
        transition: all 0.3s !important;
    }
    
    .modern-nav.active ul li a:hover,
    .modern-nav.active ul li a.active {
        border-left-color: var(--primary-gold) !important;
        background: rgba(255, 215, 0, 0.1) !important;
        padding-left: 15px !important;
    }
}

/* Mobile Footer Improvements */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-brand {
        order: -1 !important;
    }
    
    .footer-brand img {
        max-width: 150px !important;
        margin: 0 auto 20px !important;
    }
    
    .footer-social {
        justify-content: center !important;
        gap: 20px !important;
    }
    
    .footer-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px 25px !important;
    }
    
    .footer-links li {
        flex: 0 0 auto !important;
    }
}

/* Specific Mobile Content Fixes */
@media (max-width: 768px) {
    /* Fix text overflow in content blocks */
    div[style*="font-family: 'Rajdhani'"][style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Better mobile spacing for content sections */
    div[style*="max-width: 1000px"] {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
    }
    
    div[style*="max-width: 900px"] {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
    }
    
    /* Mobile image container improvements */
    div[style*="height: 250px"] {
        height: 200px !important;
    }
    
    div[style*="height: 240px"] {
        height: 180px !important;
    }
    
    div[style*="height: 180px"] {
        height: 150px !important;
    }
    
    /* Mobile badge improvements */
    div[style*="padding: 8px 25px"] {
        padding: 6px 20px !important;
        font-size: 0.8rem !important;
    }
    
    div[style*="padding: 10px 30px"] {
        padding: 8px 25px !important;
        font-size: 0.85rem !important;
    }
    
    /* Mobile breadcrumb improvements */
    .breadcrumbs {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    /* Mobile article grid improvements */
    article[style*="background: rgba(255, 255, 255, 0.05)"] {
        margin-bottom: 20px !important;
    }
    
    /* Mobile CTA section improvements */
    div[style*="padding: 80px 60px"] {
        padding: 40px 20px !important;
    }
    
    div[style*="padding: 60px"] {
        padding: 30px 20px !important;
    }
}

/* Ultra Small Mobile (320px and below) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px !important;
    }
    
    .header-container {
        padding: 0 12px !important;
    }
    
    .header-actions .btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        min-width: 60px !important;
    }
    
    h1[style*="clamp"] {
        font-size: clamp(1.5rem, 10vw, 2rem) !important;
    }
    
    h2[style*="clamp"] {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }
    
    .section {
        padding: 40px 0 !important;
    }
    
    div[style*="padding: 30px 20px"] {
        padding: 20px 15px !important;
    }
    
    div[style*="padding: 25px 20px"] {
        padding: 20px 15px !important;
    }
    
    /* Ultra small mobile text improvements */
    div[style*="font-size: 0.8rem"] {
        font-size: 0.75rem !important;
    }
    
    div[style*="font-size: 0.85rem"] {
        font-size: 0.8rem !important;
    }
    
    /* Ultra small mobile spacing */
    div[style*="gap: 20px"] {
        gap: 15px !important;
    }
    
    div[style*="gap: 25px"] {
        gap: 20px !important;
    }
    
    div[style*="gap: 30px"] {
        gap: 20px !important;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 50vh !important;
        padding: 15px 0 !important;
    }
    
    .section {
        padding: 40px 0 !important;
    }
    
    .modern-nav.active {
        top: 60px !important;
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
    }
}

/* Mobile Responsive for List Page */
@media (max-width: 1024px) {
    div[style*="grid-template-columns: 1fr 350px"] {
        grid-template-columns: 1fr !important;
    }
    
    aside {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Hero section adjustments */
    section[style*="min-height: 60vh"] {
        min-height: auto !important;
        padding: 100px 0 50px !important;
    }
    
    /* Article grid to single column */
    div[style*="grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    /* Stats grid in CTA */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    /* Sidebar widgets */
    aside > div {
        padding: 25px 20px !important;
    }
    
    aside h4 {
        font-size: 1.2rem !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] {
        padding: 12px !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] > div:first-child {
        width: 70px !important;
        height: 70px !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] h5 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    /* Stats grid to single column on very small screens */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Article cards more compact */
    article[style*="background: rgba(255, 255, 255, 0.05)"] > a > div:first-child {
        height: 200px !important;
    }
    
    article[style*="background: rgba(255, 255, 255, 0.05)"] > a > div:last-child {
        padding: 25px 20px !important;
    }
    
    article h3 {
        font-size: 1.2rem !important;
    }
    
    /* Pagination buttons */
    nav a[style*="padding: 16px 35px"] {
        padding: 14px 25px !important;
        font-size: 0.9rem !important;
    }
    
    nav svg {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 400px) {
    /* Ultra compact for very small screens */
    aside a[style*="display: flex; gap: 15px"] > div:first-child {
        width: 60px !important;
        height: 60px !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] h5 {
        font-size: 0.85rem !important;
    }
    
    article[style*="background: rgba(255, 255, 255, 0.05)"] > a > div:first-child {
        height: 180px !important;
    }
}

/* News.html Specific Enhancements */

/* Hero Meta Info Hover */
section[style*="min-height: 55vh"] div[style*="width: 45px; height: 45px"]:hover {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

/* Article Content Styling */
article > div[style*="background: rgba(255, 255, 255, 0.05)"] {
    transition: all 0.3s;
}

article > div[style*="background: rgba(255, 255, 255, 0.05)"]:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

/* Featured Image Hover */
article > div[style*="position: relative; overflow: hidden; margin-bottom: 50px"]:hover img {
    transform: scale(1.05);
}

/* Tags Hover */
span[style*="padding: 8px 18px; background: rgba(255, 215, 0, 0.15)"]:hover {
    background: rgba(255, 215, 0, 0.25) !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Share Buttons Hover */
div[style*="width: 45px; height: 45px; background: linear-gradient(135deg, #FFD700"]:hover {
    transform: translateY(-5px) scale(1.15) rotate(360deg);
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.8);
}

/* CTA Box Hover */
article > div[style*="background: linear-gradient(135deg, #2d0a4e"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 70px rgba(255, 215, 0, 0.7);
    border-color: #FFED4E;
}

/* Sidebar Author Box Hover */
aside > div:first-child:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.4);
}

aside > div:first-child:hover > div[style*="width: 100px"] {
    transform: scale(1.1) rotate(360deg);
}

/* Sidebar Latest Posts Hover */
aside a[style*="display: flex; gap: 15px"]:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
    transform: translateX(5px);
}

aside a[style*="display: flex; gap: 15px"]:hover img {
    transform: scale(1.15) rotate(2deg);
}

aside a[style*="display: flex; gap: 15px"]:hover h5 {
    color: #FFED4E !important;
}

/* Sidebar CTA Widget Hover */
aside > div[style*="background: linear-gradient(135deg, #2d0a4e"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.6);
}

/* Quick Links Hover */
aside a[style*="display: flex; align-items: center; gap: 12px"]:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
    transform: translateX(5px);
    color: #FFED4E !important;
}

aside a[style*="display: flex; align-items: center; gap: 12px"]:hover span {
    transform: scale(1.2);
}

/* Related Articles Hover */
section[style*="background: linear-gradient(135deg, #2d0a4e"] article:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.4);
}

section[style*="background: linear-gradient(135deg, #2d0a4e"] article:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

section[style*="background: linear-gradient(135deg, #2d0a4e"] article:hover h3 {
    color: #FFED4E;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Mobile Responsive for News Page */
@media (max-width: 1024px) {
    div[style*="grid-template-columns: 1fr 350px"] {
        grid-template-columns: 1fr !important;
    }
    
    aside {
        order: -1;
    }
    
    /* Hero meta info stack */
    section[style*="min-height: 55vh"] > div > div > div[style*="display: flex; align-items: center; justify-content: center"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    section[style*="min-height: 55vh"] div[style*="width: 2px; height: 40px"] {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* Hero section adjustments */
    section[style*="min-height: 55vh"] {
        min-height: auto !important;
        padding: 100px 0 50px !important;
    }
    
    /* Featured image */
    article > div[style*="margin-bottom: 50px"] {
        margin-bottom: 35px !important;
    }
    
    article > div[style*="margin-bottom: 50px"] div[style*="top: 30px; left: 30px"] {
        top: 15px !important;
        left: 15px !important;
        padding: 6px 15px !important;
        font-size: 0.7rem !important;
    }
    
    /* Article content */
    article > div[style*="padding: 50px 45px"] {
        padding: 30px 25px !important;
    }
    
    article > div[style*="padding: 50px 45px"] > div:first-child {
        padding: 20px !important;
        font-size: 1.1rem !important;
    }
    
    /* Tags & Share section */
    div[style*="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap"] {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    /* CTA Box */
    article > div[style*="padding: 50px 45px; border: 3px solid"] {
        padding: 35px 25px !important;
    }
    
    article > div[style*="padding: 50px 45px; border: 3px solid"] > div > div:first-child {
        font-size: 3rem !important;
    }
    
    article > div[style*="padding: 50px 45px; border: 3px solid"] h3 {
        font-size: 1.6rem !important;
    }
    
    /* Sidebar widgets */
    aside > div {
        padding: 25px 20px !important;
    }
    
    aside h4 {
        font-size: 1.2rem !important;
    }
    
    aside > div:first-child > div:first-child {
        width: 80px !important;
        height: 80px !important;
        font-size: 2.5rem !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] {
        padding: 12px !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] > div:first-child {
        width: 70px !important;
        height: 70px !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] h5 {
        font-size: 0.9rem !important;
    }
    
    /* Related articles grid */
    section[style*="background: linear-gradient(135deg, #2d0a4e"] > div > div:last-child {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

@media (max-width: 576px) {
    /* Hero meta info */
    section[style*="min-height: 55vh"] div[style*="width: 45px; height: 45px"] {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    section[style*="min-height: 55vh"] div[style*="font-size: 0.95rem"] {
        font-size: 0.85rem !important;
    }
    
    /* Article content more compact */
    article > div[style*="padding: 30px 25px"] {
        padding: 25px 20px !important;
    }
    
    article > div[style*="padding: 30px 25px"] > div:first-child {
        padding: 18px !important;
        font-size: 1rem !important;
    }
    
    /* Share buttons */
    div[style*="width: 45px; height: 45px; background: linear-gradient"] {
        width: 40px !important;
        height: 40px !important;
    }
    
    div[style*="width: 45px; height: 45px; background: linear-gradient"] svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* CTA Box buttons */
    article > div[style*="border: 3px solid"] a {
        padding: 16px 35px !important;
        font-size: 1rem !important;
    }
    
    /* Sidebar author box */
    aside > div:first-child > div:first-child {
        width: 70px !important;
        height: 70px !important;
        font-size: 2rem !important;
    }
    
    /* Sidebar latest posts */
    aside a[style*="display: flex; gap: 15px"] > div:first-child {
        width: 60px !important;
        height: 60px !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] h5 {
        font-size: 0.85rem !important;
    }
    
    /* Related articles */
    section[style*="background: linear-gradient(135deg, #2d0a4e"] article > a > div:first-child {
        height: 200px !important;
    }
    
    section[style*="background: linear-gradient(135deg, #2d0a4e"] article h3 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 400px) {
    /* Ultra compact adjustments */
    article > div[style*="padding: 25px 20px"] {
        padding: 20px 15px !important;
    }
    
    aside > div {
        padding: 20px 15px !important;
    }
    
    aside a[style*="display: flex; gap: 15px"] > div:first-child {
        width: 55px !important;
        height: 55px !important;
    }
    
    section[style*="background: linear-gradient(135deg, #2d0a4e"] article > a > div:first-child {
        height: 180px !important;
    }
}

/* ============================================
   ENHANCED HEADER BUTTON STYLES
   ============================================ */

/* Header Actions - Enhanced Button Styles */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-actions .btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

/* Entrar Button - Premium Gold */
.header-actions .btn-secondary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    color: #0d0221 !important;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border: 2px solid transparent !important;
}

.header-actions .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.header-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #FFED4E 0%, #FFD700 50%, #FFA500 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.header-actions .btn-secondary:hover::before {
    left: 100%;
}

.header-actions .btn-secondary:active {
    transform: translateY(-1px) scale(1.02) !important;
}

/* Registrar Button - Premium Purple */
.header-actions .btn-primary {
    background: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 50%, #A855F7 100%) !important;
    color: white !important;
    box-shadow: 
        0 4px 15px rgba(107, 70, 193, 0.4),
        0 0 30px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.header-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.header-actions .btn-primary:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #C084FC 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 
        0 8px 25px rgba(107, 70, 193, 0.6),
        0 0 50px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.header-actions .btn-primary:hover::before {
    left: 100%;
}

.header-actions .btn-primary:active {
    transform: translateY(-1px) scale(1.02) !important;
}

/* Glow Animation */
@keyframes button-glow {
    0%, 100% { 
        box-shadow: 
            0 4px 15px rgba(255, 215, 0, 0.4),
            0 0 30px rgba(255, 215, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 6px 20px rgba(255, 215, 0, 0.6),
            0 0 40px rgba(255, 215, 0, 0.4);
    }
}

.header-actions .btn-secondary {
    animation: button-glow 3s ease-in-out infinite;
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 1024px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 20px;
    }

    .logo {
        justify-self: start;
    }

    /* Hide desktop navigation completely on mobile */
    .modern-nav {
        display: none !important;
    }

    .header-actions {
        display: flex !important;
        justify-self: center;
        gap: 0;
    }

    .header-actions .btn {
        display: none;
    }

    /* Show only ENTRAR button on mobile */
    .header-actions .btn:first-child {
        display: inline-flex !important;
        padding: 12px 28px !important;
        font-size: 0.9rem !important;
        border-radius: 25px !important;
        min-width: auto !important;
    }

    .header-actions .btn:first-child:hover {
        transform: translateY(-2px) scale(1.03) !important;
    }

    .mobile-menu-toggle {
        justify-self: end;
        order: 3;
    }

    /* Full screen menu when active */
    .modern-nav.active {
        display: block !important;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(180deg, rgba(13, 2, 33, 0.98) 0%, rgba(26, 15, 46, 0.98) 100%);
        backdrop-filter: blur(10px);
        box-shadow: inset 0 4px 30px rgba(255, 215, 0, 0.1);
        overflow-y: auto;
        z-index: 999;
    }

    .modern-nav.active ul {
        flex-direction: column;
        padding: 40px 20px;
        gap: 0;
    }

    /* Show ALL items when menu is opened */
    .modern-nav.active ul li {
        display: block !important;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        transition: all 0.3s;
    }

    .modern-nav.active li:hover {
        background: rgba(255, 215, 0, 0.05);
        border-left: 4px solid var(--bright-gold);
        padding-left: 10px;
    }

    .modern-nav.active a {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
        position: relative;
    }

    .modern-nav.active a.active {
        color: var(--bright-gold);
        background: rgba(255, 215, 0, 0.1);
        padding-left: 15px;
        border-left: 4px solid var(--bright-gold);
    }

    .modern-nav.active a.active::after {
        display: none;
    }

    .modern-nav.active a::before {
        content: '▸';
        position: absolute;
        left: -5px;
        opacity: 0;
        transition: all 0.3s;
        color: var(--bright-gold);
    }

    .modern-nav.active a:hover::before,
    .modern-nav.active a.active::before {
        opacity: 1;
        left: 5px;
    }

    /* Hide header actions when menu is open */
    .modern-nav.active ~ .header-actions {
        display: none !important;
    }
}

/* Desktop Button Enhancements */
@media (min-width: 1025px) {
    .header-actions .btn {
        padding: 16px 36px;
        font-size: 1rem;
    }
    
    .header-actions .btn-secondary {
        margin-right: 8px;
    }
}
/* ============================================
   MOBILE FOOTER ENHANCEMENTS
   ============================================ */

/* Enhanced Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 25px 0 !important;
        border-top: 2px solid rgba(255, 215, 0, 0.2) !important;
        background: rgba(13, 2, 33, 0.8) !important;
    }

    .footer-copyright {
        font-size: 1rem !important;
        line-height: 1.8 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-align: center !important;
        padding: 0 15px !important;
    }

    .footer-copyright a {
        color: #FFD700 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        padding: 8px 12px !important;
        border: 2px solid rgba(255, 215, 0, 0.3) !important;
        border-radius: 20px !important;
        background: rgba(255, 215, 0, 0.1) !important;
        display: inline-block !important;
        margin: 8px 4px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2) !important;
        min-height: 44px !important;
        min-width: 120px !important;
        line-height: 1.4 !important;
    }

    .footer-copyright a:hover,
    .footer-copyright a:focus {
        background: linear-gradient(135deg, #FFD700, #FFA500) !important;
        color: #0d0221 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
        border-color: #FFD700 !important;
    }

    .footer-copyright a:active {
        transform: translateY(0) !important;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .footer-copyright {
        font-size: 0.95rem !important;
        padding: 0 10px !important;
    }

    .footer-copyright a {
        display: block !important;
        margin: 12px auto !important;
        max-width: 200px !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
}

/* Ultra Small Mobile Devices */
@media (max-width: 375px) {
    .footer-bottom {
        padding: 20px 0 !important;
    }

    .footer-copyright {
        font-size: 0.9rem !important;
    }

    .footer-copyright a {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
        margin: 10px auto !important;
    }
}

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {
    .footer-copyright a {
        min-height: 48px !important;
        min-width: 140px !important;
        -webkit-tap-highlight-color: rgba(255, 215, 0, 0.3) !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .footer-copyright a {
        border-width: 1px !important;
    }
}
/* ============================================
   CSS :has() SELECTOR COMPATIBILITY FIX
   ============================================ */

/* Fallback styles for browsers that don't support :has() */
@supports not (selector(:has(*))) {
    /* Override any :has() selectors with fallback styles */
    .wp-block-cover .wp-block-cover__image-background,
    .wp-block-cover .wp-block-cover__video-background {
        z-index: 0 !important;
    }
    
    /* General fallback for elements that might use :has() */
    [class*="wp-block"] {
        position: relative;
    }
    
    /* Ensure layout doesn't break without :has() support */
    .wp-block-cover__inner-container {
        z-index: 1;
    }
}

/* Error prevention for CSS parsing */
@media screen {
    /* Safe fallback styles */
    body {
        font-family: 'Rajdhani', sans-serif;
    }
    
    /* Ensure critical elements are visible */
    .modern-header,
    .modern-footer,
    main {
        display: block;
    }
}

/* Enhanced Mobile Fixed Bottom Bar Improvements */
@media (max-width: 768px) {
    /* Override existing mobile bottom bar styles */
    .mobile-fixed-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: linear-gradient(180deg, rgba(13, 2, 33, 0.95) 0%, rgba(26, 15, 46, 0.98) 100%) !important;
        backdrop-filter: blur(10px) !important;
        border-top: 2px solid var(--primary-gold) !important;
        padding: 12px 15px !important;
        gap: 12px !important;
        z-index: 1000 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    }
    
    .mobile-btn {
        flex: 1 !important;
        padding: 14px 20px !important;
        font-family: 'Barlow', sans-serif !important;
        font-weight: 900 !important;
        font-size: 0.9rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        text-decoration: none !important;
        text-align: center !important;
        border-radius: 8px !important;
        transition: all 0.3s !important;
        min-height: 48px !important; /* Touch target */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-btn-primary {
        background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold)) !important;
        color: var(--dark-bg) !important;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
    }
    
    .mobile-btn-primary:active {
        transform: translateY(1px) !important;
        box-shadow: 0 2px 10px rgba(255, 215, 0, 0.6) !important;
    }
    
    .mobile-btn-secondary {
        background: transparent !important;
        color: var(--primary-gold) !important;
        border: 2px solid var(--primary-gold) !important;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3) !important;
    }
    
    .mobile-btn-secondary:active {
        background: rgba(255, 215, 0, 0.1) !important;
        transform: translateY(1px) !important;
    }
    
    /* Add bottom padding to body to account for fixed bottom bar */
    body {
        padding-bottom: 80px !important;
    }
}

/* Mobile Safe Area Support */
@media (max-width: 768px) {
    .mobile-fixed-bottom-bar {
        padding-left: max(15px, env(safe-area-inset-left)) !important;
        padding-right: max(15px, env(safe-area-inset-right)) !important;
        padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
    }
    
    body {
        padding-bottom: max(80px, calc(80px + env(safe-area-inset-bottom))) !important;
    }
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
    /* Ensure all clickable elements have proper touch targets */
    a, button, .btn, .mobile-btn {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Improve touch feedback */
    a:active, button:active, .btn:active {
        opacity: 0.8 !important;
        transform: scale(0.98) !important;
    }
    
    /* Remove tap highlight on iOS */
    * {
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* Improve scroll performance */
    * {
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .hero-section div[style*="animation: float"] {
        animation: none !important;
    }
    
    /* Simplify gradients on mobile */
    div[style*="radial-gradient"][style*="position: absolute"] {
        opacity: 0.5 !important;
    }
    
    /* Reduce blur effects on mobile */
    div[style*="filter: blur(100px)"] {
        filter: blur(50px) !important;
    }
    
    div[style*="filter: blur(120px)"] {
        filter: blur(60px) !important;
    }
    
    div[style*="backdrop-filter: blur(10px)"] {
        backdrop-filter: blur(5px) !important;
    }
}

/* Mobile Content Overflow Fixes */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Fix text overflow issues */
    * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix container overflow */
    .container, 
    div[style*="max-width"] {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    /* Mobile text size adjustments */
    div[style*="font-size: clamp"] {
        font-size: clamp(0.9rem, 4vw, 1.2rem) !important;
    }
    
    /* Mobile spacing improvements */
    div[style*="margin-bottom: 30px"] {
        margin-bottom: 20px !important;
    }
    
    div[style*="margin-bottom: 25px"] {
        margin-bottom: 18px !important;
    }
    
    div[style*="margin-bottom: 20px"] {
        margin-bottom: 15px !important;
    }
}

/* Mobile Specific Layout Fixes */
@media (max-width: 480px) {
    /* Extra small mobile improvements */
    .header-container {
        height: 60px !important;
        padding: 0 10px !important;
    }
    
    .logo img {
        height: 35px !important;
    }
    
    .header-actions .btn {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        min-width: 55px !important;
    }
    
    /* Extra small mobile content */
    .section {
        padding: 30px 0 !important;
    }
    
    div[style*="padding: 20px 15px"] {
        padding: 15px 10px !important;
    }
    
    /* Extra small mobile text */
    h1[style*="clamp"] {
        font-size: clamp(1.3rem, 12vw, 1.8rem) !important;
    }
    
    h2[style*="clamp"] {
        font-size: clamp(1.2rem, 10vw, 1.6rem) !important;
    }
    
    /* Extra small mobile buttons */
    .mobile-btn {
        padding: 12px 15px !important;
        font-size: 0.8rem !important;
    }
}