/*! Elementor GameXpert Addon - Frontend Styles v1.0.0 */
.ega-hero {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ega-hero *,
.ega-hero *::before,
.ega-hero *::after {
    box-sizing: border-box;
}
.ega-hero--container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
}

/* Background */
.ega-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.ega-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ega-hero--img-zoom:hover .ega-hero-image {
    transform: scale(1.06);
}
.ega-hero--img-blur:hover .ega-hero-image {
    filter: blur(4px);
    transform: scale(1.04);
}

/* Overlay */
.ega-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Inner Container */
.ega-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Content */
.ega-hero-content {
    position: relative;
    z-index: 3;
    padding: 40px 0;
}
.ega-hero-content--bottom {
    align-self: flex-end;
}
.ega-hero-content--left {
    align-self: center;
    width: 50%;
}
.ega-hero-content--right {
    align-self: center;
    width: 50%;
    margin-left: auto;
}
.ega-hero-content--center {
    align-self: center;
    text-align: center;
    width: 60%;
    margin: 0 auto;
}

/* Text Content */
.ega-hero-text {
    position: relative;
}

/* Featured Badge */
.ega-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    position: absolute;
    z-index: 5;
    line-height: 1.3;
}
.ega-hero-badge--top-left {
    top: 0px;
    left: 0px;
}
.ega-hero-badge--top-right {
    top: 16px;
    right: 16px;
}
.ega-hero-badge--bottom-left {
    bottom: 16px;
    left: 16px;
}
.ega-hero-badge--bottom-right {
    bottom: 16px;
    right: 16px;
}

/* Category */
.ega-hero-category-wrap {
    margin-bottom: 10px;
}
.ega-hero-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ega-hero-category:hover {
    background: rgba(99, 102, 241, 0.35);
    border-color: rgba(99, 102, 241, 0.7);
    color: #fff;
}

/* Title */
.ega-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.ega-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.ega-hero-title a:hover {
    color: #818cf8;
}

/* Excerpt */
.ega-hero-excerpt {
    font-size: 16px;
    color: #d1d5db;
    margin: 0 0 16px;
    line-height: 1.6;
    max-width: 600px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* Meta */
.ega-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.ega-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}
.ega-hero-meta-item svg {
    flex-shrink: 0;
}
.ega-hero-avatar {
    display: inline-flex;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}
.ega-hero-avatar img {
    display: block;
    border-radius: 50%;
}
.ega-hero-author-name {
    color: #e5e7eb;
    font-weight: 600;
}

/* Icon */
.ega-icon {
    display: inline-block;
    vertical-align: middle;
}
.ega-hero-meta-item .ega-icon {
    color: #818cf8;
    fill: none;
}

/* Actions */
.ega-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Button */
.ega-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}
.ega-hero-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.45);
    transform: translateY(-2px);
    color: #fff;
}
.ega-hero-btn-text {
    position: relative;
    z-index: 1;
}
.ega-hero-btn-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}
.ega-hero-btn:hover .ega-hero-btn-icon {
    transform: translateX(4px);
}

/* Action Buttons */
.ega-hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
    line-height: 0;
}
.ega-hero-action-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Link (clickable banner) */
.ega-hero-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

/* Fallback */
.ega-hero-fallback {
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ega-hero-fallback .ega-hero-title {
    text-align: center;
}
.ega-hero-fallback .ega-hero-excerpt {
    text-align: center;
    margin: 0 auto;
}

/* Dark Mode Root */
.ega-dark .ega-hero {
    color-scheme: dark;
}
.ega-dark .ega-hero-btn {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}
.ega-dark .ega-hero-action-btn {
    background: rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.1);
}

/* Light Mode */
.ega-hero:not(.ega-dark) .ega-hero-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
}

/* Hover Effects */
.ega-hero--hover-lift:hover {
    transform: translateY(-6px);
}
.ega-hero--hover-scale:hover {
    transform: scale(1.02);
}
.ega-hero--hover-glow {
    box-shadow: 0 0 0 rgba(99, 102, 241, 0);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.ega-hero--hover-glow:hover {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.25);
}

/* Gradient Border */
.ega-hero--hover-border-grad {
    position: relative;
}
.ega-hero--hover-border-grad::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4, #6366f1);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.ega-hero--hover-border-grad:hover::before {
    opacity: 1;
    animation: ega-border-grad 2s ease infinite;
}
@keyframes ega-border-grad {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated Border */
.ega-hero--hover-border-anim {
    position: relative;
}
.ega-hero--hover-border-anim::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(#6366f1, #8b5cf6, #06b6d4, #6366f1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: ega-border-spin 2s linear infinite;
    pointer-events: none;
}
@keyframes ega-border-spin {
    to { transform: rotate(360deg); }
}
.ega-hero--hover-border-anim:hover::before {
    opacity: 1;
}

/* Ripple */
.ega-hero--hover-ripple {
    cursor: pointer;
}

/* Mouse Glow */
.ega-hero--hover-mouse-glow {
    --ega-mouse-x: 50%;
    --ega-mouse-y: 50%;
}
.ega-hero--hover-mouse-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--ega-mouse-x) var(--ega-mouse-y), rgba(99, 102, 241, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ega-hero--hover-mouse-glow:hover::after {
    opacity: 1;
}

/* Entrance Animations */
.ega-anim-fade {
    animation: ega-fade 0.6s ease forwards;
}
.ega-anim-fade-up {
    animation: ega-fadeUp 0.6s ease forwards;
}
.ega-anim-fade-down {
    animation: ega-fadeDown 0.6s ease forwards;
}
.ega-anim-slide-up {
    animation: ega-slideUp 0.6s ease forwards;
}
.ega-anim-zoom {
    animation: ega-zoom 0.6s ease forwards;
}
.ega-anim-bounce {
    animation: ega-bounce 0.6s ease forwards;
}
.ega-anim-blur-reveal {
    animation: ega-blurReveal 0.8s ease forwards;
}
.ega-anim-floating {
    animation: ega-floating 3s ease-in-out infinite;
}
@keyframes ega-fade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes ega-fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes ega-fadeDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes ega-slideUp {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes ega-zoom {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes ega-bounce {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes ega-blurReveal {
    0% { opacity: 0; filter: blur(10px); transform: scale(1.05); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
@keyframes ega-floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Accessibility */
.ega-hero:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}
.ega-hero-action-btn:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}
.ega-hero-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* RTL */
.rtl .ega-hero-meta-item {
    gap: 5px;
}
.rtl .ega-hero-badge--top-left {
    left: auto;
    right: 16px;
}
.rtl .ega-hero-badge--top-right {
    right: auto;
    left: 16px;
}
.rtl .ega-hero-badge--bottom-left {
    left: auto;
    right: 16px;
}
.rtl .ega-hero-badge--bottom-right {
    right: auto;
    left: 16px;
}
.rtl .ega-hero-btn-icon {
    margin-left: 0;
    margin-right: 8px;
}
.rtl .ega-hero-btn:hover .ega-hero-btn-icon {
    transform: translateX(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .ega-hero {
        height: 450px;
    }
    .ega-hero-title {
        font-size: 30px;
    }
    .ega-hero-excerpt {
        font-size: 15px;
    }
    .ega-hero-content--left,
    .ega-hero-content--right,
    .ega-hero-content--center {
        width: 60%;
    }
    .ega-hero-content--center {
        width: 70%;
    }
}
@media (max-width: 767px) {
    .ega-hero {
        height: auto;
        min-height: 350px;
        align-items: flex-end;
    }
    .ega-hero-inner {
        padding: 0 16px;
    }
    .ega-hero-content {
        padding: 24px 0;
    }
    .ega-hero-content--left,
    .ega-hero-content--right,
    .ega-hero-content--center {
        width: 100%;
    }
    .ega-hero-title {
        font-size: 22px;
        -webkit-line-clamp: 2;
    }
    .ega-hero-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 1;
    }
    .ega-hero-meta {
        gap: 10px;
        flex-direction: row;
    }
    .ega-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .ega-hero-btn {
        width: 100%;
        justify-content: center;
    }
    .ega-hero-action-btn {
        width: 36px;
        height: 36px;
    }
}

/* ===== Latest Gaming News Widget ===== */
.ega-news-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    --ega-news-card-bg: #1f2937;
    --ega-news-card-bg-hover: #293548;
    --ega-news-primary: #6366f1;
    --ega-news-text: #f9fafb;
    --ega-news-text-secondary: #d1d5db;
    --ega-news-muted: #6b7280;
    --ega-news-border: #374151;
}
.ega-news-wrap *, .ega-news-wrap *::before, .ega-news-wrap *::after { box-sizing: border-box; }

/* Header */
.ega-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.ega-news-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #f9fafb;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ega-news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.ega-news-view-all:hover { color: #818cf8; gap: 12px; }
.ega-news-view-all-icon { display: inline-flex; font-size: 12px; transition: transform 0.3s ease; }
.ega-news-view-all:hover .ega-news-view-all-icon { transform: translateX(4px); }

/* List */
.ega-news-list { display: flex; flex-direction: column; gap: 12px; }

/* Card */
.ega-news-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--ega-news-card-bg);
    border: 1px solid var(--ega-news-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}
.ega-news-card:hover { background: var(--ega-news-card-bg-hover); border-color: #4b5563; }

/* Card Hover: Lift */
.ega-news-lift:hover { transform: translateY(-4px); }
/* Card Hover: Scale */
.ega-news-scale:hover { transform: scale(1.02); }
/* Card Hover: Glow */
.ega-news-glow:hover { box-shadow: 0 0 30px rgba(99, 102, 241, 0.15); }

/* Glassmorphism */
.ega-news-glass {
    background: rgba(31, 41, 55, 0.5) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

/* Image Wrap */
.ega-news-image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 110px;
    height: 75px !important;
    border-radius: 12px;
    overflow: hidden;
}

/* Ranking Number */
.ega-news-rank {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px 0 12px 0;
    line-height: 1;
}

.ega-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ega-news-image--zoom:hover { transform: scale(1.08); }
.ega-news-card:hover .ega-news-image--zoom { transform: scale(1.08); }
.ega-news-image--placeholder {
    background: linear-gradient(135deg, #374151, #1f2937);
}

/* Content */
.ega-news-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Title */
.ega-news-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ega-news-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.ega-news-title a { color: inherit; text-decoration: none; }
.ega-news-title:hover,
.ega-news-title a:hover { color: #818cf8; }

/* Meta */
.ega-news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ega-news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--ega-news-muted);
    font-weight: 500;
    line-height: 1;
}
.ega-news-meta-item svg { flex-shrink: 0; color: #6366f1; fill: none; }

/* Card Link */
.ega-news-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

/* Fallback */
.ega-news-fallback {
    padding: 40px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Load More */
.ega-news-load-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.ega-news-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}
.ega-news-load-more-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
}
.ega-news-load-more-btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}
.ega-news-load-more-icon {
    display: inline-flex;
    transition: transform 0.3s ease;
}
.ega-news-load-more-btn:hover .ega-news-load-more-icon {
    transform: translateY(2px);
}
.ega-news-load-more-spinner {
    display: inline-flex;
}
.ega-spin {
    animation: ega-spin 1s linear infinite;
}
@keyframes ega-spin {
    to { transform: rotate(360deg); }
}

/* Skeleton */
.ega-news-skeleton {
    pointer-events: none;
    opacity: 0.7;
}
.ega-news-skeleton-pulse {
    border-radius: 4px;
}

/* Shimmer Animation */
@keyframes ega-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hover Effects */
.ega-news-hover-scale:hover { transform: scale(1.02); }
.ega-news-hover-glow { box-shadow: 0 0 0 rgba(99,102,241,0); }
.ega-news-hover-glow:hover { box-shadow: 0 0 30px rgba(99,102,241,0.2); }
.ega-news-hover-img-zoom:hover .ega-news-image { transform: scale(1.12); }

/* Gradient Border Hover */
.ega-news-hover-border-grad { position: relative; }
.ega-news-hover-border-grad::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 5;
}
.ega-news-hover-border-grad:hover::before { opacity: 1; }

/* Text Reveal Hover */
.ega-news-hover-text-reveal .ega-news-title {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.5s ease;
}
.ega-news-hover-text-reveal:hover .ega-news-title {
    clip-path: inset(0 0 0 0);
}

/* Ripple */
.ega-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    transform: scale(0);
    animation: ega-ripple-effect 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 20;
}
@keyframes ega-ripple-effect {
    to { transform: scale(4); opacity: 0; }
}

/* Mouse Glow */
.ega-news-hover-mouse-glow {
    --ega-mouse-x: 50%;
    --ega-mouse-y: 50%;
}
.ega-news-hover-mouse-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--ega-mouse-x) var(--ega-mouse-y), rgba(99, 102, 241, 0.12), transparent 60%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ega-news-hover-mouse-glow:hover::after { opacity: 1; }

/* Entrance Animations */
.ega-news-anim-fade { opacity: 0; animation: ega-news-fade 0.5s ease forwards; }
.ega-news-anim-fade-up { opacity: 0; transform: translateY(20px); animation: ega-news-fadeUp 0.5s ease forwards; }
.ega-news-anim-slide-up { opacity: 0; transform: translateY(30px); animation: ega-news-slideUp 0.5s ease forwards; }
.ega-news-anim-zoom { opacity: 0; transform: scale(0.9); animation: ega-news-zoom 0.5s ease forwards; }
.ega-news-anim-bounce { opacity: 0; animation: ega-news-bounce 0.5s ease forwards; }
.ega-news-anim-blur-reveal { opacity: 0; filter: blur(8px); animation: ega-news-blurReveal 0.6s ease forwards; }
.ega-news-anim-floating { animation: ega-news-floating 3s ease-in-out infinite; }
@keyframes ega-news-fade { to { opacity: 1; } }
@keyframes ega-news-fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes ega-news-slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes ega-news-zoom { to { opacity: 1; transform: scale(1); } }
@keyframes ega-news-bounce { 0% { opacity: 0; transform: scale(0.3); } 50% { transform: scale(1.05); } 70% { transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ega-news-blurReveal { to { opacity: 1; filter: blur(0); } }
@keyframes ega-news-floating { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Dark Mode */
.ega-dark .ega-news-card { background: #1f2937; border-color: #374151; }
.ega-dark .ega-news-card:hover { background: #293548; border-color: #4b5563; }
.ega-dark .ega-news-glass { background: rgba(31,41,55,0.5) !important; }
.ega-dark .ega-news-title { color: #f9fafb; }
.ega-dark .ega-news-section-title { color: #f9fafb; }

/* Light Mode */
.ega-news-wrap:not(.ega-dark) {
    --ega-news-card-bg: #ffffff;
    --ega-news-card-bg-hover: #f9fafb;
    --ega-news-text: #111827;
    --ega-news-text-secondary: #6b7280;
    --ega-news-muted: #9ca3af;
    --ega-news-border: #e5e7eb;
}
.ega-news-wrap:not(.ega-dark) .ega-news-glass {
    background: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(16px) !important;
}
.ega-news-wrap:not(.ega-dark) .ega-news-section-title { color: #111827; }
.ega-news-wrap:not(.ega-dark) .ega-news-meta-item svg { color: #6366f1; }
.ega-news-wrap:not(.ega-dark) .ega-news-image--placeholder {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

/* Accessibility */
.ega-news-card:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }

/* RTL */
.rtl .ega-news-rank { left: auto; right: 0; border-radius: 0 12px 0 12px; }
.rtl .ega-news-header { flex-direction: row-reverse; }
.rtl .ega-news-view-all-icon { transform: rotate(180deg); }
.rtl .ega-news-view-all:hover .ega-news-view-all-icon { transform: rotate(180deg) translateX(4px); }

/* Responsive */
@media (max-width: 1024px) {
    .ega-news-card { gap: 12px; padding: 10px 14px; }
    .ega-news-image-wrap { width: 110px; height: 75px !important; }
    .ega-news-title { font-size: 14px; }
    .ega-news-list { gap: 10px; }
    .ega-news-section-title { font-size: 20px; }
}
@media (max-width: 767px) {
    .ega-news-card { gap: 10px; padding: 10px 12px; }
    .ega-news-image-wrap { width: 90px; height: 65px !important; }
    .ega-news-content { gap: 4px; }
    .ega-news-title { font-size: 13px; -webkit-line-clamp: 2; }
    .ega-news-meta { gap: 8px; }
    .ega-news-meta-item { font-size: 10px; }
    .ega-news-meta-item svg { width: 10px; height: 10px; }
    .ega-news-list { gap: 8px; }
    .ega-news-section-title { font-size: 18px; }
    .ega-news-header { margin-bottom: 16px; flex-direction: column; align-items: flex-start; }
    .ega-news-rank { width: 20px; height: 20px; font-size: 10px; border-radius: 10px 0 10px 0; }
}

/* ===== Game Categories Widget ===== */
.ega-cat-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    --cat-bg: #1f2937;
    --cat-hover-bg: #293548;
    --cat-icon-color: #6366f1;
    --cat-hover-icon-color: #818cf8;
    --cat-text-color: #f9fafb;
    --cat-hover-text-color: #ffffff;
}
.ega-cat-wrap *, .ega-cat-wrap *::before, .ega-cat-wrap *::after { box-sizing: border-box; }

.ega-cat-header { margin-bottom: 20px; }
.ega-cat-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #f9fafb;
    margin: 0;
    letter-spacing: -0.02em;
}

.ega-cat-carousel {
    display: flex;
    gap: 16px;
    overflow: visible;
}
.ega-cat-carousel:not(.swiper-initialized) {
    flex-wrap: wrap;
}

.ega-cat-item {
    flex-shrink: 0;
    width: auto;
}

.ega-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 20px;
    min-width: 140px;
    background: var(--cat-bg);
    border: 1px solid #374151;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

/* Hover: Lift */
.ega-cat-effect--lift .ega-cat-card:hover {
    transform: translateY(-4px);
    border-color: #6366f1;
    background: var(--cat-hover-bg);
}
/* Hover: Scale */
.ega-cat-effect--scale .ega-cat-card:hover {
    transform: scale(1.05);
    border-color: #6366f1;
    background: var(--cat-hover-bg);
}
/* Hover: Glow */
.ega-cat-effect--glow .ega-cat-card:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    background: var(--cat-hover-bg);
}
/* Hover: Border Gradient */
.ega-cat-effect--border-grad .ega-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.ega-cat-effect--border-grad .ega-cat-card:hover::before {
    opacity: 1;
}
/* Hover: Background Sweep */
.ega-cat-effect--bg-sweep .ega-cat-card {
    position: relative;
    z-index: 0;
}
.ega-cat-effect--bg-sweep .ega-cat-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: inherit;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.ega-cat-effect--bg-sweep .ega-cat-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Equal Width Cards */
.ega-cat-equal--yes .ega-cat-card {
    min-width: 0;
    width: 100%;
}

/* Icon */
.ega-cat-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}
.ega-cat-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cat-icon-color);
    fill: var(--cat-icon-color);
    transition: all 0.3s ease;
}
.ega-cat-icon svg {
    width: 26px;
    height: 26px;
}
.ega-cat-card:hover .ega-cat-icon-wrap {
    background: rgba(99, 102, 241, 0.2);
}
.ega-cat-card:hover .ega-cat-icon {
    color: var(--cat-hover-icon-color);
    fill: var(--cat-hover-icon-color);
}
.ega-cat-icon--img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}
.ega-cat-svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon Hover Animations */
.ega-cat-icon--rotate:hover { transform: rotate(15deg); }
.ega-cat-icon--scale:hover { transform: scale(1.15); }
.ega-cat-icon--bounce:hover { animation: ega-cat-icon-bounce 0.4s ease; }
@keyframes ega-cat-icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Info */
.ega-cat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    z-index: 1;
}
.ega-cat-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--cat-text-color);
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.3;
}
.ega-cat-card:hover .ega-cat-name {
    color: var(--cat-hover-text-color);
}
.ega-cat-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    line-height: 1.4;
}
.ega-cat-counter {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Card Link (clickable overlay) */
.ega-cat-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

/* Sticky */
.ega-cat-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: inherit;
}

/* Carousel Nav */
.ega-cat-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ega-cat-nav:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}
.ega-cat-nav-prev { left: -18px; }
.ega-cat-nav-next { right: -18px; }
.ega-cat-nav.swiper-button-disabled { opacity: 0.3; cursor: default; }
.ega-cat-nav svg { width: 18px; height: 18px; }

/* Carousel Pagination */
.ega-cat-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}
.ega-cat-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #374151;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}
.ega-cat-pagination .swiper-pagination-bullet-active {
    background: #6366f1;
    width: 24px;
    border-radius: 4px;
}

/* Fallback */
.ega-cat-fallback {
    padding: 40px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Dark Mode */
.ega-dark .ega-cat-card { background: #1f2937; border-color: #374151; }
.ega-dark .ega-cat-card:hover { background: #293548; border-color: #6366f1; }
.ega-dark .ega-cat-section-title { color: #f9fafb; }
.ega-dark .ega-cat-counter { color: #9ca3af; }
.ega-dark .ega-cat-nav { background: rgba(31, 41, 55, 0.8); }

/* Light Mode */
.ega-cat-wrap:not(.ega-dark) { --cat-bg: #ffffff; --cat-hover-bg: #f9fafb; --cat-text-color: #111827; --cat-hover-text-color: #111827; }
.ega-cat-wrap:not(.ega-dark) .ega-cat-section-title { color: #111827; }
.ega-cat-wrap:not(.ega-dark) .ega-cat-card { border-color: #e5e7eb; }
.ega-cat-wrap:not(.ega-dark) .ega-cat-card:hover { border-color: #6366f1; box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1); }
.ega-cat-wrap:not(.ega-dark) .ega-cat-counter { background: rgba(0,0,0,0.03); color: #6b7280; }
.ega-cat-wrap:not(.ega-dark) .ega-cat-nav { background: rgba(255,255,255,0.9); border-color: #e5e7eb; color: #6b7280; }

/* Accessibility */
.ega-cat-card:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }
.ega-cat-nav:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }

/* RTL */
.rtl .ega-cat-nav-prev { left: auto; right: -18px; }
.rtl .ega-cat-nav-next { right: auto; left: -18px; }
.rtl .ega-cat-nav-prev svg { transform: rotate(180deg); }
.rtl .ega-cat-nav-next svg { transform: rotate(180deg); }

/* Responsive */
@media (max-width: 1024px) {
    .ega-cat-card { padding: 20px 16px; min-width: 120px; }
    .ega-cat-icon-wrap { width: 44px; height: 44px; }
    .ega-cat-icon { width: 22px; height: 22px; }
    .ega-cat-icon svg { width: 22px; height: 22px; }
    .ega-cat-name { font-size: 13px; }
    .ega-cat-section-title { font-size: 20px; }
}
@media (max-width: 767px) {
    .ega-cat-card { padding: 16px 12px; min-width: 100px; gap: 8px; border-radius: 10px; }
    .ega-cat-icon-wrap { width: 38px; height: 38px; border-radius: 10px; }
    .ega-cat-icon { width: 18px; height: 18px; }
    .ega-cat-icon svg { width: 18px; height: 18px; }
    .ega-cat-name { font-size: 12px; }
    .ega-cat-section-title { font-size: 18px; }
    .ega-cat-carousel { gap: 10px; }
    .ega-cat-nav { width: 30px; height: 30px; }
    .ega-cat-nav-prev { left: -15px; }
    .ega-cat-nav-next { right: -15px; }
}

/* ===== GameXpert News List Widget ===== */
.ega-nl-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    --ega-nl-card-bg: #1f2937;
    --ega-nl-card-bg-hover: #293548;
    --ega-nl-primary: #6366f1;
    --ega-nl-text: #f9fafb;
    --ega-nl-muted: #6b7280;
    --ega-nl-border: #374151;
}
.ega-nl-wrap *, .ega-nl-wrap *::before, .ega-nl-wrap *::after { box-sizing: border-box; }

/* Header */
.ega-nl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.ega-nl-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ega-nl-accent-bar {
    display: block;
    width: 4px;
    height: 28px;
    background: #6366f1;
    border-radius: 3px;
    flex-shrink: 0;
}
.ega-nl-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #f9fafb;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ega-nl-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.ega-nl-view-all:hover { color: #818cf8; gap: 12px; }
.ega-nl-view-all svg { transition: transform 0.3s ease; }
.ega-nl-view-all:hover svg { transform: translateX(4px); }

/* List */
.ega-nl-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card */
.ega-nl-card {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 16px 20px;
    background: var(--ega-nl-card-bg);
    border: 1px solid var(--ega-nl-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}
.ega-nl-card:hover { background: var(--ega-nl-card-bg-hover); border-color: #4b5563; }
.ega-nl-lift:hover { transform: translateY(-4px); }

/* Image */
.ega-nl-image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 260px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
}
.ega-nl-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ega-nl-image--zoom:hover,
.ega-nl-card:hover .ega-nl-image--zoom { transform: scale(1.06); }
.ega-nl-image--placeholder {
    background: linear-gradient(135deg, #374151, #1f2937);
    width: 100%;
    height: 100%;
}

/* Content */
.ega-nl-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Badge */
.ega-nl-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    border-radius: 4px;
    line-height: 1.4;
    width: fit-content;
    margin-bottom: 2px;
}
.ega-nl-badge--1 { background: #ef4444; }
.ega-nl-badge--2 { background: #ec4899; }
.ega-nl-badge--3 { background: #22c55e; }
.ega-nl-badge--4 { background: #f97316; }

/* Title */
.ega-nl-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ega-nl-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.ega-nl-title a { color: inherit; text-decoration: none; }
.ega-nl-title:hover,
.ega-nl-title a:hover { color: #818cf8; }

/* Excerpt */
.ega-nl-excerpt {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.ega-nl-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.ega-nl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--ega-nl-muted);
    font-weight: 500;
    line-height: 1;
}
.ega-nl-meta-item svg { flex-shrink: 0; color: #6366f1; fill: none; }

/* Actions */
.ega-nl-actions { margin-top: 4px; }

/* Button */
.ega-nl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}
.ega-nl-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
    color: #fff;
}
.ega-nl-btn-icon { transition: transform 0.3s ease; }
.ega-nl-btn:hover .ega-nl-btn-icon { transform: translateX(4px); }

/* Card Link (clickable overlay) */
.ega-nl-card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

/* Fallback */
.ega-nl-fallback {
    padding: 40px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Dark Mode */
.ega-dark .ega-nl-card { background: #1f2937; border-color: #374151; }
.ega-dark .ega-nl-card:hover { background: #293548; border-color: #4b5563; }
.ega-dark .ega-nl-section-title { color: #f9fafb; }
.ega-dark .ega-nl-image--placeholder { background: linear-gradient(135deg, #374151, #1f2937); }

/* Light Mode */
.ega-nl-wrap:not(.ega-dark) {
    --ega-nl-card-bg: #ffffff;
    --ega-nl-card-bg-hover: #f9fafb;
    --ega-nl-text: #111827;
    --ega-nl-muted: #6b7280;
    --ega-nl-border: #e5e7eb;
}
.ega-nl-wrap:not(.ega-dark) .ega-nl-section-title { color: #111827; }
.ega-nl-wrap:not(.ega-dark) .ega-nl-meta-item svg { color: #6366f1; }
.ega-nl-wrap:not(.ega-dark) .ega-nl-image--placeholder {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

/* Accessibility */
.ega-nl-card:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }

/* RTL */
.rtl .ega-nl-header { flex-direction: row-reverse; }
.rtl .ega-nl-view-all svg { transform: rotate(180deg); }
.rtl .ega-nl-view-all:hover svg { transform: rotate(180deg) translateX(-4px); }
.rtl .ega-nl-btn-icon { transform: rotate(180deg); }
.rtl .ega-nl-btn:hover .ega-nl-btn-icon { transform: rotate(180deg) translateX(-4px); }

/* Responsive */
@media (max-width: 1024px) {
    .ega-nl-card { gap: 16px; padding: 14px 16px; }
    .ega-nl-image-wrap { width: 220px; height: 140px; }
    .ega-nl-title { font-size: 16px; }
    .ega-nl-list { gap: 14px; }
    .ega-nl-section-title { font-size: 20px; }
}
@media (max-width: 767px) {
    .ega-nl-card { flex-direction: column; gap: 12px; padding: 14px; }
    .ega-nl-image-wrap { width: 100%; height: 180px; }
    .ega-nl-content { gap: 6px; }
    .ega-nl-title { font-size: 15px; }
    .ega-nl-excerpt { font-size: 13px; }
    .ega-nl-meta { gap: 8px; }
    .ega-nl-meta-item { font-size: 11px; }
    .ega-nl-meta-item svg { width: 10px; height: 10px; }
    .ega-nl-list { gap: 12px; }
    .ega-nl-section-title { font-size: 18px; }
    .ega-nl-header { margin-bottom: 16px; flex-direction: column; align-items: flex-start; }
    .ega-nl-accent-bar { height: 24px; }
}

/* ===== GameXpert Trending Now Widget ===== */
.ega-tn-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    background: #0d0d12;
    border-radius: 14px;
    padding: 20px;
    --ega-tn-card-bg: #1a1a24;
    --ega-tn-text: #f3f4f6;
    --ega-tn-muted: #6b7280;
    --ega-tn-accent: #8b5cf6;
}
.ega-tn-wrap *, .ega-tn-wrap *::before, .ega-tn-wrap *::after { box-sizing: border-box; }

/* Header */
.ega-tn-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.ega-tn-accent-bar {
    display: block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #8b5cf6, #a78bfa);
    border-radius: 3px;
    flex-shrink: 0;
}
.ega-tn-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* List */
.ega-tn-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Card */
.ega-tn-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 12px;
    background: var(--ega-tn-card-bg);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}
.ega-tn-card:hover { background: #22222e; }
.ega-tn-lift:hover { transform: translateY(-2px); }
.ega-tn-card:hover .ega-tn-title a { color: #a78bfa; }

/* Number Badge */
.ega-tn-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Thumbnail */
.ega-tn-thumb-wrap {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
}
.ega-tn-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.ega-tn-thumb--placeholder {
    background: linear-gradient(135deg, #374151, #1f2937);
    width: 100%;
    height: 100%;
}

/* Content */
.ega-tn-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Title */
.ega-tn-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ega-tn-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.ega-tn-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}
.ega-tn-title a:hover { color: #a78bfa; }

/* Fallback */
.ega-tn-fallback {
    padding: 30px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Dark Mode */
.ega-dark .ega-tn-card { background: #1a1a24; }
.ega-dark .ega-tn-card:hover { background: #22222e; }
.ega-dark .ega-tn-section-title { color: #ffffff; }

/* Light Mode */
.ega-tn-wrap:not(.ega-dark) {
    background: #ffffff;
    --ega-tn-card-bg: #f9fafb;
    --ega-tn-text: #111827;
}
.ega-tn-wrap:not(.ega-dark) .ega-tn-card:hover { background: #f3f4f6; }
.ega-tn-wrap:not(.ega-dark) .ega-tn-section-title { color: #111827; }
.ega-tn-wrap:not(.ega-dark) .ega-tn-thumb--placeholder {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

/* Accessibility */
.ega-tn-card:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 2px; }

/* RTL */
.rtl .ega-tn-header { flex-direction: row-reverse; }
.rtl .ega-tn-number { margin-right: 0; margin-left: 12px; }
.rtl .ega-tn-thumb-wrap { margin-right: 0; margin-left: 12px; }

/* Responsive */
@media (max-width: 1024px) {
    .ega-tn-section-title { font-size: 17px; }
    .ega-tn-title { font-size: 13px; }
}
@media (max-width: 767px) {
    .ega-tn-wrap { padding: 16px; border-radius: 12px; }
    .ega-tn-card { padding: 6px 10px; }
    .ega-tn-number { width: 22px; height: 22px; min-width: 22px; font-size: 11px; margin-right: 8px; }
    .ega-tn-thumb-wrap { width: 48px; height: 42px; margin-right: 8px; }
    .ega-tn-title { font-size: 12px; }
    .ega-tn-section-title { font-size: 16px; }
    .ega-tn-header { margin-bottom: 12px; }
    .ega-tn-list { gap: 6px; }
    .rtl .ega-tn-number { margin-right: 0; margin-left: 8px; }
    .rtl .ega-tn-thumb-wrap { margin-right: 0; margin-left: 8px; }
}

/* ===== GameXpert Guides Carousel Widget ===== */
.ega-gc-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
    background: #0d0d12;
    border-radius: 14px;
    padding: 24px;
    overflow: hidden;
    --ega-gc-card-bg: #1a1a24;
    --ega-gc-text: #f9fafb;
    --ega-gc-muted: #9ca3af;
}
.ega-gc-wrap *, .ega-gc-wrap *::before, .ega-gc-wrap *::after { box-sizing: border-box; }

/* Header */
.ega-gc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.ega-gc-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Nav Arrows */
.ega-gc-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.ega-gc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a24;
    border: 1px solid #2a2a36;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    line-height: 0;
    flex-shrink: 0;
}
.ega-gc-arrow:hover {
    background: #2a2a36;
    border-color: #3a3a46;
    color: #ffffff;
}
.ega-gc-arrow svg { display: block; }

/* Viewport */
.ega-gc-viewport {
    overflow: hidden;
    margin: 0;
}
.ega-gc-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.ega-gc-track::-webkit-scrollbar { display: none; }

/* Card */
.ega-gc-card {
    flex: 0 0 auto;
    width: calc((100% - 64px) / 5);
    scroll-snap-align: start;
    background: var(--ega-gc-card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}
.ega-gc-card:hover { background: #22222e; }
.ega-gc-lift:hover { transform: translateY(-4px); }

/* Thumbnail */
.ega-gc-thumb-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.ega-gc-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}
.ega-gc-thumb--placeholder {
    background: linear-gradient(135deg, #374151, #1f2937);
    height: 160px;
    border-radius: 12px 12px 0 0;
}

/* Badge */
.ega-gc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: #22c55e;
    border-radius: 4px;
    line-height: 1.3;
    z-index: 2;
    pointer-events: none;
}

/* Content */
.ega-gc-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Title */
.ega-gc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ega-gc-text);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.ega-gc-title a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
.ega-gc-title a:hover,
.ega-gc-card:hover .ega-gc-title a { color: #a78bfa; }

/* Meta */
.ega-gc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.ega-gc-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--ega-gc-muted);
    font-weight: 500;
    line-height: 1;
}
.ega-gc-meta-item svg { flex-shrink: 0; color: #9ca3af; fill: none; }

/* Fallback */
.ega-gc-fallback {
    padding: 40px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    width: 100%;
}

/* Dark Mode */
.ega-dark .ega-gc-card { background: #1a1a24; }
.ega-dark .ega-gc-card:hover { background: #22222e; }
.ega-dark .ega-gc-section-title { color: #ffffff; }
.ega-dark .ega-gc-arrow { background: #1a1a24; border-color: #2a2a36; }
.ega-dark .ega-gc-arrow:hover { background: #2a2a36; border-color: #3a3a46; }

/* Light Mode */
.ega-gc-wrap:not(.ega-dark) {
    background: #ffffff;
    --ega-gc-card-bg: #f9fafb;
    --ega-gc-text: #111827;
    --ega-gc-muted: #6b7280;
}
.ega-gc-wrap:not(.ega-dark) .ega-gc-card:hover { background: #f3f4f6; }
.ega-gc-wrap:not(.ega-dark) .ega-gc-section-title { color: #111827; }
.ega-gc-wrap:not(.ega-dark) .ega-gc-arrow { background: #f3f4f6; border-color: #e5e7eb; color: #6b7280; }
.ega-gc-wrap:not(.ega-dark) .ega-gc-arrow:hover { background: #e5e7eb; color: #111827; }
.ega-gc-wrap:not(.ega-dark) .ega-gc-thumb--placeholder {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

/* Accessibility */
.ega-gc-card:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 2px; }

/* RTL */
.rtl .ega-gc-track { direction: rtl; }
.rtl .ega-gc-arrow--prev svg { transform: rotate(180deg); }
.rtl .ega-gc-arrow--next svg { transform: rotate(180deg); }

/* Responsive */
@media (max-width: 1024px) {
    .ega-gc-wrap { padding: 20px; }
    .ega-gc-section-title { font-size: 18px; }
    .ega-gc-thumb { height: 130px; }
    .ega-gc-thumb--placeholder { height: 130px; }
    .ega-gc-title { font-size: 12px; }
}
@media (max-width: 767px) {
    .ega-gc-wrap { padding: 16px; border-radius: 12px; }
    .ega-gc-section-title { font-size: 16px; }
    .ega-gc-header { margin-bottom: 14px; }
    .ega-gc-track { gap: 12px; }
    .ega-gc-thumb { height: 140px; }
    .ega-gc-thumb--placeholder { height: 140px; }
    .ega-gc-content { padding: 12px; }
    .ega-gc-title { font-size: 12px; }
    .ega-gc-meta-item { font-size: 10px; }
    .ega-gc-meta-item svg { width: 10px; height: 10px; }
    .ega-gc-arrow { width: 30px; height: 30px; }
    .ega-gc-arrow svg { width: 14px; height: 14px; }
}
