/* ===== Profile page styles ===== */

/* Page background: light aqua -> white gradient */
html, body {
    background: linear-gradient(to bottom,
        #d3f9f5 0%,
        #eafdfb 32%,
        #ffffff 70%,
        #ffffff 100%);
}

.app-container {
    background: linear-gradient(to bottom,
        #d3f9f5 0%,
        #eafdfb 32%,
        #ffffff 70%,
        #ffffff 100%);
}

/* Profile header: transparent to reveal gradient */
.profile-header {
    padding: 16px;
    display: flex;
    justify-content: flex-end;
    background: transparent;
}



.settings-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-btn img {
    width: 24px;
    height: 24px;
}

/* Profile info card */
.profile-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.profile-top {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.profile-id {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.profile-tags {
    display: flex;
    gap: 8px;
}

.tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.tag-icon {
    width: 14px;
    height: 14px;
}

.tag-wealth {
    background: #fef3c7;
    color: #f59e0b;
}

.tag-charm {
    background: #fce7f3;
    color: #ec4899;
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #9ca3af;
}

/* Info cards */
.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0 16px;
    margin-bottom: 16px;
}

/* Diamond card */
.diamond-card .card-row {
    padding: 16px 0;
}

/* Coin card: make it taller */
.coin-card .card-row {
    padding: 22px 0;
    min-height: 64px;
}

/* Menu card */
.menu-card .card-row {
    padding: 16px 0;
}

.menu-card .card-row[role="button"] {
    cursor: pointer;
}

.menu-card .card-row[role="button"]:active {
    opacity: 0.75;
}


.menu-card .card-row:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

/* Card row */
.card-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.card-title {
    flex: 1;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.card-value {
    font-size: 15px;
    color: #9ca3af;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 375px) {
    .profile-card {
        padding: 16px;
    }
    
    .profile-avatar {
        width: 76px;
        height: 76px;
    }
    
    .profile-name {
        font-size: 17px;
    }
    
    .stat-number {
        font-size: 20px;
    }
}
