:root {
--bg-dark: #0B0A0F;
--bg-dark-2: #121116;
--bg-dark-3: #18141A;

--bg-pink: #190912;
--bg-pink-2: #230A17;
--bg-pink-3: #2D0B1D;

--card: #171218;
--card-light: #211820;

--pink: #D100FF;
--pink-light: #E044FF;
--pink-soft: #B500E6;
--pink-deep: #9400BF;
--pink-glow: #F06AFF;

--gold: #C99A22;
--gold-deep: #A9790F;
--gold-light: #D9AE3A;
--gold-rich: #E0B94A;

--cream: #F1DFB0;
--cream-light: #F6E9C9;

--white: #FFFFFF;
--text: #FFFFFF;
--muted: #A9A5AD;
--dark-text: #0B0A0F;

--border: rgba(209, 0, 255, 0.20);
--border-strong: rgba(209, 0, 255, 0.32);
--gold-border: rgba(201, 154, 34, 0.28);

--shadow: 0 18px 45px rgba(0, 0, 0, 0.55);

--radius-lg: 24px;
--radius-md: 18px;
--radius-sm: 14px;

--container: 1180px;
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
scroll-behavior: smooth;
}

body {
min-height: 100vh;

font-family: Arial, Helvetica, sans-serif;

color: var(--text);

background:
    radial-gradient(
        circle at 0% 0%,
        rgba(209, 0, 255, 0.11),
        transparent 34%
    ),
    radial-gradient(
        circle at 100% 100%,
        rgba(201, 154, 34, 0.07),
        transparent 32%
    ),
    linear-gradient(
        135deg,
        #170911 0%,
        #0B0A0F 48%,
        #070609 100%
    );

overflow-x: hidden;
}

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

button {
font: inherit;
}

.mine-page {
min-height: 100vh;
padding-bottom: 110px;
}

.mine-container {
width: min(
    calc(100% - 32px),
    var(--container)
);

margin: 0 auto;
}


/* =========================================
HEADER
========================================= */

.mine-header {
position: relative;
z-index: 50;

background:
    linear-gradient(
        180deg,
        rgba(17, 9, 16, 0.96),
        rgba(11, 10, 15, 0.88)
    );

border-bottom:
    1px solid rgba(209, 0, 255, 0.20);

backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
}

.mine-top-header {
min-height: 105px;

display: flex;
align-items: center;
justify-content: center;

position: relative;
}
/* =========================================
BACK BUTTON
========================================= */

.page-back-button {
position: absolute;

left: 0;

width: 42px;
height: 42px;

padding: 0;

display: flex;
align-items: center;
justify-content: center;

border: 1px solid rgba(209, 0, 255, 0.22);

border-radius: 50%;

background:
    rgba(7, 6, 9, 0.72);

color: var(--white);

cursor: pointer;

appearance: none;
-webkit-appearance: none;

box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28);

transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.page-back-button:hover {
background:
    rgba(209, 0, 255, 0.10);

border-color:
    rgba(209, 0, 255, 0.42);

transform: translateY(-1px);
}

.page-back-button:active {
transform: translateY(0);
}

.page-back-button svg {
width: 21px;
height: 21px;

display: block;

flex-shrink: 0;
}

/* =========================================
FINORA BRAND
WORDMARK CENTERED
TAGLINE DIRECTLY UNDERNEATH
========================================= */

.finora-brand {
display: flex;

flex-direction: column;

align-items: center;
justify-content: center;

text-align: center;

gap: 3px;

margin: 0 auto;
}

.finora-name {
display: inline-flex;

align-items: center;
justify-content: center;

font-family:
    "Times New Roman",
    Times,
    serif;

font-size: clamp(38px, 5vw, 58px);
font-weight: 700;

line-height: 1;

letter-spacing: -2px;

white-space: nowrap;
}

.fin-fin,
.fin-ora {
display: inline;
margin: 0;
padding: 0;
letter-spacing: -2px;
}

.fin-fin {
color: var(--white);
}

.fin-ora {
color: var(--gold);
}

.finora-tagline {
color: var(--pink);

font-size: 9px;
font-weight: 700;

letter-spacing: 3px;

margin: 0;

white-space: nowrap;

line-height: 1;
}


/* =========================================
HEADER ACTIONS
========================================= */

.header-actions {
position: absolute;
right: 0;

display: flex;
align-items: center;
justify-content: center;
}


/* =========================================
NOTIFICATION BUTTON
========================================= */

.notification-button {
width: 48px;
height: 48px;

padding: 0;

border-radius: 50%;

border:
    1px solid rgba(209, 0, 255, 0.32);

background:
    rgba(7, 6, 9, 0.72);

color: var(--pink);

display: flex;
align-items: center;
justify-content: center;

cursor: pointer;

position: relative;

transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.notification-button:hover {
background:
    rgba(209, 0, 255, 0.10);

border-color:
    rgba(209, 0, 255, 0.48);

transform: translateY(-1px);
}

.notification-button svg {
width: 22px;
height: 22px;

display: block;

flex-shrink: 0;
}

.notification-count {
position: absolute;

top: -2px;
right: -2px;

min-width: 17px;
height: 17px;

padding: 0 4px;

border-radius: 20px;

background: var(--pink);
color: var(--dark-text);

font-size: 9px;
font-weight: 800;

display: grid;
place-items: center;

border:
    2px solid var(--bg-dark);
}


/* =========================================
INTRO
========================================= */

.mine-main {
padding-top: 42px;
}

.mine-intro {
padding-bottom: 28px;
}

.mine-kicker,
.section-kicker {
color: var(--pink);

font-size: 10px;
font-weight: 800;

letter-spacing: 2.5px;
text-transform: uppercase;
}

.mine-intro h1 {
margin-top: 8px;

font-size: clamp(29px, 5vw, 46px);
line-height: 1.08;

letter-spacing: -1.3px;
}

.mine-intro h1 span {
color: var(--pink);
}

.mine-intro p {
margin-top: 10px;

color: var(--muted);

font-size: 15px;
line-height: 1.65;

max-width: 600px;
}


/* =========================================
PORTFOLIO SUMMARY
========================================= */

.portfolio-summary {
display: grid;

grid-template-columns:
    minmax(0, 1.35fr)
    minmax(0, 1fr);

gap: 14px;

margin-bottom: 38px;
}

.summary-grid {
display: grid;

grid-template-columns:
    repeat(2, minmax(0, 1fr));

gap: 14px;
}

.summary-card {
position: relative;

padding: 22px;

min-height: 126px;

border:
    1px solid rgba(209, 0, 255, 0.18);

border-radius: var(--radius-md);

background:
    linear-gradient(
        145deg,
        rgba(33, 24, 32, 0.96),
        rgba(19, 14, 20, 0.94)
    );

box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.32);

overflow: hidden;
}

.summary-card::after {
content: "";

position: absolute;

width: 130px;
height: 130px;

right: -70px;
bottom: -80px;

border-radius: 50%;

background:
    rgba(209, 0, 255, 0.06);

pointer-events: none;
}

.primary-summary {
min-height: 126px;

display: flex;
flex-direction: column;
justify-content: center;

border-color:
    rgba(201, 154, 34, 0.24);
}

.primary-summary::after {
background:
    rgba(201, 154, 34, 0.07);
}

.summary-label {
color: var(--muted);

font-size: 10px;
font-weight: 800;

letter-spacing: 1.8px;
}

.summary-value {
margin-top: 8px;

color: var(--cream-light);

font-size: clamp(25px, 4vw, 38px);
font-weight: 800;

letter-spacing: -0.8px;
}

.summary-small-value {
margin-top: 11px;

color: var(--white);

font-size: 21px;
font-weight: 800;
}

.gold-value {
color: var(--gold-light);
font-size: 17px;
}

.summary-note {
margin-top: 7px;

color: rgba(169, 165, 173, 0.72);

font-size: 11px;
}


/* =========================================
SECTIONS
========================================= */

.investment-section {
margin-top: 8px;
}

.completed-section {
margin-top: 42px;
}

.section-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;

gap: 20px;

margin-bottom: 16px;
}

.section-heading h2 {
margin-top: 6px;

font-size: 21px;
font-weight: 800;

letter-spacing: -0.3px;
}

.section-count {
flex-shrink: 0;

padding: 7px 11px;

border-radius: 999px;

border:
    1px solid rgba(209, 0, 255, 0.20);

background:
    rgba(209, 0, 255, 0.07);

color: var(--pink);

font-size: 10px;
font-weight: 800;

letter-spacing: 0.5px;
}

.muted-count {
color: var(--muted);

border-color:
    rgba(255, 255, 255, 0.09);

background:
    rgba(255, 255, 255, 0.025);
}


/* =========================================
ACTIVE INVESTMENT CARD
========================================= */

.investment-list {
display: grid;
gap: 15px;
}

.investment-card {
padding: 23px;

border:
    1px solid rgba(209, 0, 255, 0.20);

border-radius: var(--radius-lg);

background:
    linear-gradient(
        145deg,
        rgba(31, 19, 29, 0.98),
        rgba(17, 13, 19, 0.98)
    );

box-shadow: var(--shadow);

position: relative;
overflow: hidden;
}

.investment-card::before {
content: "";

position: absolute;

top: 0;
left: 0;

width: 100%;
height: 1px;

background:
    linear-gradient(
        90deg,
        transparent,
        rgba(209, 0, 255, 0.48),
        transparent
    );
}

.investment-card-top {
display: flex;
align-items: flex-start;
justify-content: space-between;

gap: 18px;
}

.investment-label {
color: var(--muted);

font-size: 9px;
font-weight: 800;

letter-spacing: 2px;
}

.investment-amount {
margin-top: 6px;

color: var(--cream-light);

font-size: clamp(24px, 4vw, 34px);
font-weight: 800;

letter-spacing: -0.7px;
}

.status-badge {
padding: 7px 11px;

border-radius: 999px;

color: var(--gold-light);

background:
    rgba(201, 154, 34, 0.09);

border:
    1px solid rgba(201, 154, 34, 0.26);

font-size: 9px;
font-weight: 800;

letter-spacing: 1px;
}

.investment-divider {
height: 1px;

margin: 19px 0;

background:
    rgba(255, 255, 255, 0.065);
}

.investment-metrics {
display: grid;

grid-template-columns:
    repeat(2, minmax(0, 1fr));

gap: 20px;
}

.investment-metric {
display: flex;
flex-direction: column;

gap: 6px;
}

.investment-metric span {
color: var(--muted);

font-size: 11px;
}

.investment-metric strong {
color: var(--white);

font-size: 16px;
}

.investment-metric .gold-text {
color: var(--gold-light);
}

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

.progress-header {
display: flex;
justify-content: space-between;
align-items: center;

gap: 15px;

margin-bottom: 9px;
}

.progress-header span {
color: var(--muted);

font-size: 10px;
}

.progress-header strong {
color: var(--cream);

font-size: 10px;
}

.progress-track {
width: 100%;
height: 7px;

overflow: hidden;

border-radius: 999px;

background:
    rgba(255, 255, 255, 0.07);
}

.progress-fill {
height: 100%;

min-width: 0;

border-radius: inherit;

background:
    linear-gradient(
        90deg,
        var(--pink-deep),
        var(--pink)
    );

box-shadow:
    0 0 13px rgba(209, 0, 255, 0.22);

transition: width 0.45s ease;
}

.investment-footer {
display: grid;

grid-template-columns:
    repeat(2, minmax(0, 1fr));

gap: 20px;

margin-top: 20px;
}

.investment-footer > div {
display: flex;
flex-direction: column;

gap: 5px;
}

.investment-footer span {
color: var(--muted);

font-size: 10px;
}

.investment-footer strong {
color: var(--cream-light);

font-size: 12px;
}


/* =========================================
COMPLETED INVESTMENTS
========================================= */

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

.completed-investment {
min-height: 76px;

padding: 15px 17px;

display: flex;
align-items: center;
justify-content: space-between;

gap: 18px;

border:
    1px solid rgba(255, 255, 255, 0.07);

border-radius: var(--radius-md);

background:
    rgba(23, 18, 24, 0.78);

transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.completed-investment:hover {
border-color:
    rgba(209, 0, 255, 0.18);

transform: translateY(-1px);
}

.completed-main {
display: flex;
align-items: center;

gap: 12px;
}

.completed-symbol {
width: 34px;
height: 34px;

flex-shrink: 0;

display: grid;
place-items: center;

border-radius: 50%;

color: var(--gold-light);

background:
    rgba(201, 154, 34, 0.08);

border:
    1px solid rgba(201, 154, 34, 0.20);

font-size: 14px;
font-weight: 800;
}

.completed-amount {
color: var(--white);

font-size: 14px;
font-weight: 800;
}

.completed-date {
margin-top: 4px;

color: var(--muted);

font-size: 10px;
}

.completed-earnings {
display: flex;
flex-direction: column;

align-items: flex-end;

gap: 4px;
}

.completed-earnings span {
color: var(--muted);

font-size: 9px;
}

.completed-earnings strong {
color: var(--gold-light);

font-size: 13px;
}


/* =========================================
EMPTY STATES
========================================= */

.empty-investments {
padding: 42px 24px;

text-align: center;

border:
    1px solid rgba(209, 0, 255, 0.13);

border-radius: var(--radius-lg);

background:
    rgba(23, 18, 24, 0.66);
}

.empty-icon,
.history-icon {
width: 54px;
height: 54px;

margin: 0 auto 16px;

display: grid;
place-items: center;

border-radius: 18px;

color: var(--muted);

background:
    rgba(255, 255, 255, 0.035);

border:
    1px solid rgba(255, 255, 255, 0.08);
}

.empty-icon svg,
.history-icon svg {
width: 25px;
height: 25px;
}

.empty-investments h3,
.empty-history h3 {
font-size: 16px;

color: var(--cream-light);
}

.empty-investments p,
.empty-history p {
max-width: 430px;

margin: 8px auto 0;

color: var(--muted);

font-size: 12px;
line-height: 1.6;
}

.empty-history {
min-height: 100px;

padding: 20px;

display: flex;
align-items: center;

gap: 15px;

border:
    1px solid rgba(255, 255, 255, 0.07);

border-radius: var(--radius-md);

background:
    rgba(23, 18, 24, 0.60);
}

.empty-history .history-icon {
margin: 0;

flex-shrink: 0;
}

.empty-history p {
margin: 6px 0 0;
}


/* =========================================
FINORA FOOTER
========================================= */

.site-footer {
margin-top: 34px;

padding: 28px 15px 24px;

border-top:
    1px solid rgba(255, 255, 255, 0.055);

text-align: center;
}

.site-footer .footer-brand {
display: inline-flex;

align-items: center;
justify-content: center;

gap: 0;

margin: 0;
padding: 0;

font-family:
    "Times New Roman",
    Times,
    serif;

font-size: 35px;
font-weight: 700;

letter-spacing: -2px;

line-height: 1;

white-space: nowrap;
}

.site-footer .footer-brand .fin,
.site-footer .footer-brand .ora {
display: inline;

margin: 0;
padding: 0;

letter-spacing: -2px;
}

.site-footer .footer-brand .fin {
color: var(--white);
}

.site-footer .footer-brand .ora {
color: var(--gold-light);
}

.site-footer .footer-tagline {
margin-top: 6px;

color: var(--pink);

font-size: 8px;
font-weight: 800;

letter-spacing: 1.8px;

line-height: 1;
}

.site-footer .footer-text {
max-width: 320px;

margin: 12px auto 0;

color: var(--muted);

font-size: 9px;

line-height: 1.6;
}

.site-footer .footer-copy {
margin-top: 10px;

color: var(--muted);

font-size: 9px;
}


/* =========================================
BOTTOM NAVIGATION
========================================= */

.bottom-navigation {
position: fixed;

z-index: 100;

left: 50%;
bottom: 14px;

transform: translateX(-50%);

width: min(
    calc(100% - 22px),
    650px
);

min-height: 70px;

padding: 8px 10px;

display: grid;

grid-template-columns:
    repeat(5, 1fr);

gap: 5px;

background:
    rgba(13, 5, 10, 0.96);

border:
    1px solid rgba(209, 0, 255, 0.28);

border-radius: 22px;

box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.65);

backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
}

.bottom-nav-item {
min-width: 0;

padding: 8px 4px;

border-radius: 15px;

display: flex;
flex-direction: column;

align-items: center;
justify-content: center;

gap: 5px;

color: rgba(255, 255, 255, 0.58);

transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.bottom-nav-item svg {
width: 25px;
height: 25px;

color: currentColor;
}

.bottom-nav-item span {
font-size: 10px;
font-weight: 700;

white-space: nowrap;
}

.bottom-nav-item.active {
background:
    rgba(209, 0, 255, 0.17);

color: var(--pink);

box-shadow:
    inset 0 0 0 1px rgba(209, 0, 255, 0.14);
}

.bottom-nav-item:hover {
color: var(--pink-light);

transform: translateY(-1px);
}


/* =========================================
MOBILE
========================================= */

@media (max-width: 650px) {

.mine-container {
    width: calc(100% - 22px);
}

.mine-top-header {
    min-height: 92px;
}

.notification-button {
    width: 41px;
    height: 41px;

    padding: 0;
}

.notification-button svg {
    width: 20px;
    height: 20px;

    display: block;
}


/* MOBILE FINORA BRAND */

.finora-brand {
    gap: 3px;

    transform: none;
}

.finora-name {
    font-size: 39px;

    letter-spacing: -1.8px;
}

.fin-fin,
.fin-ora {
    letter-spacing: -1.8px;
}

.finora-tagline {
    font-size: 7px;

    letter-spacing: 2px;

    margin: 0;
}


.mine-main {
    padding-top: 30px;
}

.mine-intro {
    padding-bottom: 22px;
}

.portfolio-summary {
    grid-template-columns: 1fr;

    gap: 10px;

    margin-bottom: 30px;
}

.summary-grid {
    gap: 10px;
}

.summary-card {
    padding: 18px;

    min-height: 112px;
}

.primary-summary {
    min-height: 120px;
}

.investment-card {
    padding: 18px;

    border-radius: 20px;
}

.investment-amount {
    font-size: 25px;
}

.investment-metrics {
    gap: 13px;
}

.investment-footer {
    gap: 13px;
}

.section-heading h2 {
    font-size: 19px;
}


/* MOBILE BOTTOM NAV */

.bottom-navigation {
    bottom: 8px;

    width: calc(100% - 14px);

    min-height: 67px;

    border-radius: 19px;

    padding: 7px 5px;
}

.bottom-nav-item {
    padding: 7px 2px;

    gap: 4px;
}

.bottom-nav-item svg {
    width: 23px;
    height: 23px;
}

.bottom-nav-item span {
    font-size: 8px;
}

}


/* =========================================
SMALL PHONES
========================================= */

@media (max-width: 390px) {

.finora-name {
    font-size: 34px;
}

.finora-brand {
    transform: none;

    gap: 3px;
}

.fin-fin,
.fin-ora {
    letter-spacing: -1.8px;
}

.finora-tagline {
    margin: 0;
}

.notification-button {
    width: 37px;
    height: 37px;

    padding: 0;
}

.notification-button svg {
    width: 19px;
    height: 19px;

    display: block;
}

.bottom-nav-item span {
    font-size: 7px;
}

.investment-metrics {
    grid-template-columns: 1fr;

    gap: 15px;
}

.completed-investment {
    align-items: flex-start;
}

.completed-earnings {
    align-items: flex-end;
}


/* SMALL PHONE FOOTER */

.site-footer .footer-brand {
    font-size: 31px;
}

.site-footer .footer-brand .fin,
.site-footer .footer-brand .ora {
    letter-spacing: -2px;
}

.site-footer .footer-tagline {
    font-size: 8px;

    letter-spacing: 1.6px;
}

}


/* =========================================
REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

*,
*::before,
*::after {
    scroll-behavior: auto !important;

    transition:
        none !important;
}

}
