@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --banana-blue-950: #020d20;
  --banana-blue-900: #041a35;
  --banana-blue-800: #07335a;
  --banana-cyan: #36d6ff;
  --banana-cyan-soft: #9beeff;
  --banana-yellow: #ffd52e;
  --banana-yellow-dark: #bc7d0c;
  --banana-text: #f4fbff;
  --banana-muted: #a8c4d8;
  --banana-line: rgba(111, 221, 255, .32);
  --banana-shadow: rgba(0, 7, 22, .58);
}

.banana-front, .banana-front *, .banana-front__modal, .banana-front__modal * { box-sizing: border-box; }
.banana-front-body { margin: 0; background: var(--banana-blue-950); }
.banana-front, .banana-front__modal { color: var(--banana-text); font-family: Inter, sans-serif; }
.banana-front :where(button, input) { font-family: inherit; }
.banana-front button, .banana-front a { -webkit-tap-highlight-color: transparent; }
.banana-front a:not([class*="button"]):not(.banana-front__portal-play) { color: inherit; }

.banana-front-body { min-height: 100vh; overflow-x: hidden; }
.banana-front {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 18px clamp(18px, 5vw, 76px) 26px;
  background:
    linear-gradient(90deg, rgba(2, 13, 32, .92), rgba(2, 18, 42, .58) 50%, rgba(2, 13, 32, .92)),
    linear-gradient(180deg, rgba(3, 36, 70, .22), rgba(2, 13, 32, .98)),
    url('/games/banana-rush/minions-rush/assets/video/laboratory-intro-poster.jpg') center 30% / cover fixed no-repeat;
}
.banana-front::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 0 45%, rgba(2, 10, 25, .92) 92%); pointer-events: none; }
.banana-front__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(20px); pointer-events: none; opacity: .55; }
.banana-front__glow--one { top: -180px; left: 10%; width: 480px; height: 480px; background: rgba(20, 160, 255, .22); }
.banana-front__glow--two { right: 6%; top: 35%; width: 360px; height: 360px; background: rgba(255, 205, 31, .13); }

.banana-front__nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1240px, 100%); margin: 0 auto; }
.banana-front__brand { display: block; width: 118px; }
.banana-front__brand img { display: block; width: 100%; height: auto; }
.banana-front__nav-actions { display: flex; align-items: center; gap: 12px; }
.banana-front__balance-pill, .banana-front__nav-link, .banana-front__nav-cta { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 8px 15px; font-size: 12px; text-decoration: none; }
.banana-front__balance-pill { gap: 8px; border: 1px solid var(--banana-line); background: rgba(2, 28, 57, .8); color: var(--banana-muted); }
.banana-front__balance-pill strong { color: var(--banana-yellow); }
.banana-front__nav-link { color: #d6edf8; }
.banana-front__nav-link:hover { color: var(--banana-yellow); }
.banana-front__nav-cta { border: 1px solid var(--banana-yellow); background: var(--banana-yellow); color: #161b10; font-weight: 800; box-shadow: 0 3px 0 var(--banana-yellow-dark); }

.banana-front__hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr); align-items: center; gap: clamp(30px, 8vw, 130px); width: min(1240px, 100%); min-height: 485px; margin: 36px auto 24px; }
.banana-front__copy { max-width: 630px; }
.banana-front__eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--banana-cyan); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.banana-front__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--banana-yellow); box-shadow: 0 0 15px var(--banana-yellow); }
.banana-front h1 { margin: 17px 0 14px; font: 900 clamp(54px, 8vw, 108px) / .87 'Barlow Condensed', sans-serif; letter-spacing: -.025em; text-transform: uppercase; text-shadow: 0 4px 0 #06152c, 0 10px 30px rgba(0, 0, 0, .35); }
.banana-front h1 em { color: var(--banana-yellow); font-style: normal; text-shadow: 0 4px 0 #9b6509, 0 0 24px rgba(255, 213, 46, .23); }
.banana-front__lead { max-width: 500px; margin: 0; color: #d0e5f1; font-size: clamp(15px, 1.8vw, 19px); line-height: 1.55; }
.banana-front__hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.banana-front__button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 0; border-radius: 14px; padding: 13px 24px; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 900; letter-spacing: .04em; text-decoration: none; transition: transform .18s, filter .18s, box-shadow .18s; }
.banana-front__button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.banana-front__button--primary { color: #171b0a; background: linear-gradient(180deg, #fff16a, var(--banana-yellow)); box-shadow: 0 4px 0 var(--banana-yellow-dark), 0 0 25px rgba(255, 214, 47, .22); }
.banana-front__button--ghost { border: 1px solid rgba(116, 221, 255, .5); color: #d9f3ff; background: rgba(4, 40, 72, .7); }
.banana-front__trust-row { display: flex; flex-wrap: wrap; gap: 14px 21px; margin-top: 26px; color: var(--banana-muted); font-size: 11px; }
.banana-front__trust-row b { margin-right: 5px; color: var(--banana-yellow); }


.banana-front.is-logged { min-height: auto; padding-top: 32px; background: radial-gradient(ellipse at top, #0b3659, #020d20 75%); }
.banana-front.is-logged {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 12px 0 0;
}
.banana-front__game-panel { position: relative; z-index: 2; width: 100%; max-width: none; margin: 0 auto; }
.banana-front__game-frame { display: block; width: 100%; height: 880px; border: 0; background: #031b30; }
.banana-front.is-playing { position: fixed; inset: 0; z-index: 2147483000; width: 100%; height: 100vh; height: 100dvh; margin: 0; padding: 0; }
.banana-front.is-playing .banana-front__game-panel { width: 100%; height: 100%; margin: 0; }
.banana-front.is-playing .banana-front__game-frame { height: 100% !important; }
.banana-front.is-playing .banana-front__nav,
.banana-front.is-playing .banana-front__footer { display: none; }
.banana-front__visual { position: relative; display: grid; place-items: center; padding: 30px 12px 45px; }
.banana-front__portal { position: relative; width: min(100%, 390px); aspect-ratio: 1; border: 12px solid #94b6d8; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #206ba3, #053656 75%); box-shadow: 0 0 0 7px #225282, 0 0 0 12px #4477a2, inset 0 0 0 5px #45caff, inset 0 -20px 45px #0085bf, 0 0 70px #09cfff33; }
.banana-front__portal::before { content: ''; position: absolute; bottom: 10%; left: 13%; right: 13%; height: 16%; border-radius: 50%; background: #0c9fc4; box-shadow: 0 0 22px #5ffaff44; }
.banana-front__location { position: absolute; z-index: 2; top: -40px; left: -15px; padding: 10px 16px; border: 3px solid #7edaff; border-radius: 12px; background: #1553a0; font: 700 12px/1.1 'Barlow Condensed', sans-serif; transform: rotate(-5deg); }
.banana-front__location b { font-size: 20px; }
.banana-front__online { position: absolute; z-index: 2; top: 9%; left: 50%; transform: translateX(-50%); padding: 6px 12px; border: 1px solid #8ee5ff; border-radius: 20px; background: #042641; font-size: 10px; font-weight: 800; }
.banana-front__online i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #3cff59; }
.banana-front__mascot { position: absolute; inset: 18% 10% 8%; }
.banana-front__mascot .minions-dave-viewport, .banana-front__mascot canvas { display: block; width: 100%; height: 100%; }
.banana-front a.banana-front__portal-play { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%) rotate(-2deg); padding: 12px 26px; border: 4px solid #b6ff6f; border-radius: 16px; background: linear-gradient(#57ef3f, #1daf21); color: #093810; font: italic 900 30px 'Barlow Condensed', sans-serif; text-decoration: none; white-space: nowrap; box-shadow: 0 5px 0 #17711b; }
@media (max-width: 800px) { .banana-front__portal { width: min(76vw, 310px); } }

.banana-front__console, .banana-front__guest-pitch { position: relative; z-index: 2; width: min(100%, 1040px); margin: 10px auto 28px; border: 1px solid rgba(98, 219, 255, .5); border-radius: 24px; background: linear-gradient(145deg, rgba(5, 47, 76, .9), rgba(3, 22, 45, .92)); box-shadow: inset 0 1px rgba(190, 246, 255, .2), 0 20px 60px var(--banana-shadow); }
.banana-front__console { padding: clamp(20px, 3vw, 32px); }
.banana-front__console-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid rgba(115, 216, 255, .18); }
.banana-front__console-kicker { color: var(--banana-cyan); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.banana-front__console h2 { margin: 7px 0 0; font: 800 clamp(28px, 4vw, 43px) / 1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.banana-front__account-balance { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--banana-muted); font-size: 11px; }
.banana-front__account-balance strong { color: var(--banana-yellow); font: 800 clamp(22px, 3vw, 34px) 'Barlow Condensed', sans-serif; }
.banana-front__bet-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 26px; padding-top: 24px; }
.banana-front__stepper { display: grid; grid-template-columns: 58px minmax(0, 1fr) 58px; gap: 7px; min-height: 78px; }
.banana-front__stepper > button { border: 1px solid var(--banana-line); border-radius: 14px; color: var(--banana-cyan-soft); background: linear-gradient(145deg, #0d5078, #052440); font-size: 34px; cursor: pointer; }
.banana-front__stepper > button:active { transform: translateY(2px); }
.banana-front__stepper label { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; border: 1px solid var(--banana-cyan); border-radius: 16px; background: rgba(1, 18, 37, .85); }
.banana-front__stepper label span { color: var(--banana-cyan); font: 800 28px 'Barlow Condensed', sans-serif; }
.banana-front__stepper input { min-width: 0; width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font: 800 clamp(30px, 5vw, 47px) 'Barlow Condensed', sans-serif; text-align: center; }
.banana-front__suggestions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.banana-front__suggestion { min-height: 45px; border: 1px solid rgba(101, 213, 255, .34); border-radius: 11px; color: #deeff8; background: rgba(10, 58, 91, .8); cursor: pointer; font: 700 14px 'Barlow Condensed', sans-serif; }
.banana-front__suggestion.is-active { border-color: var(--banana-yellow); color: #151a0b; background: var(--banana-yellow); }
.banana-front__button--start { width: 100%; margin-top: 18px; border-radius: 15px; font-size: clamp(21px, 3vw, 29px); color: #162306; background: linear-gradient(#fff16a, #ffd52e); box-shadow: 0 4px 0 #bc7d0c; }
.banana-front__button--start:disabled { opacity: .7; cursor: wait; }
.banana-front__button--start.is-deposit { color: #fff; background: linear-gradient(180deg, #ffba4e, #e56a22); box-shadow: 0 4px 0 #913a15; }
.banana-front__error { margin: 10px 0 0; color: #ffb9a7; font-size: 12px; }
.banana-front__target-card { display: flex; flex-direction: column; justify-content: center; padding: 21px; border: 1px solid rgba(255, 214, 45, .3); border-radius: 17px; background: linear-gradient(145deg, rgba(255, 213, 46, .1), rgba(5, 37, 64, .52)); }
.banana-front__target-card > span { color: var(--banana-muted); font-size: 12px; }
.banana-front__target-card > strong { margin: 6px 0 9px; color: var(--banana-yellow); font: 900 clamp(38px, 5vw, 58px) 'Barlow Condensed', sans-serif; }
.banana-front__target-card > small { color: var(--banana-cyan); font-size: 13px; }
.banana-front__target-card > small b { color: #fff; }
.banana-front__target-card > p { margin: 17px 0 0; color: var(--banana-muted); font-size: 12px; line-height: 1.5; }

.banana-front__guest-pitch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; }
.banana-front__guest-pitch article { min-height: 130px; padding: 22px; background: rgba(4, 29, 53, .72); }
.banana-front__guest-pitch article + article { border-left: 1px solid rgba(119, 220, 255, .2); }
.banana-front__guest-pitch b { display: block; color: var(--banana-yellow); font: 800 26px 'Barlow Condensed', sans-serif; }
.banana-front__guest-pitch strong { display: block; margin-top: 9px; font-size: 14px; }
.banana-front__guest-pitch span { display: block; margin-top: 6px; color: var(--banana-muted); font-size: 12px; line-height: 1.4; }
.banana-front__footer { position: relative; z-index: 2; width: min(1040px, 100%); margin: 0 auto; color: rgba(184, 215, 231, .68); font-size: 11px; text-align: center; }

.banana-front__modal { width: min(420px, calc(100% - 28px)); padding: 0; border: 1px solid var(--banana-cyan); border-radius: 22px; color: var(--banana-text); background: #062442; box-shadow: 0 25px 80px rgba(0, 0, 0, .65); }
.banana-front__modal::backdrop { background: rgba(0, 8, 22, .77); backdrop-filter: blur(5px); }
.banana-front__modal-card { position: relative; padding: 32px 25px 26px; text-align: center; }
.banana-front__modal-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 1px solid rgba(114, 221, 255, .35); border-radius: 50%; color: #d8f5ff; background: transparent; cursor: pointer; font-size: 23px; line-height: 1; }
.banana-front__modal-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 13px; border-radius: 50%; color: #1a1605; background: var(--banana-yellow); font: 900 31px 'Barlow Condensed', sans-serif; }
.banana-front__modal h2 { margin: 0; font: 800 34px 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.banana-front__modal p { margin: 9px 0 23px; color: var(--banana-muted); font-size: 13px; line-height: 1.5; }
.banana-front__modal .banana-front__button { width: 100%; margin-top: 9px; }

@media (max-width: 800px) {
  .banana-front { padding-inline: 14px; background-position: 65% center; }
  .banana-front__nav { padding-inline: 2px; }
  .banana-front__brand { width: 98px; }
  .banana-front__nav-link { padding-inline: 8px; }
  .banana-front__nav-cta { padding-inline: 12px; }
  .banana-front__hero { grid-template-columns: 1fr; gap: 8px; min-height: auto; margin-top: 35px; text-align: center; }
  .banana-front__copy { max-width: 620px; margin: 0 auto; }
  .banana-front__eyebrow { justify-content: center; font-size: 9px; }
  .banana-front h1 { margin-top: 16px; font-size: clamp(55px, 16vw, 84px); }
  .banana-front__lead { margin-inline: auto; font-size: 14px; }
  .banana-front__hero-actions, .banana-front__trust-row { justify-content: center; }
  .banana-front__visual { min-height: 235px; margin-top: -6px; }
  .banana-front__visual-ring { width: min(70vw, 310px); }
  .banana-front__visual-card { width: min(76%, 300px); min-height: 176px; }
  .banana-front__banana-orbit { top: 1%; right: 14%; width: 66px; height: 66px; }
  .banana-front__banana-orbit img { width: 43px; height: 43px; }
  .banana-front__console { margin-top: 8px; }
  .banana-front__console-top { align-items: flex-start; flex-direction: column; }
  .banana-front__account-balance { align-items: flex-start; }
  .banana-front__bet-layout { grid-template-columns: 1fr; }
  .banana-front__target-card { min-height: 145px; }
  .banana-front__guest-pitch { grid-template-columns: 1fr; }
  .banana-front__guest-pitch article { min-height: auto; padding: 16px 20px; text-align: left; }
  .banana-front__guest-pitch article + article { border-top: 1px solid rgba(119, 220, 255, .2); border-left: 0; }
}

@media (max-width: 430px) {
  .banana-front__nav-actions { gap: 4px; }
  .banana-front__balance-pill { padding-inline: 10px; font-size: 10px; }
  .banana-front__nav-link { font-size: 11px; }
  .banana-front__nav-cta { min-height: 36px; padding-inline: 10px; font-size: 11px; }
  .banana-front h1 { font-size: 57px; }
  .banana-front__hero-actions { display: grid; grid-template-columns: 1fr; }
  .banana-front__button { width: 100%; }
  .banana-front__trust-row { gap: 8px 13px; font-size: 10px; }
  .banana-front__stepper { grid-template-columns: 49px minmax(0, 1fr) 49px; min-height: 67px; }
  .banana-front__stepper label span { font-size: 23px; }
  .banana-front__stepper input { font-size: 35px; }
  .banana-front__suggestions { gap: 5px; }
  .banana-front__suggestion { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .banana-front__banana-orbit { animation: none; }
  .banana-front__button { transition: none; }
}
