:root {
    --gold-50: #fff4c27d6;
    --gold-100: #fff4c20ad;
    --gold-500: #f3b51c;
    --gold-700: #b87808;
    --gold-900: #2c1b02;
    --ink: #fff4c24c2;
    --muted: #e8c66f;
    --line: rgba(23, 17, 18, 0.09);
    --cream: #080603;
    --gold: #ffd37a;
    --white: #fff4c24c2;
    --shadow: 0 18px 42px rgba(255, 190, 24, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #080603;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 50% 0%, rgba(255, 216, 77, 0.18), transparent 32rem), linear-gradient(135deg, #171004, #050403);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.phone {
    width: min(100%, 430px);
    margin: 0 auto;
    background: var(--cream);
    overflow: hidden;
    position: relative;
}

.screen {
    padding: 18px 18px 94px;
    position: relative;
}

.hero-screen {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0 36%, var(--cream) 36% 100%), radial-gradient(circle at 22% 8%, rgba(255, 216, 77, 0.24), transparent 10rem), linear-gradient(145deg, #ffd84d 0%, #b87808 50%, #2c1b02 100%);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 60px;
    background: #b87808;
    border-radius: 10px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.brand-name {
    font-size: 18px;
}

.topbar.on-gold,
.on-gold {
    color: var(--white);
}

.icon {
    width: 20px;
    height: 20px;
    display: block;
}

.icon-button,
.mini-action {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: currentColor;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.icon-button.dark {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 12px 26px rgba(255, 190, 24, 0.10);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-menu {
    position: fixed;
    inset: 0;
    left: 50%;
    width: min(100%, 430px);
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    z-index: 40;
}

.side-menu:target {
    opacity: 1;
    pointer-events: auto;
}

.menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 17, 18, 0.5);
    backdrop-filter: blur(8px);
}

.menu-panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(84%, 330px);
    padding: 18px;
    color: var(--ink);
    background: radial-gradient(circle at 0 0, rgba(255, 216, 77, 0.24), transparent 11rem), linear-gradient(180deg, #fff4c29f1, #fff4c27d6);
    box-shadow: 24px 0 58px rgba(0, 0, 0, 0.36);
    transform: translateX(-105%);
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.side-menu:target .menu-panel {
    transform: translateX(0);
}

.menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.menu-profile {
    margin: 22px 0;
    padding: 18px;
    border-radius: 26px;
    color: var(--white);
    background-image: linear-gradient(135deg, rgba(255, 216, 77, 0.08), rgba(0, 0, 0, 0.22)), url("/assets/themes/lightneon/red/card-pattern.svg");
    background-size: cover;
}

.menu-profile strong {
    display: block;
    margin-top: 4px;
    font-size: 20px;
}

.menu-links {
    display: grid;
    gap: 8px;
}

.menu-link {
    min-height: 48px;
    padding: 0 12px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff0ad;
    font-weight: 800;
}

.menu-link.active,
.menu-link:hover {
    color: var(--gold-700);
    background: var(--gold-50);
}

.menu-link .icon {
    color: var(--gold-700);
}

.menu-support {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
}

.menu-support p {
    margin: 6px 0 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.hero {
    padding: 34px 0 0;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 700;
}

.hero h1,
.page-title h1 {
    margin: 18px 0 10px;
    font-size: 35px;
    line-height: 1.05;
    letter-spacing: 0;
}

.hero p,
.page-title p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    font-size: 15px;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.btn {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn.primary {
    color: var(--white);
    background: linear-gradient(135deg, #ffd84d, #b87808 58%, #2c1b02);
    box-shadow: 0 16px 32px rgba(185, 8, 37, 0.28);
}

.btn.light {
    color: var(--gold-700);
    background: var(--white);
}

.btn.ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.btn.full {
    width: 100%;
}

.hero-card {
    margin-top: 28px;
    padding: 10px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    display: block;
    border-radius: 26px;
}

.section {
    padding-top: 22px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.section-head h2 {
    margin: 0;
    font-size: 20px;
}

.section-link {
    color: var(--gold-700);
    font-size: 13px;
    font-weight: 800;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat {
    min-height: 92px;
    padding: 14px 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 14px 28px rgba(92, 0, 17, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
}

.stat span,
.muted {
    color: var(--muted);
    font-size: 12px;
}

.feature-list {
    display: grid;
    gap: 10px;
}

.feature-row,
.activity-row,
.field {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    padding: 13px;
}

.feature-row,
.activity-row {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-row strong,
.activity-row strong {
    display: block;
    font-size: 14px;
}

.badge-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, #ffd84d, #b87808);
    box-shadow: 0 12px 22px rgba(185, 8, 37, 0.24);
}

.page-gradient {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0 30%, var(--cream) 30% 100%), radial-gradient(circle at 88% 7%, rgba(255, 216, 77, 0.24), transparent 9rem), linear-gradient(145deg, #ffd84d 0%, #b87808 50%, #2c1b02 100%);
}

.page-title {
    padding: 26px 0 18px;
    color: var(--white);
}

.plan-stack {
    display: grid;
    gap: 14px;
}

.plan-card {
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: var(--shadow);
}

.plan-top {
    min-height: 112px;
    padding: 18px;
    color: var(--white);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.22)), url("/assets/themes/lightneon/red/card-pattern.svg");
    background-size: cover;
}

.plan-label {
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
}

.plan-label h2 {
    margin: 0;
    font-size: 23px;
}

.pill {
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 800;
}

.plan-top p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.plan-body {
    padding: 16px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.metric {
    padding: 12px;
    border-radius: 18px;
    background: var(--gold-50);
}

.metric span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.metric strong {
    display: block;
    margin-top: 5px;
    font-size: 16px;
}

.check-list {
    display: grid;
    gap: 9px;
    margin: 14px 0;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff0ad;
    font-size: 14px;
}

.check-item .icon {
    color: var(--gold-700);
    width: 18px;
    height: 18px;
}

.form-card,
.panel {
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.form-card {
    padding: 18px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.field {
    min-height: 54px;
    border-radius: 18px;
    background: #fff4c2;
}

.field input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.field .icon {
    color: var(--gold-700);
    flex: 0 0 20px;
}

.terms {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.terms input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-700);
}

.secure-note,
.signin-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    margin-top: 14px;
}

.signin-note a {
    color: #fff;
    font-weight: 800;
}

.dashboard-screen {
    background: radial-gradient(circle at 84% 4%, rgba(255, 216, 77, 0.24), transparent 9rem), linear-gradient(180deg, #fff4c23f4 0, #080603 38%, #080603 100%);
}

.dash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
}

.dash-head h1 {
    margin: 4px 0 0;
    font-size: 27px;
}

.summary-card {
    margin-top: 18px;
    padding: 20px;
    border-radius: 30px;
    color: var(--white);
    background-image: linear-gradient(135deg, rgba(255, 216, 77, 0.08), rgba(0, 0, 0, 0.22)), url("/assets/themes/lightneon/red/card-pattern.svg");
    background-size: cover;
    box-shadow: var(--shadow);
}

.summary-card span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.summary-card h2 {
    margin: 8px 0 4px;
    font-size: 34px;
}

.summary-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.quick-action {
    min-height: 76px;
    padding: 10px 6px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    gap: 7px;
    text-align: center;
    box-shadow: 0 12px 24px rgba(92, 0, 17, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quick-action .icon {
    color: var(--gold-700);
}

.quick-action span {
    font-size: 12px;
    font-weight: 800;
}

.panel {
    padding: 16px;
}

.active-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.progress {
    height: 8px;
    margin-top: 14px;
    border-radius: 999px;
    background: var(--gold-100);
    overflow: hidden;
}

.progress span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffd84d, #b87808);
}

.activity-list {
    display: grid;
    gap: 10px;
}

.activity-row {
    justify-content: space-between;
    background: var(--white);
}

.activity-row>div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amount {
    color: var(--gold-700);
    font-size: 13px;
    font-weight: 800;
}

.refer-card,
.download-card {
    padding: 16px;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(92, 0, 17, 0.08);
}

.refer-card {
    display: grid;
    gap: 14px;
}

.refer-head,
.download-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.refer-head h2,
.download-head h2 {
    margin: 0;
    font-size: 18px;
}

.refer-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    /*padding: 7px 7px 7px 13px;*/
    border-radius: 18px;
    background: var(--gold-50);
    border: 1px solid var(--gold-100);
}

.refer-link {
    min-width: 0;
    flex: 1;
    color: #fff0ad;
    font-size: 8px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-status {
    min-height: 16px;
    color: var(--gold-700);
    font-size: 12px;
    font-weight: 800;
}

.dashboard-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.contact-action {
    min-height: 78px;
    padding: 12px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    background: linear-gradient(135deg, #ffd84d, #b87808);
    box-shadow: 0 16px 32px rgba(185, 8, 37, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-action.whatsapp {
    background: linear-gradient(135deg, #27d366, #128c4a);
}

.contact-action strong {
    display: block;
    font-size: 13px;
}

.contact-action span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
}

.download-card {
    margin-top: 14px;
}

.download-card p {
    margin: 8px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.install-status {
    display: block;
    min-height: 17px;
    margin-top: 11px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100%, 430px);
    padding: 10px 14px 14px;
    background: rgba(255, 248, 239, 0.92);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    z-index: 10;
}

.nav-item {
    min-height: 55px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    gap: 4px;
    color: #e8c66f;
    font-size: 11px;
    font-weight: 800;
}

.nav-item.active {
    color: var(--gold-700);
    background: var(--gold-50);
}

@media (hover: hover) {
    .btn:hover,
    .icon-button:hover,
    .quick-action:hover,
    .stat:hover,
    .feature-row:hover,
    .activity-row:hover,
    .contact-action:hover {
        transform: translateY(-3px);
    }
    .btn.primary:hover,
    .quick-action:hover,
    .contact-action:hover {
        box-shadow: 0 20px 38px rgba(185, 8, 37, 0.24);
    }
    .quick-action:hover {
        border-color: rgba(185, 8, 37, 0.22);
        background: var(--gold-50);
    }
    .nav-item:hover {
        color: var(--gold-700);
        background: var(--gold-50);
    }
}

.btn:active,
.icon-button:active,
.quick-action:active,
.contact-action:active {
    transform: scale(0.97);
}

@media (min-width: 431px) {
    .phone {
        min-height: 920px;
        margin: 24px auto;
        border-radius: 34px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    }
    .screen {
        min-height: 920px;
    }
}

/* Codex gold asset visibility override */

:root {
    --gold-950: #080603;
    --gold-900: #171004;
    --gold-800: #2c1b02;
    --gold-700: #b87808;
    --gold-500: #f3b51c;
    --gold-400: #ffd84d;
    --gold-300: #ffe984;
    --gold-text: #fff4c2;
    --gold-muted: #e8c66f;
    --ink: #fff4c2;
    --muted: #e8c66f;
    --cream: #080603;
    --white: #fff4c2;
    --shadow: 0 18px 42px rgba(255, 190, 24, .16)
}

body,
.phone {
    background: radial-gradient(circle at 18% 0, rgba(255, 216, 77, .18), transparent 18rem), linear-gradient(180deg, #080603, #171004) !important;
    color: var(--gold-text) !important
}

.hero-screen,
.page-gradient {
    background: radial-gradient(circle at 18% 0, rgba(255, 216, 77, .22), transparent 14rem), linear-gradient(145deg, #fff08d 0%, #d28d08 44%, #2c1b02 100%) !important
}

.topbar,
.register-card,
.summary-card,
.refer-card,
.download-card,
.activity-row,
.feature-row,
.menu-panel {
    background: linear-gradient(145deg, rgba(54, 34, 3, .96), rgba(12, 8, 1, .98)) !important;
    border-color: rgba(255, 218, 78, .38) !important;
    color: var(--gold-text) !important
}

.btn.primary,
.btn.light,
.submit-btn,
.primary.full {
    background: linear-gradient(180deg, #fff4a6, #ffd84d 42%, #b87808) !important;
    color: #160d00 !important
}

.btn.primary *,
.btn.light *,
.submit-btn *,
.primary.full * {
    color: #160d00 !important
}

.field,
input,
textarea,
select {
    background: rgba(10, 7, 1, .88) !important;
    color: #fff8cf !important;
    border-color: rgba(255, 218, 78, .44) !important
}

.field input::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 239, 171, .62) !important
}

.icon,
.badge-icon svg,
.quick-action svg {
    color: #ffe984 !important;
    stroke: currentColor !important;
    filter: drop-shadow(0 0 8px rgba(255, 205, 36, .34))
}