/* Mega888 Blue-Red theme — dark-gold accents mapped to red */
:root {
  --mg-bg: #121111;
  --mg-surface: #1a1a1f;
  --mg-surface-alt: #26262e;
  --mg-blue: #006dea;
  --mg-blue-light: #4fa4ff;
  --mg-blue-dark: #004a9e;
  --mg-red: #ef0101;
  --mg-red-deep: #9a0f04;
  --mg-red-dark: #690808;
  --mg-red-darkest: #330404;
  --mg-red-light: #ff6b6b;
  --mg-text: #ffffff;
  --mg-text-muted: #b9bbbd;
  --mg-border: #33343c;
  --mg-success: #3a7a4a;
}

.topbar-left-section i[data-language] {
    background-image: url(../../assets/flags.png);
    background-repeat: no-repeat;
    background-size: 16px 192px;
    flex-shrink: 0;
}

/* Popular provider panel fills the area beside the winners list */
.popular-games [data-section="left"] {
    flex: 0 0 auto;
}

.popular-games [data-section="right"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.popular-games .tab-pane {
    position: relative;
    overflow: hidden;
}

.popular-games .tab-content > .tab-pane.active {
    display: flex;
    align-items: stretch;
}

.popular-games .popular-game-list {
    width: 58%;
    flex: 0 0 58%;
    box-sizing: border-box;
}

.popular-games .animated-image {
    width: 42%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
    z-index: 0;
}


/* Top menu hover: disable broken content:url() swap (causes /files/css/*.svg 404s) */
.top-menu > li:hover > a > img,
.top-menu > li[data-active="true"] > a > img {
    content: none !important;
}
