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

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 55%), #f3f4f6;
    color: #020617;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

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

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 16px 80px;
    width: 100%;
    max-width: 390px;
    margin: 12px auto 0;
    background: #f9fafb;
    border-radius: 26px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

.card--light {
    background: #f9fafb;
    color: #020617;
}

.card__title {
    font-size: 13px;
    color: #d1fae5;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.card__value {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.card__subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn--primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #022c22;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.45);
}

.btn--ghost {
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
}

.btn--full {
    width: 100%;
}

.btn__icon {
    margin-right: 8px;
    font-size: 16px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: #0f172a;
}

.top-bar__greeting {
    font-size: 18px;
    font-weight: 600;
}

.top-bar__sub {
    font-size: 13px;
    color: #6b7280;
}

.admin-nav {
    margin: 10px 0 18px;
    display: flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: #f3f4f6;
    overflow-x: auto;
}

.admin-nav__link {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
}

.admin-nav__link--active {
    background: #22c55e;
    color: #ecfdf5;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
}

.top-bar__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar__avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecfdf5;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

.icon-badge {
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    position: relative;
}

.icon-badge__icon {
    font-size: 14px;
    color: #22c55e;
}

.icon-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f97316;
    position: absolute;
    top: 6px;
    right: 7px;
    border: 2px solid #ecfdf5;
}

.balance-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.balance-actions .btn {
    flex: 1;
}

.mining-hero {
    margin: 18px 0;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.mining-hero__illustration {
    width: 100%;
    max-width: 320px;
}

.mining-hero__caption {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.cta-section {
    margin-top: 14px;
}

.cta-section .btn {
    font-size: 15px;
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 10px 18px 14px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.23);
    backdrop-filter: blur(10px);
    max-width: 390px;
    margin: 0 auto;
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #9ca3af;
    font-size: 11px;
}

.bottom-nav__item--active {
    color: #22c55e;
}

.bottom-nav__icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav__icon img {
    max-width: 100%;
    max-height: 100%;
}

.bottom-nav__label {
    white-space: nowrap;
}

.auth-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 16px 80px;
}

.auth-card {
    width: 100%;
    max-width: 390px;
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.auth-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    outline: none;
}

.form-input:focus {
    border-color: #22c55e;
}

.form-error {
    margin-top: 8px;
    font-size: 13px;
    color: #fecaca;
}

.form-link {
    font-size: 13px;
    color: #6b7280;
}

.form-link a {
    color: #16a34a;
    font-weight: 600;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    background: rgba(22, 163, 74, 0.08);
    color: #166534;
}

.chip__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
}

.landing {
    padding: 32px 16px 80px;
}

.landing-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.landing-hero__badge {
    margin-bottom: 8px;
}

.landing-hero__title {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.landing-hero__subtitle {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 16px;
}

.landing-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
}

.landing-hero__cta {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.landing-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-illustration__card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.landing-section {
    margin-top: 40px;
}

.landing-section--hero {
    margin-top: 0;
}

.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    text-align: center;
}

.section-subheading {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    text-align: center;
}

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

.feature-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.feature-card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-card__body {
    font-size: 13px;
    color: #9ca3af;
}

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

.pricing-card {
    border-radius: 20px;
    padding: 14px 14px 16px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.pricing-card--highlight {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    color: #ecfdf5;
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.7);
}

.pricing-card__name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.pricing-card__price {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-card__meta {
    font-size: 12px;
    margin-bottom: 8px;
}

.pricing-card__meta span {
    color: #bbf7d0;
}

.pricing-card ul {
    list-style: none;
    font-size: 12px;
    margin-bottom: 10px;
    color: #0f172a;
}

.pricing-card--highlight ul {
    color: #ecfdf5;
}

.pricing-card li+li {
    margin-top: 4px;
}

.app-preview {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
}

.app-preview__card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    padding: 18px;
    color: #0f172a;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 12px;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .landing {
        padding: 40px 16px 100px;
    }
}

@media (max-width: 480px) {
    body {
        align-items: stretch;
    }

    .page {
        max-width: none;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .bottom-nav {
        max-width: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin: 0;
    }
}

.footer a {
    color: #16a34a;
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-balance-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.dashboard-secondary .card {
    padding: 8px 10px;
}

.dashboard-secondary .card__title {
    font-size: 11px;
}

.dashboard-secondary .card__value {
    font-size: 20px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
}

.pill span {
    color: #facc15;
    margin-left: 4px;
}

.card--balance {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    color: #ecfdf5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    text-align: center;
    padding-top: 22px;
    padding-bottom: 22px;
    border-radius: 24px;
}

.card__value--highlight {
    font-size: 30px;
}

.card__subtitle--muted {
    color: #e0f2fe;
}

.balance-actions--pill {
    margin-top: 18px;
}

.btn--pill {
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.btn--pill-primary {
    background: #ffffff;
    color: #16a34a;
}

.btn--pill-secondary {
    background: rgba(15, 23, 42, 0.08);
    color: #ecfdf5;
}

.dashboard-chips {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.chip--soft {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

@media (min-width: 768px) {
    .page {
        max-width: 640px;
        margin: 24px auto 0;
        border-radius: 24px;
    }

    .bottom-nav {
        max-width: 640px;
    }

    .landing-hero {
        flex-direction: row;
        align-items: center;
    }

    .landing-hero__title {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-preview {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .dashboard-balance-row {
        flex-direction: row;
    }
}