:root {
    --black: #070707;
    --gold: #D4AF37;
    --gold2: #f0d878;
    --white: #fff;
    --gray: #aaa;
    --line: rgba(212, 175, 55, .25);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--black); color: var(--white); }
a { color: inherit; text-decoration: none; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: #050505; border-bottom: 1px solid var(--line); }
.topbar nav { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar a { color: var(--gold2); font-weight: bold; }
.container { width: min(1100px, calc(100% - 32px)); margin: 34px auto; }
.grid { display: grid; gap: 16px; }
.panel-card, .box, .login-card, .customer-row, .digital-card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.panel-card p, .box p, .login-card p { color: var(--gray); }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: min(430px, 100%); }
.login-card.wide { width: min(720px, 100%); }
label { display: block; margin: 14px 0 6px; color: var(--gold2); font-weight: bold; }
input, select, textarea { width: 100%; padding: 13px; border-radius: 12px; border: 1px solid var(--line); background: #0b0b0b; color: var(--white); }
textarea { min-height: 90px; }
button, .button-link { display: inline-block; margin-top: 18px; padding: 13px 18px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #111; font-weight: 900; cursor: pointer; }
.inline-form { display: grid; gap: 10px; }
.customer-row { margin-top: 14px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.customer-row a { color: var(--gold2); font-weight: bold; }
.error { background: rgba(255,60,60,.15); border: 1px solid rgba(255,60,60,.35); padding: 12px; border-radius: 12px; margin: 14px 0; }
.success { background: rgba(80,255,150,.12); border: 1px solid rgba(80,255,150,.28); padding: 12px; border-radius: 12px; margin: 14px 0; }
.digital-card { text-align: center; background: radial-gradient(circle at top, rgba(212,175,55,.25), transparent 42%), #0b0b0b; }
@media (min-width: 760px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .inline-form { grid-template-columns: 1fr auto; align-items: end; }
}
body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(212,175,55,.18), transparent 35%),
        #050505;
    color: white;
    font-family: Arial, sans-serif;
}

.layw-app {
    width: min(520px, calc(100% - 28px));
    margin: 30px auto;
}

.layw-card {
    padding: 28px;
    border-radius: 34px;
    background:
        linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
        #090909;
    border: 1px solid rgba(212,175,55,.28);
    box-shadow: 0 25px 80px rgba(0,0,0,.55);
    text-align: center;
}

.layw-brand h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: .18em;
}

.layw-brand h1 span {
    color: white;
}

.layw-brand h1 {
    color: #D4AF37;
}

.layw-brand p,
.member-info p,
.points p,
.powered,
.empty {
    color: #aaa;
}

.member-info {
    margin: 28px 0;
}

.member-info h2 {
    margin: 4px 0 10px;
    font-size: 1.7rem;
}

.member-info span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(212,175,55,.13);
    color: #f0d878;
    font-weight: 900;
    font-size: .78rem;
}

.points h3 {
    font-size: 3.2rem;
    margin: 0;
    color: #f0d878;
}

.qr-box {
    margin: 24px auto;
    width: 240px;
    padding: 14px;
    background: white;
    border-radius: 24px;
}

.qr-box img {
    width: 100%;
    display: block;
}

.code {
    color: #ddd;
}

.powered {
    margin-top: 24px;
    font-size: .85rem;
}

.layw-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 22px 0;
}

.layw-menu a {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(212,175,55,.18);
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
}

.recent {
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(212,175,55,.15);
}

.purchase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.purchase p {
    margin: 4px 0 0;
    color: #aaa;
}
.layw-wallet {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 38px;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,.28), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.02)),
        #070707;
    border: 1px solid rgba(212,175,55,.35);
    box-shadow: 0 30px 90px rgba(0,0,0,.7);
    text-align: center;
}

.shine {
    position: absolute;
    inset: -80px;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.11), transparent 65%);
    transform: translateX(-60%);
    animation: shineMove 5s infinite;
}

@keyframes shineMove {
    0% { transform: translateX(-80%); }
    60% { transform: translateX(80%); }
    100% { transform: translateX(80%); }
}

.layw-brand,
.member-block,
.points-block,
.qr-premium,
.member-id,
.progress-area,
.accepted {
    position: relative;
    z-index: 2;
}

.member-block span {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(212,175,55,.16);
    border: 1px solid rgba(212,175,55,.28);
    color: #f0d878;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.points-block h3 {
    font-size: 3.8rem;
    margin: 24px 0 0;
    color: #f0d878;
}

.points-block p {
    margin-top: 0;
    letter-spacing: .2em;
}

.qr-premium {
    width: 250px;
    margin: 26px auto;
    padding: 14px;
    border-radius: 26px;
    background: white;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
}

.qr-premium img {
    width: 100%;
    display: block;
}

.member-id {
    font-weight: 900;
    letter-spacing: .12em;
    color: #ddd;
}

.progress-area {
    margin-top: 28px;
}

.progress-top {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    color: #aaa;
    margin-bottom: 10px;
}

.progress-top strong {
    color: #f0d878;
}

.progress-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #D4AF37, #f0d878);
}

.accepted {
    margin-top: 26px;
    color: #aaa;
    font-size: .85rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0;
}

.quick-actions a {
    min-height: 95px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(212,175,55,.18);
    color: white;
    text-decoration: none;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    font-weight: 900;
}

.quick-actions span {
    display: block;
    font-size: .9rem;
}

.recent-premium {
    padding: 24px;
    border-radius: 30px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(212,175,55,.15);
}

.purchase-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.purchase-premium p {
    margin: 4px 0 0;
    color: #aaa;
}

.purchase-premium span {
    color: #f0d878;
    font-weight: 900;
}

.layw-footer {
    text-align: center;
    color: #aaa;
    padding: 28px 0 12px;
}

.layw-footer strong {
    color: #f0d878;
    letter-spacing: .18em;
}

@media (max-width: 430px) {
    .layw-wallet {
        padding: 24px 18px;
    }

    .qr-premium {
        width: 220px;
    }

    .points-block h3 {
        font-size: 3.1rem;
    }
}
.rewards-list {
    display: grid;
    gap: 16px;
    margin: 22px 0;
}

.reward-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(212,175,55,.16);
}

.reward-card.available {
    border-color: rgba(212,175,55,.45);
    background:
        radial-gradient(circle at top right, rgba(212,175,55,.18), transparent 35%),
        rgba(255,255,255,.055);
}

.reward-icon {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(212,175,55,.12);
    font-size: 2rem;
}

.reward-content h2 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.reward-content p {
    margin: 0 0 12px;
    color: #aaa;
    line-height: 1.5;
}

.reward-content strong {
    color: #f0d878;
}

.reward-progress {
    height: 10px;
    margin: 14px 0;
    background: rgba(255,255,255,.12);
    border-radius: 999px;
    overflow: hidden;
}

.reward-progress div {
    height: 100%;
    background: linear-gradient(135deg, #D4AF37, #f0d878);
    border-radius: 999px;
}

.reward-status {
    display: inline-block;
    font-size: .8rem;
    color: #aaa;
}

.reward-status.ready {
    color: #f0d878;
    font-weight: 900;
}
.layw-auth-brand {
    text-align: center;
    margin-bottom: 18px;
}

.layw-auth-brand h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: .18em;
    color: #D4AF37;
}

.layw-auth-brand h1 span {
    color: #fff;
}

.layw-auth-brand p {
    margin: 8px 0 0;
    color: #aaa;
    letter-spacing: .12em;
    font-size: .75rem;
    text-transform: uppercase;
}

.layw-auth-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.7), transparent);
    margin: 22px 0;
}

.purchase span {
    color: #f0d878;
    font-weight: 900;
}

/* ===== SIDEBAR ===== */

body{
    display:flex;
    margin:0;
    min-height:100vh;
}

.sidebar{
    width:260px;
    background:#050505;
    border-right:1px solid rgba(212,175,55,.18);
    padding:35px 22px;
}

.sidebar-logo h1{
    margin:0;
    color:#D4AF37;
    letter-spacing:.18em;
}

.sidebar-logo p{
    color:#888;
    margin-bottom:35px;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.sidebar nav a{
    padding:15px 18px;
    border-radius:14px;
    color:white;
    text-decoration:none;
    transition:.25s;
}

.sidebar nav a:hover{
    background:rgba(212,175,55,.08);
}

.sidebar nav a.active{
    background:#D4AF37;
    color:black;
    font-weight:bold;
}

.main-content{
    flex:1;
    padding:35px;
}
.topbar {
    width: 100%;
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    background: rgba(5,5,5,.92);
    border-bottom: 1px solid rgba(212,175,55,.25);
    position: relative;
    top: 0;
    left: 0;
    z-index: 50;
}

.topbar strong {
    color: #fff;
    font-weight: 900;
}

.topbar nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.topbar nav a {
    color: #f0d878;
    font-weight: 800;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 36px auto;
}
/* ===== LAYW APP UI ===== */

.app-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    background: #050505;
    color: white;
}

.app-sidebar {
    width: 270px;
    min-height: 100vh;
    background: #070707;
    border-right: 1px solid rgba(212,175,55,.18);
    padding: 30px 22px;
    position: sticky;
    top: 0;
}

.app-logo h1 {
    margin: 0;
    color: #D4AF37;
    letter-spacing: .18em;
    font-size: 2rem;
}

.app-logo h1 span {
    color: white;
}

.app-logo p {
    margin: 8px 0 32px;
    color: #888;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.app-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-sidebar nav a {
    padding: 15px 16px;
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: .2s;
}

.app-sidebar nav a:hover {
    background: rgba(212,175,55,.1);
    color: #f0d878;
}

.app-main {
    flex: 1;
    padding: 34px;
}

@media (max-width: 800px) {
    .app-body {
        display: block;
    }

    .app-sidebar {
        width: 100%;
        min-height: auto;
        position: static;
    }

    .app-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .app-main {
        padding: 20px;
    }
}