@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ac: #b88567;
    --acl: #d4b090;
    --bg: #000;
    --c2: #181818;
    --bdr: rgba(184, 133, 103, 0.22);
}

html, body {
    background: var(--bg);
    font-family: 'Poppins', sans-serif;
    color: #fff;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
}

.screen {
    display: none;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 82px;
    animation: fi .22s ease;
}

.screen.active {
    display: flex;
}

@keyframes fi {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* Header */
.hdr {
    background: #000;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--bdr);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo-txt {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
}

.logo-txt span {
    color: var(--ac);
    font-style: italic;
    font-weight: 800;
}

.back-hdr {
    background: #000;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--bdr);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.back-title {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 290px;
}

/* Cards */
.cards {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0 13px;
    margin-top: 12px;
}

.icard {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, filter .2s;
}

.icard img {
    width: 100%;
    display: block;
}

.icard:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 0 2px rgba(184,133,103,.5);
    filter: brightness(1.1);
}

.icard:active {
    transform: scale(.97);
    filter: brightness(.95);
}

/* Bonus section */
.bonus-wrap {
    margin: 8px 13px;
    background: rgba(184,133,103,.07);
    border: 1px solid rgba(184,133,103,.18);
    border-radius: 16px;
    padding: 14px 13px;
}

.bonus-hdr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bonus-hdr span {
    font-size: 15px;
    font-weight: 800;
    color: var(--acl);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nav */
.nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(0,0,0,.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--bdr);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 18px;
    z-index: 200;
}

.ni {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    opacity: .65;
    transition: opacity .2s;
    min-width: 60px;
}

.ni.on {
    opacity: 1;
}

.ni.on .nl {
    color: var(--acl);
}

.ni.on svg {
    stroke: var(--acl) !important;
}

.ni svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255,255,255,.75);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nl {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
}

/* Video */
.vwrap {
    margin: 13px;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,.06);
}

.vwrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.prog {
    margin: 0 13px 5px;
    height: 3px;
    background: rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
}

.prog-f {
    height: 100%;
    background: linear-gradient(90deg, var(--ac), var(--acl));
    border-radius: 10px;
    width: 100%;
}

.lbody {
    padding: 4px 13px 10px;
}

.ltitle {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.25;
}

/* Buttons */
.btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: calc(100% - 26px);
    margin: 10px 13px 0;
    background: var(--ac);
    color: #fff;
    border: none;
    border-radius: 13px;
    padding: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.btn-main:hover {
    filter: brightness(1.1);
}

.btn-recipe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: calc(100% - 26px);
    margin: 10px 13px 0;
    background: var(--ac);
    color: #fff;
    border: none;
    border-radius: 13px;
    padding: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(184,133,103,.35);
}

.btn-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(184,133,103,.3);
    color: var(--acl);
    border-radius: 11px;
    padding: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    margin-top: 12px;
}

.bbonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 10px;
    color: #fff;
}

.bbonus:hover {
    filter: brightness(1.1);
}

.bb1 { background: var(--ac); }
.bb2 { background: #8a6545; }
.bb3 { background: #6b4e37; }

/* 7X selector */
.lsel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 13px;
}

.lsel-t {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: rgba(255,255,255,.55);
    margin-bottom: 4px;
}

.lsel-btn {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    border-radius: 12px;
    padding: 13px 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}

.lsel-btn.on {
    background: var(--ac);
    border-color: var(--ac);
}

/* PDF embed */
.pdf-wrap {
    margin: 13px;
    background: var(--c2);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
}

.pdf-wrap iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.bsec {
    padding: 0 13px;
    margin-top: 8px;
}

.bsec-t {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
}

/* Drive bonus */
#drivebonus {
    padding-bottom: 20px;
}

.drive-wrap {
    flex: 1;
    margin: 12px 13px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    min-height: 80vh;
}

.drive-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    border: none;
}

/* Recipe form */
.rform {
    margin: 12px 14px;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.08);
}

.rform-g {
    margin-bottom: 12px;
}

.rform-l {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    margin-bottom: 5px;
    display: block;
}

.rform-i {
    background: #111;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    width: 100%;
    outline: none;
}

.rform-i:focus {
    border-color: var(--ac);
}

select.rform-i {
    -webkit-appearance: none;
}

.rgen {
    background: var(--ac);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: 4px;
}

/* Recipe result */
.rr {
    display: none;
    margin: 0 14px 12px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.rr.show {
    display: block;
}

.rr-hdr {
    background: linear-gradient(135deg, #6b3d1a, #b88567);
    padding: 14px 16px;
}

.rr-hdr h4 {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.rr-hdr p {
    font-size: 10px;
    color: rgba(255,255,255,.7);
    margin-top: 2px;
}

.rr-body {
    padding: 14px 15px;
}

.rr-sec {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
    color: #222;
}

.rr-div {
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: 12px 0;
}

.rr-tbl {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

.rr-tbl td {
    padding: 7px 4px;
    font-size: 11px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    color: #333;
}

.rr-tbl td:last-child {
    font-weight: 700;
    color: #8a5520;
    text-align: right;
}

.rr-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 10px 0;
}

.rr-steps li {
    font-size: 11px;
    color: #444;
    line-height: 1.55;
    display: flex;
    gap: 8px;
}

.snum {
    background: var(--ac);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.phase {
    border-radius: 10px;
    padding: 10px 13px;
    margin-bottom: 7px;
    border-left: 3px solid var(--ac);
    background: rgba(184,133,103,.08);
}

.phase b {
    font-size: 11px;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
    color: #222;
}

.phase p {
    font-size: 10px;
    color: #555;
}

.scard {
    background: rgba(184,133,103,.08);
    border: 1px solid rgba(184,133,103,.25);
    border-radius: 10px;
    padding: 10px 13px;
    margin-bottom: 7px;
}

.scard b {
    font-size: 11px;
    color: #8a5520;
    display: block;
    margin-bottom: 3px;
}

.scard p {
    font-size: 10px;
    color: #555;
}

.warn {
    font-size: 9.5px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
    line-height: 1.6;
}

/* Continue watching */
.cw-card {
    margin: 0 14px;
    background: var(--c2);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
}

.cw-lbl {
    font-size: 12px;
    font-weight: 700;
    padding: 14px;
    color: rgba(255,255,255,.55);
}

.cw-vid {
    margin: 0 14px 14px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #111;
}

.cw-vid iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.cw-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px 14px;
}

.cw-num {
    font-size: 12px;
    color: rgba(255,255,255,.38);
}

.cw-btn {
    background: var(--ac);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

/* Settings */
.set-sec {
    margin: 0 14px 10px;
    background: var(--c2);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
}

.set-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    cursor: pointer;
}

.set-item:last-child {
    border-bottom: none;
}

.set-item:hover {
    background: rgba(255,255,255,.03);
}

.sico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}

.si-b { background: rgba(59,130,246,.15); }
.si-t { background: rgba(20,184,166,.15); }
.si-r { background: rgba(184,133,103,.15); }

.stxt {
    flex: 1;
}

.stxt b {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.stxt span {
    font-size: 11px;
    color: rgba(255,255,255,.38);
}

.sarr {
    color: rgba(255,255,255,.15);
    font-size: 15px;
}

.so-sec {
    margin: 0 14px 10px;
    background: rgba(184,133,103,.07);
    border-radius: 14px;
    border: 1px solid rgba(184,133,103,.15);
}

/* Inner screens */
.inner {
    margin: 13px 14px;
    background: var(--c2);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
}

.inner-h {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    display: flex;
    align-items: center;
    gap: 9px;
}

.inner-h b {
    font-size: 13px;
    font-weight: 700;
}

.inner-b {
    padding: 13px 15px;
}

.inner-b p {
    font-size: 11.5px;
    color: rgba(255,255,255,.52);
    line-height: 1.65;
    margin-bottom: 8px;
}

.blist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.blist li {
    font-size: 11px;
    color: rgba(255,255,255,.52);
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.5;
}

.bdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ac);
    flex-shrink: 0;
    margin-top: 4px;
}

.cbox {
    margin: 0 14px 14px;
    background: rgba(184,133,103,.08);
    border: 1px solid rgba(184,133,103,.18);
    border-radius: 14px;
    padding: 16px;
}

.cbox h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--acl);
}

.cbox p {
    font-size: 11px;
    color: rgba(255,255,255,.42);
    margin-bottom: 10px;
}

.cbox a {
    color: var(--acl);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.scard2 {
    margin: 0 14px 10px;
    border-radius: 14px;
    overflow: hidden;
}

.sc-gold {
    background: linear-gradient(135deg, #6b3d1a, #b88567);
}

.sc-dark {
    background: var(--c2);
    border: 1px solid rgba(255,255,255,.06);
}

.sc-in {
    padding: 16px;
}

.sc-in h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.sc-in p {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    margin-bottom: 12px;
}

.sa-btn {
    background: rgba(255,255,255,.18);
    border: none;
    color: #fff;
    border-radius: 9px;
    padding: 9px 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.clbl {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 12px 15px 7px;
}

.qa {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.qa:last-child {
    border-bottom: none;
}

.qa-q {
    font-size: 12px;
    font-weight: 700;
    color: var(--acl);
    margin-bottom: 4px;
}

.qa-a {
    font-size: 11px;
    color: rgba(255,255,255,.48);
    line-height: 1.5;
}

/* Modal */
.moverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    z-index: 500;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.moverlay.open {
    display: flex;
}

.modal {
    background: #111;
    border-radius: 22px 22px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 20px 18px 30px;
    border-top: 2px solid var(--ac);
}

.m-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.m-hdr h3 {
    font-size: 17px;
    font-weight: 800;
}

.m-close {
    background: rgba(255,255,255,.07);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fg {
    margin-bottom: 13px;
}

.fl {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    margin-bottom: 5px;
    display: block;
}

.fi {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 11px 13px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    width: 100%;
    outline: none;
}

.fi:focus {
    border-color: var(--ac);
}

select.fi {
    -webkit-appearance: none;
}

.rg {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ro {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    background: rgba(255,255,255,.04);
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.07);
}

.ro.sel {
    border-color: var(--ac);
    background: rgba(184,133,103,.08);
}

.rc {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.22);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ro.sel .rc {
    border-color: var(--ac);
    background: var(--ac);
}

.rdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.rl {
    font-size: 11.5px;
    color: rgba(255,255,255,.75);
}

.m-btns {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.m-cancel {
    flex: 1;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    border-radius: 12px;
    padding: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.m-ok {
    flex: 2;
    background: var(--ac);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.footer {
    text-align: center;
    padding: 12px 16px 8px;
    font-size: 10px;
    color: #777;
    font-style: italic;
}

@media (min-width: 600px) {
    html, body, .nav {
        max-width: 480px;
        margin: 0 auto;
    }
    .nav {
        left: 50%;
        transform: translateX(-50%);
    }
}