/* Earn-Fly — shared gold identity. Presentation only; no account or offer behavior. */
:root {
    color-scheme: dark;
    --primary: #e0b449;
    --primary-hover: #f4d37c;
    --primary-dark: #bd8a22;
    --bg-dark: #0c0b09;
    --bg-sidebar: #12110e;
    --bg-card: #1a1813;
    --bg-card-hover: #242016;
    --bg-input: #17150f;
    --border-color: #353023;
    --text-main: #faf7ef;
    --text-muted: #b0a897;
    --ef-gold: #e0b449;
    --ef-gold-light: #fff0b9;
    --ef-metal: linear-gradient(115deg,#a87517 0%,#f7d97b 24%,#fff1b5 40%,#d5a53b 65%,#f0cd6a 82%,#b58120 100%);
}
.ef-brand-logo { display:block; width:116px; height:86px; max-width:100%; flex:0 0 auto; object-fit:contain; filter:drop-shadow(0 2px 8px #e0b4491f); }
.ef-brand-logo[hidden] { display:none !important; }
.ef-brand-fallback { display:none; color:#f7d878; font-size:22px; font-weight:900; white-space:nowrap; }
.mx-image-missing .ef-brand-fallback { display:inline; }
.logo-text { display:flex; align-items:center; justify-content:center; min-width:0; width:100%; }
.sidebar .logo-area { min-height:104px; margin-bottom:14px; padding:0; }
.sidebar .logo-link { flex:1; justify-content:center; }
.sidebar .ef-brand-logo { width:148px; height:106px; }
.btn-primary, .mx-button, .mx-auth-submit, .mx-spotlight-button {
    background:var(--ef-metal); color:#191307 !important; border:1px solid #edca6d;
    box-shadow:inset 0 1px 0 #fff6ce88,0 6px 24px #d8aa3226; font-weight:800;
}
.btn-primary:hover, .mx-button:hover, .mx-auth-submit:hover, .mx-spotlight-button:hover {
    background:linear-gradient(115deg,#ca9b36,#fff1b9 35%,#edc666 75%,#d9ae4c);
    color:#191307 !important; box-shadow:inset 0 1px 0 #fff6ceaa,0 8px 28px #d8aa3238;
}
:where(a,button,input,select,textarea):focus-visible { outline-color:#f4d37c; }
.footer-social a:hover { color:#f4d37c !important; }
body::before { filter:sepia(.88) saturate(.75); }
body.mx-landing-page, .mx-landing { background:#0c0b09; }
.mx-landing { --mx-gold:#e0b449; --mx-blue:var(--mx-gold); --mx-line:#332d21; --mx-muted:#b8ad98; color:#faf7ef; }
.mx-landing .mx-header { background:#0d0c0a; border-bottom-color:#31291a; }
.mx-landing .mx-header-inner { min-height:100px; }
.mx-brand { gap:0; }
.mx-hero { background:radial-gradient(ellipse at 66% 30%,#a577181f,transparent 50%); }
.mx-hero-beam { background:linear-gradient(180deg,#bd8a2445,#ad7c1514 69%,transparent); }
.mx-hero-refresh h1 > span { color:#f2d27c; text-shadow:0 0 45px #e0b44920; }
.mx-hero-refresh .mx-hero-description { color:#bbb09b; }
.mx-hero-refresh .mx-hero-free { color:#a99d87; }
.mx-hero-refresh .mx-hero-image { filter:drop-shadow(0 12px 35px #0007); }
.mx-hero-refresh .mx-hero-tags { color:#f8ecd3; }
.mx-hero-tags > span::before { background:#e0b449; }
.mx-hero-spark { color:#e0b449; }
.mx-hero-refresh .mx-button { box-shadow:inset 0 1px 0 #fff6ce88,0 6px 28px #c89a272f; }
.mx-device-scene { filter:saturate(.82); }
.mx-game-ticket { border-color:#8b7136; background:linear-gradient(150deg,#352a15,#17140e); box-shadow:inset 0 1px 0 #f9d77d1c,0 9px 18px #0004; }
.mx-game-ticket:hover { border-color:#e0b449; background:linear-gradient(150deg,#57421d,#241d10); }
.mx-ticket-art, .mx-ticket-app .mx-ticket-art, .mx-ticket-survey .mx-ticket-art, .mx-ticket-offer .mx-ticket-art {
    border-color:#d6ae4c; color:#fff2c9; background:linear-gradient(140deg,#d4a83e,#72501a);
}
.mx-game-ticket > small { background:#e0b449; color:#251a08; }
.mx-ticket-action { background:#f6e3ac; color:#30220c; }
.mx-auth-page { background-color:#0c0b09; }
.mx-auth-shell { background:rgba(12,10,7,.72); }
.mx-auth-card { border-color:#40331b; border-top:2px solid #e0b449; border-radius:22px; background:linear-gradient(160deg,#1b1710,#0f0e0b 65%); box-shadow:0 26px 80px #0009,0 0 65px #c7961a08; }
.mx-auth-top { min-height:104px; align-items:flex-start; }
.mx-auth-brand { flex:1; justify-content:center; padding-left:28px; }
.mx-auth-brand .ef-brand-logo { width:148px; height:108px; }
.mx-auth-close { margin-top:5px; background:#292318; color:#cbbd9d; }
.mx-auth-close:hover { color:#f4d37c; background:#3a301d; }
.mx-auth-heading { margin-top:16px; }
.mx-auth-input { background:#1c1811; color:#faf7ef; border-color:#393022; }
.mx-auth-input::placeholder { color:#aaa08c; }
.mx-auth-input:focus { border-color:#e0b449; box-shadow:0 0 0 3px #e0b44914; }
.mx-auth-input:-webkit-autofill { box-shadow:0 0 0 100px #1c1811 inset; -webkit-text-fill-color:#faf7ef; }
.mx-auth-page a.mx-auth-link { color:#eed087; }
.mx-auth-password-toggle:hover, .mx-auth-password-toggle[aria-pressed="true"] { color:#e0b449; }
.mx-auth-google { border-color:#463a25; background:#211c13; color:#f6efdf; }
.mx-auth-google:hover { border-color:#c8a24d; background:#302718; }
.mx-spotlight { border-color:#6e5524; border-left-color:#e0b449; background:radial-gradient(ellipse at 95% 60%,#7b5b202e,transparent 52%),linear-gradient(120deg,#1e1a11,#302515 60%,#18150f); }
.mx-spotlight-copy > p { color:#c2b59c; }
.mx-spotlight-kicker { color:#ebcb78; }
.mx-spotlight-decoration { color:#e0b449; }
.mx-reward-cube { border-color:#f0d27f; background:var(--ef-metal); color:#47310c; box-shadow:0 12px 0 #624716,0 0 65px #c7a04330; }
.mx-spotlight-with-art::before { background:linear-gradient(90deg,#120f09f0,#120f09c7 45%,#120f091f); }
.mx-spotlight-lock { color:#c3b492; background:#2a2215; }
/* Static replacement for the retired company marquee. */
.ef-reward-invite {
    position:relative; isolation:isolate; display:flex; gap:36px; align-items:center;
    width:calc(100% - 76px); max-width:1296px !important; min-height:226px; margin:24px auto 28px; padding:30px 44px;
    border:1px solid #675027; border-radius:22px; background:radial-gradient(ellipse at 10% 20%,#91651e28,transparent 50%),linear-gradient(120deg,#242015,#14120d 80%);
    box-shadow:inset 0 1px 0 #e8c87918,0 18px 45px #0003; overflow:hidden;
}
.ef-reward-invite::before { content:''; position:absolute; z-index:-1; width:320px; height:320px; left:-124px; top:-120px; border:1px solid #c69b3d25; border-radius:50%; box-shadow:0 0 0 32px #c69b3d06,0 0 0 64px #c69b3d05; }
.ef-invite-emblem { flex:0 0 170px; display:grid; place-items:center; min-height:140px; border-right:1px solid #6e572e66; }
.ef-invite-emblem > img { display:block; width:142px; height:116px; object-fit:contain; }
.ef-invite-copy { flex:1; min-width:0; }
.ef-invite-copy .mx-label { margin:0 0 11px; color:#d1ab59; font-size:9px; letter-spacing:2px; }
.ef-invite-copy h2 { margin:0; font-size:31px; line-height:1.13; font-weight:850; letter-spacing:-1px; }
.ef-invite-copy h2 br { display:none; }
.ef-invite-copy > p:not(.mx-label) { margin:11px 0 0; color:#afa38d; font-size:12px; line-height:1.7; }
.ef-invite-perks { display:flex; flex-wrap:wrap; gap:9px 24px; margin-top:20px; color:#d1c3a6; font-size:10px; }
.ef-invite-perks > span { display:flex; align-items:center; gap:7px; }
.ef-invite-perks svg { width:15px; height:15px; color:#e0b449; }
.ef-invite-link { flex:0 0 58px; display:grid; place-items:center; width:58px; height:58px; border:1px solid #edca6d; border-radius:50%; color:#211806; background:var(--ef-metal); transition:transform .2s; }
.ef-invite-link svg { width:23px; height:23px; }
.ef-invite-link:hover { transform:translateX(3px); }
/* Tall partner cards preserve the real provider order, logos, bonuses and lock state. */
.offers-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:18px; align-items:stretch; }
.offers-grid > .partner-card {
    height:286px; min-width:0; padding:40px 18px 20px; gap:18px; border:1px solid #66502a; border-radius:20px;
    background:linear-gradient(155deg,#a8863b14,transparent 43%),var(--mx-company-surface,#18150f);
    box-shadow:inset 0 1px 0 #e7c87320,0 9px 27px #0004;
}
.offers-grid > .partner-card::before { opacity:.42; padding:1px; background:linear-gradient(135deg,#f6da8c,#665021 35%,transparent 65%); }
.offers-grid > .partner-card::after { background:radial-gradient(ellipse at 50% -20%,#e0b44915,transparent 70%); }
.offers-grid > .partner-card:hover { border-color:#ddb85e; box-shadow:inset 0 1px 0 #e7c87333,0 12px 30px #d9a32317; }
.offers-grid > .partner-card .partner-logo-container { height:121px; }
.offers-grid > .partner-card .partner-logo { width:100%; height:100%; object-fit:contain; background:none; padding:0; }
.offers-grid > .partner-card .partner-card-body { width:100%; gap:9px; }
.offers-grid > .partner-card .partner-name { font-size:15px; color:#f7ecd1; font-weight:700; }
.offers-grid > .partner-card .partner-stars { color:#e2bb57; }
.offers-grid > .partner-card .partner-badges { top:13px; right:12px; }
.offers-grid > .partner-card .partner-badge { background:linear-gradient(120deg,#d9ad43,#f9df91); color:#221909; box-shadow:0 0 14px #d9ad4326; }
.offers-grid > .partner-card .partner-card-body::after { content:'Explore offers  ↗'; display:block; width:100%; margin-top:7px; padding-top:13px; border-top:1px solid #69552955; color:#d4b56c; font-size:10px; font-weight:650; letter-spacing:.3px; }
.offers-grid > .partner-card.locked .partner-card-body::after { content:'Unlock to explore'; }
.offers-grid > .partner-card .partner-lock-wrap { background:rgba(12,10,7,.87); }
.offers-grid > .partner-card .partner-lock-wrap i { color:#edce7c; }
/* Bootstrap-based administration uses the same brand, with status errors kept legible. */
.mx-admin {
    --bs-body-bg:#0c0b09; --bs-body-color:#f7f0e0; --bs-primary:#e0b449; --bs-primary-rgb:224,180,73;
    --bs-link-color:#efd087; --bs-link-hover-color:#fff0b9; --bs-border-color:#393122;
    --bs-info:#c9ad70; --bs-info-rgb:201,173,112; --bs-success:#c7a34b; --bs-success-rgb:199,163,75;
    background:#0c0b09; color:#f7f0e0;
}
.mx-admin .admin-sidebar { background:linear-gradient(180deg,#17140e,#100e0a); }
.mx-admin .sidebar-brand { min-height:147px; padding:16px 20px 18px; justify-content:center; position:relative; }
.ef-admin-brand { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; text-decoration:none; }
.ef-admin-brand .ef-brand-logo { width:144px; height:106px; }
.ef-admin-brand .brand-badge { margin-top:1px; color:#c9a45a; font-size:9px; letter-spacing:2px; }
.mx-admin .sidebar-brand .sidebar-close { position:absolute; right:12px; top:12px; }
.mx-admin .nav-item.active { color:#f0ce7a; background:linear-gradient(135deg,#dcb54d26,#dcb54d0c); }
.mx-admin .page-header h1 i { background:var(--ef-metal); background-clip:text; -webkit-background-clip:text; }
.mx-admin .btn-primary { --bs-btn-bg:#e0b449; --bs-btn-color:#191307; --bs-btn-hover-color:#191307; --bs-btn-border-color:#edca6d; }
.mx-admin .btn-outline-primary { --bs-btn-color:#e0b449; --bs-btn-border-color:#8c6d32; --bs-btn-hover-bg:#e0b449; --bs-btn-hover-color:#191307; --bs-btn-hover-border-color:#e0b449; }
.mx-admin .form-control:focus, .mx-admin .form-select:focus { border-color:#dcb54d; box-shadow:0 0 0 3px #dcb54d17; }
.mx-admin .form-check-input { accent-color:#e0b449; }
.mx-admin .form-check-input:checked { background-color:#b68c30; border-color:#edca6d; }
.mx-admin .stat-icon.blue, .mx-admin .stat-icon.purple, .mx-admin .stat-icon.primary, .mx-admin .badge-info, .mx-admin .badge-purple, .mx-admin .badge-success { background:#c9a14c1f; color:#e9ca83; }
.mx-admin .pagination { --bs-pagination-active-bg:#b58a2c; --bs-pagination-active-border-color:#dfb654; --bs-pagination-color:#e4c986; --bs-pagination-hover-color:#fff0b9; --bs-pagination-focus-box-shadow:0 0 0 .25rem #e0b44922; }
.mx-admin .settings-nav-pill.active { background:linear-gradient(135deg,#e0b44926,#e0b4490d); }
.mx-admin .settings-card-icon { color:#e0b449 !important; background:#e0b44917 !important; }
.mx-admin .nav-pills .nav-link.active { background:linear-gradient(135deg,#9e772b,#e0b449) !important; color:#1c1507 !important; border-color:#e0b449; }
.mx-admin .profit-preview { background:linear-gradient(135deg,#e0b4491a,#e0b4490d); border-color:#e0b44933; }
.mx-admin .profit-preview .value { color:#e0b449; }
@media(max-width:900px) {
    .mx-landing .mx-header-inner { min-height:92px; }
    .ef-reward-invite { gap:22px; padding:27px; }
    .ef-invite-emblem { flex-basis:120px; }
    .ef-invite-emblem > img { width:107px; height:86px; }
    .ef-invite-copy h2 { font-size:26px; }
    .ef-invite-copy h2 br { display:initial; }
    .ef-invite-link { flex-basis:48px; width:48px; height:48px; }
}
@media(max-width:640px) {
    .mx-landing .mx-header-inner { min-height:84px; gap:12px; }
    .mx-brand .ef-brand-logo { width:98px; height:73px; }
    .mx-footer .ef-brand-logo { width:116px; height:86px; }
    .ef-reward-invite { width:calc(100% - 36px); gap:18px; padding:26px 23px; margin-top:16px; border-radius:18px; }
    .ef-invite-emblem { display:none; }
    .ef-invite-copy h2 { font-size:27px; }
    .ef-invite-copy > p:not(.mx-label) { font-size:11px; }
    .ef-invite-perks { gap:10px 15px; font-size:9px; }
    .ef-invite-link { flex-basis:43px; width:43px; height:43px; }
    .offers-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .offers-grid > .partner-card { height:250px; padding:39px 13px 18px; gap:15px; border-radius:17px; }
    .offers-grid > .partner-card .partner-logo-container { height:104px; }
    .offers-grid > .partner-card .partner-name { font-size:13px; }
    .offers-grid > .partner-card .partner-card-body::after { font-size:9px; padding-top:12px; }
    .mx-auth-card { padding:22px 23px 25px; }
    .mx-auth-brand .ef-brand-logo { width:142px; height:104px; }
}
@media(prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
    .ef-invite-link { transition:none; }
    .ef-invite-link:hover { transform:none; }
}
