/* =====================================================================
   Mulema Frontend — Modern brand layer
   Beyond palette: royal blue + golden yellow + white, on deep navy blue.
   Loaded after the Musicly theme css to add modern components.
   ===================================================================== */
:root {
    --mg-blue: #1d4ed8;     /* primary blue */
    --mg-blue-2: #2563eb;
    --mg-navy: #0a2350;     /* deep navy blue */
    --mg-cosmic: #e87722;   /* cosmic / burnt orange accent */
    --mg-cosmic-2: #ff9533;
    --mg-cosmic-deep: #c65d0a;
    /* legacy var names kept so existing rules keep working */
    --mg-yellow: var(--mg-cosmic);
    --mg-yellow-2: var(--mg-cosmic-2);
    --mg-orange: var(--mg-cosmic);
    --mg-gold: var(--mg-cosmic);
    --mg-gold-2: var(--mg-cosmic-2);
    --mg-grad: linear-gradient(135deg, #e87722 0%, #ff9533 100%);
    --mg-dark: #07172f;
    --mg-card: rgba(255, 255, 255, .05);
    --mg-border: rgba(232, 119, 34, .22);
}

/* ---- Brand buttons -------------------------------------------------- */
.mg-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 26px; border-radius: 40px;
    font-weight: 700; font-size: 14px; letter-spacing: .3px;
    color: var(--mg-navy) !important; background: var(--mg-grad);
    border: none; cursor: pointer; text-decoration: none;
    transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
}
.mg-btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 14px 30px rgba(232, 119, 34, .45); color: var(--mg-navy) !important; }
.mg-btn--ghost {
    background: transparent; border: 1.5px solid var(--mg-border);
    color: var(--mg-yellow-2) !important;
}
.mg-btn--ghost:hover { border-color: var(--mg-yellow); background: rgba(232, 119, 34, .10); box-shadow: none; }

/* ---- Search field on dark ------------------------------------------ */
.mg-search { max-width: 460px; margin: 22px auto 0; position: relative; }
.mg-search input {
    width: 100%; padding: 14px 18px 14px 46px; border-radius: 40px;
    background: var(--mg-card); border: 1px solid rgba(255,255,255,.12);
    color: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.mg-search input::placeholder { color: rgba(255,255,255,.45); }
.mg-search input:focus { border-color: var(--mg-yellow); box-shadow: 0 0 0 3px rgba(245,197,24,.18); }
.mg-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--mg-yellow); }

/* ---- Event / Ticket cards ------------------------------------------ */
.mg-card {
    position: relative; display: flex; flex-direction: column;
    height: 100%; margin-bottom: 30px;
    background: var(--mg-card); border: 1px solid var(--mg-border);
    border-radius: 20px; overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.mg-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 119, 34, .55);
    box-shadow: 0 24px 50px rgba(3, 12, 28, .55);
}
.mg-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #0c1d3a; }
.mg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mg-card:hover .mg-card__media img { transform: scale(1.07); }
.mg-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,23,47,.88), transparent 55%); }
.mg-card__badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 13px; border-radius: 30px; font-size: 12px; font-weight: 700;
    color: var(--mg-navy); background: var(--mg-grad);
    box-shadow: 0 6px 16px rgba(245,197,24,.45);
}
.mg-card__badge--soldout { background: #555; color: #fff; }
.mg-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mg-card__title { font-size: 19px; font-weight: 700; margin: 0 0 14px; }
.mg-card__title a { color: #fff; transition: color .2s; }
.mg-card__title a:hover { color: var(--mg-yellow); }
.mg-card__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.mg-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 30px; font-size: 12.5px; font-weight: 600;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.8);
}
.mg-chip i { color: var(--mg-yellow); }
.mg-chip--price { color: var(--mg-navy); background: var(--mg-yellow); border-color: transparent; }
.mg-chip--price i { color: var(--mg-navy); }
.mg-card__cta { margin-top: auto; }
.mg-card__cta .mg-btn { width: 100%; justify-content: center; }

/* ---- Floating WhatsApp button -------------------------------------- */
.mg-whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 9999;
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25D366; color: #fff !important; font-size: 26px;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .5);
    transition: transform .2s ease;
}
.mg-whatsapp-float:hover { transform: scale(1.08); color: #fff !important; }

@media (max-width: 575px) { .mg-card__media { aspect-ratio: 16 / 12; } }

/* =====================================================================
   "Less black" navy-blue layer
   ===================================================================== */
body {
    background:
        radial-gradient(1150px 720px at 10% -6%,  rgba(232,119,34,.14), transparent 52%),
        radial-gradient(1000px 700px at 96% 4%,   rgba(29,78,216,.26),  transparent 52%),
        radial-gradient(1100px 900px at 50% 118%, rgba(37,99,235,.16), transparent 55%),
        linear-gradient(180deg, #0c2a5e 0%, #0a2350 45%, #07172f 100%) !important;
    background-attachment: fixed !important;
}

.ms-bg-2,
.ms-fun-brand,
.ms-casting-area,
.ms-team-area,
.ms-partner-area,
.ms-song-area,
.ms-cta-area,
.ms-fun-brand.ms-bg-2 {
    background-color: transparent !important;
}
.ms-fun-brand.ms-bg-2 {
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)) !important;
}

/* Hero overlay */
.ms-overlay-1::after { background: linear-gradient(180deg, rgba(7,23,47,0) 0%, rgba(7,23,47,.58) 100%) !important; }
.ms-banner-area .ms-br-30 { box-shadow: 0 30px 80px rgba(3,12,28,.45); }
.ms-banner-area .include__bg::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: linear-gradient(120deg, rgba(29,78,216,.32) 0%, rgba(232,119,34,.10) 45%, rgba(7,23,47,.10) 100%);
    pointer-events: none;
}

/* Page-title banners */
.ms-overlay8 { background: linear-gradient(120deg, rgba(29,78,216,.58), rgba(7,23,47,.80)) !important; opacity: 1 !important; }

/* Cards/items */
.ms-event2-item,
.ms-popular__item,
.ms-fun-brand-item,
.ms-song-item {
    background-color: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(245,197,24,.16);
    border-radius: 16px;
}

footer .ms-footer-bg { background-color: transparent !important; }

/* =====================================================================
   Premium Provincial Casting Calendar + Finals + Countdown
   ===================================================================== */
.ms-casting-premium { position: relative; }
.ms-casting-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(232, 119, 34, .25);
    box-shadow: 0 30px 80px rgba(3, 12, 28, .45);
    padding: 44px 40px;
    overflow: hidden;
}
.ms-casting-head { text-align: center; margin-bottom: 28px; }
.ms-casting-kicker { display: inline-block; color: var(--mg-cosmic-deep); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.ms-casting-title { color: var(--mg-navy); font-size: 34px; font-weight: 800; margin: 10px 0 0; }
.ms-casting-title::after { content: ""; display: block; width: 90px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--mg-blue), var(--mg-yellow)); }
.ms-casting-sub { color: #5b6b86; font-size: 16px; max-width: 700px; margin: 18px auto 0; }

.ms-countdown { margin: 28px auto 32px; max-width: 580px; text-align: center; }
.ms-countdown-label { color: var(--mg-navy); font-weight: 700; margin-bottom: 14px; font-size: 15px; }
.ms-countdown-label i { color: var(--mg-yellow); }
.ms-countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ms-cd-box { background: linear-gradient(180deg, #0c2f6b, #0a2350); border-radius: 16px; padding: 18px 8px; box-shadow: 0 12px 30px rgba(10, 35, 80, .28); }
.ms-cd-num { display: block; font-size: 36px; font-weight: 800; color: var(--mg-yellow-2); line-height: 1; font-variant-numeric: tabular-nums; }
.ms-cd-unit { display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

.ms-casting-tablewrap { overflow: hidden; border-radius: 16px; border: 1px solid #e7edf5; }
.ms-casting-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.ms-casting-table thead th { background: linear-gradient(135deg, #0c2f6b, #0a2350); color: #fff; text-align: left; padding: 16px 18px; font-weight: 700; letter-spacing: .5px; }
.ms-casting-table tbody td { padding: 14px 18px; color: #23324d; border-top: 1px solid #eef2f8; }
.ms-casting-table tbody tr:nth-child(odd) { background: #f7f9fd; }
.ms-casting-table tbody tr:hover { background: #fff7d6; }
.ms-casting-table tbody td:first-child { font-weight: 700; color: var(--mg-navy); }
.ms-date-chip { display: inline-block; background: rgba(232, 119, 34, .18); color: #a34a0a; border: 1px solid rgba(232, 119, 34, .5); padding: 4px 12px; border-radius: 20px; font-weight: 600; font-size: 13.5px; }

.ms-finals-title { text-align: center; color: var(--mg-navy); font-weight: 800; margin: 36px 0 22px; font-size: 24px; }
.ms-finals-timeline { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.ms-finals-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #f7f9fd; border: 1px solid #e7edf5; border-radius: 16px; padding: 18px 24px; min-width: 150px; }
.ms-finals-item .ms-finals-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mg-blue); }
.ms-finals-name { font-weight: 700; color: var(--mg-navy); }
.ms-finals-date { font-size: 13px; color: #6b7a93; }
.ms-finals-item.is-next { background: linear-gradient(180deg, #fff7d6, #fff); border-color: var(--mg-yellow); box-shadow: 0 12px 30px rgba(232, 119, 34, .3); }
.ms-finals-item.is-next .ms-finals-dot { background: var(--mg-yellow); }
.ms-finals-badge { position: absolute; top: -10px; right: -8px; background: var(--mg-yellow); color: var(--mg-navy); font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 20px; }

@media (max-width: 575px) {
    .ms-casting-card { padding: 26px 18px; }
    .ms-casting-title { font-size: 26px; }
    .ms-cd-num { font-size: 26px; }
    .ms-casting-table thead { display: none; }
    .ms-casting-table tbody td { display: flex; justify-content: space-between; border: none; padding: 8px 14px; }
    .ms-casting-table tbody td::before { content: attr(data-label); font-weight: 700; color: var(--mg-navy); }
    .ms-casting-table tbody tr { display: block; padding: 8px 0; border-bottom: 1px solid #eef2f8; }
}

/* EN / FR language toggle — matches admin Beyond style */
.ms-lang-switch--frontend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 10px;
}
.ms-lang-switch--frontend .ms-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 4px 10px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .4px;
    text-decoration: none !important;
    color: #ffffff !important;
    background: transparent;
    border: 1.4px solid rgba(255, 255, 255, .55);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ms-lang-switch--frontend .ms-lang:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff !important;
}
.ms-lang-switch--frontend .ms-lang.active {
    background: linear-gradient(135deg, var(--mg-yellow) 0%, var(--mg-yellow-2) 100%);
    color: var(--mg-navy) !important;
    border-color: var(--mg-yellow);
    box-shadow: 0 6px 16px rgba(232, 119, 34, .35);
}
.offcanvas__lang .ms-lang-switch--frontend {
    justify-content: center;
    margin: 0;
}
.offcanvas__lang .ms-lang-switch--frontend .ms-lang {
    min-width: 44px;
    padding: 8px 16px;
    font-size: 14px;
}
@media (max-width: 1199px) {
    .header__action-inner > .ms-lang-switch--frontend {
        display: none;
    }
}
@media (min-width: 1200px) {
    .offcanvas__lang { display: none; }
}

/* =====================================================================
   Public header — blue bar like admin (replaces black theme)
   ===================================================================== */
#header-sticky.header__area,
#header-sticky.sticky,
.header__area.ms-bg-body {
    background: linear-gradient(135deg, var(--mg-navy) 0%, var(--mg-blue-2) 100%) !important;
    box-shadow: 0 4px 18px rgba(10, 35, 80, .22);
}
#header-sticky .header__main.ms-border2 {
    border-bottom-color: rgba(255, 255, 255, .12) !important;
}
.header__area .main-menu ul li a,
.header__area .ms-enquiry-box a,
.header__area .ms-enquiry-box .text,
.header__area .user__acount a {
    color: #fff !important;
}
.header__area .ms-enquiry-box .icon,
.header__area .flaticon-star.icon,
.header__area .ms-border-btn i,
.header__area .fa-regular.fa-plus {
    color: var(--mg-cosmic) !important;
}
.header__area .ms-border-btn {
    border-color: rgba(255, 255, 255, .55) !important;
    color: #fff !important;
}
.header__area .ms-border-btn:hover {
    background: var(--mg-cosmic) !important;
    border-color: var(--mg-cosmic) !important;
    color: #fff !important;
}
.header__area .ms-enquiry-box .number {
    background: var(--mg-cosmic);
    color: var(--mg-navy);
}
.header__area .bar-icon span {
    background: #fff;
}

/* Compact staff account menu on public site (mulemagc.com) */
.mg-fe-user-dropdown {
    position: relative;
    z-index: 120;
}
.mg-fe-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    color: #fff;
    cursor: pointer;
}
.mg-fe-user-toggle:focus { outline: none; }
.mg-fe-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--mg-cosmic);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(232, 119, 34, .55);
}
.mg-fe-user-meta {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}
.mg-fe-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mg-fe-user-role {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    color: var(--mg-cosmic-2, #ff9533);
    text-transform: uppercase;
}
.mg-fe-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(3, 12, 28, .18);
    padding: 4px 0 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.mg-fe-user-dropdown.is-open .mg-fe-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mg-fe-user-menu__head {
    font-size: 12px;
    font-weight: 800;
    color: var(--mg-navy);
    padding: 6px 14px 4px;
}
.mg-fe-user-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    color: var(--mg-navy) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.mg-fe-user-menu a i { width: 16px; text-align: center; color: var(--mg-blue); }
.mg-fe-user-menu a:hover { background: #f0f4f9; }
.mg-fe-user-menu hr { margin: 4px 0; border-color: #eef2f8; }
.mg-fe-user-logout,
.mg-fe-user-logout i { color: #dc3545 !important; }

/* =====================================================================
   About Us — modern page
   ===================================================================== */
.mg-about {
    background: #07172f;
    color: #fff;
    overflow-x: hidden;
}

.mg-about__hero {
    position: relative;
    background: linear-gradient(165deg, #0a2350 0%, #07172f 55%, #0c1a30 100%);
}
.mg-about__hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 320px at 15% 20%, rgba(232, 119, 34, .18), transparent 70%),
        radial-gradient(500px 280px at 85% 10%, rgba(29, 78, 216, .22), transparent 65%);
    pointer-events: none;
}
.mg-about__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(232, 119, 34, .15);
    border: 1px solid rgba(232, 119, 34, .45);
    color: #ff9533;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.mg-about__headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 16px;
    color: #fff;
}
.mg-about__accent {
    color: #e87722;
    position: relative;
}
.mg-about__sub {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .72);
    max-width: 640px;
    margin: 0 auto;
}

.mg-about__label {
    display: block;
    color: #e87722;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.mg-about__label--center { text-align: center; }
.mg-about__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 22px;
    line-height: 1.25;
}
.mg-about__title--center { text-align: center; }
.mg-about__title--light { color: #fff; }

.mg-about__mission { position: relative; }

.mg-about__media { position: relative; max-width: 420px; margin: 0 auto; }
.mg-about__media-frame {
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(232, 119, 34, .55);
    box-shadow:
        0 0 0 6px rgba(232, 119, 34, .12),
        0 28px 60px rgba(0, 0, 0, .45);
    transform: rotate(-2deg);
    transition: transform .35s ease;
}
.mg-about__media:hover .mg-about__media-frame { transform: rotate(0deg); }
.mg-about__media-frame img {
    width: 100%;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.mg-about__media-badge {
    position: absolute;
    bottom: -14px;
    right: -8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #e87722, #ff9533);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(232, 119, 34, .4);
}
.mg-about__media-badge i { font-size: 14px; }

.mg-about__prose p {
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.mg-about__values {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.mg-about__values li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
}
.mg-about__values li i { color: #e87722; }

.mg-about__values-section { position: relative; }
.mg-about__values-heading {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin: 0 0 22px;
    text-align: center;
}

.mg-about__person-bio {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.65;
    margin: 12px 0 0;
}

.mg-about__winners {
    background: linear-gradient(180deg, rgba(232, 119, 34, .06), transparent);
}
.mg-about__winner {
    text-align: center;
    padding: 28px 22px 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(232, 119, 34, .22);
    height: 100%;
    transition: transform .25s ease, border-color .25s ease;
}
.mg-about__winner:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 119, 34, .45);
}
.mg-about__winner--winner {
    border-color: rgba(232, 119, 34, .55);
    box-shadow: 0 16px 40px rgba(232, 119, 34, .12);
}
.mg-about__winner-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(232, 119, 34, .15);
    border: 1px solid rgba(232, 119, 34, .35);
    color: #ff9533;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}
.mg-about__winner-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e87722;
    box-shadow: 0 0 0 5px #12294d;
    background: #0d1f3c;
}
.mg-about__winner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mg-about__winner-name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}
.mg-about__winner-bio {
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* ── Winners: distinct animated design ───────────────────────── */
.mg-winner {
    position: relative;
    text-align: center;
    padding: 40px 22px 30px;
    border-radius: 22px;
    height: 100%;
    background: linear-gradient(180deg, rgba(232, 119, 34, .10), rgba(10, 35, 80, .35));
    border: 1px solid rgba(232, 119, 34, .28);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mg-winner:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 119, 34, .6);
    box-shadow: 0 24px 60px rgba(232, 119, 34, .22);
}
.mg-winner--champion {
    background: linear-gradient(180deg, rgba(255, 196, 84, .18), rgba(10, 35, 80, .45));
    border-color: rgba(255, 196, 84, .55);
    box-shadow: 0 18px 50px rgba(255, 176, 32, .18);
    animation: mgWinnerFloat 4.5s ease-in-out infinite;
}
@keyframes mgWinnerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.mg-winner__crown {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffcf5c;
    font-size: 22px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4));
    animation: mgCrownGlow 2.2s ease-in-out infinite;
}
@keyframes mgCrownGlow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: .9; }
    50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}
.mg-winner__badge {
    display: inline-block;
    margin: 6px 0 18px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(232, 119, 34, .18);
    border: 1px solid rgba(232, 119, 34, .4);
    color: #ffb14d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.mg-winner--champion .mg-winner__badge {
    background: linear-gradient(135deg, #ffcf5c, #e87722);
    border-color: transparent;
    color: #1a1200;
}
.mg-winner__ring {
    position: relative;
    width: 168px;
    height: 168px;
    margin: 0 auto 18px;
    border-radius: 50%;
    padding: 6px;
}
.mg-winner__ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #e87722, #ffcf5c, #e87722, #ffb14d, #e87722);
    animation: mgRingSpin 6s linear infinite;
    z-index: 0;
}
.mg-winner--champion .mg-winner__ring {
    width: 190px;
    height: 190px;
}
.mg-winner--champion .mg-winner__ring::before { animation-duration: 4s; }
@keyframes mgRingSpin {
    to { transform: rotate(360deg); }
}
.mg-winner__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #0d1f3c;
    border: 4px solid #0a2350;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mg-winner__photo a { display: block; width: 100%; height: 100%; }
.mg-winner__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.mg-winner:hover .mg-winner__photo img { transform: scale(1.08); }
.mg-winner__initial {
    font-size: 54px;
    font-weight: 800;
    color: #fff;
}
.mg-winner__name {
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
}
.mg-winner__name a { color: #fff; transition: color .2s ease; }
.mg-winner__name a:hover { color: #ffcf5c; }
.mg-winner__bio {
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 14px;
}
.mg-winner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.mg-winner__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(232, 119, 34, .35);
    color: #ffb14d;
    font-size: 12.5px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}
.mg-winner__link:hover { background: #e87722; color: #fff; }

/* ── About: social links ─────────────────────────────────────── */
.mg-about__socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}
.mg-social {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.mg-social:hover { transform: translateY(-5px); color: #fff; }
.mg-social--fb:hover { background: #1877f2; box-shadow: 0 12px 26px rgba(24, 119, 242, .4); }
.mg-social--ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 12px 26px rgba(220, 39, 67, .4); }
.mg-social--tk:hover { background: #000; box-shadow: 0 12px 26px rgba(0, 0, 0, .5); }

.mg-about__stats-band {
    padding: 0 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}
.mg-about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.mg-about__stat {
    text-align: center;
    padding: 8px 12px;
    border-right: 1px solid rgba(255, 255, 255, .08);
}
.mg-about__stat:last-child { border-right: 0; }
.mg-about__stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #e87722;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.mg-about__stat-num i { font-size: 1.6rem; }
.mg-about__stat-label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .3px;
}

.mg-about__intro {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
    max-width: 780px;
    margin: 0 auto 32px;
}
.mg-about__regions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.mg-about__region {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(232, 119, 34, .12);
    border: 1px solid rgba(232, 119, 34, .35);
    color: #ffb366;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    transition: background .2s, transform .2s;
}
.mg-about__region:hover {
    background: rgba(232, 119, 34, .22);
    transform: translateY(-2px);
}

.mg-about__team {
    background: linear-gradient(180deg, transparent, rgba(10, 35, 80, .35));
}

.mg-about__person {
    text-align: center;
    padding: 24px 18px 28px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(232, 119, 34, .2);
    border-radius: 20px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    height: 100%;
}
.mg-about__person:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 119, 34, .5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.mg-about__person-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e87722;
    box-shadow: 0 0 0 5px rgba(232, 119, 34, .2), 0 12px 30px rgba(0, 0, 0, .3);
}
.mg-about__person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mg-about__person-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c2f6b, #0a2350);
    color: #e87722;
    font-size: 3rem;
    font-weight: 800;
}
.mg-about__person-name {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.mg-about__person-role {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin: 0;
    font-weight: 500;
}
.mg-about__flag { margin-left: 2px; }

.mg-about__cta-box {
    text-align: center;
    padding: 48px 32px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0c2f6b 0%, #0a2350 50%, rgba(232, 119, 34, .15) 100%);
    border: 1px solid rgba(232, 119, 34, .35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.mg-about__cta-box h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}
.mg-about__cta-box p {
    color: rgba(255, 255, 255, .7);
    margin: 0 0 24px;
    font-size: 16px;
}
.mg-about__cta-box .mg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 991px) {
    .mg-about__stats { grid-template-columns: repeat(2, 1fr); }
    .mg-about__stat:nth-child(2) { border-right: 0; }
    .mg-about__stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); padding-bottom: 16px; }
    .mg-about__stat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 767px) {
    .mg-about__media { margin-bottom: 24px; }
    .mg-about__media-badge { right: 8px; bottom: -10px; font-size: 11px; padding: 8px 12px; }
    .mg-about__stats { grid-template-columns: 1fr; padding: 20px; }
    .mg-about__stat { border-bottom: 1px solid rgba(255, 255, 255, .08); border-right: 0; }
    .mg-about__stat:last-child { border-bottom: 0; }
    .mg-about__cta-box { padding: 32px 20px; }
}

/* ── Tickets / Events ── */
.mg-tickets { background: linear-gradient(180deg, #0a1628 0%, #0d1f3c 100%); min-height: 60vh; }
.mg-tickets__badge {
    display: inline-block; padding: 8px 18px; border-radius: 999px;
    border: 1px solid rgba(232, 119, 34, .6); color: #e87722;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.mg-tickets__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #fff; margin: 0 0 12px; }
.mg-tickets__lead { color: rgba(255,255,255,.65); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.mg-tickets__search-wrap {
    max-width: 480px; margin: 0 auto; position: relative;
}
.mg-tickets__search-wrap i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.4); }
.mg-tickets__search-wrap input {
    width: 100%; padding: 16px 20px 16px 48px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
    color: #fff; font-size: 15px;
}
.mg-tickets__search-wrap input::placeholder { color: rgba(255,255,255,.4); }
.mg-event-card {
    display: block; border-radius: 20px; overflow: hidden;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.mg-event-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.35); text-decoration: none; }
.mg-event-card__img { aspect-ratio: 16/10; overflow: hidden; background: #0c2f6b; }
.mg-event-card__img img { width: 100%; height: 100%; object-fit: cover; }
.mg-event-card__placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #e87722; }
.mg-event-card__body { padding: 20px 24px 24px; }
.mg-event-card__body h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin: 0 0 10px; }
.mg-event-card__cta { color: #e87722; font-weight: 600; font-size: 14px; }
.mg-ticket-types { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.mg-ticket-type {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px;
    border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    text-decoration: none; transition: background .2s, border-color .2s;
}
.mg-ticket-type:hover { background: rgba(232,119,34,.08); border-color: rgba(232,119,34,.35); text-decoration: none; }
.mg-ticket-type__icon {
    width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--zone-color, #e87722); color: var(--zone-color, #e87722); font-size: 20px; flex-shrink: 0;
}
.mg-ticket-type__info { flex: 1; }
.mg-ticket-type__info strong { display: block; color: #fff; font-size: 16px; }
.mg-ticket-type__info span { color: rgba(255,255,255,.55); font-size: 14px; }
.mg-ticket-type__vip { display: block; color: #e87722; font-size: 12px; margin-top: 4px; }
.mg-ticket-type__go { color: rgba(255,255,255,.5); font-size: 18px; }
.mg-ticket-back { color: rgba(255,255,255,.7); text-decoration: none; display: inline-block; margin-bottom: 16px; }
.mg-ticket-back:hover { color: #e87722; }
.mg-ticket-gallery { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.mg-ticket-gallery img { width: 100%; display: block; }
.mg-ticket-thumbs { display: flex; gap: 8px; padding: 10px; background: rgba(0,0,0,.2); }
.mg-ticket-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .7; border: 2px solid transparent; }
.mg-ticket-thumb.is-active, .mg-ticket-thumb:hover { opacity: 1; border-color: #e87722; }
.mg-ticket-desc { color: rgba(255,255,255,.75); line-height: 1.7; }
.mg-seat-picker {
    background: rgba(0,0,0,.25); border-radius: 16px; padding: 24px;
    border: 1px solid rgba(255,255,255,.1); margin-bottom: 24px;
}
.mg-seat-picker__title { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; }
.mg-seat-picker__stage {
    background: linear-gradient(135deg, #e87722, #ff9533); color: #fff; text-align: center;
    font-weight: 800; padding: 10px; border-radius: 8px; margin-bottom: 16px; letter-spacing: 2px;
}
.mg-seat-picker__canvas-wrap { overflow: auto; max-height: 420px; border-radius: 8px; }
.mg-seat-picker__canvas { position: relative; background: #2d2d44; margin: 0 auto; min-width: 100%; }
.mg-seat-cell {
    position: absolute; border: none; border-radius: 6px; color: #fff; font-size: 10px; font-weight: 700;
    cursor: pointer; opacity: .85; transition: transform .15s, box-shadow .15s;
}
.mg-seat-cell:hover:not(.is-sold) { transform: scale(1.08); box-shadow: 0 0 0 2px #fff; z-index: 2; }
.mg-seat-cell.is-picked { box-shadow: 0 0 0 3px #fff, 0 0 12px rgba(255,255,255,.5); z-index: 3; }
.mg-seat-cell.is-sold { opacity: .35; cursor: not-allowed; filter: grayscale(.5); }
.mg-seat-picker__legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; font-size: 13px; color: rgba(255,255,255,.8); }
.mg-seat-picker__legend span { display: inline-flex; align-items: center; gap: 6px; }
.mg-seat-picker__legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.mg-seat-picker__selected { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 16px; }
.mg-qty-control { display: inline-flex; align-items: center; gap: 0; border-radius: 999px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.mg-qty-control button { background: rgba(255,255,255,.08); border: none; color: #fff; width: 44px; height: 44px; font-size: 20px; cursor: pointer; }
.mg-qty-control input { width: 56px; text-align: center; background: transparent; border: none; color: #fff; font-weight: 700; }
.mg-ticket-total {
    display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; color: #fff;
}
.mg-ticket-total strong { font-size: 2rem; color: #e87722; }
.mg-ticket-buy { width: 100%; justify-content: center; padding: 16px 24px; font-size: 16px; }
.mg-ticket-buy:disabled { opacity: .5; cursor: not-allowed; }
.mg-ticket-summary {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 20px 24px;
}
.mg-ticket-summary__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mg-ticket-summary__row img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.mg-ticket-summary__row strong { color: #fff; display: block; font-size: 18px; }
.mg-ticket-summary__row p, .mg-ticket-summary__row span { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
.mg-ticket-summary__amount { margin-left: auto; font-size: 1.5rem; font-weight: 800; color: #e87722; }
.mg-pay-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 28px; height: 100%;
}
.mg-pay-card h3 { color: #fff; font-size: 1.1rem; margin: 0 0 20px; }
.mg-pay-card input, .mg-pay-select {
    width: 100%; margin-bottom: 12px; padding: 14px 18px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.2); color: #fff;
}
.mg-pay-note { color: rgba(255,255,255,.5); font-size: 13px; margin-bottom: 16px; }

/* Event ticket countdown */
.mg-event-card-wrap {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    overflow: hidden;
}
.mg-event-card-wrap .mg-event-card { border: none; border-radius: 0; }
.mg-event-countdown {
    text-align: center;
    padding: 16px 14px 18px;
    border-top: 1px solid rgba(232,119,34,.25);
    background: rgba(0,0,0,.15);
}
.mg-event-countdown--hero {
    max-width: 520px;
    margin: 20px auto 0;
    border-radius: 16px;
    border: 1px solid rgba(232,119,34,.35);
    background: rgba(255,255,255,.04);
    padding: 20px 18px;
}
.mg-event-countdown--card { border-radius: 0; }
.mg-event-countdown .ms-countdown__label {
    color: rgba(255,255,255,.85);
    font-size: 14px;
    margin: 0 0 12px;
    letter-spacing: .3px;
}
.mg-event-countdown .ms-countdown__label i { color: #e87722; margin-right: 6px; }
.mg-event-countdown .ms-countdown__grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.mg-event-countdown .ms-countdown__cell {
    min-width: 64px;
    padding: 10px 8px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(232,119,34,.18), rgba(255,255,255,.03));
    border: 1px solid rgba(232,119,34,.35);
}
.mg-event-countdown .ms-countdown__cell span {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #e87722;
    line-height: 1;
}
.mg-event-countdown .ms-countdown__cell small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.mg-event-countdown.is-ended { opacity: .55; }

/* ---- Contestants / Vote page --------------------------------------- */
.mg-contestants-page {
    background: radial-gradient(900px 400px at 50% -20%, rgba(232,119,34,.10), transparent 60%), var(--mg-navy);
    min-height: 60vh;
}
.mg-contestants-page__head { margin-bottom: 36px; }
.mg-contestants-page__eyebrow {
    color: var(--mg-cosmic); font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase; font-size: 13px; margin: 0 0 8px;
}
.mg-contestants-page__title {
    color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800;
    margin: 0 0 22px; line-height: 1.15;
}
.mg-contestants-page__search { max-width: 420px; }
.mg-contestants-page__empty { color: rgba(255,255,255,.55); margin-top: 40px; font-size: 16px; }

.mg-contestant-grid { row-gap: 28px; }
.mg-contestant-card { text-align: center; padding: 8px 4px 16px; }
.mg-contestant-card__avatar {
    position: relative; width: 160px; height: 160px; margin: 0 auto 14px;
    border-radius: 50%; padding: 5px;
    background: linear-gradient(145deg, var(--mg-cosmic), var(--mg-cosmic-2));
    box-shadow: 0 0 0 5px #12294d, 0 0 28px rgba(232,119,34,.5);
}
.mg-contestant-card__avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    display: block; border: 3px solid #12294d; background: #0d1f3c;
}
.mg-contestant-card__badge {
    position: absolute; top: 0; left: 0; z-index: 2;
    min-width: 32px; height: 32px; line-height: 28px; padding: 0 8px;
    border-radius: 20px; background: #12294d; color: var(--mg-cosmic);
    font-weight: 800; font-size: 14px; text-align: center;
    border: 2px solid var(--mg-cosmic); box-shadow: 0 3px 8px rgba(0,0,0,.35);
}

/* Vote Now zones — must beat the default orange avatar glow */
.contestant-list.is-qual-zone .mg-contestant-card__avatar {
    background: linear-gradient(145deg, #15803d, #4ade80) !important;
    box-shadow:
        0 0 0 5px #14532d,
        0 0 0 8px rgba(74, 222, 128, .95),
        0 0 32px rgba(34, 197, 94, .85) !important;
    animation: mg-zone-blink-green 1.35s ease-in-out infinite;
}
.contestant-list.is-elim-zone .mg-contestant-card__avatar {
    background: linear-gradient(145deg, #c2410c, #fb923c) !important;
    box-shadow:
        0 0 0 5px #7c2d12,
        0 0 0 8px rgba(251, 146, 60, .95),
        0 0 32px rgba(232, 119, 34, .85) !important;
    animation: mg-zone-blink-orange 1.35s ease-in-out infinite;
}
.mg-contestant-card__badge.is-safe {
    background: #166534 !important;
    color: #bbf7d0 !important;
    border-color: #4ade80 !important;
}
.mg-contestant-card__badge.is-danger {
    background: #ea580c !important;
    color: #fff !important;
    border-color: #fdba74 !important;
}
@keyframes mg-zone-blink-green {
    0%, 100% {
        box-shadow:
            0 0 0 5px #14532d,
            0 0 0 7px rgba(74, 222, 128, .7),
            0 0 18px rgba(34, 197, 94, .55);
        filter: brightness(1);
    }
    50% {
        box-shadow:
            0 0 0 5px #14532d,
            0 0 0 10px rgba(74, 222, 128, 1),
            0 0 36px rgba(34, 197, 94, .95);
        filter: brightness(1.1);
    }
}
@keyframes mg-zone-blink-orange {
    0%, 100% {
        box-shadow:
            0 0 0 5px #7c2d12,
            0 0 0 7px rgba(251, 146, 60, .7),
            0 0 18px rgba(232, 119, 34, .55);
        filter: brightness(1);
    }
    50% {
        box-shadow:
            0 0 0 5px #7c2d12,
            0 0 0 10px rgba(251, 146, 60, 1),
            0 0 36px rgba(232, 119, 34, .95);
        filter: brightness(1.1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .contestant-list.is-qual-zone .mg-contestant-card__avatar,
    .contestant-list.is-elim-zone .mg-contestant-card__avatar {
        animation: none !important;
    }
}
.mg-contestant-card__name {
    font-size: 15px; font-weight: 700; margin: 0 0 6px; line-height: 1.3;
    min-height: 2.6em;
}
.mg-contestant-card__name a { color: #fff; transition: color .2s; }
.mg-contestant-card__name a:hover { color: var(--mg-cosmic-2); }
.mg-contestant-card__votes {
    display: inline-block; color: var(--mg-cosmic); font-weight: 700;
    font-size: 12px; letter-spacing: .6px; text-transform: uppercase;
}
.mg-contestant-card__votes i { margin-right: 4px; }
.mg-contestant-card__cta {
    display: inline-block; color: var(--mg-cosmic-2); font-size: 12px;
    font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.mg-contestant-card__cta:hover { color: #fff; }

@media (max-width: 575px) {
    .mg-contestant-card__avatar { width: 130px; height: 130px; }
    .mg-contestant-card__name { font-size: 14px; }
}
@media (min-width: 1400px) {
    .mg-contestant-card__avatar { width: 170px; height: 170px; }
}

/* Social media embeds on contestant page */
.mg-social-embed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 1rem 0;
}
.mg-social-embed {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    overflow: hidden;
}
.mg-social-embed__badge {
    display: inline-block;
    padding: .35rem .75rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--mg-cosmic-2);
    background: rgba(255,255,255,.06);
}
.mg-social-embed__frame-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}
.mg-social-embed--vertical .mg-social-embed__frame-wrap {
    padding-bottom: 177.78%;
    max-width: 325px;
    margin: 0 auto;
}
.mg-social-embed__frame-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.popup-image-link {
    display: block;
    cursor: pointer;
    transition: opacity .2s ease;
}
.popup-image-link:hover { opacity: .92; }

/* =====================================================================
   Mobile navigation + responsive header
   ===================================================================== */
body.mg-popup-open {
    overflow: hidden;
}

.popup-overlay:not(.active) {
    pointer-events: none !important;
}

.offcanvas__overlay:not(.overlay-open) {
    pointer-events: none;
}

/* Desktop: Vote chip lives in nav; hide header shortcut */
.mg-header-vote-btn {
    display: none;
}

/* Header Login pill (gold outline like reference) */
.mg-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 38px;
    padding: 7px 18px;
    margin-left: 6px;
    border-radius: 999px;
    border: 1.5px solid #e8b84a;
    background: transparent;
    color: #e8b84a !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mg-header-login i { font-size: 14px; color: inherit; }
.mg-header-login:hover,
.mg-header-login:focus {
    background: rgba(232, 184, 74, .14);
    border-color: #f0c75e;
    color: #f0c75e !important;
    box-shadow: 0 0 0 3px rgba(232, 184, 74, .16);
    text-decoration: none !important;
}
.mg-header-login--mobile {
    display: none !important;
}

/* Desktop header: keep logo + search + nav + account on one row after Rate Us */
@media (min-width: 1200px) {
    #header-sticky .header__main {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px;
        min-width: 0;
    }

    #header-sticky .header__logo {
        flex: 0 0 auto;
    }

    #header-sticky .header__logo img {
        height: 58px !important;
        width: auto;
    }

    #header-sticky .mg-header-search {
        flex: 0 1 220px;
        max-width: 220px;
        margin: 0 8px;
        min-width: 140px;
    }

    #header-sticky .header__right {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
        gap: 8px;
    }

    #header-sticky .mean__menu-wrapper {
        flex: 1 1 auto;
        min-width: 0;
    }

    #header-sticky .main-menu > nav > ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: flex-end;
        margin: 0;
        padding: 0;
        gap: 0;
        white-space: nowrap;
    }

    #header-sticky .main-menu ul li {
        display: block;
        margin-inline-end: 0 !important;
        flex: 0 0 auto;
    }

    #header-sticky .main-menu ul li a {
        padding: 22px 8px !important;
        font-size: 13px !important;
        letter-spacing: 0;
        white-space: nowrap;
    }

    #header-sticky .header__action-inner {
        flex: 0 0 auto;
        margin-left: 4px;
    }

    #header-sticky .header__hamburger {
        display: none !important;
    }
}

@media (min-width: 1400px) {
    #header-sticky .mg-header-search {
        flex-basis: 260px;
        max-width: 260px;
    }

    #header-sticky .main-menu ul li a {
        padding: 24px 10px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 1199px) {
    .header__main {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px;
        padding-right: 4px;
        overflow: visible !important;
    }

    .header__logo {
        flex: 0 0 auto;
        max-width: 34%;
    }

    .header__logo.pt-25.pb-25 {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .header__logo img {
        height: 48px !important;
        width: auto !important;
        max-width: 100%;
        object-fit: contain;
    }

    .mean__menu-wrapper {
        display: none !important;
    }

    /* Hide desktop-only account/lang cluster on tablets/phones */
    .header__right {
        display: none !important;
    }

    .mg-header-search {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 4px !important;
    }

    /* Always-visible Vote shortcut on small screens */
    .mg-header-vote-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        white-space: nowrap;
        min-height: 36px;
        padding: 6px 12px;
        border-radius: 999px;
        background: #e87722;
        color: #fff !important;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .2px;
        text-decoration: none !important;
        box-shadow: 0 6px 16px rgba(232, 119, 34, .35);
    }

    .mg-header-login--mobile {
        display: inline-flex !important;
        min-height: 36px;
        padding: 6px 12px;
        margin-left: 0;
        font-size: 12px;
    }
    .mg-header-vote-btn:hover,
    .mg-header-vote-btn:focus {
        background: #ff9533;
        color: #fff !important;
    }

    /* Force hamburger visible — was previously pushed off-screen */
    .header__hamburger {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin-left: 2px;
        position: relative;
        z-index: 10001;
    }

    .header__hamburger .sidebar__toggle,
    .header__hamburger .bar-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .header__hamburger .bar-icon {
        width: 28px;
        height: 20px;
        flex-direction: column;
        justify-content: space-between;
        overflow: visible !important;
    }

    .header__hamburger .bar-icon span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        margin: 0 !important;
        background: #fff !important;
        border-radius: 2px;
    }
}

@media (max-width: 575px) {
    .header__logo img {
        height: 40px !important;
    }

    .mg-header-search {
        margin: 0 2px !important;
        padding: 6px 10px !important;
        gap: 6px;
    }

    .mg-header-search input {
        font-size: 12px;
    }

    .mg-header-vote-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 34px;
    }

    .mg-header-login--mobile {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 34px;
        gap: 5px;
    }
}

/* Prevent horizontal scroll on small screens */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* Site logo spin — same motion as the login screen */
@keyframes mg-logo-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.mg-spin-logo {
    animation: mg-logo-spin 6s linear infinite;
    border-radius: 50%;
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .mg-spin-logo { animation: none; }
}
