:root{--app-bg:#06150f;--app-jungle:#0b2a1d;--app-green:#70c126;--app-green-dark:#176b2a;--app-orange:#ff9f0a;--app-yellow:#ffc83d;--app-cream:#fff6df;--app-ink:#1b211d;--app-muted:#6d756f;--app-line:#d9cfb6;--app-radius:18px;--app-shadow:0 8px 22px rgba(0,0,0,.20)}
*{box-sizing:border-box}html,body{margin:0;padding:0;background:#06150f;font-family:Arial,Helvetica,sans-serif;color:#fff}body{min-width:320px}.app-shell{width:100%;max-width:520px;margin:0 auto;min-height:100vh;background:radial-gradient(circle at 15% 10%,rgba(38,116,55,.42),transparent 28%),linear-gradient(180deg,#071c13,#092117 40%,#06140f);position:relative;overflow:hidden}.app-main{padding-bottom:88px}a{color:inherit;text-decoration:none}button,input{font:inherit}.app-main:before,.app-main:after{content:"";position:fixed;pointer-events:none;z-index:0;width:140px;height:140px;border-radius:50%;filter:blur(2px);opacity:.08;background:radial-gradient(circle,#83d631 0 18%,transparent 20% 100%)}.app-main:before{left:-60px;top:180px}.app-main:after{right:-50px;bottom:140px}.app-main>*{position:relative;z-index:1}

/* Header frogs + leaves decorative assets */
header {
    position: relative;
    overflow: hidden;
}

.app-header__frog-wrap,
.app-header__leaf-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
}

.app-header__frog-wrap {
    left: 8px;
    width: 86px;
    justify-content: flex-start;
}

.app-header__leaf-wrap {
    right: 0;
    width: 88px;
    justify-content: flex-end;
}

.app-header__frog-art {
    display: block;
    width: 74px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.28));
}

.app-header__leaf-art {
    display: block;
    width: 88px;
    height: auto;
    object-fit: contain;
    opacity: .92;
}

.app-header__brand--decorated,
.app-header__brand,
.app-brand,
.app-logo {
    position: relative;
    z-index: 2;
}

@media (max-width: 380px) {
    .app-header__frog-wrap { width: 68px; left: 4px; }
    .app-header__frog-art { width: 58px; }
    .app-header__leaf-wrap { width: 70px; }
    .app-header__leaf-art { width: 70px; }
}

@media (min-width: 430px) {
    .app-header__frog-wrap { width: 98px; left: 10px; }
    .app-header__frog-art { width: 84px; }
    .app-header__leaf-wrap { width: 96px; }
    .app-header__leaf-art { width: 96px; }
}

/* Remove legacy header leaf decorations; keep new image asset only */
.app-header__decor,
.app-header__leaf-cluster,
.app-header::before,
.app-header::after,
header::before,
header::after {
    display: none !important;
    content: none !important;
}

/* Keep the new right-side leaf artwork visible */
.app-header__leaf-wrap {
    display: flex !important;
}

/* ==========================================================
   Frog header refinement v2
   Clearer image + centered brand + readable tagline
   ========================================================== */

.app-header,
header.app-header {
    position: relative !important;
    min-height: 96px !important;
    height: 96px !important;
    overflow: hidden !important;

    background-image:
        linear-gradient(
            90deg,
            rgba(0,18,10,.10) 0%,
            rgba(0,18,10,.20) 26%,
            rgba(0,18,10,.54) 48%,
            rgba(0,18,10,.58) 70%,
            rgba(0,18,10,.38) 100%
        ),
        url('../images/app_header_hero_frogs.png') !important;

    background-size: cover !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
}

/* Do not show the old separate decorations */
.app-header__frog-wrap,
.app-header__leaf-wrap,
.app-header__decor,
.app-header__leaf-cluster {
    display: none !important;
}

/* Kill old pseudo decorations too */
.app-header::before,
.app-header::after {
    display: none !important;
    content: none !important;
}

/* Brand block: truly centered over the photo */
.app-header__brand,
.app-header__brand--decorated,
.app-brand,
.app-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: 58% !important;
    max-width: 275px !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    z-index: 5 !important;
}

/* Main ExoPetBayan wordmark */
.app-header__brand > span:first-child,
.app-header__brand-title,
.app-brand__title,
.app-logo-title,
.app-header__brand h1,
.app-brand h1,
.app-logo h1 {
    margin: 0 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: -.5px !important;
    white-space: nowrap !important;
    text-shadow: 0 2px 4px rgba(0,0,0,.55) !important;
}

/* Tagline under the wordmark */
.app-header__tagline,
.app-header__brand small,
.app-brand small,
.app-logo small {
    display: block !important;
    width: 100% !important;
    margin-top: 5px !important;

    color: rgba(255,248,228,.92) !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    letter-spacing: .8px !important;
    white-space: nowrap !important;

    text-align: center !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.72) !important;
}

/* Narrow phones */
@media (max-width: 390px) {
    .app-header,
    header.app-header {
        min-height: 90px !important;
        height: 90px !important;
        background-position: 8% center !important;
    }

    .app-header__brand,
    .app-header__brand--decorated,
    .app-brand,
    .app-logo {
        width: 60% !important;
        max-width: 235px !important;
        left: 57% !important;
    }

    .app-header__brand > span:first-child,
    .app-header__brand-title,
    .app-brand__title,
    .app-logo-title,
    .app-header__brand h1,
    .app-brand h1,
    .app-logo h1 {
        font-size: 24px !important;
    }

    .app-header__tagline,
    .app-header__brand small,
    .app-brand small,
    .app-logo small {
        font-size: 7px !important;
        letter-spacing: .55px !important;
    }
}

/* Keep ExoPetBayan on one line */
.app-header__brand,
.app-header__brand--decorated,
.app-brand,
.app-logo {
    width: auto !important;
    max-width: none !important;
    min-width: max-content !important;
}

.app-header__brand > span:first-child,
.app-header__brand-title,
.app-brand__title,
.app-logo-title,
.app-header__brand h1,
.app-brand h1,
.app-logo h1 {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Give the centered logo a little more breathing room on small phones */
@media (max-width: 390px) {
    .app-header__brand,
    .app-header__brand--decorated,
    .app-brand,
    .app-logo {
        left: 58% !important;
    }

    .app-header__brand > span:first-child,
    .app-header__brand-title,
    .app-brand__title,
    .app-logo-title,
    .app-header__brand h1,
    .app-brand h1,
    .app-logo h1 {
        font-size: 22px !important;
    }
}

/* Fix ExoPet + Bayan splitting onto separate lines */
.app-header__brand,
.app-header__brand--decorated,
.app-brand,
.app-logo {
    display: block !important;
    white-space: nowrap !important;
}

/* Keep the wordmark pieces on the same line */
.app-header__brand > span,
.app-header__brand > b,
.app-header__brand > strong,
.app-brand > span,
.app-brand > b,
.app-brand > strong,
.app-logo > span,
.app-logo > b,
.app-logo > strong {
    display: inline !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
}

/* Tagline stays on its own line underneath */
.app-header__brand > small,
.app-header__tagline,
.app-brand > small,
.app-logo > small {
    display: block !important;
    white-space: nowrap !important;
    margin-top: 5px !important;
    text-align: center !important;
}

/* Keep ExoPet and Bayan identical in font size */
.app-header__brand > span,
.app-header__brand > b,
.app-header__brand > strong,
.app-brand > span,
.app-brand > b,
.app-brand > strong,
.app-logo > span,
.app-logo > b,
.app-logo > strong {
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    vertical-align: baseline !important;
}

/* Slightly smaller on narrow phones, but still identical */
@media (max-width: 390px) {
    .app-header__brand > span,
    .app-header__brand > b,
    .app-header__brand > strong,
    .app-brand > span,
    .app-brand > b,
    .app-brand > strong,
    .app-logo > span,
    .app-logo > b,
    .app-logo > strong {
        font-size: 22px !important;
    }
}

/* Consistent larger ExoPetBayan wordmark + tagline */
.app-header__brand > span,
.app-header__brand > b,
.app-header__brand > strong,
.app-brand > span,
.app-brand > b,
.app-brand > strong,
.app-logo > span,
.app-logo > b,
.app-logo > strong {
    display: inline !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
}

/* Tagline */
.app-header__brand > small,
.app-header__tagline,
.app-brand > small,
.app-logo > small {
    display: block !important;
    margin-top: 5px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    letter-spacing: .7px !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* Narrow phones: still larger than before, and both parts identical */
@media (max-width: 390px) {
    .app-header__brand > span,
    .app-header__brand > b,
    .app-header__brand > strong,
    .app-brand > span,
    .app-brand > b,
    .app-brand > strong,
    .app-logo > span,
    .app-logo > b,
    .app-logo > strong {
        font-size: 25px !important;
    }

    .app-header__brand > small,
    .app-header__tagline,
    .app-brand > small,
    .app-logo > small {
        font-size: 8px !important;
        letter-spacing: .55px !important;
    }
}

/* Small desktop / narrow browser widths:
   override any old selectors that made Bayan smaller */
@media (min-width: 391px) and (max-width: 700px) {
    .app-header__brand > span,
    .app-header__brand > b,
    .app-header__brand > strong,
    .app-brand > span,
    .app-brand > b,
    .app-brand > strong,
    .app-logo > span,
    .app-logo > b,
    .app-logo > strong {
        font-size: 28px !important;
    }

    .app-header__brand > small,
    .app-header__tagline,
    .app-brand > small,
    .app-logo > small {
        font-size: 9px !important;
    }
}

/* One size bigger ExoPetBayan wordmark */
.app-header__brand > span,
.app-header__brand > b,
.app-header__brand > strong,
.app-brand > span,
.app-brand > b,
.app-brand > strong,
.app-logo > span,
.app-logo > b,
.app-logo > strong {
    font-size: 30px !important;
}

/* Mobile: one step larger than before */
@media (max-width: 390px) {
    .app-header__brand > span,
    .app-header__brand > b,
    .app-header__brand > strong,
    .app-brand > span,
    .app-brand > b,
    .app-brand > strong,
    .app-logo > span,
    .app-logo > b,
    .app-logo > strong {
        font-size: 27px !important;
    }
}
