﻿:root {
    --black: #040404;
    --black-soft: #0b0b0b;
    --card: #111111;
    --card-soft: #171717;

    --red: #a3162d;
    --red-strong: #c61f3d;
    --red-deep: #6d0d20;
    --red-soft: rgba(198,31,61,.15);

    --white: #ffffff;
    --offwhite: #f4efe9;
    --muted: #b7afa8;

    --border: rgba(198,31,61,.24);
    --border-soft: rgba(255,255,255,.08);

    --shadow: 0 24px 70px rgba(0,0,0,.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top, rgba(163,22,45,.16), transparent 30%),
        linear-gradient(180deg, #090909 0%, #030303 100%);
    color: var(--white);
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
}

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

.app-shell {
    width: 100%;
    max-width: 560px;
    min-height: 100vh;
    padding: 24px 20px 105px;
}

.card {
    background:
        linear-gradient(
            150deg,
            rgba(20,20,20,.97),
            rgba(9,9,9,.98)
        );
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.alert {
    margin: 16px 0;
    padding: 13px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
}

.error {
    background: rgba(150,32,32,.15);
    border: 1px solid rgba(200,60,60,.30);
}

.success {
    background: rgba(163,22,45,.10);
    border: 1px solid rgba(198,31,61,.25);
    color: #f2c7cf;
}

.topbar,
.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.inner-header {
    justify-content: flex-start;
    gap: 15px;
}

.topbar h1,
.inner-header h1 {
    margin: 4px 0 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
}

.eyebrow,
.small-label {
    color: #e84a63;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.avatar,
.big-avatar {
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--red-strong));
    font-family: Georgia, serif;
}

.avatar {
    width: 45px;
    height: 45px;
    font-size: 19px;
}

.big-avatar {
    width: 82px;
    height: 82px;
    margin: 0 auto 16px;
    font-size: 34px;
}

.back {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #0d0d0d;
    color: #f05c72;
}

.hero-points {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 29px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background:
        linear-gradient(
            135deg,
            #1d0a0f,
            #090909
        );
    box-shadow: 0 20px 50px rgba(0,0,0,.30);
}

.points-number {
    margin: 4px 0;
    color: var(--white);
    font-family: Georgia, serif;
    font-size: 44px;
}

.level-badge {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid rgba(198,31,61,.45);
    background: rgba(198,31,61,.10);
    color: #ffbcc8;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 28px 2px 14px;
}

.section-title h2 {
    margin: 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

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

.daily-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.action-card {
    min-height: 164px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    transition: transform .18s ease, border-color .18s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    border-color: #e84a63;
}

.action-icon {
    font-size: 29px;
}

.action-card strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 16px;
}

.action-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.club-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background:
        linear-gradient(
            135deg,
            #22080e,
            #080808
        );
}

.club-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--red-strong),
            transparent
        );
}

.club-banner h3 {
    margin: 7px 0 9px;
    max-width: 330px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.club-banner p {
    margin: 0;
    color: #c9c2b4;
    font-size: 13px;
}

.club-arrow {
    color: #f05c72;
    font-size: 30px;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: calc(100% - 22px);
    max-width: 538px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 10px 5px;
    background: rgba(5,5,5,.96);
    border: 1px solid var(--border);
    border-radius: 8px;
    backdrop-filter: blur(16px);
    box-shadow: 0 15px 40px rgba(0,0,0,.55);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    color: #918d84;
    font-size: 10px;
}

.bottom-nav a span {
    font-size: 19px;
}

.bottom-nav a.active {
    color: #ff7c91;
}

.quiz-card h2 {
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.35;
}

.quiz-points {
    display: inline-block;
    padding: 7px 10px;
    border: 1px solid rgba(198,31,61,.30);
    border-radius: 999px;
    background: rgba(198,31,61,.08);
    color: #ff98a8;
    font-size: 11px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    padding: 14px;
    background: #080808;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    cursor: pointer;
}

.quiz-option input {
    width: auto;
    min-height: auto;
}

.option-letter {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(198,31,61,.12);
    color: #ff7f95;
    font-weight: 800;
}

.transaction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
}

.transaction:last-child {
    border-bottom: 0;
}

.transaction small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.transaction-points {
    font-weight: 800;
}

.transaction-points.positive {
    color: #ff7c91;
}

.transaction-points.negative {
    color: #d46c78;
}

.profile-card {
    text-align: center;
    padding: 28px 20px;
}

.profile-card h2 {
    margin-bottom: 7px;
    font-family: Georgia, serif;
}

.amicci-id {
    margin-bottom: 12px;
    color: #ff98a8;
    letter-spacing: 1.4px;
}

.qr-code {
    display: block;
    width: 190px;
    height: 190px;
    margin: 22px auto 14px;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.profile-data {
    margin-top: 18px;
}

.profile-data > div {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-soft);
}

.profile-data > div:last-child {
    border-bottom: 0;
}

.profile-data small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
}

.coming {
    margin-top: 35px;
    padding: 45px 22px;
    text-align: center;
    background: #0d0d0d;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.coming-icon {
    margin-bottom: 20px;
    font-size: 52px;
}

.coming h2 {
    font-family: Georgia, serif;
}

.coming p {
    max-width: 380px;
    margin: 0 auto 22px;
    color: var(--muted);
    line-height: 1.6;
}

.development-badge {
    display: inline-block;
    padding: 7px 11px;
    border: 1px solid rgba(198,31,61,.25);
    border-radius: 999px;
    background: rgba(198,31,61,.06);
    color: #ff98a8;
    font-size: 10px;
    letter-spacing: 1.4px;
}

@media (max-width: 420px) {
    .app-shell {
        padding: 20px 15px 100px;
    }

    .daily-grid {
        gap: 9px;
    }

    .action-card {
        min-height: 153px;
        padding: 17px;
    }

    .hero-points {
        padding: 20px;
    }

    .points-number {
        font-size: 37px;
    }

    .topbar h1,
    .inner-header h1 {
        font-size: 25px;
    }
}
