@charset "UTF-8";

/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
    --bg-deep: #0a0b10;
    --bg-surface: rgba(20, 22, 30, 0.8);
    --bg-card: rgba(30, 32, 45, 0.4);
    --accent-primary: #8e44ad;
    --accent-secondary: #00d2ff;
    --accent-glow: rgba(142, 68, 173, 0.3);
    --text-main: #f0f0f2;
    --text-muted: #d1d1d6; /* Lightened from #b5b5bc */
    --text-bright: #ffffff;

    --header-height: 65px;
    --border-radius: 16px;
    --glass-blur: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Performance Override: Font Display */
@font-face { font-family: 'Font Awesome 6 Free'; font-display: swap; }
@font-face { font-family: 'Font Awesome 6 Brands'; font-display: swap; }
@font-face { font-family: 'Font Awesome 6 Duotone'; font-display: swap; }
@font-face { font-family: 'Font Awesome 6 Sharp'; font-display: swap; }
@font-face { font-family: 'Inter'; font-display: swap; }
@font-face { font-family: 'Outfit'; font-display: swap; }



/* ==========================================================================
   Base Styles
   ========================================================================== */
body.theme-modern-dynamic {
    background-color: #0a0b10 !important;
    color: var(--text-main);
    font-family: 'Inter', 'Outfit', system-ui, -apple-system, sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #0a0b10 !important; /* Static background */
}


.main-content-area {
    flex: 1;
    padding-top: calc(var(--header-height) + 20px);
}

/* ==========================================================================
   Components
   ========================================================================== */
.glass-effect {
    background: var(--bg-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.content-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.text-bright { color: var(--text-bright); }
.text-accent { color: var(--accent-secondary); }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(10, 11, 16, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-bright) !important;
    letter-spacing: -1px;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.2));
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.5));
    transform: scale(1.02);
}


.navbar-nav {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem; /* Space between menu items */
}

.user-menu-modern {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.user-menu-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.user-menu-modern .dropdown-toggle::after {
    display: none; /* Hide default arrow to use FontAwesome icon if provided */
}


.nav-link {
    color: var(--text-muted) !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem !important;
    transition: var(--transition-smooth);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--text-bright) !important;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    transition: var(--transition-smooth);
    border-radius: 2px;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 30px;
}

.nav-link.active {
    color: var(--text-bright) !important;
    background: rgba(255, 255, 255, 0.08);
}



/* Dropdown Menu styling */
.dropdown-menu {
    border-radius: 12px !important;
    overflow: hidden;
    padding: 0.5rem;
    margin-top: 0.5rem !important;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    color: var(--text-muted) !important;
    padding: 0.7rem 1rem !important;
    border-radius: 8px !important;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-bright) !important;
    padding-left: 1.2rem !important;
}

.dropdown-item.active {
    background: var(--accent-primary) !important;
    color: white !important;
}

/* Mobile responsive navigation */
@media (max-width: 991px) {
    .header {
        height: auto;
        padding: 0.5rem 0;
    }
    
    .navbar-collapse {
        background: var(--bg-surface);
        backdrop-filter: blur(20px);
        margin-top: 1rem;
        border-radius: 12px;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
    }
}


/* ==========================================================================
   Sideboxes
   ========================================================================== */
.sidebox-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebox-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--accent-primary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(to top, rgba(142, 68, 173, 0.05), transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #d1d1d1 !important; /* High contrast light gray */
    opacity: 1 !important;
}

.footer-bottom p, .footer-bottom span, .footer-bottom a {
    color: #d1d1d1 !important;
}

/* Global Contrast Overrides */
.text-muted, .text-white-50, .text-white-75 {
    color: #d1d1d6 !important;
    opacity: 1 !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-modern {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-primary), #6c3483);
    color: white !important;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.5);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section (Marketing)
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 65vh;
    display: flex;
    align-items: center;
}


.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 11, 16, 0.95) 0%, rgba(10, 11, 16, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 3.5rem 0;
    max-width: 600px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--accent-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-bright);
}

.hero-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 14px;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    box-shadow: 0 0 20px var(--accent-glow);
    color: white !important;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-content { padding: 1.5rem; }
    .hero-actions { flex-direction: column; }
}

/* ==========================================================================
   News Polish
   ========================================================================== */
article.news-article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

article.news-article:last-child {
    border-bottom: none;
}

article.news-article h1, article.news-article h2, article.news-article .news-title, article.news-article .article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

article.news-article .article-title a {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-bright) !important;
    text-decoration: none;
}

article.news-article .article-title a:hover {
    color: var(--accent-secondary) !important;
}

article.news-article .article-metadata {
    font-size: 0.8rem;
    color: #888888 !important;
    margin-bottom: 1.5rem;
}

article.news-article .article-metadata a {
    color: #aaaaaa !important;
    font-weight: 600;
    text-decoration: none;
}

article.news-article .article-metadata a:hover {
    color: var(--accent-secondary) !important;
}

article.news-article a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

article.news-article a:hover {
    color: var(--text-bright);
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-body {
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* ==========================================================================
   Sidebox Refinements
   ========================================================================== */
.sidebox-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebox-body li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebox-body li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   Footer Polish
   ========================================================================== */
.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-secondary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    z-index: 1000;
    transition: var(--transition-smooth);
    opacity: 0.8;
    text-decoration: none;
}

.scroll-top:hover {
    opacity: 1;
    background: var(--accent-primary);
    transform: translateY(-5px);
}

/* Accessibility: High Contrast Overrides */
.sidebox .text-muted, 
.sidebox small, 
.sidebox .sidebox-body {
    color: var(--text-main) !important;
}

.sidebox a:not(.btn-modern), 
.card-link {
    color: var(--accent-secondary) !important;
    text-decoration: none;
    font-weight: 500;
}

.sidebox a:not(.btn-modern):hover, 
.card-link:hover {
    color: var(--text-bright) !important;
    text-decoration: underline !important;
}

.sidebox .form-control::placeholder {
    color: #a0a0a5;
}


/* ==========================================================================
   Features Section (Visual Overhaul)
   ========================================================================== */
.section-features {
    padding: 1rem 0;
}

.feature-card {
    background: rgba(30, 32, 45, 0.4); /* Solidified background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); /* Permanent shadow for volume */
}

/* Accent Glow Bar (Top) */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-card-stable::before { background: #6c5ce7; box-shadow: 0 0 15px #6c5ce7; }
.feature-card-exp::before { background: #00d2ff; box-shadow: 0 0 15px #00d2ff; }
.feature-card-pve::before { background: #e17055; box-shadow: 0 0 15px #e17055; }
.feature-card-community::before { background: #e84393; box-shadow: 0 0 15px #e84393; }

.feature-card:hover {
    background: rgba(35, 37, 55, 0.6);
    transform: translateY(-20px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.feature-card-stable:hover { border-color: #6c5ce7 !important; box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3); }
.feature-card-exp:hover { border-color: #00d2ff !important; box-shadow: 0 20px 40px rgba(0, 210, 255, 0.3); }
.feature-card-pve:hover { border-color: #e17055 !important; box-shadow: 0 20px 40px rgba(225, 112, 85, 0.3); }
.feature-card-community:hover { border-color: #e84393 !important; box-shadow: 0 20px 40px rgba(232, 67, 147, 0.3); }

.feature-card:hover::before {
    opacity: 1;
}

/* Icon wrappers (Supercharged) */
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: white;
    position: relative;
    z-index: 2;
    animation: iconFloat 4s infinite ease-in-out;
}

.feature-card-stable .feature-icon-wrapper { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.feature-card-exp .feature-icon-wrapper { background: linear-gradient(135deg, #00d2ff, #3a7bd5); }
.feature-card-pve .feature-icon-wrapper { background: linear-gradient(135deg, #e17055, #fab1a0); }
.feature-card-community .feature-icon-wrapper { background: linear-gradient(135deg, #e84393, #fd79a8); }

.feature-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 26px;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

/* Typography Enhancements */
.feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 400;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================================================
   Blizzard-Style UI (Premium Buttons & Forms)
   ========================================================================== */
.btn, 
.btn-primary, 
.btn-modern,
input[type="submit"],
button {
    padding: 1rem 2.5rem;
    border-radius: 8px; /* Slightly sharper for that WoW look */
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Metallic Border (Gold/Bronze) */
    border: 2px solid #917743 !important;
    border-top-color: #c9b06a !important;
    border-bottom-color: #5d4a2a !important;
    
    position: relative;
    overflow: hidden;
    color: #f8e1a1 !important; /* Goldish text */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    /* Deep Stone/Metal Gradient */
    background: linear-gradient(to bottom, #2c3140 0%, #1a1d26 100%);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 4px 10px rgba(0,0,0,0.5);
}

.btn:hover, 
.btn-primary:hover, 
.btn-modern:hover,
input[type="submit"]:hover {
    color: #fff !important;
    border-color: #d4bc82 !important;
    background: linear-gradient(to bottom, #353b4d 0%, #222633 100%);
    transform: translateY(-2px);
    
    /* Magical Cyan Glow */
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4), inset 0 0 10px rgba(0, 210, 255, 0.2), 0 10px 25px rgba(0,0,0,0.6);
}

.btn:active, 
input[type="submit"]:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* WoW-Themed Form Controls */
input[type="text"], 
input[type="password"], 
input[type="email"], 
.form-control {
    background: rgba(15, 17, 26, 0.8);
    border: 1px solid #4a4f5c;
    border-radius: 6px;
    color: #e0e0e0;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

input:focus, 
.form-control:focus {
    background: rgba(20, 24, 34, 0.9);
    border-color: #00d2ff;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.3), inset 0 2px 4px rgba(0,0,0,0.7);
    outline: none;
    color: white;
}

/* ==========================================================================
   Forum Specific Styles
   ========================================================================== */
.forum-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1a1a1c 0%, #050506 100%);
    border: 2px solid #917743;
    border-radius: 8px;
    color: #f8e1a1 !important;
    text-decoration: none !important;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin: 10px 0;
}

.forum-download-btn:hover {
    background: #917743;
    color: #050506 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(145, 119, 67, 0.4);
}

.forum-download-btn i {
    font-size: 1.1rem;
}

.login-form-container, 
#login_form,
#register_form,
.registration-container {
    padding: 3rem;
    background: rgba(22, 25, 36, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

label {
    color: #a0a0a5;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}



/* Legibility fix for Dark Themes */
.text-muted {
    color: #ced4da !important; /* Gris claro para máxima legibilidad */
}

.opacity-75, .text-white-50 { 
    opacity: 1 !important; 
    color: #ced4da !important; 
} 

.opacity-50 { 
    opacity: 0.8 !important; 
    color: #adb5bd !important;
}

/* ==========================================================================
   User Control Panel (UCP) Redesign
   ========================================================================== */

/* UCP Layout & Navigation */
.ucp-nav-card {
    background: rgba(15, 17, 26, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: fit-content;
}

.ucp-avatar-box {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, rgba(142, 68, 173, 0.1), transparent);
}

.ucp-avatar-wrapper {
    position: relative;
    display: inline-block;
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #917743, #c9b06a);
    box-shadow: 0 0 20px rgba(145, 119, 67, 0.3);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.ucp-avatar-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(145, 119, 67, 0.5);
}

.ucp-avatar-wrapper img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #0a0b10;
}

.avatar-change-overlay {
    position: absolute;
    inset: 6px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0;
    transition: var(--transition-smooth);
    border: 3px solid transparent;
}

.ucp-avatar-wrapper:hover .avatar-change-overlay {
    opacity: 1;
}

/* Sidebar Menu (Onyx Style) */
.ucp-sidebar-menu {
    padding: 1rem;
}

.ucp-menu-item {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    margin-bottom: 0.4rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.ucp-menu-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-bright) !important;
    padding-left: 1.5rem !important;
}

.ucp-menu-item.active {
    background: linear-gradient(90deg, rgba(145, 119, 67, 0.2), transparent) !important;
    color: #f8e1a1 !important;
    border-left: 3px solid #917743 !important;
    border-color: rgba(145, 119, 67, 0.1) !important;
}

.ucp-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #917743;
}

/* User Table stylization */
.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
}

.info-item-label i {
    color: #917743;
    font-size: 1.2rem;
}

.info-item-value {
    color: var(--text-bright);
    font-weight: 700;
}

/* Character Rows */
.char-card-onyx {
    background: rgba(10, 11, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.char-card-onyx:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(145, 119, 67, 0.3);
    transform: translateX(5px);
}

.char-identity {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.char-portrait {
    position: relative;
    width: 50px;
    height: 50px;
}

.char-portrait img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faction-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #0a0b10;
    border-radius: 50%;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.char-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-bright);
}

.char-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.char-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-box {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: #666;
    text-transform: uppercase;
}

.stat-value {
    font-weight: 800;
    color: #f8e1a1;
}

/* Points Cards */
.points-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.point-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(145, 119, 67, 0.1), transparent);
    border: 1px solid rgba(145, 119, 67, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.point-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #917743;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0b10;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(145, 119, 67, 0.4);
}

.point-data h5 { margin: 0; color: #f8e1a1; font-weight: 800; font-size: 1.5rem; }
.point-data span { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; }

/* Subpage Headers */
.ucp-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;

}

/* Arsenal / Item View */
#item_space {
    width: 100% !important;
    max-width: 500px;
    margin: 2rem auto;
    background: rgba(10, 11, 16, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(145, 119, 67, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
}

#item_space .item {
    float: none !important;
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem auto;
    position: relative;
}

#item_space .item img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid #000;
    box-shadow: 0 0 20px rgba(145, 119, 67, 0.3);
}

#item_space .item a {
    background-image: url('../../../images/misc/item_frame.png');
    background-size: contain;
    width: 90px;
    height: 90px;
    margin-top: -5px;
    margin-left: -5px;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
}

.item_bg {
    margin: 0 !important;
    width: 100% !important;
    color: var(--text-bright);
    text-align: left;
}

/* Tooltip internal styling override */
.tooltip-container {
    background: transparent !important;
    border: none !important;
}

.item_bg table {
    width: 100% !important;
    background: transparent !important;
}

.item_bg td {
    color: #ced4da;
    font-family: 'Inter', sans-serif;
}

.item_bg b {
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

/* Store Redesign Styles */
.store-nav-compact {
    background: rgba(15, 17, 26, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
}

.store-nav-compact::-webkit-scrollbar { height: 4px; }
.store-nav-compact::-webkit-scrollbar-thumb { background: rgba(145, 119, 67, 0.3); border-radius: 10px; }

.store-nav-item {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 0.5rem 1rem !important;
    white-space: nowrap;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid transparent !important;
}

.store-nav-item:hover {
    background: rgba(145, 119, 67, 0.1) !important;
    color: #f8e1a1 !important;
}

.store-nav-item.active {
    background: rgba(145, 119, 67, 0.2) !important;
    color: #f8e1a1 !important;
    border-color: rgba(145, 119, 67, 0.2) !important;
}

.filter-btn-onyx {
    background: rgba(5, 5, 6, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    color: var(--text-muted) !important;
}

.filter-btn-onyx:hover, .filter-btn-onyx.active {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(145, 119, 67, 0.3) !important;
    color: var(--text-bright) !important;
}

.filter-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

/* Quality colors for indicators */
.q0-dot { background: #9d9d9d; box-shadow: 0 0 5px #9d9d9d; }
.q1-dot { background: #ffffff; box-shadow: 0 0 5px #ffffff; }
.q2-dot { background: #1eff00; box-shadow: 0 0 5px #1eff00; }
.q3-dot { background: #0070dd; box-shadow: 0 0 5px #0070dd; }
.q4-dot { background: #a335ee; box-shadow: 0 0 5px #a335ee; }
.q5-dot { background: #ff8000; box-shadow: 0 0 5px #ff8000; }
.q6-dot { background: #e6cc80; box-shadow: 0 0 5px #e6cc80; }
.q7-dot { background: #00ccff; box-shadow: 0 0 5px #00ccff; }

.store-item-card-premium {
    background: rgba(10, 11, 16, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.store-item-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(145, 119, 67, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.store-item-card-premium .item-icon-wrapper {
    position: relative;
    padding: 1.5rem;
    background: radial-gradient(circle at center, rgba(145, 119, 67, 0.1), transparent);
}

.cart-card-onyx {
    background: linear-gradient(135deg, rgba(15, 15, 20, 0.9), rgba(5, 5, 10, 0.9));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(145, 119, 67, 0.2);
    border-radius: 20px;
}

/* Rankings & Downloads Styles */
.trophy-icon {
    font-size: 1.2rem;
    margin-right: 8px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.gold-trophy { color: #f8e1a1; animation: shine-gold 3s infinite; }
.silver-trophy { color: #ffffff; }
.bronze-trophy { color: #cd7f32; }

@keyframes shine-gold {
    0% { filter: drop-shadow(0 0 5px rgba(145, 119, 67, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(145, 119, 67, 0.8)); }
    100% { filter: drop-shadow(0 0 5px rgba(145, 119, 67, 0.3)); }
}

/* Download Step Cards */
.download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: rgba(15, 17, 26, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(145, 119, 67, 0.3);
    background: rgba(145, 119, 67, 0.05);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #917743, #c9b06a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0a0b10;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 20px rgba(145, 119, 67, 0.3);
}

.realmlist-box {
    background: #050506;
    border: 1px solid rgba(145, 119, 67, 0.3);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
}

.realmlist-text {
    color: #f8e1a1;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-copy {
    background: rgba(145, 119, 67, 0.1);
    border: 1px solid rgba(145, 119, 67, 0.2);
    color: #f8e1a1;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    background: #917743;
    color: #0a0b10;
}

/* Force 100% width on full-width pages */
.is-fullwidth .col-lg-8,
.is-fullwidth #left {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* ==========================================================================
   Floating WOWPyPoints Vertical Banner
   ========================================================================== */
.wp-float-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: right center;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 14px 16px 14px;
    background: linear-gradient(180deg, #f0c040 0%, #e67e22 50%, #f0c040 100%);
    background-size: 100% 300%;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 6px 35px rgba(240, 192, 64, 0.45);
    animation: wpFloatPulse 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255,215,0,0.3);
    border-right: none;
    width: 80px;
}

.wp-float-btn:hover {
    color: #1a1a2e;
    text-decoration: none;
    background-position: 0% 100%;
    box-shadow: 0 8px 45px rgba(240, 192, 64, 0.7);
    transform: translateY(-50%) translateX(-4px);
    border-color: rgba(255,215,0,0.6);
}

@keyframes wpFloatPulse {
    0%, 100% {
        box-shadow: 0 6px 35px rgba(240, 192, 64, 0.45);
    }
    50% {
        box-shadow: 0 6px 55px rgba(240, 192, 64, 0.8);
    }
}

.wp-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.wp-float-icon svg {
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
}

.wp-float-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    text-align: center;
}

.wp-float-small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    font-weight: 600;
}

.wp-float-bold {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    margin: 6px 0;
    line-height: 1.1;
    color: #1a1a2e;
}

.wp-float-sub {
    font-size: 0.55rem;
    opacity: 0.8;
    margin-top: 1px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wp-float-btn::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #ff4444;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,68,68,0.6);
    animation: wpBadgePulse 1.5s ease-in-out infinite;
}

@keyframes wpBadgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,68,68,0.6); }
    50% { box-shadow: 0 0 20px rgba(255,68,68,0.9); }
}

@media (max-width: 768px) {
    .wp-float-btn {
        width: 60px;
        padding: 14px 10px 12px 10px;
    }
    .wp-float-icon svg {
        width: 24px;
        height: 24px;
    }
    .wp-float-bold {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .wp-float-btn {
        width: 44px;
        padding: 10px 6px 8px 6px;
        border-radius: 8px 0 0 8px;
    }
    .wp-float-text {
        display: none;
    }
}

/* Image mode: bigger banner with just the image */
.wp-float-btn.wp-float-has-image {
    width: 120px;
    height: 300px;
    padding: 0;
    border-radius: 16px 0 0 16px;
    border: 2px solid rgba(255,215,0,0.4);
    border-right: none;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    animation: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.wp-float-btn.wp-float-has-image:hover {
    transform: translateY(-50%) translateX(-6px);
    box-shadow: 0 12px 55px rgba(0,0,0,0.7);
    border-color: rgba(255,215,0,0.7);
}

.wp-float-btn.wp-float-has-image::after {
    top: 8px;
    right: 8px;
}

@media (max-width: 768px) {
    .wp-float-btn.wp-float-has-image {
        width: 90px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .wp-float-btn.wp-float-has-image {
        width: 60px;
        height: 160px;
        border-radius: 8px 0 0 8px;
    }
}

/* --- Spooky Fire Effect on Hover for Float Banner --- */
@keyframes floatSpookyFire {
    0% {
        box-shadow: 0 0 20px #ff3b00, inset 0 0 20px #ff3b00, 0 0 50px #ff0000;
        border-color: #ff3b00;
    }
    50% {
        box-shadow: 0 0 30px #ffaa00, inset 0 0 30px #ffaa00, 0 0 70px #ff3b00;
        border-color: #ffaa00;
    }
    100% {
        box-shadow: 0 0 20px #ff3b00, inset 0 0 20px #ff3b00, 0 0 50px #ff0000;
        border-color: #ff3b00;
    }
}

.wp-float-btn.spooky-active {
    transform: translateY(-50%) scale(1.4) !important;
    z-index: 99999 !important;
}

.wp-float-btn:not(.wp-float-has-image).spooky-active {
    background: linear-gradient(160deg, #3a0000 0%, #1a0000 50%, #000000 100%) !important;
}
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 14px 16px 14px;
    background: linear-gradient(180deg, #f0c040 0%, #e67e22 50%, #f0c040 100%);
    background-size: 100% 300%;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 6px 35px rgba(240, 192, 64, 0.45);
    animation: wpFloatPulse 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255,215,0,0.3);
    border-right: none;
    width: 80px;
}

.wp-float-btn:hover {
    color: #1a1a2e;
    text-decoration: none;
    background-position: 0% 100%;
    box-shadow: 0 8px 45px rgba(240, 192, 64, 0.7);
    transform: translateY(-50%) translateX(-4px);
    border-color: rgba(255,215,0,0.6);
}

@keyframes wpFloatPulse {
    0%, 100% {
        box-shadow: 0 6px 35px rgba(240, 192, 64, 0.45);
    }
    50% {
        box-shadow: 0 6px 55px rgba(240, 192, 64, 0.8);
    }
}

.wp-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.wp-float-icon svg {
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.3));
}

.wp-float-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    text-align: center;
}

.wp-float-small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    font-weight: 600;
}

.wp-float-bold {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    margin: 6px 0;
    line-height: 1.1;
    color: #1a1a2e;
}

.wp-float-sub {
    font-size: 0.55rem;
    opacity: 0.8;
    margin-top: 1px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.wp-float-btn::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #ff4444;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,68,68,0.6);
    animation: wpBadgePulse 1.5s ease-in-out infinite;
}

@keyframes wpBadgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,68,68,0.6); }
    50% { box-shadow: 0 0 20px rgba(255,68,68,0.9); }
}

@media (max-width: 768px) {
    .wp-float-btn {
        width: 60px;
        padding: 14px 10px 12px 10px;
    }
    .wp-float-icon svg {
        width: 24px;
        height: 24px;
    }
    .wp-float-bold {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .wp-float-btn {
        width: 44px;
        padding: 10px 6px 8px 6px;
        border-radius: 8px 0 0 8px;
    }
    .wp-float-text {
        display: none;
    }
}

/* Image mode: bigger banner with just the image */
.wp-float-btn.wp-float-has-image {
    width: 120px;
    height: 300px;
    padding: 0;
    border-radius: 16px 0 0 16px;
    border: 2px solid rgba(255,215,0,0.4);
    border-right: none;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    animation: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.wp-float-btn.wp-float-has-image:hover {
    transform: translateY(-50%) translateX(-6px);
    box-shadow: 0 12px 55px rgba(0,0,0,0.7);
    border-color: rgba(255,215,0,0.7);
}

.wp-float-btn.wp-float-has-image::after {
    top: 8px;
    right: 8px;
}

@media (max-width: 768px) {
    .wp-float-btn.wp-float-has-image {
        width: 90px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .wp-float-btn.wp-float-has-image {
        width: 60px;
        height: 160px;
        border-radius: 8px 0 0 8px;
    }
}

/* --- Spooky Fire Effect on Hover for Float Banner --- */
@keyframes floatSpookyFire {
    0% {
        box-shadow: 0 0 20px #ff3b00, inset 0 0 20px #ff3b00, 0 0 50px #ff0000;
        border-color: #ff3b00;
    }
    50% {
        box-shadow: 0 0 30px #ffaa00, inset 0 0 30px #ffaa00, 0 0 70px #ff3b00;
        border-color: #ffaa00;
    }
    100% {
        box-shadow: 0 0 20px #ff3b00, inset 0 0 20px #ff3b00, 0 0 50px #ff0000;
        border-color: #ff3b00;
    }
}

.wp-float-btn.spooky-active {
    transform: translateY(-50%) scale(1.4) !important;
    z-index: 99999 !important;
}

.wp-float-btn:not(.wp-float-has-image).spooky-active {
    background: linear-gradient(160deg, #3a0000 0%, #1a0000 50%, #000000 100%) !important;
}

.wp-float-btn:not(.wp-float-has-image).spooky-active * {
    color: #ffebd6 !important;
}



/* --- Left Position Banner --- */
.wp-float-btn.wp-float-left {
    right: auto;
    left: 0;
    transform-origin: left center;
    border-radius: 0 14px 14px 0;
    border-right: 2px solid rgba(255,215,0,0.3);
    border-left: none;
}
.wp-float-btn.wp-float-has-image.wp-float-left {
    border-radius: 0 16px 16px 0;
    border-right: 2px solid rgba(255,215,0,0.4);
    border-left: none;
}
.wp-float-btn.wp-float-left:hover {
    transform: translateY(-50%) translateX(4px);
}
.wp-float-btn.wp-float-has-image.wp-float-left:hover {
    transform: translateY(-50%) translateX(6px);
}
.wp-float-btn.wp-float-has-image.wp-float-left::after {
    right: auto;
    left: 8px;
}
.wp-float-btn.spooky-active.wp-float-left {
    transform: translateY(-50%) scale(1.4) !important;
}
@media (max-width: 480px) {
    .wp-float-btn.wp-float-has-image.wp-float-left {
        border-radius: 0 8px 8px 0;
    }
}

/* Ocultar banner flotante en moviles */
@media (max-width: 768px) {
    .wp-float-btn {
        display: none !important;
    }
}

/* ==========================================================================
   News Card Grid Styling
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card-link {
    text-decoration: none !important;
    display: block;
    color: inherit;
    transition: var(--transition-smooth);
}

.news-card {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.news-card.no-image {
    background: linear-gradient(135deg, #161824 0%, #0c0d15 100%) !important;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(145, 119, 67, 0.25);
    border-color: rgba(145, 119, 67, 0.4);
}

.news-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.95) 100%);
    box-sizing: border-box;
}

.news-card.no-image .news-card-content {
    background: transparent !important;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
    width: 100%;
}

.news-card-badge {
    background: #7a2ecc !important; /* Purple/violet badge as in user's image */
    color: #fff !important;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-card-author {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.news-card-middle {
    margin-top: 1rem;
    text-align: left;
}

.news-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card-link:hover .news-card-title {
    color: var(--accent-secondary, #917743) !important;
}

.news-card-summary {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-footer {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
    text-align: left;
    width: 100%;
}

.news-card-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Override grid width for .col-lg-8 to 100% ONLY on fullwidth pages */
@media (min-width: 992px) {
  .is-fullwidth .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}


/* Pinned/Featured News Card Styles */
.news-card.is-featured {
  border: 2px solid rgba(240, 192, 64, 0.6) !important;
  box-shadow: 0 0 20px rgba(240, 192, 64, 0.25) !important;
  animation: goldPulse 3s infinite ease-in-out;
}
.news-card.is-featured:hover {
  border-color: rgba(240, 192, 64, 0.95) !important;
  box-shadow: 0 0 25px rgba(240, 192, 64, 0.45) !important;
}
.news-card-badge.featured-badge {
  background: linear-gradient(135deg, #f0c040 0%, #e67e22 100%) !important;
  color: #000 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(240, 192, 64, 0.25);
  }
  50% {
    box-shadow: 0 0 25px rgba(240, 192, 64, 0.55);
  }
}


/* ==========================================================================
   AGY COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS (wowparaguay.com)
   ========================================================================== */

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.site-wrapper, .main-content-area, .section-content {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Data Tables Touch Responsiveness */
.table-responsive, .table, table {
    max-width: 100% !important;
}

table:not(.no-responsive) {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 991px) {
    .header {
        padding: 0.75rem 0 !important;
    }
    
    .navbar-toggler {
        border: 1px solid rgba(255, 215, 0, 0.4) !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        background: rgba(255, 215, 0, 0.05) !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .navbar-toggler .fa {
        font-size: 1.3rem !important;
        color: #f0c040 !important;
    }

    .navbar-collapse {
        background: rgba(15, 23, 42, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 12px !important;
        padding: 1.25rem !important;
        margin-top: 0.75rem !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
    }

    .navbar-nav {
        gap: 0.5rem !important;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px !important;
        font-size: 1rem !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;

    }

    .user-menu-modern {
        margin-top: 1rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* News Grid Single Column */
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        margin-top: 1.25rem !important;
    }

    .news-card {
        margin-bottom: 0 !important;
    }

    .content-card {
        padding: 1.25rem 1rem !important;
        border-radius: 12px !important;
    }

    /* Hero / Header adjustments */
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Hide Float Banner on Phones to avoid blocking interaction */
    .wp-float-btn {
        display: none !important;
    }

    /* Footer Mobile Spacing */
    .footer {
        padding: 2.5rem 0 1.5rem 0 !important;
    }
    
    .footer .col-lg-4, .footer .col-lg-2, .footer .col-lg-3 {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    .container, .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100% - 1rem) !important;
    }

    /* Form Controls Touch Target */
    .form-control, .form-select, .btn {
        font-size: 0.95rem !important;
        min-height: 44px !important;
    }
}
