/* ============================================
   HEROVERSE - Enhanced Styles
   ============================================ */

/* Fonts */
body {
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.display-font {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
}

/* CSS Variables for theming */
:root {
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --villain-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --neutral-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    --dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --card-shadow-hover: 0 20px 60px rgba(102, 126, 234, 0.4);
    --glow-purple: 0 0 30px rgba(102, 126, 234, 0.5);
    --glow-pink: 0 0 30px rgba(245, 87, 108, 0.5);
}

/* Global styles */
html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #f8f9ff 0%, #e8ecff 100%);
    min-height: 100vh;
}

/* ============================================
   NAVBAR - Gradient with glow effect
   ============================================ */
.navbar {
    background: var(--dark-gradient) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--hero-gradient);
    opacity: 0.8;
}

.navbar-brand .navbar-item {
    font-size: 1.3rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .navbar-item .logo-text {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 4px;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .navbar-item svg {
    color: #f5af19;
    font-size: 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.8)); }
}

/* Header buttons with hover effects */
.navbar .button {
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.navbar .button:hover::before {
    left: 100%;
}

.navbar .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-purple);
}

.navbar .button.is-danger.is-outlined:hover {
    background: var(--villain-gradient);
    border-color: transparent;
    box-shadow: var(--glow-pink);
}

.navbar .button.is-info.is-outlined:hover {
    background: var(--hero-gradient);
    border-color: transparent;
}

/* Badge animation */
.navbar .tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    animation: badge-pop 0.3s ease;
}

@keyframes badge-pop {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding-top: 5rem;
}

/* ============================================
   FILTERS BOX - Glass morphism style
   ============================================ */
.filters-box {
    position: sticky;
    top: 52px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.filters-box .input,
.filters-box .select select {
    border-radius: 10px;
    border: 2px solid #e8ecff;
    transition: all 0.3s ease;
}

.filters-box .input:focus,
.filters-box .select select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.filters-box .button {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.filters-box .button:hover {
    transform: translateY(-2px);
}

/* View toggle buttons */
.buttons.has-addons .button {
    transition: all 0.3s ease;
}

.buttons.has-addons .button.is-info {
    background: var(--hero-gradient);
    border-color: transparent;
}

/* ============================================
   HERO CARDS - The star of the show!
   ============================================ */
.hero-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: none;
    box-shadow: var(--card-shadow);
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-gradient);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--card-shadow-hover);
}

.hero-card:hover::before {
    opacity: 0.05;
}

.hero-card .card-image {
    position: relative;
    overflow: hidden;
}

.hero-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-card:hover .card-image::after {
    opacity: 1;
}

.hero-card .card-image img {
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover .card-image img {
    transform: scale(1.1);
}

/* Alignment tags with gradients */
.hero-card .alignment-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

/* GOOD — emerald shimmer */
.hero-card .alignment-tag.is-success {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 35%, #4ade80 50%, #22c55e 65%, #16a34a 100%);
    background-size: 200% 100%;
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.45);
    animation: tag-shimmer 3.2s linear infinite, float 3s ease-in-out infinite;
}

/* BAD — red glow pulse */
.hero-card .alignment-tag.is-danger {
    background: #e30613;
    color: #fff;
    border: none;
    animation: tag-red-pulse 2.2s ease-in-out infinite, float 3s ease-in-out infinite;
}

@keyframes tag-red-pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(227, 6, 19, 0.4); }
    50%       { box-shadow: 0 2px 20px rgba(227, 6, 19, 0.75), 0 0 28px rgba(227, 6, 19, 0.25); }
}

/* NEUTRAL — gold shimmer */
.hero-card .alignment-tag.is-warning {
    background: linear-gradient(90deg, #b45309 0%, #f59e0b 30%, #fde68a 50%, #f59e0b 70%, #b45309 100%);
    background-size: 200% 100%;
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
    animation: tag-shimmer 2.6s linear infinite, float 3s ease-in-out infinite;
}

@keyframes tag-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

/* Card content */
.hero-card .card-content {
    position: relative;
    z-index: 2;
    padding: 0.75rem 1rem;
}

.hero-card .hero-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    background: var(--dark-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-card .subtitle {
    font-size: 0.75rem;
}

/* Card footer actions */
.hero-card .card-footer {
    border-top: 1px solid #f0f0f0;
    background: #fafbff;
    position: relative;
    z-index: 20;
}

.hero-card .card-footer-item {
    padding: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.hero-card .card-footer-item:hover {
    background: #f0f4ff;
}

.hero-card .card-footer-item svg {
    transition: transform 0.3s ease;
}

.hero-card .card-footer-item:hover svg {
    transform: scale(1.3);
}

.hero-card .card-footer-item.is-active {
    color: #f5576c;
}

.hero-card .card-footer-item.is-active svg {
    animation: heartbeat 0.6s ease;
}

.hero-card .card-footer-item.compare-btn.is-active svg {
    color: #667eea;
    animation: wiggle 0.5s ease;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* ============================================
   TABLE VIEW
   ============================================ */
.table-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table {
    background: white;
}

.table thead {
    background: var(--dark-gradient);
}

.table thead th {
    color: white !important;
    border: none !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 1.25rem 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

.hero-row {
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-row:hover {
    background: linear-gradient(90deg, #f0f4ff 0%, #fff 100%) !important;
}

.hero-row td {
    border-bottom: 1px solid #f0f4ff;
}

.hero-row .image {
    margin-right: 0.75rem;
}

.hero-row .image img {
    border: 2px solid #e8ecff;
}

.hero-name-link {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    cursor: pointer;
}

.sortable {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.sortable:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.sortable svg {
    margin-left: 0.5rem;
    opacity: 0.7;
}

.sortable .sort-icon {
    vertical-align: middle;
}

/* ============================================
   MODALS - Sleek and modern
   ============================================ */
.modal-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

/* Modal background fade-in */
.modal.is-active .modal-background {
    animation: modal-bg-in 0.28s ease both;
}

@keyframes modal-bg-in {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to   { opacity: 1; backdrop-filter: blur(6px); }
}

/* Modal card spring-in — scale + blur + upward slide */
.modal.is-active .modal-card {
    animation: modal-spring-in 0.42s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

@keyframes modal-spring-in {
    0% {
        opacity: 0;
        transform: scale(0.82) translateY(32px);
        filter: blur(8px);
    }
    60% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.modal-card-head {
    background: var(--dark-gradient);
    border: none;
    padding: 1.5rem 2rem;
}

.modal-card-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-card-foot {
    background: #fafbff;
    border-top: 1px solid #e8ecff;
    padding: 1.25rem 2rem;
}

.modal-card-foot .button {
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-card-foot .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-card-foot .button.is-danger {
    background: var(--villain-gradient);
    border: none;
}

.modal-card-foot .button.is-info {
    background: var(--hero-gradient);
    border: none;
}

.modal-card-foot .button.is-warning {
    background: var(--gold-gradient);
    border: none;
    color: white;
}

.modal-hero-details {
    max-width: 950px;
    width: 95%;
}

.modal-compare {
    max-width: 1100px;
    width: 95%;
}

.modal-card-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 2rem;
}

.modal-background {
    background: rgba(10, 10, 30, 0.85);
    backdrop-filter: blur(5px);
}

/* ============================================
   HERO DETAILS - Power stats visualization
   ============================================ */
#heroDetails .image img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-detail-portrait img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    object-fit: cover;
    object-position: top;
    max-height: 320px;
}

.powerstats-container {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.powerstat-item {
    margin-bottom: 1rem;
}

.powerstat-item:last-child {
    margin-bottom: 0;
}

.powerstat-item .progress {
    margin-bottom: 0;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.powerstat-item .progress::-webkit-progress-bar {
    background: #e8ecff;
    border-radius: 10px;
}

.powerstat-item .progress.is-success::-webkit-progress-value {
    background: var(--hero-gradient);
    border-radius: 10px;
    transition: width 1s ease;
}

.powerstat-item .progress.is-info::-webkit-progress-value {
    background: var(--neutral-gradient);
    border-radius: 10px;
}

.powerstat-item .progress.is-warning::-webkit-progress-value {
    background: var(--gold-gradient);
    border-radius: 10px;
}

.powerstat-item .progress.is-danger::-webkit-progress-value {
    background: var(--villain-gradient);
    border-radius: 10px;
}

#heroDetails .table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#heroDetails .table th {
    width: 35%;
    background: #f8f9ff;
    color: #667eea;
    font-weight: 600;
}

#heroDetails .table td {
    word-break: break-word;
}

#heroDetails .title {
    color: #1a1a2e;
    position: relative;
    display: inline-block;
}

#heroDetails .title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--hero-gradient);
    border-radius: 3px;
}

/* ============================================
   COMPARE MODAL
   ============================================ */
.compare-heroes img {
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.compare-heroes img:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

.comparison-stat {
    background: #f8f9ff;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.comparison-stat h5 {
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-stat .progress {
    border-radius: 8px;
    height: 12px;
}

.remove-compare-btn {
    transition: all 0.3s ease;
}

.remove-compare-btn:hover {
    transform: scale(1.1);
}

/* ============================================
   FAVORITES MODAL
   ============================================ */
.favorite-card {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.2);
}

/* ============================================
   PAGINATION - Stylish navigation
   ============================================ */
.pagination {
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.pagination-previous,
.pagination-next {
    border-radius: 12px;
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
}

.pagination-previous:hover:not([disabled]),
.pagination-next:hover:not([disabled]) {
    background: var(--hero-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pagination-link.is-current {
    background: var(--hero-gradient);
    border: none;
    font-weight: 600;
}

/* ============================================
   LOADING STATE - Fun spinner
   ============================================ */
#loadingSpinner {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#loadingSpinner .button.is-loading::after {
    border-color: transparent transparent #667eea #667eea !important;
    border-width: 3px;
}

#loadingSpinner p {
    font-size: 1.1rem;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   NOTIFICATIONS - Styled alerts
   ============================================ */
.notification.is-warning {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border-left: 4px solid #f5af19;
    border-radius: 12px;
}

.notification.is-info {
    background: linear-gradient(135deg, #e8f4ff 0%, #d0e8ff 100%);
    border-left: 4px solid #667eea;
    border-radius: 12px;
}

.notification.is-danger {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe0e6 100%);
    border-left: 4px solid #f5576c;
    border-radius: 12px;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media screen and (max-width: 768px) {
    .navbar-brand .navbar-item {
        font-size: 1rem;
    }

    .filters-box {
        border-radius: 12px;
    }

    .hero-card {
        border-radius: 16px;
    }

    .modal-card {
        margin: 0 10px;
        border-radius: 20px;
    }

    .modal-card-body {
        padding: 1.5rem;
    }

    .table th,
    .table td {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .table .buttons {
        flex-wrap: nowrap;
    }
}

/* ============================================
   SCROLLBAR - Custom styled
   ============================================ */
.modal-card-body::-webkit-scrollbar {
    width: 8px;
}

.modal-card-body::-webkit-scrollbar-track {
    background: #f0f4ff;
    border-radius: 4px;
}

.modal-card-body::-webkit-scrollbar-thumb {
    background: var(--hero-gradient);
    border-radius: 4px;
}

.modal-card-body::-webkit-scrollbar-thumb:hover {
    background: var(--villain-gradient);
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

/* Hero card image - compact aspect ratio */
.hero-card .card-image figure.hero-image {
    padding-top: 115%; /* ~1:1.15 aspect ratio - more compact */
    position: relative;
    background: #1a1a2e;
}

.hero-card .card-image figure.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a2e;
}

/* Results count styling */
#resultsCount {
    font-weight: 600;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Checkbox styling */
.checkbox {
    transition: all 0.3s ease;
}

.checkbox:hover {
    color: #667eea;
}

.checkbox input[type="checkbox"] {
    accent-color: #667eea;
}

/* Column animation on load */
.heroes-grid .column {
    display: flex;
    animation: card-enter 0.5s ease backwards;
}

.heroes-grid .column:nth-child(1) { animation-delay: 0.05s; }
.heroes-grid .column:nth-child(2) { animation-delay: 0.1s; }
.heroes-grid .column:nth-child(3) { animation-delay: 0.15s; }
.heroes-grid .column:nth-child(4) { animation-delay: 0.2s; }
.heroes-grid .column:nth-child(5) { animation-delay: 0.25s; }
.heroes-grid .column:nth-child(6) { animation-delay: 0.3s; }
.heroes-grid .column:nth-child(7) { animation-delay: 0.35s; }
.heroes-grid .column:nth-child(8) { animation-delay: 0.4s; }

@keyframes card-enter {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.heroes-grid .column .card {
    width: 100%;
}

/* ============================================
   HERO BANNER - Epic entrance
   ============================================ */
.hero-banner {
    background: var(--dark-gradient);
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 52px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-banner-title {
    margin-bottom: 1.5rem;
}

.hero-banner-title .title-line {
    display: block;
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 6px;
    animation: fade-in-up 0.8s ease backwards;
}

.hero-banner-title .title-line:first-child {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    animation-delay: 0.2s;
}

.hero-banner-title .title-line.accent {
    font-size: 3.5rem;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.4s;
    text-shadow: none;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    animation: fade-in-up 0.8s ease backwards;
    animation-delay: 0.6s;
}

.hero-banner-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fade-in-up 0.8s ease backwards;
    animation-delay: 0.8s;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-item svg {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.stat-item .stat-number {
    display: block;
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: 2.8rem;
    color: white;
    letter-spacing: 3px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating decoration icons */
.hero-banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: float-around 20s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 20%;
    left: 10%;
    color: #f5af19;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 30%;
    right: 15%;
    color: #667eea;
    animation-delay: -5s;
}

.floating-icon.icon-3 {
    bottom: 30%;
    left: 20%;
    color: #00f2fe;
    animation-delay: -10s;
}

.floating-icon.icon-4 {
    bottom: 20%;
    right: 10%;
    color: #f5576c;
    animation-delay: -15s;
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(10deg);
    }
    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(30px, 10px) rotate(15deg);
    }
}

/* ============================================
   LOADING - Superhero style
   ============================================ */
.loading-hero {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.loading-icon {
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
    color: #667eea;
    animation: loading-bounce 1s ease-in-out infinite;
}

@keyframes loading-bounce {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
    }
    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.8));
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    background: var(--dark-gradient);
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: 2rem;
    letter-spacing: 4px;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-brand h3 svg {
    color: #f5af19;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    text-align: right;
}

.footer-links p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #667eea;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f5af19;
    text-decoration: underline;
}

.footer-note svg {
    color: #f5576c;
    animation: heartbeat 1.5s ease infinite;
    vertical-align: middle;
}

/* ============================================
   RESPONSIVE HERO BANNER
   ============================================ */
@media screen and (max-width: 768px) {
    .hero-banner {
        padding: 6rem 1rem 3rem;
    }

    .hero-banner-title .title-line:first-child {
        font-size: 1.5rem;
    }

    .hero-banner-title .title-line.accent {
        font-size: 2rem;
    }

    .hero-banner-subtitle {
        font-size: 1rem;
    }

    .hero-banner-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }
}

/* ============================================
   DARK MODE — theme-transitioning utility
   ============================================ */
.theme-transitioning,
.theme-transitioning *:not(img):not(svg):not(canvas) {
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease !important;
}

/* ============================================
   DARK MODE — full overrides
   ============================================ */
[data-theme="dark"] body {
    background: linear-gradient(180deg, #0d0d1a 0%, #13131f 100%);
    color: #d4d4e8;
}

[data-theme="dark"] .filters-box {
    background: rgba(20, 20, 36, 0.92);
    border-color: rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .filters-box .input,
[data-theme="dark"] .filters-box .select select {
    background: #1e1e30;
    border-color: rgba(102, 126, 234, 0.3);
    color: #d4d4e8;
}

[data-theme="dark"] .filters-box .input::placeholder {
    color: rgba(212, 212, 232, 0.4);
}

[data-theme="dark"] .filters-box .select::after {
    border-color: #a5b4fc;
}

[data-theme="dark"] .filters-box .button.is-light {
    background: #2a2a3e;
    border-color: rgba(102, 126, 234, 0.3);
    color: #d4d4e8;
}

[data-theme="dark"] .checkbox {
    color: #d4d4e8;
}

[data-theme="dark"] .hero-card {
    background: #1e1e2e;
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .hero-card:hover {
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
}

[data-theme="dark"] .hero-card .hero-name {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .hero-card .subtitle {
    color: rgba(212, 212, 232, 0.5) !important;
}

[data-theme="dark"] .hero-card .card-content {
    background: #1e1e2e;
}

[data-theme="dark"] .hero-card .card-footer {
    background: #18182a;
    border-top-color: rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] .hero-card .card-footer-item:hover {
    background: rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] .hero-quickview {
    background: rgba(8, 8, 12, 0.97) !important;
}

[data-theme="dark"] .hero-row:hover {
    background: linear-gradient(90deg, #1e1e35 0%, #16162a 100%) !important;
}

[data-theme="dark"] .hero-row td {
    border-bottom-color: rgba(102, 126, 234, 0.1);
    color: #d4d4e8;
}

[data-theme="dark"] .table {
    background: #1e1e2e;
    color: #d4d4e8;
}

[data-theme="dark"] .table.is-striped tbody tr:not(.is-selected):nth-child(even) {
    background-color: #18182a;
}

[data-theme="dark"] .modal-card-body {
    background: #1e1e2e;
    color: #d4d4e8;
}

[data-theme="dark"] .modal-card-foot {
    background: #18182a;
    border-top-color: rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .powerstats-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] #heroDetails .table {
    background: #1e1e2e;
}

[data-theme="dark"] #heroDetails .table th {
    background: #16162a;
    color: #a5b4fc;
}

[data-theme="dark"] #heroDetails .table td,
[data-theme="dark"] #heroDetails .table th {
    border-color: rgba(102, 126, 234, 0.1);
    color: #d4d4e8;
}

[data-theme="dark"] #heroDetails .title {
    color: #ffffff;
}

[data-theme="dark"] .comparison-stat {
    background: #18182a;
}

[data-theme="dark"] .favorite-card {
    background: #1e1e2e;
}

[data-theme="dark"] .notification.is-info {
    background: linear-gradient(135deg, #1a2038 0%, #131830 100%);
    border-left-color: #667eea;
    color: #a5b4fc;
}

[data-theme="dark"] .notification.is-warning {
    background: linear-gradient(135deg, #2a2000 0%, #1e1800 100%);
    border-left-color: #f5af19;
    color: #fbbf24;
}

[data-theme="dark"] .pagination-previous,
[data-theme="dark"] .pagination-next {
    background: #1e1e2e;
    color: #a5b4fc;
    border-color: rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .radar-label {
    fill: #a5b4fc;
}

[data-theme="dark"] .radar-val-name {
    color: #a5b4fc;
}

[data-theme="dark"] .radar-val-num {
    color: #ffffff;
}

[data-theme="dark"] .radar-chart-wrapper {
    background: linear-gradient(135deg, #16162a 0%, #1a1a2e 100%);
    border-color: rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .active-filter-chip {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    color: #a5b4fc;
}

[data-theme="dark"] .team-card {
    background: #1e1e2e;
    border-color: rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .team-card:hover {
    background: #252538;
    border-color: rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .team-name {
    color: #ffffff;
}

[data-theme="dark"] .team-count {
    color: rgba(212, 212, 232, 0.5);
}

[data-theme="dark"] .teams-hint,
[data-theme="dark"] .publishers-hint {
    color: rgba(212, 212, 232, 0.5);
}

/* ============================================
   CARD QUICKVIEW — slide-up overlay on hover
   ============================================ */

/* Wrapper: drives column width, no perspective needed */
.hero-card-wrap {
    width: 100%;
    cursor: pointer;
}

/* Suppress the card's own hover lift — wrap handles it */
.hero-card-wrap .hero-card:hover {
    transform: none;
    box-shadow: var(--card-shadow);
}

/* Subtle lift on the whole wrap */
@media (hover: hover) and (pointer: fine) {
    .hero-card-wrap:hover .hero-card {
        transform: translateY(-5px);
        box-shadow: var(--card-shadow-hover);
    }
}

/* Quickview panel — hidden below the card initially */
.hero-quickview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.96);
    padding: 0.9rem 1.1rem 0.85rem;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.34, 1.3, 0.64, 1);
    z-index: 10;
    backdrop-filter: blur(4px);
}

@media (hover: hover) and (pointer: fine) {
    .hero-card-wrap:hover .hero-quickview {
        transform: translateY(0);
    }
}

/* Stat rows inside quickview */
.quickview-stats {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin-bottom: 0.7rem;
}

.quickview-stat-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quickview-stat-label {
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.45);
    width: 26px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.quickview-stat-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

/* Bars animate scaleX from 0 to 1 on card hover */
.quickview-stat-fill {
    height: 100%;
    background: #e30613;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .hero-card-wrap:hover .quickview-stat-fill {
        transform: scaleX(1);
    }
    .hero-card-wrap:hover .quickview-stat-row:nth-child(1) .quickview-stat-fill { transition-delay: 0.06s; }
    .hero-card-wrap:hover .quickview-stat-row:nth-child(2) .quickview-stat-fill { transition-delay: 0.11s; }
    .hero-card-wrap:hover .quickview-stat-row:nth-child(3) .quickview-stat-fill { transition-delay: 0.16s; }
    .hero-card-wrap:hover .quickview-stat-row:nth-child(4) .quickview-stat-fill { transition-delay: 0.21s; }
    .hero-card-wrap:hover .quickview-stat-row:nth-child(5) .quickview-stat-fill { transition-delay: 0.26s; }
    .hero-card-wrap:hover .quickview-stat-row:nth-child(6) .quickview-stat-fill { transition-delay: 0.31s; }
}

.quickview-stat-num {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.6);
    width: 22px;
    text-align: right;
    flex-shrink: 0;
}

.quickview-no-stats {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* CTA button at the bottom of the quickview */
.quickview-details-btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: #e30613 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 0.73rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    height: 2rem !important;
    transition: background 0.18s ease !important;
}

.quickview-details-btn:hover {
    background: #bf0010 !important;
    color: #fff !important;
}

/* Grid columns: flex so card-wrap fills column width */
.heroes-grid .column {
    display: flex;
}

/* ============================================
   RADAR CHART
   ============================================ */
.radar-chart-wrapper {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.radar-chart {
    display: block;
    overflow: visible;
}

.radar-polygon {
    transform-box: fill-box;
    transform-origin: center;
    animation: radar-grow 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes radar-grow {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.radar-dot {
    fill: #667eea;
    stroke: white;
    stroke-width: 1.5;
    transform-box: fill-box;
    transform-origin: center;
    animation: radar-grow 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: 0.1s;
}

.radar-label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 10px;
    font-weight: 700;
    fill: #667eea;
    letter-spacing: 0.5px;
}

.radar-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.radar-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(102, 126, 234, 0.07);
    border-radius: 8px;
    padding: 0.4rem 0.3rem;
}

.radar-val-name {
    font-size: 0.6rem;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radar-val-num {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: #1a1a2e;
    line-height: 1;
}

/* ============================================
   SPOTLIGHT — Hero of the Day
   ============================================ */
.spotlight-section {
    background: var(--dark-gradient);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.spotlight-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(102, 126, 234, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.spotlight-hero {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.spotlight-left {
    flex: 1;
    min-width: 0;
}

.spotlight-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    animation: fade-in-up 0.6s ease both;
}

.spotlight-badge {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: #a5b4fc;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.spotlight-date {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.spotlight-name {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: 4px;
    color: white;
    line-height: 1;
    margin-bottom: 0.75rem;
    animation: fade-in-up 0.6s ease 0.1s both;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.6s ease 0.2s both;
}

.spotlight-alignment {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.spotlight-publisher {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.spotlight-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fade-in-up 0.6s ease 0.3s both;
}

.spotlight-stat {
    text-align: center;
    min-width: 52px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
}

.spotlight-stat-val {
    display: block;
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: white;
    line-height: 1;
}

.spotlight-stat-key {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.spotlight-cta {
    background: var(--hero-gradient) !important;
    border: none !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 0.85rem 2rem !important;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    animation: fade-in-up 0.6s ease 0.4s both;
    height: auto !important;
}

.spotlight-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

/* Spotlight image side */
.spotlight-right {
    flex-shrink: 0;
    width: clamp(200px, 22vw, 280px);
}

.spotlight-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 135%;
    cursor: pointer;
}

.spotlight-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(102, 126, 234, 0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.spotlight-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.spotlight-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(102, 126, 234, 0.25);
    animation: ring-pulse 3s ease-in-out infinite;
}

.ring-1 { inset: -8px;  animation-delay: 0s; }
.ring-2 { inset: -22px; animation-delay: 0.6s; border-color: rgba(102, 126, 234, 0.15); }
.ring-3 { inset: -38px; animation-delay: 1.2s; border-color: rgba(102, 126, 234, 0.08); }

@keyframes ring-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.03); }
}

.spotlight-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.spotlight-image-container:hover .spotlight-img {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(102, 126, 234, 0.3);
}

@media screen and (max-width: 768px) {
    .spotlight-hero {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }

    .spotlight-right {
        width: 160px;
        align-self: center;
    }

    .spotlight-stats-row {
        gap: 0.6rem;
    }
}

/* ============================================
   ACTIVE TEAM FILTER CHIP
   ============================================ */
.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.35);
    color: #667eea;
    border-radius: 20px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.75rem;
    animation: badge-pop 0.3s ease;
}

/* ============================================
   TEAMS MODAL
   ============================================ */
.modal-teams {
    max-width: 680px;
    width: 95%;
}

.modal-publishers {
    max-width: 920px;
    width: 95%;
}

.publishers-hint,
.teams-modal-subtitle {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f8;
}

/* Teams list */
.teams-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-row:hover {
    background: #f5f6ff;
    border-color: rgba(102, 126, 234, 0.25);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
}

/* Avatar stack */
.team-row-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 8px; /* compensate for negative margin */
}

.team-avatar-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid white;
    margin-right: -10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    background: #eef0ff;
    flex-shrink: 0;
}

.team-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.team-avatar-more {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.12);
    border: 2.5px solid white;
    margin-right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #667eea;
    flex-shrink: 0;
}

/* Team info */
.team-row-body {
    flex: 1;
    min-width: 0;
    padding-left: 8px;
}

.team-row-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-row-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-row-count {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #667eea;
    line-height: 1;
}

.team-row-label {
    font-size: 0.75rem;
    color: #bbb;
}

.team-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-dot.good    { background: #48c78e; }
.team-dot.bad     { background: #f14668; }

.team-row-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.team-row:hover .team-row-cta {
    color: #667eea;
    transform: translateX(3px);
}

/* Dark mode: teams */
[data-theme="dark"] .teams-modal-subtitle {
    border-bottom-color: rgba(102, 126, 234, 0.15);
}

[data-theme="dark"] .team-row:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.25);
}

[data-theme="dark"] .team-row-name {
    color: #e0e0f0;
}

[data-theme="dark"] .team-avatar-wrap {
    border-color: #1e1e2e;
    background: #2a2a3e;
}

[data-theme="dark"] .team-avatar-more {
    border-color: #1e1e2e;
    background: rgba(102, 126, 234, 0.2);
}

/* ============================================
   PUBLISHERS MODAL
   ============================================ */
.publishers-hint {
    border-bottom: 1px solid #f0f0f8;
}

.publishers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.publisher-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: white;
}

.publisher-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

/* Publisher header band */
.pub-header {
    background: var(--pub-gradient);
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.pub-header-text {
    flex: 1;
    min-width: 0;
}

.pub-name {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: 1.35rem;
    letter-spacing: 2px;
    color: white;
    margin: 0;
    line-height: 1.1;
}

.pub-tagline {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin: 0.25rem 0 0;
    letter-spacing: 0.5px;
}

.pub-count {
    font-family: 'Syne', Impact, 'Arial Narrow', Arial, sans-serif;
    font-size: 3rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.35);
    line-height: 1;
    flex-shrink: 0;
}

/* Avatar row */
.pub-avatars {
    display: flex;
    gap: 6px;
    padding: 1rem 1.5rem;
    background: white;
    flex-wrap: wrap;
    align-items: center;
    min-height: 68px;
}

.pub-avatars img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 2.5px solid #f0f4ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, z-index 0s;
}

.publisher-card:hover .pub-avatars img {
    transform: scale(1.1);
}

/* Footer: bar + legend */
.pub-footer {
    padding: 0 1.5rem 1.5rem;
    background: white;
}

.pub-bar {
    display: flex;
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
    background: #eef0f8;
    margin-bottom: 0.75rem;
}

.pub-bar-good    { background: #48c78e; transition: width 0.4s ease; }
.pub-bar-neutral { background: #f0c050; transition: width 0.4s ease; }
.pub-bar-bad     { background: #f14668; transition: width 0.4s ease; }

.pub-legend {
    display: flex;
    justify-content: space-between;
}

.pub-legend-item {
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pub-legend-item.good    { color: #40bf86; }
.pub-legend-item.neutral { color: #c9a000; }
.pub-legend-item.bad     { color: #e0354e; }

/* Dark mode: publishers */
[data-theme="dark"] .publisher-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

[data-theme="dark"] .pub-avatars,
[data-theme="dark"] .pub-footer {
    background: #1e1e2e;
}

[data-theme="dark"] .pub-avatars img {
    border-color: #2a2a3e;
}

[data-theme="dark"] .pub-bar {
    background: rgba(255,255,255,0.06);
}

[data-theme="dark"] .publishers-hint {
    border-bottom-color: rgba(102, 126, 234, 0.15);
}

/* ============================================
   HIGH CONTRAST EDITORIAL THEME
   Stark white / jet black / single red accent
   Zero gradients. Heavy borders. Offset shadows.
   ============================================ */

/* --- Reset CSS variables to editorial palette --- */
:root {
    --hero-gradient: #e30613;
    --villain-gradient: #111111;
    --neutral-gradient: #555555;
    --gold-gradient: #e30613;
    --dark-gradient: #111111;
    --card-shadow: 4px 4px 0 #111111;
    --card-shadow-hover: 6px 6px 0 #111111;
    --glow-purple: none;
    --glow-pink: none;
    --editorial-red: #e30613;
    --editorial-black: #111111;
    --editorial-off-white: #f5f5f0;
    --editorial-mid: #888888;
}

/* --- Body / background --- */
body {
    background: var(--editorial-off-white) !important;
    color: var(--editorial-black) !important;
}

/* --- Navbar --- */
.navbar {
    background: var(--editorial-black) !important;
    box-shadow: 0 3px 0 var(--editorial-red) !important;
    border-bottom: none !important;
}

.navbar::after {
    display: none;
}

.navbar-brand .navbar-item .logo-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
    letter-spacing: 6px;
}

.navbar-brand .navbar-item svg {
    color: var(--editorial-red) !important;
    animation: none !important;
    filter: none !important;
}

.navbar .button {
    border-radius: 4px !important;
}

.navbar .button::before {
    display: none !important;
}

/* --- Hero Banner --- */
.hero-banner {
    background: var(--editorial-black) !important;
}

.hero-banner-title .accent {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--editorial-red) !important;
    background-clip: unset !important;
    color: var(--editorial-red) !important;
}

.hero-banner::before,
.hero-banner::after {
    display: none !important;
}

.stat-item {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.stat-item svg {
    color: var(--editorial-red) !important;
    filter: none !important;
}

.stat-number {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
}

/* --- Floating decorative icons --- */
.floating-icon {
    opacity: 0.08 !important;
    color: #ffffff !important;
}

/* --- Filters box --- */
.filters-box {
    background: #ffffff !important;
    border: 2px solid var(--editorial-black) !important;
    border-radius: 6px !important;
    box-shadow: 4px 4px 0 var(--editorial-black) !important;
}

/* --- Results count text gradient removal --- */
#resultsCount {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--editorial-black) !important;
    background-clip: unset !important;
    color: var(--editorial-black) !important;
    font-weight: 600 !important;
}

/* --- Hero cards --- */
.hero-card {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 6px !important;
    box-shadow: var(--card-shadow) !important;
    background: #ffffff !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.hero-card:hover,
.hero-card-wrap:hover .hero-card {
    box-shadow: var(--card-shadow-hover) !important;
    transform: translate(-1px, -1px);
}

.hero-card-image-wrapper::after {
    display: none !important;
}

/* Remove gradient overlays on card images */
.hero-card-image-wrapper::before {
    display: none !important;
}

.hero-name {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--editorial-black) !important;
    background-clip: unset !important;
    color: var(--editorial-black) !important;
}

.hero-publisher {
    color: var(--editorial-mid) !important;
    background: none !important;
    -webkit-text-fill-color: var(--editorial-mid) !important;
}

.hero-card-footer {
    border-top: 2px solid var(--editorial-black) !important;
    background: #ffffff !important;
}

.hero-card-footer-item {
    border-right: 2px solid var(--editorial-black) !important;
}

/* --- Teams button: yellow text to match border --- */
#teamsBtn {
    color: #f5c518 !important;
    border-color: #f5c518 !important;
}

#teamsBtn svg {
    fill: #f5c518 !important;
}

#teamsBtn:hover {
    background: #f5c518 !important;
    color: #111 !important;
    border-color: #f5c518 !important;
}

#teamsBtn:hover svg {
    fill: #111 !important;
}

/* Alignment badge on card — keep shimmer animations but ensure editorial colours override */
.hero-card .alignment-tag.is-success {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 35%, #4ade80 50%, #22c55e 65%, #16a34a 100%) !important;
    background-size: 200% 100% !important;
    color: #fff !important;
    border: none !important;
}

.hero-card .alignment-tag.is-danger {
    background: var(--editorial-red) !important;
    color: #fff !important;
    border: none !important;
}

.hero-card .alignment-tag.is-warning {
    background: linear-gradient(90deg, #b45309 0%, #f59e0b 30%, #fde68a 50%, #f59e0b 70%, #b45309 100%) !important;
    background-size: 200% 100% !important;
    color: #fff !important;
    border: none !important;
}

/* --- Card quickview overlay (editorial) --- */
.hero-quickview {
    background: rgba(17, 17, 17, 0.97) !important;
}

.quickview-details-btn {
    background: var(--editorial-red) !important;
    border-radius: 2px !important;
    letter-spacing: 0.1em !important;
}

.quickview-details-btn:hover {
    background: #9a000d !important;
}

.stat-bar-fill {
    background: var(--editorial-red) !important;
    border-radius: 0 !important;
}

.stat-bar {
    background: rgba(255,255,255,0.15) !important;
    border-radius: 0 !important;
}

/* --- Table view --- */
.table {
    background: #ffffff !important;
    border: 2px solid var(--editorial-black) !important;
    border-radius: 6px !important;
    box-shadow: 4px 4px 0 var(--editorial-black) !important;
}

.table th {
    background: var(--editorial-black) !important;
    color: #ffffff !important;
    border-color: var(--editorial-black) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
}

.table th.sortable:hover {
    background: var(--editorial-red) !important;
    color: #ffffff !important;
}

.table td {
    border-color: #e0e0d8 !important;
}

.table.is-striped tbody tr:nth-child(even) {
    background: #fafaf5 !important;
}

.table.is-hoverable tbody tr:hover {
    background: #f0ede6 !important;
}

/* --- Pagination --- */
.pagination-previous,
.pagination-next,
.pagination-link {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 4px !important;
    box-shadow: 2px 2px 0 var(--editorial-black) !important;
    background: #ffffff !important;
    color: var(--editorial-black) !important;
    font-weight: 600 !important;
}

.pagination-previous:hover,
.pagination-next:hover {
    background: var(--editorial-black) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: translate(2px, 2px) !important;
}

.pagination-link.is-current {
    background: var(--editorial-red) !important;
    border-color: var(--editorial-red) !important;
    color: #ffffff !important;
    box-shadow: 2px 2px 0 #9a000d !important;
}

/* --- Radar chart --- */
.radar-polygon {
    fill: rgba(227, 6, 19, 0.2) !important;
    stroke: var(--editorial-red) !important;
}

.radar-dot {
    fill: var(--editorial-red) !important;
}

.radar-label {
    fill: var(--editorial-black) !important;
}

/* Grid ring color */
.radar-chart polygon[fill="none"] {
    stroke: rgba(0,0,0,0.1) !important;
}

.radar-chart line {
    stroke: rgba(0,0,0,0.12) !important;
}

/* --- Spotlight section --- */
.spotlight-section {
    background: #ffffff !important;
    border-top: 3px solid var(--editorial-black) !important;
    border-bottom: 3px solid var(--editorial-black) !important;
    box-shadow: none !important;
}

.spotlight-label {
    background: var(--editorial-red) !important;
    color: #ffffff !important;
    border-radius: 2px !important;
    letter-spacing: 0.1em !important;
}

.spotlight-name {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--editorial-black) !important;
    background-clip: unset !important;
    color: var(--editorial-black) !important;
}

.spotlight-stat-value {
    color: var(--editorial-red) !important;
    background: none !important;
    -webkit-text-fill-color: var(--editorial-red) !important;
}

.spotlight-cta {
    background: var(--editorial-black) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    box-shadow: 3px 3px 0 var(--editorial-red) !important;
    border: none !important;
}

.spotlight-cta:hover {
    background: var(--editorial-red) !important;
    box-shadow: 3px 3px 0 #9a000d !important;
    transform: translate(-1px, -1px) !important;
}

.spotlight-ring {
    border-color: var(--editorial-red) !important;
    opacity: 0.25 !important;
}

/* --- Hero Details Modal --- */
.modal-hero-details {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 8px !important;
    box-shadow: 6px 6px 0 var(--editorial-black) !important;
    overflow: hidden !important;
}

.modal-card-head {
    background: var(--editorial-black) !important;
    border-bottom: none !important;
}

.modal-card-title {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
}

.modal-card-foot {
    background: #f5f5f0 !important;
    border-top: 2px solid var(--editorial-black) !important;
}

.modal-card-body {
    background: #ffffff !important;
}

.modal-card-body .title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--editorial-black) !important;
    color: var(--editorial-black) !important;
    border-bottom: 2px solid var(--editorial-black) !important;
    padding-bottom: 0.25rem !important;
}

.modal-card-body .table th {
    background: #f5f5f0 !important;
    color: var(--editorial-black) !important;
    border-color: #d0d0c8 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.04em !important;
}

/* --- Compare Modal --- */
.modal-compare {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 8px !important;
    box-shadow: 6px 6px 0 var(--editorial-black) !important;
    overflow: hidden !important;
}

.compare-winner-badge {
    background: var(--editorial-red) !important;
    border-radius: 2px !important;
}

.compare-stat-bar-fill {
    background: var(--editorial-black) !important;
    border-radius: 0 !important;
}

.compare-stat-bar-fill.is-winner {
    background: var(--editorial-red) !important;
}

.compare-stat-value.is-winner {
    color: var(--editorial-red) !important;
}

/* --- Teams Modal --- */
.modal-teams {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 8px !important;
    box-shadow: 6px 6px 0 var(--editorial-black) !important;
    overflow: hidden !important;
}

.team-row {
    border: 2px solid transparent !important;
    border-bottom: 2px solid #e0e0d8 !important;
    border-radius: 0 !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

.team-row:hover {
    background: #f5f5f0 !important;
    border-color: var(--editorial-black) !important;
    box-shadow: none !important;
}

.team-row-name {
    color: var(--editorial-black) !important;
    font-weight: 700 !important;
}

.team-row-count {
    color: var(--editorial-red) !important;
    font-weight: 800 !important;
}

.team-row-cta {
    color: var(--editorial-mid) !important;
    background: none !important;
    border: 1px solid currentColor !important;
    border-radius: 4px !important;
    padding: 0.2rem 0.5rem !important;
}

.team-row:hover .team-row-cta {
    background: var(--editorial-black) !important;
    color: #ffffff !important;
    border-color: var(--editorial-black) !important;
}

.team-avatar-wrap img {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 50% !important;
}

.team-avatar-more {
    background: var(--editorial-black) !important;
    color: #ffffff !important;
    border: 2px solid var(--editorial-black) !important;
    font-weight: 800 !important;
}

.team-dot.good { background: #2d8a5e !important; }
.team-dot.bad  { background: var(--editorial-red) !important; }

.teams-modal-subtitle {
    color: var(--editorial-mid) !important;
    background: none !important;
    -webkit-text-fill-color: var(--editorial-mid) !important;
}

/* --- Publishers Modal --- */
.modal-publishers {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 8px !important;
    box-shadow: 6px 6px 0 var(--editorial-black) !important;
    overflow: hidden !important;
}

.publisher-card {
    border: 2px solid var(--editorial-black) !important;
    border-radius: 6px !important;
    box-shadow: 4px 4px 0 var(--editorial-black) !important;
    transition: box-shadow 0.15s ease, transform 0.15s ease !important;
    overflow: hidden !important;
}

.publisher-card:hover {
    box-shadow: 6px 6px 0 var(--editorial-black) !important;
    transform: translate(-2px, -2px) !important;
}

.pub-header {
    /* Keep per-publisher gradient for brand identity — it's intentional colour in editorial */
    border-bottom: 2px solid rgba(0,0,0,0.3) !important;
}

.pub-name {
    font-family: Impact, 'Arial Narrow', Arial, sans-serif !important;
    letter-spacing: 2px !important;
    font-size: 1.25rem !important;
}

.pub-avatars {
    background: #ffffff !important;
    border-top: none !important;
    border-bottom: 1px solid #e0e0d8 !important;
}

.pub-avatars img {
    border: 2px solid var(--editorial-black) !important;
}

.pub-footer {
    background: #ffffff !important;
}

.publishers-hint {
    color: var(--editorial-mid) !important;
    background: none !important;
    -webkit-text-fill-color: var(--editorial-mid) !important;
    border-bottom: 2px solid var(--editorial-black) !important;
}

/* --- Active filter chip --- */
.active-filter-chip {
    background: var(--editorial-black) !important;
    color: #ffffff !important;
    border: 2px solid var(--editorial-black) !important;
    border-radius: 4px !important;
    box-shadow: 2px 2px 0 var(--editorial-red) !important;
}

/* --- Footer --- */
.footer-section {
    background: var(--editorial-black) !important;
    border-top: 3px solid var(--editorial-red) !important;
}

.footer-brand h3 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
}

.footer-brand svg {
    color: var(--editorial-red) !important;
}

.footer-links a {
    color: var(--editorial-red) !important;
}

.footer-links a:hover {
    text-decoration: underline !important;
}

.footer-links .footer-note svg {
    color: var(--editorial-red) !important;
}

/* --- Buttons (global editorial style) --- */
.button.is-info:not(.is-outlined) {
    background: var(--editorial-black) !important;
    border-color: var(--editorial-black) !important;
    color: #ffffff !important;
}

.button.is-danger:not(.is-outlined) {
    background: var(--editorial-red) !important;
    border-color: var(--editorial-red) !important;
}

.button.is-warning:not(.is-outlined) {
    background: var(--editorial-black) !important;
    border-color: var(--editorial-black) !important;
    color: #ffffff !important;
}

.button.is-outlined {
    border-radius: 4px !important;
}

.button.is-info.is-outlined {
    border-color: currentColor !important;
}

/* --- View toggle buttons --- */
#gridViewBtn.is-selected,
#tableViewBtn.is-selected {
    background: var(--editorial-black) !important;
    border-color: var(--editorial-black) !important;
    color: #ffffff !important;
}

/* --- Loading spinner --- */
.loading-icon {
    color: var(--editorial-red) !important;
    filter: none !important;
}

/* --- Notification boxes --- */
.notification.is-info {
    background: #f0ede6 !important;
    color: var(--editorial-black) !important;
    border: 2px solid var(--editorial-black) !important;
    border-radius: 6px !important;
    box-shadow: 3px 3px 0 var(--editorial-black) !important;
}

/* ============================================
   EDITORIAL DARK MODE
   ============================================ */
[data-theme="dark"] {
    --editorial-off-white: #0e0e0c;
}

[data-theme="dark"] body {
    background: #0e0e0c !important;
    color: #f0ede6 !important;
}

[data-theme="dark"] .filters-box {
    background: #1a1a17 !important;
    border-color: #f0ede6 !important;
    box-shadow: 4px 4px 0 #f0ede6 !important;
}

[data-theme="dark"] #resultsCount {
    -webkit-text-fill-color: #f0ede6 !important;
    color: #f0ede6 !important;
}

[data-theme="dark"] .hero-card {
    background: #1a1a17 !important;
    border-color: #f0ede6 !important;
    box-shadow: 4px 4px 0 #f0ede6 !important;
}

[data-theme="dark"] .hero-name {
    -webkit-text-fill-color: #f0ede6 !important;
    color: #f0ede6 !important;
}

[data-theme="dark"] .hero-card-footer {
    background: #111110 !important;
    border-top-color: #f0ede6 !important;
}

[data-theme="dark"] .hero-card-footer-item {
    border-right-color: #f0ede6 !important;
}

[data-theme="dark"] .table {
    background: #1a1a17 !important;
    border-color: #f0ede6 !important;
    box-shadow: 4px 4px 0 #f0ede6 !important;
}

[data-theme="dark"] .table th {
    background: #f0ede6 !important;
    color: #0e0e0c !important;
    border-color: #f0ede6 !important;
}

[data-theme="dark"] .table td {
    border-color: #2a2a27 !important;
    color: #f0ede6 !important;
}

[data-theme="dark"] .table.is-striped tbody tr:nth-child(even) {
    background: #141412 !important;
}

[data-theme="dark"] .table.is-hoverable tbody tr:hover {
    background: #242420 !important;
}

[data-theme="dark"] .pagination-previous,
[data-theme="dark"] .pagination-next,
[data-theme="dark"] .pagination-link {
    background: #1a1a17 !important;
    border-color: #f0ede6 !important;
    box-shadow: 2px 2px 0 #f0ede6 !important;
    color: #f0ede6 !important;
}

[data-theme="dark"] .pagination-previous:hover,
[data-theme="dark"] .pagination-next:hover {
    background: #f0ede6 !important;
    color: #0e0e0c !important;
    box-shadow: none !important;
}

[data-theme="dark"] .modal-card-body {
    background: #1a1a17 !important;
    color: #f0ede6 !important;
}

[data-theme="dark"] .modal-card-foot {
    background: #111110 !important;
    border-top-color: #f0ede6 !important;
}

[data-theme="dark"] .modal-card-body .title {
    -webkit-text-fill-color: #f0ede6 !important;
    color: #f0ede6 !important;
    border-bottom-color: #f0ede6 !important;
}

[data-theme="dark"] .modal-card-body .table th {
    background: #0e0e0c !important;
    color: #f0ede6 !important;
    border-color: #2a2a27 !important;
}

[data-theme="dark"] .modal-card-body .table td {
    color: #f0ede6 !important;
}

[data-theme="dark"] .radar-label {
    fill: #f0ede6 !important;
}

[data-theme="dark"] .radar-chart polygon[fill="none"] {
    stroke: rgba(255,255,255,0.1) !important;
}

[data-theme="dark"] .radar-chart line {
    stroke: rgba(255,255,255,0.1) !important;
}

[data-theme="dark"] .spotlight-section {
    background: #1a1a17 !important;
    border-top-color: #f0ede6 !important;
    border-bottom-color: #f0ede6 !important;
}

[data-theme="dark"] .spotlight-name {
    -webkit-text-fill-color: #f0ede6 !important;
    color: #f0ede6 !important;
}

[data-theme="dark"] .team-row {
    border-bottom-color: #2a2a27 !important;
}

[data-theme="dark"] .team-row:hover {
    background: #242420 !important;
    border-color: #f0ede6 !important;
}

[data-theme="dark"] .team-row-name {
    color: #f0ede6 !important;
}

[data-theme="dark"] .team-avatar-wrap img {
    border-color: #f0ede6 !important;
}

[data-theme="dark"] .publisher-card {
    border-color: #f0ede6 !important;
    box-shadow: 4px 4px 0 #f0ede6 !important;
}

[data-theme="dark"] .pub-avatars {
    background: #1a1a17 !important;
}

[data-theme="dark"] .pub-footer {
    background: #1a1a17 !important;
}

[data-theme="dark"] .pub-avatars img {
    border-color: #f0ede6 !important;
}

[data-theme="dark"] .pub-bar {
    background: rgba(255,255,255,0.08) !important;
}

[data-theme="dark"] .publishers-hint {
    -webkit-text-fill-color: #888 !important;
    color: #888 !important;
    border-bottom-color: #f0ede6 !important;
}

[data-theme="dark"] .active-filter-chip {
    background: #f0ede6 !important;
    color: #0e0e0c !important;
    border-color: #f0ede6 !important;
    box-shadow: 2px 2px 0 var(--editorial-red) !important;
}

[data-theme="dark"] .notification.is-info {
    background: #1a1a17 !important;
    color: #f0ede6 !important;
    border-color: #f0ede6 !important;
    box-shadow: 3px 3px 0 #f0ede6 !important;
}
