.finances,
.finances *,
.finances *::before,
.finances *::after {
    box-sizing: border-box;
}

.finances {
    width: min(1300px, 100%);
    margin: 0 auto;
    padding: 70px 25px;
}

.finances-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.finances-header img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;

    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,.3);
}

.finances-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 8px;
}

.finances-header p {
    opacity: .7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.finances-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(236,55,80,.45);
    border-radius: 24px;

    padding: 30px;

    transition: .25s;
}

.finances-card:hover {
    transform: translateY(-8px);
    border-color: #ec3750;
    box-shadow: 0 15px 35px rgba(236,55,80,.25);
}

.finances-card span {
    opacity: .7;
    font-size: .95rem;
}

.finances-card h2 {
    margin-top: 10px;
    font-size: clamp(2rem,4vw,2.6rem);
}

.graph-card,
.info-card {
    width: 100%;
    margin-top: 40px;

    background: rgba(255,255,255,.05);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(236,55,80,.45);
    border-radius: 24px;

    padding: 35px;
}

.graph-card h2,
.info-card h2 {
    margin-bottom: 25px;
}

.chart-container {
    width: min(500px, 100%);
    height: min(500px, 70vw);

    margin: 0 auto;
}

.info-card table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.info-card tr:last-child td {
    border-bottom: none;
}

.info-card td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);

    overflow-wrap: anywhere;
    word-break: break-word;
}

.info-card td:first-child {
    width: 220px;
    font-weight: 700;
    opacity: .8;
}

.info-card a {
    color: #ec3750;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.hcb-button {
    display: inline-block;
    margin-top: 18px;

    padding: 12px 22px;

    background: #ec3750;
    color: white;
    text-decoration: none;

    border-radius: 12px;

    transition: .25s;
}

.hcb-button:hover {
    transform: translateY(-3px);
    background: #ff5b71;
}