:root {
    --green: #13a05f;
    --green-dark: #087a46;
    --green-light: #eaf8f0;
    --text: #17251e;
    --muted: #849087;
    --line: #e9eeeb;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-bottom: 80px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* HEADER */

.site-header {
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-left,
.header-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.6px;
}

.brand-mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--green);
    border-radius: 9px;
}

.brand-name span {
    color: var(--green);
}

.header-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f3f7f4;
    color: #24342b;
    cursor: pointer;
}

.header-icon svg {
    width: 20px;
    height: 20px;
}

.menu-wrap {
    position: relative;
}

.menu-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    width: 205px;
    padding: 8px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
    display: none;
}

.menu-dropdown.open {
    display: block;
}

.menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 650;
}

.menu-dropdown a:hover {
    background: var(--green-light);
    color: var(--green-dark);
}

/* BOTTOM NAVIGATION */

.bottom-nav {
    position: fixed;
    z-index: 1100;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: white;
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav a {
    min-width: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #929d95;
    font-size: 11px;
    font-weight: 700;
}

.bottom-nav a svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.2;
}

.bottom-nav a.active {
    color: var(--green);
}

/* MOBILE */

@media (max-width: 600px) {
    .site-header {
        height: 58px;
        padding: 0 15px;
    }

    .bottom-nav {
        height: 64px;
    }
}

/* FONT AWESOME MENU ICONS */

.menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border-radius: 9px;
    color: #26352c;
    font-size: 14px;
    font-weight: 650;
}

.menu-dropdown a i {
    width: 19px;
    text-align: center;
    font-size: 15px;
    color: var(--green);
}

.menu-dropdown a:hover {
    background: var(--green-light);
    color: var(--green-dark);
}

.menu-dropdown a:hover i {
    color: var(--green-dark);
}

/* =========================== */


/* FINJORA FAVOURITE BUTTON */

.finjora-favourite-button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8eeea;
    border-radius: 10px;
    background: #fff;
    color: #87938b;
    font-size: 16px;
    cursor: pointer;
    transition: .2s ease;
}

.finjora-favourite-button:hover {
    background: #fff0f2;
    border-color: #ffd5dc;
    color: #e34e68;
}

.finjora-favourite-button.is-favourite {
    background: #fff0f2;
    border-color: #ffd5dc;
    color: #e34e68;
}

.finjora-favourite-notice {
    position: fixed;
    z-index: 3000;
    left: 50%;
    bottom: 100px;
    transform: translate(-50%, 12px);
    padding: 12px 18px;
    border-radius: 10px;
    background: #17251e;
    color: #fff;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
}

.finjora-favourite-notice.visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

@media (max-width: 600px) {
    .finjora-favourite-button {
        width: 35px;
        height: 35px;
    }
}


/* FINJORA GLOBAL PLAYER - stays above the website navigation */
body {
    padding-bottom: 156px;
}

.bottom-nav {
    position: fixed;
    z-index: 1100;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-sizing: border-box;
    padding: 0 4px env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid var(--line);
    isolation: isolate;
}

.bottom-nav a {
    flex: 1 1 20%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #929d95;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.bottom-nav a svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    stroke-width: 2.2;
}

.bottom-nav a.active { color: var(--green); }

.finjora-global-player {
    position: fixed;
    z-index: 1090;
    left: 50%;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 12px);
    transform: translateX(-50%);
    width: min(760px, calc(100% - 20px));
    min-height: 68px;
    display: none;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 28px rgba(0,0,0,.13);
    box-sizing: border-box;
}

.finjora-global-player.visible { display: flex; }
.finjora-global-cover {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 9px;
    object-fit: cover;
    background: #edf3ef;
}
.finjora-global-info { min-width: 0; flex: 1; }
.finjora-global-title {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.finjora-global-artist {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.finjora-global-progress {
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 7px;
    accent-color: var(--green);
}
.finjora-global-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}
.finjora-global-controls button {
    width: 32px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #526158;
    cursor: pointer;
}
.finjora-global-controls .finjora-global-main {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
}

@media (max-width: 600px) {
    body { padding-bottom: 160px; }

    .bottom-nav {
        height: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .finjora-global-player {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 14px);
        width: calc(100% - 16px);
        gap: 8px;
    }

    .finjora-global-controls { gap: 1px; }
    .finjora-global-controls button { width: 29px; }
}

/* FINJORA LIBRARY NOTIFICATIONS */
.finjora-library-notice {
    position: fixed;
    z-index: 5000;
    left: 50%;
    bottom: 105px;
    transform: translate(-50%, 12px);
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 12px;
    background: #17251e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.finjora-library-notice.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
.finjora-library-notice[data-type="error"] {
    background: #9f2638;
}

/* FINJORA BRAND LOGO */
.brand-logo{display:block;width:242px;height:52px;object-fit:contain;object-position:left center}
.brand{min-width:0}
@media(max-width:600px){.brand-logo{width:226px;height:58px}}
/* PUBLIC INFORMATION FOOTER */
.site-info-footer{max-width:1100px;margin:30px auto 95px;padding:24px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.8}
.site-info-footer .footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.site-info-footer .footer-brand img{width:120px;height:38px;object-fit:contain;object-position:left center}
.site-info-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin:12px 0}
.site-info-links a{color:var(--green-dark);font-weight:650}
.site-info-links a:hover{text-decoration:underline}
.info-page{max-width:900px;margin:30px auto 100px;padding:0 20px;line-height:1.8;color:var(--text)}
.info-page h1{font-size:30px;line-height:1.2;margin-bottom:10px}
.info-page h2{font-size:20px;margin:28px 0 8px}
.info-page p,.info-page li{font-size:15px;color:#526158}
.info-page .updated{font-size:13px;color:var(--muted)}
@media(max-width:600px){.info-page h1{font-size:26px}.info-page p,.info-page li{font-size:14px}}

